Skip to content

Releases: aquaproj/aqua

v2.42.0

06 Jan 02:02
v2.42.0
eec4e1a
Compare
Choose a tag to compare

Pull Requests | Issues | v2.41.0...v2.42.0

Features

#3422 Support 7 zip

Others

#3422 Replace mholt/archiver/v3 with mholt/archives

mholt/archiver/v3 was deprecated and it's encourage to migrate to mholt/archives.

v2.41.1-2

05 Jan 02:02
v2.41.1-2
7911b87
Compare
Choose a tag to compare
v2.41.1-2 Pre-release
Pre-release

Pull Requests | Issues | v2.41.1-1...v2.41.1-2

Changelog

  • 7911b87 refactor: ignore a lint error
  • 12907f5 fix(unarchive): add 0o700 permission to directories
  • 6e3bc79 fix(unarchive): continue the process even if it fails to unarchive some files

v2.41.1-1

04 Jan 22:55
v2.41.1-1
81d6d5b
Compare
Choose a tag to compare
v2.41.1-1 Pre-release
Pre-release

Pull Requests | Issues | v2.41.1-0...v2.41.1-1

Changelog

  • 81d6d5b refactor: fix a lint error
  • 99ec76d Merge branch 'main' into fix-migrate-mholt-archiver-v3
  • f248789 fix(deps): update module golang.org/x/oauth2 to v0.25.0 (#3423)
  • 6efae23 chore(deps): update dependency aquaproj/aqua-registry to v4.291.0 (#3426)
  • d33ebfb fix(unarchive): detect file path separator automatically
  • 70e64cd chore(deps): update dependency rhysd/actionlint to v1.7.6 (#3425)
  • e8707fa fix(deps): update module golang.org/x/sys to v0.29.0 (#3424)
  • b367353 chore(deps): update dependency aquaproj/aqua-registry to v4.290.0 (#3421)

v2.41.1-0

04 Jan 04:33
v2.41.1-0
42df688
Compare
Choose a tag to compare
v2.41.1-0 Pre-release
Pre-release

v2.41.0

31 Dec 01:22
v2.41.0
888e5a4
Compare
Choose a tag to compare

Pull Requests | Issues | v2.40.0...v2.41.0

Features

#3407 Support cargo install's --locked option

https://aquaproj.github.io/docs/reference/registry-config/cargo-package

e.g. registry.yaml:

            type: cargo
            crate: rhit
            cargo:
              locked: true
      --locked               Assert that `Cargo.lock` will remain unchanged

#3399 update: Support filtering updated packages using package tags

https://aquaproj.github.io/docs/guides/package-tag

e.g.

aqua up -t bootstrap # Update only packages with a tag `bootstrap`
aqua up --exclude-tags bootstrap # Exclude packages with a tag `bootstrap`

v2.41.0-0

29 Dec 09:09
v2.41.0-0
f774735
Compare
Choose a tag to compare
v2.41.0-0 Pre-release
Pre-release

v2.40.0

16 Dec 22:37
v2.40.0
608eb7b
Compare
Choose a tag to compare

Pull Requests | Issues | v2.39.1...v2.40.0

Features

#3363 Support getting package versions from external files

This release enables you to get package versions from external files.
This feature is useful when:

  • Migrate any tool to aqua gradually
  • Support aqua and other tools

This release adds some fields to aqua.yaml's packages.

  • version_expr: An expr expression to read external files
  • version_expr_prefix: A prefix of version

e.g.

packages:
- name: hashicorp/terraform
  version_expr: |
    "v" + readFile('.terraform-version')
  version_expr: |
    readJSON('version.json').version
  version_expr_prefix: cli-
  version_expr: |
    readYAML('version.yaml').version

version_expr is evaluated using expr.
The following custom functions are available.

  • readFile("file path"): reads a file and returns a file content
  • readJSON("file path"): read and unmarshal a JSON file and returns an object
  • readYAML("file path"): read and unmarshal a YAML file and returns an object

⚠️ Constraint of version_expr

Allowing to read external files is potentially risky in terms of security.
Malicious users can try to read secret files and expose secrets via log using version_expr.
To prevent such a threat, we restrict the evaluation result of version_expr.
It must match with the regular expression ^v?\d+\.\d+(\.\d+)*[.-]?((alpha|beta|dev|rc)[.-]?)?\d*.

v2.40.0-0

15 Dec 13:58
v2.40.0-0
b477798
Compare
Choose a tag to compare
v2.40.0-0 Pre-release
Pre-release

v2.39.0...v2.40.0-0

#3363 feat: support getting package versions from external files

v2.39.1

15 Dec 23:12
v2.39.1
5737f8b
Compare
Choose a tag to compare

Pull Requests | Issues | v2.39.0...v2.39.1

Fixes

#3365 cargo: Normalize the install path of cargo packages

Others

#3361 Refactor reading config

v2.39.0

14 Dec 05:05
v2.39.0
22cfba2
Compare
Choose a tag to compare

Pull Requests | Issues | v2.38.4...v2.39.0

Features

#3354 policy: add a code comment for YAML Language Servers to a generated file aqua-policy.yaml

# yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/policy.json

#3352 init: Add a code comment for YAML Language Servers to a generated file aqua.yaml

# yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/aqua-yaml.json

These code comments are useful when you edit files with editors such as VSCode.

image image