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_CONFIGor-coption is set, aqua doesn't search configuration files recursively - #1681 #1686 Change the specification of
require_checksum - #1691 #1694 install: Deprecate
--testoption and change the default behaviour same as one with--testoption - #1769 #1770 Deprecate
update-checksum's--deepoption and change the default behaviour same as--deepoption - #1572 #1573 Change the implementation of
semverandsemverWithVersion - #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-checksumbefore installing packages. We recommend updating aqua-checksums.json by GitHub Actions - Guide. Stop using
aqua install's--testflag - Guide. Stop using
aqua update-checksum's--deepflag
If you maintain Registry,