Pull Requests | Issues | v2.8.0...v2.9.0
Features
#2058 #2063 Support disabling Lazy Install
#2027 #2062 Add -detail
option to "generate" command
Support disabling Lazy Install
Lazy Install is enabled by default, but you can disable it with the environment variable AQUA_DISABLE_LAZY_INSTALL
.
e.g.
export AQUA_DISABLE_LAZY_INSTALL=true
If Lazy Install is disabled, the command would fail if the package isn't installed in advance.
e.g.
$ tfcmt -v
FATA[0000] aqua failed aqua_version= doc="https://aquaproj.github.io/docs/reference/codes/006" env=darwin/arm64 error="the executable file isn't installed yet. Lazy Install is disabled" exe_name=tfcmt package=suzuki-shunsuke/tfcmt package_version=v1.0.0 program=aqua
Disabling Lazy Install is useful to improve the security and keep the governance. You can prevent malicious commands from being installed and executed via Lazy Install. And you can also prevent aqua.yaml from being overwritten.
This is especially useful for CI of Monorepo.
The purpose is same with aqua's Policy, but disabling Lazy Install is simpler than Policy.
Add -detail
option to "generate" command
With -detail (-d) option, aqua outputs additional information such as description and link.
$ aqua g -detail cli/cli
- name: cli/cli@v2.2.0
description: GitHub’s official command line tool
link: https://github.com/cli/cli
The environment variable AQUA_GENERATE_WITH_DETAIL
is also available.
export AQUA_GENERATE_WITH_DETAIL=true
Others
#2046 Update Go 1.20.4 to 1.20.5