Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency aquaproj/aqua to v2.40.0 #278

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 24, 2024

This PR contains the following updates:

Package Update Change
aquaproj/aqua minor v2.36.1 -> v2.40.0

Release Notes

aquaproj/aqua (aquaproj/aqua)

v2.40.0

Compare Source

Pull Requests | Issues | aquaproj/aqua@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.39.1

Compare Source

Pull Requests | Issues | aquaproj/aqua@v2.39.0...v2.39.1

Fixes

#​3365 cargo: Normalize the install path of cargo packages

Others

#​3361 Refactor reading config

v2.39.0

Compare Source

Pull Requests | Issues | aquaproj/aqua@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

v2.38.4

Compare Source

Pull Requests | Issues | aquaproj/aqua@v2.38.3...v2.38.4

Bug Fixes

#​3337 generate-registry: Fix a bug that unused replacements are added

v2.38.3

Compare Source

Pull Requests | Issues | aquaproj/aqua@v2.38.2...v2.38.3

Bug Fixes

#​3325 #​3333 Fix a bug that aqua g -i removes comments from packages

v2.38.2

Compare Source

Pull Requests | Issues | aquaproj/aqua@v2.38.1...v2.38.2

🐛 Bug Fixes

#​3307 generate-registry: Fix a bug that description isn't formatted

v2.38.1

Compare Source

Pull Requests | Issues | aquaproj/aqua@v2.38.0...v2.38.1

Fixes

#​3297 completion: Improve the completion settings suggested in aqua completion --help @​akinomyoga

v2.38.0

Compare Source

Pull Requests | Issues | aquaproj/aqua@v2.37.2...v2.38.0

Features

#​3269 Get available versions from Go Module Proxy

https://aquaproj.github.io/docs/reference/registry-config/go-version-path

This release adds the new field go_version_path to registries.

e.g.

packages:
  - name: _go/sigsum.org/sigsum-go#cmd/sigsum-key
    type: go_install
    path: sigsum.org/sigsum-go/cmd/sigsum-key
    go_version_path: sigsum.org/sigsum-go

If this field is set, aqua g and aqua up commands gets available versions from Go Module Proxy.

v2.37.2

Compare Source

Pull Requests | Issues | aquaproj/aqua@v2.37.1...v2.37.2

Fixes

#​3233 which, exec: Search configuration files even if AQUA_CONFIG is set

v2.37.1

Compare Source

Pull Requests | Issues | aquaproj/aqua@v2.37.0...v2.37.1

Bug Fixes

#​3226 #​584 Fix a bug that newlines in aqua.yaml are removed when updating aqua.yaml by aqua g -i and aqua up

This issue came from the bug of goccy/go-yaml. https://github.com/goccy/go-yaml/issues/285
The issue was solved at goccy/go-yaml 1.13.3.
So we updated goccy/go-yaml to 1.13.3 and solve the issue.

v2.37.0

Compare Source

Pull Requests | Issues | aquaproj/aqua@v2.36.2...v2.37.0

Features

#​3224 Allow to set command aliases in aqua.yaml

You can now define command aliases in aqua.yaml.
This is useful to use multiple versions of the same package.

e.g.

registries:
- type: standard
  ref: v4.246.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: hashicorp/[email protected]
- name: hashicorp/terraform
  version: v0.13.7
  command_aliases:
    - command: terraform
      alias: terraform-013

##### no_link: true

Then you can run terraform (v1.9.8) and terraform-013 (v0.13.7).

$ terraform version
Terraform v1.9.8
on darwin_arm64

$ terraform-013 version
Terraform v0.13.7

Your version of Terraform is out of date! The latest version
is 1.9.8. You can update by downloading from https://www.terraform.io/downloads.html

You can skip creating symbolic links for aliases by no_link: true

  command_aliases:
    - command: terraform
      alias: terraform-013
      no_link: true

You can still run aliases via aqua exec.

aqua exec -- terraform-013 version

v2.36.2

Compare Source

Pull Requests | Issues | aquaproj/aqua@v2.36.1...v2.36.2

Bug Fixes

#​3193 #​3194 Fix a bug that vars are not replaced in files[].src


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

This comment has been minimized.

@renovate renovate bot changed the title chore(deps): update dependency aquaproj/aqua to v2.36.2 chore(deps): update dependency aquaproj/aqua to v2.37.0 Nov 2, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from ebc20dd to 925875c Compare November 2, 2024 07:43

This comment has been minimized.

@renovate renovate bot changed the title chore(deps): update dependency aquaproj/aqua to v2.37.0 chore(deps): update dependency aquaproj/aqua to v2.37.1 Nov 3, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 925875c to f43e9c7 Compare November 3, 2024 03:24

This comment has been minimized.

@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from f43e9c7 to 27be77a Compare November 5, 2024 01:56
@renovate renovate bot changed the title chore(deps): update dependency aquaproj/aqua to v2.37.1 chore(deps): update dependency aquaproj/aqua to v2.37.2 Nov 5, 2024

This comment has been minimized.

@renovate renovate bot changed the title chore(deps): update dependency aquaproj/aqua to v2.37.2 chore(deps): update dependency aquaproj/aqua to v2.38.0 Nov 20, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 27be77a to 4d78012 Compare November 20, 2024 17:14

This comment has been minimized.

@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 4d78012 to 5336e1a Compare November 28, 2024 00:29
@renovate renovate bot changed the title chore(deps): update dependency aquaproj/aqua to v2.38.0 chore(deps): update dependency aquaproj/aqua to v2.38.1 Nov 28, 2024

This comment has been minimized.

@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 5336e1a to 92602d4 Compare December 1, 2024 00:18
@renovate renovate bot changed the title chore(deps): update dependency aquaproj/aqua to v2.38.1 chore(deps): update dependency aquaproj/aqua to v2.38.2 Dec 1, 2024

This comment has been minimized.

@renovate renovate bot changed the title chore(deps): update dependency aquaproj/aqua to v2.38.2 chore(deps): update dependency aquaproj/aqua to v2.38.3 Dec 5, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 92602d4 to 04bd748 Compare December 5, 2024 15:07

This comment has been minimized.

@renovate renovate bot changed the title chore(deps): update dependency aquaproj/aqua to v2.38.3 chore(deps): update dependency aquaproj/aqua to v2.38.4 Dec 6, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 04bd748 to 6cb091e Compare December 6, 2024 01:11

This comment has been minimized.

@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 6cb091e to 391710e Compare December 14, 2024 06:15
@renovate renovate bot changed the title chore(deps): update dependency aquaproj/aqua to v2.38.4 chore(deps): update dependency aquaproj/aqua to v2.39.0 Dec 14, 2024

This comment has been minimized.

@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 391710e to 80e5c28 Compare December 16, 2024 00:12
@renovate renovate bot changed the title chore(deps): update dependency aquaproj/aqua to v2.39.0 chore(deps): update dependency aquaproj/aqua to v2.39.1 Dec 16, 2024

This comment has been minimized.

@renovate renovate bot changed the title chore(deps): update dependency aquaproj/aqua to v2.39.1 chore(deps): update dependency aquaproj/aqua to v2.40.0 Dec 16, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 80e5c28 to f697125 Compare December 16, 2024 22:59
Copy link
Contributor

CI link

Diff results

directory plan detail

No diff results

(Click me)
directory plan detail
accounts/development/envs/development/env_unique/load_balancer
No changes. Your infrastructure matches the configuration.
accounts/development/envs/development/env_unique/network
No changes. Your infrastructure matches the configuration.
accounts/development/envs/development/env_unique/storage
No changes. Your infrastructure matches the configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants