37 Commits

Author SHA1 Message Date
dependabot[bot] 5d67d3c303 chore(deps): bump actions/upload-artifact from 4 to 7 (#592)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-02 12:35:59 +08:00
Roger 5c0b1ad5cf ci(release): integrate Windows ABE payload into goreleaser (#590) 2026-04-26 22:53:42 +08:00
Roger 6902243895 chore: update CI/CD workflows, Homebrew and new contributors (#552) 2026-04-05 21:18:49 +08:00
Roger d0971ca098 chore: update CI, golangci-lint, and CLAUDE.md (#511)
* chore: update CI, golangci-lint, and CLAUDE.md
* fix: resolve CI failures on Windows test and lint
* fix: resolve Windows test path and main.go line length lint issues
* fix: auto-format log/ with gofumpt, exclude pre-refactoring lint issues
* fix: resolve remaining lint issues, remove unnecessary exclusions
* fix: remove invalid G117 gosec rule, use text exclusion for secret pattern
* fix: align CI golangci-lint version with local (v2.4 -> v2.10)
2026-03-23 01:40:59 +08:00
ᴍᴏᴏɴD4ʀᴋ ad020cf135 chore: downgrade golang version to 1.20, support Windows 7. (#435)
* chore: downgrade golang version to 1.20, support windows 7

* chore: Update dependencies for Go project.

- Update dependencies in go.sum
- Improvements and optimizations in various files
- Bug fixes and error handling enhancements

* chore: Update modernc.org/sqlite library versions in go.mod and go.sum files

- Update version of `modernc.org/sqlite` to `v1.31.1` in `go.mod` and `go.sum` files
- Update module hash in `go.sum` file for `modernc.org/sqlite`
- Ensure consistency between `go.mod` and `go.sum` files in relation to `modernc.org/sqlite` version

* chore: replace log/slog with standard logger (#436)

* chore: replace log/slog with standard logger

* chore: Update Go dependencies and versions

- Update Go version from `1.22.5` to `1.20` and other dependencies
- Update critical dependencies to latest versions
- Ensure compatibility with new versions of dependencies

* chore: Optimize dependency management in workflows

- Update build and lint workflows to use `go mod tidy` for getting dependencies
- Change modules download mode to `'mod'` in linters configuration
- Add step to get dependencies in lint workflow

* refactor: Update dependencies and refactor Chromium key deletion logic

- Update `modernc.org/sqlite` to `v1.31.1` in `go.mod` and `go.sum`
- Increase version number to `0.5.0` in `cmd/hack-browser-data/main.go`
- Refactor and update logic for filtering and copying items in `browser/chromium/chromium.go`

* Improve logging functionality and data type conversion

- Add `String()` method to `DataType` enum in types.go
- Update log level to Debug in logger_test.go
- Set log level to Debug in `TestLoggerDebug` and `TestLoggerDebugf` functions
2024-10-22 13:01:13 +08:00
moonD4rk 5ead3ba3c3 ci: Refactor project workflows, build with goreleaser
- Add configuration files for `goreleaser.yml` and GitHub workflows
- Update Go version to `1.22.x`
- Adjust workflow names and triggers in `.github/workflows` folder
2024-07-15 22:47:11 +08:00
dependabot[bot] fa09f73221 chore(deps): bump crazy-max/ghaction-xgo from 2 to 3
Bumps [crazy-max/ghaction-xgo](https://github.com/crazy-max/ghaction-xgo) from 2 to 3.
- [Release notes](https://github.com/crazy-max/ghaction-xgo/releases)
- [Commits](https://github.com/crazy-max/ghaction-xgo/compare/v2...v3)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-xgo
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 20:06:04 +08:00
dependabot[bot] 242f00cd53 chore(deps): bump release-drafter/release-drafter from 5 to 6
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5 to 6.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5...v6)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 20:05:55 +08:00
dependabot[bot] 3fd08019f9 chore(deps): bump actions/upload-release-asset from 1.0.1 to 1.0.2
Bumps [actions/upload-release-asset](https://github.com/actions/upload-release-asset) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/actions/upload-release-asset/releases)
- [Commits](https://github.com/actions/upload-release-asset/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: actions/upload-release-asset
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 20:05:45 +08:00
ᴍᴏᴏɴD4ʀᴋ 06fc064418 refactor/dependence: Upgrade Golang version and dependencies. (#322)
* chore: Set up automated package updates with dependabot.
2024-04-12 20:01:29 +08:00
ᴍᴏᴏɴD4ʀᴋ 7bd5a06875 ci: Improve Golang code quality with updated lint configuration file (#307)
* refactor: Optimize code logic and reduce nesting.

* ci: Improve Golang code quality with updated configuration file

* chore: Update GitHub actions setup-go to version 5 and optimize caching.
2024-04-12 20:01:29 +08:00
ᴍᴏᴏɴD4ʀᴋ 700b981e5d feat: Upgrade GitHub Actions to v4 for greater stability (#304)
* ci: Upgrade GitHub Actions to v4 for greater stability

- Close #303
- Upgrade GitHub Actions to v4 in all workflows
- Fix zipping and uploading of Linux arm64 assets in release workflow
- Simplify and remove unnecessary steps in build workflow
2024-01-27 23:15:05 +08:00
ᴍᴏᴏɴD4ʀᴋ eed1d12282 dev: refactor items and update repo deploy (#278)
* refactor: Refactor file paths and use map to store item names

- Refactored file paths for various browsing data types to use a consistent method of generating temporary file names
- Modified parsing functions in many browsing data types to use the new temporary file naming scheme
- Renamed `FileName` to `Filename` for consistency in the `item` package
- Removed unnecessary code and comments throughout various files
- Made minor improvements to some Item methods such as `TempFilename` and `FileName`

* ci: Optimize GitHub actions and update Go versions. (#274)

* ci: Optimize GitHub actions and update Go versions.

- Add GitHub actions for unit testing, linting, building, and releasing
- Use a matrix strategy to test on different versions and platforms
- Update setup-go and go-version options for compatibility
- Format code and build zip files for different operating systems
- Upload releases to GitHub with specific asset names and types

* fix: Refactor item file naming convention

- Update `filename()` function to return `UnsupportedItem` in specific cases
- Replace `UnknownItem` with `UnsupportedItem` in `Filename` method of `Item` struct
- Refactor code for clarity and consistency

* ci: Update GitHub workflow with latest setup-go version

- Update setup-go action to v3 in lint.yml GitHub workflow
- Omits some big changes in file diff summary
- Improve overall workflow reliability and efficiency

* ci: Improve GitHub actions across platforms

- Improve Windows compatibility in build workflow
- Optimize unit testing for pull requests
- Upgrade Coveralls GitHub action to v2 for improved coverage tracking

* build: Optimize build process for consistency and efficiency

- Ensure consistency of line endings by disabling Git's automatic conversion
- Add format check for Windows systems
- Update Go version in strategy matrix to `1.21.x`
- Remove unused dependencies from build process
- Include all packages in repository in build command

* ci: Refactor GitHub workflow configuration

- Remove unnecessary checks for `windows-latest` in github workflow
- Change `gofmt` check to `diff` for formatting
- Remove unneeded Git configuration for encoding of line endings
- Close #273

* ci: Update default branch references in GitHub Actions workflows (#277)

- Update Github Actions workflows to use `main` branch instead of `master`.
- Rename `master` branch to `main` in `lint.yml` and `build.yml` files.
- Change default branch to `main` in `contributors.yml` workflow file.
2024-01-13 15:58:53 +08:00
ᴍᴏᴏɴD4ʀᴋ f4b4ad1258 chore: remove auto released github actions 2024-01-09 20:57:42 +08:00
moonD4rk 83fc248195 chore: update Go version and dependencies for builds
- Update Go version from `1.20` to `1.21` in go.mod, .github/workflows/build.yml, and .github/workflows/lint.yml
2023-10-02 22:37:42 +08:00
ᴍᴏᴏɴD4ʀᴋ dae8edad60 chore: upgrade cross compile ghaction-xgo actions verison 2023-03-11 23:27:20 +08:00
moonD4rk 60772a47f4 chore: update actions go version to 1.20 2023-03-11 21:22:22 +08:00
ᴍᴏᴏɴD4ʀᴋ 77bdde8d0e chore: manually trigger release actions 2022-08-14 22:53:42 +08:00
ᴍᴏᴏɴD4ʀᴋ d78a68c957 chore: update release actions go version to 1.18 2022-04-17 16:41:18 +08:00
ᴍᴏᴏɴD4ʀᴋ 38a40cb29c deploy: update release action. 2021-12-13 22:03:24 +08:00
ᴍᴏᴏɴD4ʀᴋ 52fc05e7f8 deploy: new release with release-drafter action 2021-12-10 16:40:53 +08:00
ᴍᴏᴏɴD4ʀᴋ 4870b5214e chore: update release actions 2021-07-04 17:56:56 +08:00
ᴍᴏᴏɴD4ʀᴋ 5500de2aaa chore: update release actions Close #58 2021-07-04 17:24:08 +08:00
moond4rk 66eb7423e0 chore: remove set-env variable in github action Close #38 2020-11-08 02:13:51 +08:00
moond4rk fde8da74f9 chore: add upx to github action workflow 2020-11-08 01:34:41 +08:00
ᴍᴏᴏɴD4ʀᴋ 54cc5da8d7 fix: firefox history last_visit_time null Close #10 2020-09-03 17:44:03 +08:00
ᴍᴏᴏɴD4ʀᴋ 85af63bfcd chore: support golang 1.15 ci 2020-08-17 10:18:18 +08:00
ᴍᴏᴏɴD4ʀᴋ ce31d557e0 chore: remove windows 32 bit 2020-07-10 16:58:01 +08:00
ᴍᴏᴏɴD4ʀᴋ 0d6d779d40 feat: add linux release Closes #12 2020-07-10 16:52:16 +08:00
ᴍᴏᴏɴD4ʀᴋ 500ac34ab3 chore: support firefox for linux github action 2020-07-10 16:27:35 +08:00
ᴍᴏᴏɴD4ʀᴋ 0a4dfb2cbb style: fix typo and update readme 2020-07-10 11:29:03 +08:00
ᴍᴏᴏɴD4ʀᴋ e2b277f0ab chore: add windows 32bit action 2020-07-10 11:02:55 +08:00
ᴍᴏᴏɴD4ʀᴋ 3dc564680d chore: support go 1.11, 1.12 and windows 386 release 2020-07-10 10:53:49 +08:00
ᴍᴏᴏɴD4ʀᴋ a5ee0b722a fix: add bom for csv. Closes #7 2020-06-30 12:01:00 +08:00
ᴍᴏᴏɴD4ʀᴋ c6d76705c0 chore: update release github actions 2020-06-29 16:35:53 +08:00
ᴍᴏᴏɴD4ʀᴋ 9426ce6ef5 chroe: github action test 2020-06-29 16:07:19 +08:00
ᴍᴏᴏɴD4ʀᴋ 069f43b8f7 chore: add release github action 2020-06-29 15:44:41 +08:00