Upgrade aqua from v1 to v2
The release of v2 includes several breaking changes.
Most important change is that only standard registry is allowed by default.
If you use Checksum Verification, changing the specification of require_checksum
is also important.
These changes make aqua secure by default.
Other changes are not so important as the registry restriction, but these changes makes aqua simple.
Breaking Changes
- #1404 #1516 Only standard registry is allowed by default
- #1410 #1516 If
AQUA_CONFIG
or-c
option is set, aqua doesn't search configuration files recursively - #1681 #1686 Change the specification of
require_checksum
- #1691 #1694 install: Deprecate
--test
option and change the default behaviour same as one with--test
option - #1769 #1770 Deprecate
update-checksum
's--deep
option and change the default behaviour same as--deep
option - #1572 #1573 Change the implementation of
semver
andsemverWithVersion
- #1409 #1516 Fix the default
files[].name
Removed some features.
How to migrate
- Guide. If you use non Standard Registry, please create a policy file and set
AQUA_POCLICY_CONFIG
- Guide. If you enable Checksum Verification and
require_checksum
, runaqua update-checksum
before installing packages. We recommend updating aqua-checksums.json by GitHub Actions - Guide. Stop using
aqua install
's--test
flag - Guide. Stop using
aqua update-checksum
's--deep
flag
If you maintain Registry,