Pull Requests | Issues | v2.16.4...v2.17.0
Features
#2355 #2447 Limit the number of versions retrieved by command generate
and update
@dreamjz
With aqua v2.16.4 or earlier, aqua generate -s
and aqua update -s
retrieved all versions and these commands couldn't change the number of versions.
This release adds the command line option --limit/-l
to these commands.
The value of this option is the number of versions.
The default value is 30
.
If the value is less than zero, all versions are retrieved.
This change would reduced useless GitHub API calls and make these commands faster.
e.g.
aqua g -s # Retrieve 30 versions
aqua g -s -l 10 # Retrieve 10 versions
aqua g -s -l -1 # Retrieve all versions
#2445 Change the default checksum algorithm from sha512
to sha256
sha256 is enough.
We don't need to use sha512.
#2428 Add an alias of update-checksum
command
aqua upc
#2105 #2425 #2413 generate-registry: Improve the format of version_overrides
and improve the logic to generate version_overrides
Bug Fixes 🐞
#2444 generate-registry: Fix checksum filename for sha1
Others
#2436 chore(deps): update dependency slsa-framework/slsa-verifier to v2.4.1
#2395 change the format of prebuilt binaries for Windows to zip
Before:
aqua_windows_amd64.tar.gz
aqua_windows_arm64.tar.gz
After:
aqua_windows_amd64.zip
aqua_windows_arm64.zip
On Windows zip is more user friendly than tar.gz.
And to support Winget for Windows, it seems we need to change the format to zip.
• winget
⨯ release failed after 1m11s error=no zip archives found matching goos=[windows] goarch=[amd64 386] goamd64=v1 ids=[]
Error: Process completed with exit code 1.
⚠️ To upgrade aqua to v2.17.0 or newer on Windows, you need to upgrade aqua to v2.16.1 ~ v2.16.4 once.
e.g.
aqua upa v2.16.4
aqua upa
New Contributors 🎉
Thank you for your contribution!