Skip to content

Update dependency aquaproj/aqua to v2.40.0 - autoclosed #605

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

Merged
merged 1 commit into from
Dec 24, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 1, 2024

This PR contains the following updates:

Package Update Change
aquaproj/aqua minor v2.38.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


Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.

Copy link

github-actions bot commented Dec 1, 2024

💡 If you need a new version, create a new release after merge.

@renovate renovate bot requested a review from a team December 1, 2024 03:54
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.38.2 Update dependency aquaproj/aqua to v2.38.3 Dec 5, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch 2 times, most recently from d6b90b1 to a2e47ce Compare December 6, 2024 05:04
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.38.3 Update dependency aquaproj/aqua to v2.38.4 Dec 6, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch 2 times, most recently from e15515c to c3ac2b1 Compare December 12, 2024 06:08
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.38.4 Update dependency aquaproj/aqua to v2.39.0 Dec 14, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch 2 times, most recently from eba864d to f06c879 Compare December 16, 2024 00:09
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.39.0 Update dependency aquaproj/aqua to v2.39.1 Dec 16, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from f06c879 to 43a09d6 Compare December 16, 2024 23:45
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.39.1 Update dependency aquaproj/aqua to v2.40.0 Dec 16, 2024
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch 4 times, most recently from c3e3c3d to 9f686de Compare December 24, 2024 01:20
@renovate renovate bot force-pushed the renovate/aquaproj-aqua-2.x branch from 9f686de to a50ab22 Compare December 24, 2024 01:20
@int128 int128 merged commit 0ec0b9d into main Dec 24, 2024
6 checks passed
@int128 int128 deleted the renovate/aquaproj-aqua-2.x branch December 24, 2024 01:32
@renovate renovate bot changed the title Update dependency aquaproj/aqua to v2.40.0 Update dependency aquaproj/aqua to v2.40.0 - autoclosed Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant