Skip to content

Releases: aquaproj/aqua

v2.28.1

18 May 23:13
v2.28.1
4ba02d7
Compare
Choose a tag to compare

Pull Requests | Issues | v2.28.0...v2.28.1

Bug Fixes

#2904 generate: Fix a bug that aqua g -i fails if aqua.yaml doesn't have the field packages
#2902 info: Fix a bug that user names aren't masked on Windows @sapphi-red

v2.28.0

11 May 01:11
v2.28.0
ecd9e70
Compare
Choose a tag to compare

Pull Requests | Issues | v2.27.4...v2.28.0

Features

#2609 #2730 #2632 Support getting a package version from go directive in go.mod or go.work

From Go 1.21, the version of Go is decided by go directive in go.mod or go.work.

https://go.dev/doc/toolchain

e.g.

module github.com/aquaproj/aqua/v2

go 1.22.3

This can cause an issue that the version of Go may be different from the version defined in aqua.yaml.
And we need to define go version in two places.

To solve the issue, this pull request enables aqua to get the version of go from go directive in go.mod or go.work.
You can specify the path to go.mod or go.work by a field go_version_file.

e.g.

packages:
- name: golang/go
  go_version_file: go.mod

Then you can define go version only in go.mod or go.work.

Caution

The version of Go must be a semver x.y.z.
You can't omit a patch version.

#2880 Ignore invalid packages and continue working

When reading aqua.yaml, aqua ignores invalid packages and continues working.
This improves the robustness.

v2.28.0-1

11 May 01:02
v2.28.0-1
3d69afa
Compare
Choose a tag to compare
v2.28.0-1 Pre-release
Pre-release

Pull Requests | Issues | v2.27.4...v2.28.0-1

Changelog

  • 3d69afa chore: update go-release-workflow to v1.0.2
  • 240ce3d fix(deps): update module github.com/google/go-github/v61 to v62 (#2881)
  • cab68cd fix: ignore invalid packages and continue working (#2880)
  • d9821e4 feat: add an option go-version-file (#2632)
  • b83cc5c chore(deps): update dependency aquaproj/aqua to v2.27.4 (#2873)
  • 4452d13 chore: udpate go-mod-tidy-workflow to v1.0.1 (#2879)
  • c130571 chore(deps): update suzuki-shunsuke/actionlint-workflow action to v1.0.1 (#2878)
  • ca080ac chore: update workflows (#2876)
  • a57193d chore(deps): update aquaproj/update-checksum-workflow action to v1.0.1 (#2877)
  • cca3a2b chore(deps): update dependency aquaproj/aqua-installer to v3.0.1 (#2874)

v2.27.4

10 May 07:38
v2.27.4
b86c9a1
Compare
Choose a tag to compare

Pull Requests | Issues | v2.27.3...v2.27.4

Bug Fixes

#2144 #2510 #2871 Fix a bug that update-aqua fails on Windows

Others

Update Go 1.22.2 to 1.22.3

v2.27.4-1

10 May 07:17
v2.27.4-1
10e5dc2
Compare
Choose a tag to compare
v2.27.4-1 Pre-release
Pre-release

v2.27.3

23 Apr 22:42
v2.27.3
5550381
Compare
Choose a tag to compare

Pull Requests | Issues | v2.27.2...v2.27.3

Bug Fixes

#2833 #2834 Fix a bug that a checksum id of go_build type package is empty

aqua-checksums.json

    {
      "id": "",
      "checksum": "C4D72E482B85570A1A73776EEF47E993B5F8FA6C204E0B1CAA794E4DF4F13521",
      "algorithm": "sha256"
    }

v2.27.2

22 Apr 13:34
v2.27.2
8ef7841
Compare
Choose a tag to compare

Pull Requests | Issues | v2.27.1...v2.27.2

Bug Fixes

#2830 Improve handling of broken registry JSON files

When aqua reads Standard Registry and github_content Registries, aqua converts them to JSON once and saves them.
And aqua reads JSON files instead of YAML files from the next time.
This improves the performance a bit. #2517

But if a JSON file got broken, aqua got not working.
In that case, you had to remove the file yourself.

This issue rarely occurs, but this release resolves it.
If a JSON file gets broken, aqua removes and recreates the file.
So aqua continues working and you don't have to remove the file yourself.

v2.27.1

20 Apr 07:40
v2.27.1
67f130b
Compare
Choose a tag to compare

Pull Requests | Issues | v2.27.0...v2.27.1

Others

#2824 #2825 Generate shell completion on brew install @ryota2357

ref. https://github.com/aquaproj/homebrew-aqua/blob/c4731da7c66a797e93b5efbcc5340b39f86f559b/aqua.rb#L19

⚠️ To enable shell completion, you have to configure FPATH and so on.

#2809 chore: update aqua-proy to v1.2.6

🎉 New Contributors

Thank you for your contribution!

@ryota2357 #2825

v2.27.0

06 Apr 10:43
v2.27.0
62f0457
Compare
Choose a tag to compare

Pull Requests | Issues | v2.26.0...v2.27.0

Features

#2702 #2806 checksum: Support enforcing checksum verification via environment variables

You can enforce checksum verification by environment variables AQUA_ENFORCE_CHECKSUM and AQUA_ENFORCE_REQUIRE_CHECKSUM.

export AQUA_ENFORCE_CHECKSUM=true
export AQUA_ENFORCE_REQUIRE_CHECKSUM=true

This is useful for both CI and local development.

Checksum verification is disabled by default, and you can disable checksum verification by setting.
If you manage a Monorepo and want to make checksum verification mandatory in CI, you can set these environment variables in CI. Then checksum verification is enabled regardless of the setting of aqua.yaml.

And if you want to enforce checksum verification on your laptop, you can set these environment variables in your shell configuration files such as .bashrc and .zshrc.

v2.27.0-1

06 Apr 03:44
v2.27.0-1
cfaf51b
Compare
Choose a tag to compare
v2.27.0-1 Pre-release
Pre-release

Pull Requests | Issues | v2.26.0...v2.27.0-1

Changelog

  • cfaf51b refactor(checksum): remove EnforceRequireChecksum from ParamInstallPackages
  • 04f9aa3 fix: fix lint errors
  • 7958c24 fix(checksum): remove unused fields and pass EnforceRequireChecksum properly
  • 9ee1891 feat(checksum): support enforcing checksum verification via environment variables
  • 0dfa781 chore(deps): update dependency aquaproj/aqua to v2.26.0