-
Notifications
You must be signed in to change notification settings - Fork 557
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
cli: conventionalize on <command>
in cmd.Use
#7143
Conversation
8d797c3
to
dd63730
Compare
For other cases like
That's it. It should actually be the default in the template. Git for example, shows all the options in the usage. In our case I say only if there's a clear benefit in helping the user learn how to use the command, otherwise just leave the default. |
Ok 👌 👼 . Just to confirm, Run 'docker COMMAND --help' for more information on a command. We keep representing it as such: But, for the commands with a mandatory input such as So, to summarize, usage is now: dagger call [flags] [function]...
dagger call [flags] [command] with chained functions: dagger call base [flags]
dagger call base [flags] [command] 10. functions |
465bd9e
to
f2bdbf3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update 04/23/2024
I added a new commit following Cobra's usage
Recommended syntax is as follows:
[ ] identifies an optional argument. Arguments that are not enclosed in brackets are required.
I’m not fully convinced on the second statement yet. It’s more common to use <>
as placeholder, see (POSIX) Utility Conventions, or at least put it in caps.
In dagger install module
how do you know if module
is something you have to type or replace? dagger install <module>
looks much clearer to me. If the angle brackets are just ugly, that’s why I actually prefer dagger install MODULE
, but as I’ve pointed out before, that may require more changes to go against Cobra’s default.
How about this, can you tell which is a command and which is an argument (assume only global flags exist here)?
dagger config views name set value
How about now?
dagger config views <name> set <value>
In the first one you rely on names that helps your brain fill in the blank, while in the second it’s more immediately obvious.
Lastly, I want to point out that adding [flags]
may help understand where the split is:
dagger run command
# vs
dagger run [flags] command
But then it may not apply in some case so I try to picture this without it:
dagger run command
# vs
dagger run <command>
But without differentiating mandatory and optional arguments, as proposed in your comment below: #7143 (comment).
That’s not what I suggested.
For other cases like
dagger config
, just follow whatdocker
does. Justdagger config [flags] [command]
. That is:
- if it has flags add
[flags]
- if it has sub-commands add
[command]
Ok 👌 👼 . Just to confirm,
docker --help
shows:Run 'docker COMMAND --help' for more information on a command.We keep representing it as such:
dagger [command] --help
This is correct, but find me a docker command that has subcommands and does something on its own. Most docker commands that have subcommands seem to be used only for grouping those subcommands, so not something you’d use directly. In that case it makes sense to mark the subcommand as required.
But dagger call
and dagger config
have valid usages without subcommands, thus the []
in [command]
.
But, for the commands with a mandatory input such as
dagger install [flags] MODULE
, how would you represent it ? ==> Is itdagger install [flags] module
? Or do we not make any distinction:dagger install [flags] [module]
Yes, we make the distinction.
To be clear, when I gave docker’s example it wasn’t to replicate the syntax or to forcibly adopt the “required” subcommand explicitly, it was to replicate the simplicity of delegating details to subcommands’ --help
, rather than be more verbose on the parent command’s usage.
You always need to take into account if you’re comparing apples to apples in regards to the syntax of different tools/clis.
cmd/dagger/call.go
Outdated
@@ -16,7 +16,7 @@ var outputPath string | |||
var jsonOutput bool | |||
|
|||
var callCmd = &FuncCommand{ | |||
Name: "call [flags] [FUNCTION]...", | |||
Name: "call [flags] [function]...", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will produce:
dagger call [flags] [function]...
dagger call [flags] [command]
Which isn't right because here, "function" and "command" are the same thing. As per the conventions:
When multiple synopsis lines are given for a utility, it is an indication that the utility has mutually-exclusive arguments.
This happens because you're describing function as a positional argument, when it's actually a subcommand. In the template, cobra sees that it has subcommands so it adds the second line.
Docker, for example, doesn't print two lines. It always prints the same if it has subcommands:
{{- if not .HasSubCommands}} {{.UseLine}}{{end}}
{{- if .HasSubCommands}} {{ .CommandPath}}{{- if .HasAvailableFlags}} [OPTIONS]{{end}} COMMAND{{end}}
In our case, we'd have to check if the command is required or not. That's a plus in docker for consistency that we don't have.
In this case the subcommand is indeed optional, but you mark that by making the usage about the call
command itself and not include children. If you change the usage to just call
and remove the square brackets in [command]
in the template, it produces this which is more correct:
dagger call [flags]
dagger call <command> [flags]
But Cobra's default is actually [command]
and in the cases where the command is actually required, then the first line doesn't make sense.
Since we have a mix (sometims required, sometimes optional), we may have to use a helper function to make a single usage line instead, that detects which applies. But I suggest keeping it for another PR and simply keep the usage here as:
Name: "call [flags] [function]...", | |
Name: "call", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that [flags]
was renamed to [options]
, we need to add it explicitly. As for the two usage lines in the template, I don't think we can generalize because we have a command that requires a subcommand, and another where it's optional. Better be explicit in cmd.Use
. I pushed an update with these changes so I can merge this quickly:
- Name: "call",
+ Name: "call [flags] [command]",
Notice that I'll rename [command]
to [function]
here in another PR.
f2bdbf3
to
1c3c1cc
Compare
@grouville, let me know when you're ready for another review 🙏 |
1c3c1cc
to
5e64783
Compare
ff2db86
to
532c6f9
Compare
Unifies the DX around usage across all commands. The convention follows the standards (gh / git CLIs) as well as the defaults from cobra. The grammar is as follow: - []: optional - <>: user input, when argument is not optional, to differenciate with static args - ...: one or more This commit applies it everywhere and unifies according to this grammar. Signed-off-by: grouville <guillaume@dagger.io>
<command>
in cmd.Use
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
532c6f9
to
cac69b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed an update to get this merged quickly
Sometimes a subcommand is required (`dagger call`), and other times it's optional (`dagger config`). Best make it explicit in `Use`. Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
cac69b6
to
0573d7c
Compare
* cli: conventionalize on <command> in cmd.Use Unifies the DX around usage across all commands. The convention follows the standards (gh / git CLIs) as well as the defaults from cobra. The grammar is as follow: - []: optional - <>: user input, when argument is not optional, to differenciate with static args - ...: one or more This commit applies it everywhere and unifies according to this grammar. Signed-off-by: grouville <guillaume@dagger.io> * Fix incorrections Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com> * Remove second use line Sometimes a subcommand is required (`dagger call`), and other times it's optional (`dagger config`). Best make it explicit in `Use`. Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com> * Fix required mark when flag has no description Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com> --------- Signed-off-by: grouville <guillaume@dagger.io> Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com> Co-authored-by: grouville <guillaume@dagger.io> Co-authored-by: Helder Correia <174525+helderco@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [GoogleContainerTools/skaffold](https://togithub.com/GoogleContainerTools/skaffold) | minor | `v2.11.1` -> `v2.12.0` | | [aquaproj/aqua-registry](https://togithub.com/aquaproj/aqua-registry) | minor | `v4.174.0` -> `v4.181.0` | | [awslabs/amazon-ecr-credential-helper](https://togithub.com/awslabs/amazon-ecr-credential-helper) | minor | `v0.7.1` -> `v0.8.0` | | [casey/just](https://togithub.com/casey/just) | minor | `1.25.2` -> `1.26.0` | | [cli/cli](https://togithub.com/cli/cli) | patch | `v2.49.1` -> `v2.49.2` | | [dagger/dagger](https://togithub.com/dagger/dagger) | patch | `v0.11.2` -> `v0.11.4` | | [eza-community/eza](https://togithub.com/eza-community/eza) | patch | `v0.18.15` -> `v0.18.16` | | [fluxcd/flux2](https://togithub.com/fluxcd/flux2) | minor | `v2.2.3` -> `v2.3.0` | | [gruntwork-io/terragrunt](https://togithub.com/gruntwork-io/terragrunt) | patch | `v0.58.3` -> `v0.58.6` | | [helm/helm](https://togithub.com/helm/helm) | minor | `v3.14.4` -> `v3.15.0` | | [junegunn/fzf](https://togithub.com/junegunn/fzf) | patch | `0.52.0` -> `0.52.1` | | [kubernetes/kubectl](https://togithub.com/kubernetes/kubectl) | patch | `1.30.0` -> `1.30.1` | | [kubernetes/minikube](https://togithub.com/kubernetes/minikube) | patch | `v1.33.0` -> `v1.33.1` | | [mikefarah/yq](https://togithub.com/mikefarah/yq) | minor | `v4.43.1` -> `v4.44.1` | | [starship/starship](https://togithub.com/starship/starship) | minor | `v1.18.2` -> `v1.19.0` | | [terraform-linters/tflint](https://togithub.com/terraform-linters/tflint) | patch | `v0.51.0` -> `v0.51.1` | | [twpayne/chezmoi](https://togithub.com/twpayne/chezmoi) | patch | `v2.48.0` -> `v2.48.1` | | [weaveworks/eksctl](https://togithub.com/weaveworks/eksctl) | minor | `v0.176.0` -> `v0.177.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>GoogleContainerTools/skaffold (GoogleContainerTools/skaffold)</summary> ### [`v2.12.0`](https://togithub.com/GoogleContainerTools/skaffold/blob/HEAD/CHANGELOG.md#v2120-Release---05142024) [Compare Source](https://togithub.com/GoogleContainerTools/skaffold/compare/v2.11.1...v2.12.0) **Linux amd64** `curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.12.0/skaffold-linux-amd64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` **Linux arm64** `curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.12.0/skaffold-linux-arm64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` **macOS amd64** `curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.12.0/skaffold-darwin-amd64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` **macOS arm64** `curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.12.0/skaffold-darwin-arm64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` **Windows** https://storage.googleapis.com/skaffold/releases/v2.12.0/skaffold-windows-amd64.exe **Docker image** `gcr.io/k8s-skaffold/skaffold:v2.12.0` Note: This release comes with a new config version, `v4beta11`. To upgrade your skaffold.yaml, use `skaffold fix`. If you choose not to upgrade, skaffold will auto-upgrade as best as it can. Highlights: New Features and Additions: - feat: add `--destination` flag for kaniko build [#​9415](https://togithub.com/GoogleContainerTools/skaffold/pull/9415) - feat(exec|verify): enabled "namespace" option for exec and verify commands [#​9307](https://togithub.com/GoogleContainerTools/skaffold/pull/9307) - feat: support templating in diagnose command [#​9393](https://togithub.com/GoogleContainerTools/skaffold/pull/9393) - feat(docker-network): docker.network now supports any value [#​9390](https://togithub.com/GoogleContainerTools/skaffold/pull/9390) Fixes: - fix: TestGenerateMavenBuildArgs-host-platform [#​9410](https://togithub.com/GoogleContainerTools/skaffold/pull/9410) - fix(kaniko): delete kaniko pod on graceful shutdown [#​9270](https://togithub.com/GoogleContainerTools/skaffold/pull/9270) - fix(tar): data race fix [#​9309](https://togithub.com/GoogleContainerTools/skaffold/pull/9309) - fix: add --load flag for local buildkit [#​9387](https://togithub.com/GoogleContainerTools/skaffold/pull/9387) Updates and Refactors: - chore: bump github/codeql-action from 3.25.1 to 3.25.2 [#​9402](https://togithub.com/GoogleContainerTools/skaffold/pull/9402) - chore: bump actions/upload-artifact from 4.3.2 to 4.3.3 [#​9403](https://togithub.com/GoogleContainerTools/skaffold/pull/9403) - chore: bump github.com/sigstore/cosign/v2 from 2.2.1 to 2.2.4 [#​9385](https://togithub.com/GoogleContainerTools/skaffold/pull/9385) - chore: bump flask from 3.0.2 to 3.0.3 in /integration/examples [#​9381](https://togithub.com/GoogleContainerTools/skaffold/pull/9381) - chore: bump flask from 3.0.2 to 3.0.3 in /examples [#​9379](https://togithub.com/GoogleContainerTools/skaffold/pull/9379) - chore: bump golang.org/x/net from 0.17.0 to 0.23.0 in /integration/examples/grpc-e2e-tests/cloud-spanner-bootstrap [#​9396](https://togithub.com/GoogleContainerTools/skaffold/pull/9396) - chore: bump golang.org/x/net from 0.17.0 to 0.23.0 in /examples/grpc-e2e-tests/service [#​9397](https://togithub.com/GoogleContainerTools/skaffold/pull/9397) - chore: bump golang.org/x/net from 0.22.0 to 0.23.0 in /hack/tools [#​9399](https://togithub.com/GoogleContainerTools/skaffold/pull/9399) - chore: bump golang.org/x/net from 0.22.0 to 0.23.0 [#​9400](https://togithub.com/GoogleContainerTools/skaffold/pull/9400) - chore: bump golang.org/x/net from 0.17.0 to 0.23.0 in /integration/examples/grpc-e2e-tests/service [#​9398](https://togithub.com/GoogleContainerTools/skaffold/pull/9398) - chore: bump golang.org/x/net from 0.17.0 to 0.23.0 in /examples/grpc-e2e-tests/cloud-spanner-bootstrap [#​9395](https://togithub.com/GoogleContainerTools/skaffold/pull/9395) - chore: bump actions/upload-artifact from 4.3.1 to 4.3.2 [#​9394](https://togithub.com/GoogleContainerTools/skaffold/pull/9394) - schema: v4beta11 [#​9401](https://togithub.com/GoogleContainerTools/skaffold/pull/9401) - chore: bump github/codeql-action from 3.24.9 to 3.25.1 [#​9391](https://togithub.com/GoogleContainerTools/skaffold/pull/9391) Docs, Test, and Release Updates: - docs: add bazel cross-platform documentation [#​9363](https://togithub.com/GoogleContainerTools/skaffold/pull/9363) Huge thanks goes out to all of our contributors for this release: - Aran Donohue - Hedi Nasr - Michael Kuc - Suleiman Dibirov - dependabot\[bot] - ericzzzzzzz </details> <details> <summary>aquaproj/aqua-registry (aquaproj/aqua-registry)</summary> ### [`v4.181.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.181.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.180.1...v4.181.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.181.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.181.0) | https://github.com/aquaproj/aqua-registry/compare/v4.180.1...v4.181.0 #### 🎉 New Packages [#​23000](https://togithub.com/aquaproj/aqua-registry/issues/23000) [#​23005](https://togithub.com/aquaproj/aqua-registry/issues/23005) [jessfraz/dockfmt](https://togithub.com/jessfraz/dockfmt): Dockerfile format and parser. Like `gofmt` but for Dockerfiles [@​istone-you](https://togithub.com/istone-you) [#​23025](https://togithub.com/aquaproj/aqua-registry/issues/23025) [typst/typst](https://togithub.com/typst/typst): A new markup-based typesetting system that is powerful and easy to learn [@​ryota2357](https://togithub.com/ryota2357) #### Fix [#​23022](https://togithub.com/aquaproj/aqua-registry/issues/23022) MHNightCat/superfile: Rename the package to `yorukot/superfile` The repository https://github.com/MHNightCat/superfile was transferred to https://github.com/yorukot/superfile . ### [`v4.180.1`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.180.1) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.180.0...v4.180.1) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.180.1) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.180.1) | https://github.com/aquaproj/aqua-registry/compare/v4.180.0...v4.180.1 #### Fix [#​22910](https://togithub.com/aquaproj/aqua-registry/issues/22910) WebAssembly/wabt: Follow up changes of wabt v1.0.35 [#​22999](https://togithub.com/aquaproj/aqua-registry/issues/22999) neovim/neovim: Follow up changes of neovim v0.10.0 ### [`v4.180.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.180.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.179.0...v4.180.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.180.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.180.0) | https://github.com/aquaproj/aqua-registry/compare/v4.179.0...v4.180.0 #### 🎉 New Packages [#​22867](https://togithub.com/aquaproj/aqua-registry/issues/22867) [DeNA/unity-meta-check/unity-meta-check](https://togithub.com/DeNA/unity-meta-check): Checker for missing/dangling meta files. The result print to stdout [@​ponkio-o](https://togithub.com/ponkio-o) [#​22866](https://togithub.com/aquaproj/aqua-registry/issues/22866) [DeNA/unity-meta-check/gh-action-yaml-gen](https://togithub.com/DeNA/unity-meta-check): A cli tool to automatically generate action.yaml for DeNA/unity-meta-check [@​ponkio-o](https://togithub.com/ponkio-o) [#​22865](https://togithub.com/aquaproj/aqua-registry/issues/22865) [DeNA/unity-meta-check/gh-action](https://togithub.com/DeNA/unity-meta-check): Binary for GitHub Actions of DeNA/unity-meta-check [@​ponkio-o](https://togithub.com/ponkio-o) [#​22864](https://togithub.com/aquaproj/aqua-registry/issues/22864) [DeNA/unity-meta-check/unity-meta-autofix](https://togithub.com/DeNA/unity-meta-check): Autofix for meta files problems. It need a result of unity-meta-check via stdin [@​ponkio-o](https://togithub.com/ponkio-o) [#​22863](https://togithub.com/aquaproj/aqua-registry/issues/22863) [DeNA/unity-meta-check/unity-meta-check-github-pr-comment](https://togithub.com/DeNA/unity-meta-check): Reporter for GitHub comments of GitHub issues or pull requests. It need a result of unity-meta-check from stdin [@​ponkio-o](https://togithub.com/ponkio-o) [#​22862](https://togithub.com/aquaproj/aqua-registry/issues/22862) [DeNA/unity-meta-check/unity-meta-check-junit](https://togithub.com/DeNA/unity-meta-check): Reporter for Jenkins compatible XML based JUnit reports. It need a result of unity-meta-check from stdin [@​ponkio-o](https://togithub.com/ponkio-o) [#​22875](https://togithub.com/aquaproj/aqua-registry/issues/22875) [interlynk-io/sbomqs](https://togithub.com/interlynk-io/sbomqs): SBOM quality score - Quality metrics for your sboms #### Fix [#​22848](https://togithub.com/aquaproj/aqua-registry/issues/22848) sigi-cli/sigi: Follow up changes of sigi v3.6.4 ### [`v4.179.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.179.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.178.0...v4.179.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.179.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.179.0) | https://github.com/aquaproj/aqua-registry/compare/v4.178.0...v4.179.0 ##### 🎉 New Packages [#​22842](https://togithub.com/aquaproj/aqua-registry/issues/22842) [altsem/gitu](https://togithub.com/altsem/gitu): A TUI Git client inspired by Magit [#​22817](https://togithub.com/aquaproj/aqua-registry/issues/22817) [secretlint/secretlint](https://togithub.com/secretlint/secretlint): secretlint - Pluggable linting tool to prevent committing credential [@​ken5scal](https://togithub.com/ken5scal) ### [`v4.178.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.178.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.177.0...v4.178.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.178.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.178.0) | https://github.com/aquaproj/aqua-registry/compare/v4.177.0...v4.178.0 #### 🎉 New Packages [#​22775](https://togithub.com/aquaproj/aqua-registry/issues/22775) [StyraInc/regal](https://togithub.com/StyraInc/regal): Regal is a linter for Rego, with the goal of making your Rego magnificent #### Fix [#​22815](https://togithub.com/aquaproj/aqua-registry/issues/22815) ast-grep/ast-grep: Follow up changes of ast-grep v0.22.2 [#​22784](https://togithub.com/aquaproj/aqua-registry/issues/22784) jdx/mise: Remove version constraints for deleted old versions [#​22806](https://togithub.com/aquaproj/aqua-registry/issues/22806) tellerops/teller: Follow up changes of teller v2.0.3 ### [`v4.177.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.177.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.176.0...v4.177.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.177.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.177.0) | https://github.com/aquaproj/aqua-registry/compare/v4.176.0...v4.177.0 #### 🎉 New Packages [#​22757](https://togithub.com/aquaproj/aqua-registry/issues/22757) [MHNightCat/superfile](https://togithub.com/MHNightCat/superfile): Pretty fancy and modern terminal file manager [#​22735](https://togithub.com/aquaproj/aqua-registry/issues/22735) [dduan/tre](https://togithub.com/dduan/tre): Tree command, improved [@​ryoppippi](https://togithub.com/ryoppippi) #### Others [#​22760](https://togithub.com/aquaproj/aqua-registry/issues/22760) [#​22764](https://togithub.com/aquaproj/aqua-registry/issues/22764) Fix a bug of scripts that `cmdx t` doesn't test packages ### [`v4.176.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.176.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.175.0...v4.176.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.176.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.176.0) | https://github.com/aquaproj/aqua-registry/compare/v4.175.0...v4.176.0 #### 🎉 New Packages [#​22724](https://togithub.com/aquaproj/aqua-registry/issues/22724) [Crocmagnon/fatcontext](https://togithub.com/Crocmagnon/fatcontext): detects nested contexts in loops [@​ponkio-o](https://togithub.com/ponkio-o) [#​22717](https://togithub.com/aquaproj/aqua-registry/issues/22717) [EmbarkStudios/cargo-deny](https://togithub.com/EmbarkStudios/cargo-deny): Cargo plugin for linting your dependencies [@​sapphi-red](https://togithub.com/sapphi-red) #### Fix [#​22721](https://togithub.com/aquaproj/aqua-registry/issues/22721) ko-build/ko: Enable the verification of SLSA Provenance [@​sapphi-red](https://togithub.com/sapphi-red) [#​22719](https://togithub.com/aquaproj/aqua-registry/issues/22719) dagu-dev/dagu: Remove a duplicated alias [@​sapphi-red](https://togithub.com/sapphi-red) #### Others [#​22716](https://togithub.com/aquaproj/aqua-registry/issues/22716) [#​22718](https://togithub.com/aquaproj/aqua-registry/issues/22718) script: fix an issue that `cmdx s` generates files owned by root on Linux [@​sapphi-red](https://togithub.com/sapphi-red) ### [`v4.175.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.175.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.174.0...v4.175.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.175.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.175.0) | https://github.com/aquaproj/aqua-registry/compare/v4.174.0...v4.175.0 #### 🎉 New Packages [#​22696](https://togithub.com/aquaproj/aqua-registry/issues/22696) [cargo-bins/cargo-binstall](https://togithub.com/cargo-bins/cargo-binstall): Binary installation for rust projects [@​sapphi-red](https://togithub.com/sapphi-red) [#​22698](https://togithub.com/aquaproj/aqua-registry/issues/22698) [mitsuhiko/insta](https://togithub.com/mitsuhiko/insta): A snapshot testing library for rust [@​sapphi-red](https://togithub.com/sapphi-red) #### Fix [#​22658](https://togithub.com/aquaproj/aqua-registry/issues/22658) [fabpot/local-php-security-checker](https://togithub.com/fabpot/local-php-security-checker): Regenerate settings [#​22661](https://togithub.com/aquaproj/aqua-registry/issues/22661) [kaytu-io/kaytu](https://togithub.com/kaytu-io/kaytu): Fix checksum of windows [https://github.com/kaytu-io/kaytu/issues/77](https://togithub.com/kaytu-io/kaytu/issues/77) </details> <details> <summary>awslabs/amazon-ecr-credential-helper (awslabs/amazon-ecr-credential-helper)</summary> ### [`v0.8.0`](https://togithub.com/awslabs/amazon-ecr-credential-helper/releases/tag/v0.8.0): Amazon ECR Credential Helper - Release v0.8.0 [Compare Source](https://togithub.com/awslabs/amazon-ecr-credential-helper/compare/v0.7.1...v0.8.0) - Enhancement - Updated ECR pattern to match C2S environments. ([#​433](https://togithub.com/awslabs/amazon-ecr-credential-helper/issues/433)) - Feature (Experimental) - Added support for building Windows ARM credential helper binaries. ([#​795](https://togithub.com/awslabs/amazon-ecr-credential-helper/issues/795)) #### Assets - [release.tar.gz](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/release.tar.gz) ([SHA256](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/release.tar.gz.sha256)) - [release-novendor.tar.gz](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/release-novendor.tar.gz) ([SHA256](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/release-novendor.tar.gz.sha256)) - [linux-amd64/docker-credential-ecr-login](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/linux-amd64/docker-credential-ecr-login) ([SHA256](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/linux-amd64/docker-credential-ecr-login.sha256)) - [linux-arm64/docker-credential-ecr-login](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/linux-arm64/docker-credential-ecr-login) ([SHA256](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/linux-arm64/docker-credential-ecr-login.sha256)) - [darwin-amd64/docker-credential-ecr-login](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/darwin-amd64/docker-credential-ecr-login) ([SHA256](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/darwin-amd64/docker-credential-ecr-login.sha256)) - [darwin-arm64/docker-credential-ecr-login](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/darwin-arm64/docker-credential-ecr-login) ([SHA256](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/darwin-arm64/docker-credential-ecr-login.sha256)) - [windows-amd64/docker-credential-ecr-login.exe](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/windows-amd64/docker-credential-ecr-login.exe) ([SHA256](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/windows-amd64/docker-credential-ecr-login.exe.sha256)) - [windows-arm64/docker-credential-ecr-login.exe](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/windows-arm64/docker-credential-ecr-login.exe) ([SHA256](https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.8.0/windows-arm64/docker-credential-ecr-login.exe.sha256)) </details> <details> <summary>casey/just (casey/just)</summary> ### [`v1.26.0`](https://togithub.com/casey/just/blob/HEAD/CHANGELOG.md#1260---2024-05-13) [Compare Source](https://togithub.com/casey/just/compare/1.25.2...1.26.0) ##### Added - Add --no-aliases to hide aliases in --list ([#​1961](https://togithub.com/casey/just/pull/1961) by [WJehee](https://togithub.com/WJehee)) - Add -E as alias for --dotenv-path ([#​1910](https://togithub.com/casey/just/pull/1910) by [amarao](https://togithub.com/amarao)) ##### Misc - Update softprops/action-gh-release ([#​2029](https://togithub.com/casey/just/pull/2029) by [app/dependabot](https://togithub.com/app/dependabot)) - Update dependencies ([#​1999](https://togithub.com/casey/just/pull/1999) by [neunenak](https://togithub.com/neunenak)) - Bump peaceiris/actions-gh-pages to version 4 ([#​2005](https://togithub.com/casey/just/pull/2005) by [app/dependabot](https://togithub.com/app/dependabot)) - Clarify that janus operates on public justfiles only ([#​2021](https://togithub.com/casey/just/pull/2021)) - Fix Error::TmpdirIo error message ([#​1987](https://togithub.com/casey/just/pull/1987)) - Update softprops/action-gh-release ([#​1973](https://togithub.com/casey/just/pull/1973) by [app/dependabot](https://togithub.com/app/dependabot)) - Rename `delete` example recipe to `delete-all` ([#​1966](https://togithub.com/casey/just/pull/1966) by [aarmn](https://togithub.com/aarmn)) - Update softprops/action-gh-release ([#​1954](https://togithub.com/casey/just/pull/1954) by [app/dependabot](https://togithub.com/app/dependabot)) - Fix function name typo ([#​1953](https://togithub.com/casey/just/pull/1953) by [racerole](https://togithub.com/racerole)) </details> <details> <summary>cli/cli (cli/cli)</summary> ### [`v2.49.2`](https://togithub.com/cli/cli/releases/tag/v2.49.2): GitHub CLI 2.49.2 [Compare Source](https://togithub.com/cli/cli/compare/v2.49.1...v2.49.2) #### What's Changed - Improve `run list` doc with available `--json` fields by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8934](https://togithub.com/cli/cli/pull/8934) - Fix typos by [@​szepeviktor](https://togithub.com/szepeviktor) in [https://github.com/cli/cli/pull/9068](https://togithub.com/cli/cli/pull/9068) - Move config interfaces into gh package by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9060](https://togithub.com/cli/cli/pull/9060) - Creating doc to capture Codespace usage guidance by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/9066](https://togithub.com/cli/cli/pull/9066) - Fix repo fork regression by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9063](https://togithub.com/cli/cli/pull/9063) - Add --latest=false to `gh release create` docs by [@​kuzdogan](https://togithub.com/kuzdogan) in [https://github.com/cli/cli/pull/8987](https://togithub.com/cli/cli/pull/8987) - build(deps): bump github.com/sigstore/protobuf-specs from 0.3.1 to 0.3.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9075](https://togithub.com/cli/cli/pull/9075) #### New Contributors - [@​szepeviktor](https://togithub.com/szepeviktor) made their first contribution in [https://github.com/cli/cli/pull/9068](https://togithub.com/cli/cli/pull/9068) - [@​kuzdogan](https://togithub.com/kuzdogan) made their first contribution in [https://github.com/cli/cli/pull/8987](https://togithub.com/cli/cli/pull/8987) **Full Changelog**: https://github.com/cli/cli/compare/v2.49.1...v2.49.2 </details> <details> <summary>dagger/dagger (dagger/dagger)</summary> ### [`v0.11.4`](https://togithub.com/dagger/dagger/blob/HEAD/CHANGELOG.md#v0114---2024-05-09) [Compare Source](https://togithub.com/dagger/dagger/compare/v0.11.3...v0.11.4) ##### Fixed - cli: Fix panic when calling function with list of scalars by [@​jedevc](https://togithub.com/jedevc) in [https://github.com/dagger/dagger/pull/7322](https://togithub.com/dagger/dagger/pull/7322) - Avoid hang caused by client id conflicts by [@​sipsma](https://togithub.com/sipsma) in [https://github.com/dagger/dagger/pull/7335](https://togithub.com/dagger/dagger/pull/7335) - Avoid unneccessary module cache invalidation from internal plumbing values by [@​sipsma](https://togithub.com/sipsma) in [https://github.com/dagger/dagger/pull/7336](https://togithub.com/dagger/dagger/pull/7336) ##### What to do next? - Read the [documentation](https://docs.dagger.io) - Join our [Discord server](https://discord.gg/dagger-io) - Follow us on [Twitter](https://twitter.com/dagger_io) ### [`v0.11.3`](https://togithub.com/dagger/dagger/blob/HEAD/CHANGELOG.md#v0113---2024-05-08) [Compare Source](https://togithub.com/dagger/dagger/compare/v0.11.2...v0.11.3) ##### 🔥 Breaking Changes - cli: remove space stripping from secret arguments by [@​marcosnils](https://togithub.com/marcosnils) in [https://github.com/dagger/dagger/pull/7271](https://togithub.com/dagger/dagger/pull/7271) ##### Added - Added support for custom scalars and enums in function arguments by [@​jedevc](https://togithub.com/jedevc) in [https://github.com/dagger/dagger/pull/7158](https://togithub.com/dagger/dagger/pull/7158) - Added support for propagating system proxy settings by [@​sipsma](https://togithub.com/sipsma) in [https://github.com/dagger/dagger/pull/7255](https://togithub.com/dagger/dagger/pull/7255) - api: Added `Container.withoutSecretVariable` by [@​helderco](https://togithub.com/helderco) in [https://github.com/dagger/dagger/pull/7291](https://togithub.com/dagger/dagger/pull/7291) - api: Added `Container.withoutDirectory` and `Container.withoutFile` by [@​helderco](https://togithub.com/helderco) in [https://github.com/dagger/dagger/pull/7292](https://togithub.com/dagger/dagger/pull/7292) ##### Changed - cli: Added a visual cue for required flags in `--help` by [@​grouville](https://togithub.com/grouville) in [https://github.com/dagger/dagger/pull/7262](https://togithub.com/dagger/dagger/pull/7262) - cli: Conventionalized usage syntax in `--help` by [@​grouville](https://togithub.com/grouville) in [https://github.com/dagger/dagger/pull/7143](https://togithub.com/dagger/dagger/pull/7143) - cli: Use "functions" and "arguments" in `dagger call --help` by [@​helderco](https://togithub.com/helderco) in [https://github.com/dagger/dagger/pull/7286](https://togithub.com/dagger/dagger/pull/7286) ##### Fixed - api: Set `Container.platform` correctly when using `Container.from` by [@​marcosnils](https://togithub.com/marcosnils) in [https://github.com/dagger/dagger/pull/7298](https://togithub.com/dagger/dagger/pull/7298) - Avoid intermittent `failed to get state for index` errors by [@​sipsma](https://togithub.com/sipsma) in [https://github.com/dagger/dagger/pull/7295](https://togithub.com/dagger/dagger/pull/7295) [https://github.com/dagger/dagger/pull/7309](https://togithub.com/dagger/dagger/pull/7309) - Avoid panic when masked parent is missing by [@​vito](https://togithub.com/vito) in [https://github.com/dagger/dagger/pull/7227](https://togithub.com/dagger/dagger/pull/7227) - Fix terminal broken on Windows by [@​wingyplus](https://togithub.com/wingyplus) in [https://github.com/dagger/dagger/pull/7305](https://togithub.com/dagger/dagger/pull/7305) ##### What to do next? - Read the [documentation](https://docs.dagger.io) - Join our [Discord server](https://discord.gg/dagger-io) - Follow us on [Twitter](https://twitter.com/dagger_io) </details> <details> <summary>eza-community/eza (eza-community/eza)</summary> ### [`v0.18.16`](https://togithub.com/eza-community/eza/releases/tag/v0.18.16): eza v0.18.16 [Compare Source](https://togithub.com/eza-community/eza/compare/v0.18.15...v0.18.16) ### Changelog #### \[0.18.16] - 2024-05-16 ##### Bug Fixes - Change windows-only imports to be windows-only ##### Documentation - Replace decay with color-scale - Update INSTALL.md - Fix typo in `INSTALL.md` - Use 3 columns for packaging status badge ##### Miscellaneous Tasks - Release eza v0.18.16 ##### Build - Bump DeterminateSystems/flake-checker-action from 5 to 7 - Bump DeterminateSystems/nix-installer-action from 10 to 11 ### Checksums #### sha256sum 4ce5eaadd68ba0e8c6ed76f725534e2c34f9122e54956e1ee7f75332aa0ee74a ./target/bin-0.18.16/eza_aarch64-unknown-linux-gnu.tar.gz ad43d24fd1909e38e9b9b0b791de4011b5b32fc6200d85caf85258ea5f0eb767 ./target/bin-0.18.16/eza_aarch64-unknown-linux-gnu.zip e909695ed88b60de257139e03443321fe83c97b6de9d1ce718f0067b7c8a1ee5 ./target/bin-0.18.16/eza_arm-unknown-linux-gnueabihf.tar.gz 033c2e62524ec0cbcfb824274d088335c951827cbf5cf9111951a079c8e5f21f ./target/bin-0.18.16/eza_arm-unknown-linux-gnueabihf.zip eb62b3944d91223b7eb022e40497f38e1b14fadbb6f2b9a820498bda66543e50 ./target/bin-0.18.16/eza.exe_x86_64-pc-windows-gnu.tar.gz 8952c05eb850a276a4c859b4f4def2295c2046de6af75e82f275257078e06447 ./target/bin-0.18.16/eza.exe_x86_64-pc-windows-gnu.zip 3928593f163e3b9864e9604702b141e00ee0e8752468b67d469ecc27ee3e79a2 ./target/bin-0.18.16/eza_x86_64-unknown-linux-gnu.tar.gz 4b2f7ee047c624e2c2b1b438155cfd44fb011699e2fa41a10ba0d6ad8e21f49b ./target/bin-0.18.16/eza_x86_64-unknown-linux-gnu.zip e5f9a7b6cb0d1c0c4dc4617ce478b66a9c4b411219f56990227379dd93a9ce7b ./target/bin-0.18.16/eza_x86_64-unknown-linux-musl.tar.gz 9b73679541b810d13e5c2911b8b1cdbc72c2e5ca5291b86060507549c6196636 ./target/bin-0.18.16/eza_x86_64-unknown-linux-musl.zip #### md5sum f2219caf55f7251fd1467f1820b5f0d6 ./target/bin-0.18.16/eza_aarch64-unknown-linux-gnu.tar.gz 3ae43e7a0a0bbb7a71a1a085b14266bf ./target/bin-0.18.16/eza_aarch64-unknown-linux-gnu.zip 8bc6193b44a115b1e385a6a2c9eda49e ./target/bin-0.18.16/eza_arm-unknown-linux-gnueabihf.tar.gz 091860aeedfb9c5992a83d5df267bb12 ./target/bin-0.18.16/eza_arm-unknown-linux-gnueabihf.zip b3b3c50fa74554bf5a4bb9d0c3c369e9 ./target/bin-0.18.16/eza.exe_x86_64-pc-windows-gnu.tar.gz 9da2e3852037a206f9d276515e73ec6e ./target/bin-0.18.16/eza.exe_x86_64-pc-windows-gnu.zip 18405ad6afad32687af2ab6e583df08c ./target/bin-0.18.16/eza_x86_64-unknown-linux-gnu.tar.gz 183a970b2fc8adfb5d72a3d6dc08a949 ./target/bin-0.18.16/eza_x86_64-unknown-linux-gnu.zip ff5cfe90f11e5fca17cf40b711cc2fb7 ./target/bin-0.18.16/eza_x86_64-unknown-linux-musl.tar.gz d080f0cc01a2fea45046e240fc5c7562 ./target/bin-0.18.16/eza_x86_64-unknown-linux-musl.zip #### blake3sum 367b36ef37ee029c7385b077d0f41213182a05b8217b1548687b6c584cb52e8f ./target/bin-0.18.16/eza_aarch64-unknown-linux-gnu.tar.gz bfd9cc96ef0ef623e9bbe6aed467c95beac319b741e757b5f8713af702fccd84 ./target/bin-0.18.16/eza_aarch64-unknown-linux-gnu.zip d99e37d101c543ef9e95732b71601eb251715256bbe2b7784d67c219efd3847f ./target/bin-0.18.16/eza_arm-unknown-linux-gnueabihf.tar.gz c99b487907c24f643c5b02c494db83046f61fa8e6fc6b997ab2c7568412f8e2b ./target/bin-0.18.16/eza_arm-unknown-linux-gnueabihf.zip ca809c1157e367b32dea437ec4036fdcc9ebffd7464a45fd70071fd569617d6d ./target/bin-0.18.16/eza.exe_x86_64-pc-windows-gnu.tar.gz 3db7289db7ca62180a9c7fa1866d3cf66e169fe0baf74f607db08ff6cc3868f9 ./target/bin-0.18.16/eza.exe_x86_64-pc-windows-gnu.zip 680d8aa349879c6de13f6d44bbe326b7d0c85bdcdb44cbbf59d141427de881e0 ./target/bin-0.18.16/eza_x86_64-unknown-linux-gnu.tar.gz 8cfdfe833d54651299bba5147da33498ede2ce655a9a6e42ce130b6e0049b315 ./target/bin-0.18.16/eza_x86_64-unknown-linux-gnu.zip 8df29d0d89de06a2bdaac6a5266505e1126c146b9b0504d819da4128d2639354 ./target/bin-0.18.16/eza_x86_64-unknown-linux-musl.tar.gz e6c20403d54f05ed2ff70eab38b4c53c20c80233a98a583088a8c95a3732f3e7 ./target/bin-0.18.16/eza_x86_64-unknown-linux-musl.zip </details> <details> <summary>fluxcd/flux2 (fluxcd/flux2)</summary> ### [`v2.3.0`](https://togithub.com/fluxcd/flux2/releases/tag/v2.3.0) [Compare Source](https://togithub.com/fluxcd/flux2/compare/v2.2.3...v2.3.0) ##### Highlights Flux v2.3.0 is a feature release. Users are encouraged to upgrade for the best experience. For a compressive overview of new features and API changes included in this release, please refer to the [Announcing Flux 2.3 GA blog post](https://fluxcd.io/blog/2024/05/flux-v2.3.0/). This release marks the General Availability (GA) of Flux Helm features and APIs, including helm-controller, the `HelmRelease`, `HelmChart`, and `HelmRepository` APIs. The `HelmRepository` v2 API comes with new features, such as the ability to reference Helm charts from `OCIRepository` sources, reuse existing `HelmChart` resources, and verify the integrity of Helm chart artifacts signed with Notary Notation. ❤️ Big thanks to all the Flux contributors that helped us with this release! ##### Kubernetes compatibility This release is compatible with the following Kubernetes versions: | Kubernetes version | Minimum required | |--------------------|------------------| | `v1.28` | `>= 1.28.0` | | `v1.29` | `>= 1.29.0` | | `v1.30` | `>= 1.30.0` | > \[!NOTE] > Note that the Flux project offers support only for the latest three minor versions of Kubernetes. > Backwards compatibility with older versions of Kubernetes and OpenShift is offered by vendors such as > [ControlPlane](https://control-plane.io/enterprise-for-flux-cd/) that provide enterprise support for Flux. ##### API changes ##### HelmRelease v2 The [HelmRelease](https://fluxcd.io/flux/components/helm/helmreleases/) kind was promoted from v2beta2 to v2 (GA). The v2 API is backwards compatible with v2beta2, with the exception of the deprecated fields which have been removed. Removed fields: - `.spec.chart.spec.valuesFile` replaced by `.spec.chart.spec.valuesFiles`. - `.spec.postRenderers.kustomize.patchesJson6902` replaced by `.spec.postRenderers.kustomize.patches`. - `.spec.postRenderers.kustomize.patchesStrategicMerge` replaced by `.spec.postRenderers.kustomize.patches`. - `.status.lastAppliedRevision` replaced by `.status.history.chartVersion`. New fields: - `.spec.chartRef` allows referencing chart artifacts from `OCIRepository` and `HelmChart` objects. - `.spec.chart.spec.ignoreMissingValuesFiles` allows ignoring missing values files instead of failing to reconcile. ##### HelmChart v1 The [HelmChart](https://fluxcd.io/flux/components/source/helmcharts/) kind was promoted from v1beta2 to v1 (GA). The v1 API is backwards compatible with v1beta2, with the exception of the deprecated fields which have been removed. Removed fields: - `.spec.valuesFile` replaced by `.spec.chart.valuesFiles`. New fields: - `.spec.ignoreMissingValuesFiles` allows ignoring missing values files instead of failing to reconcile. - `.spec.verify.provider: notation` verify the signature of a Helm OCI artifacts using Notation trust policy and CA certificate. ##### HelmRepository v1 The [HelmRepository](https://fluxcd.io/flux/components/source/helmrepositories/) kind was promoted from v1beta2 to v1 (GA). The v1 API is backwards compatible with v1beta2. ##### OCIRepository v1beta2 The [OCIRepository](https://fluxcd.io/flux/components/source/ocirepositoies/) kind gains new optional fields with no breaking changes. New fields: - `.spec.ref.semverFilter` allows filtering the tags based on regular expressions before applying the semver range. - `.spec.verify.provider: notation` verify the signature of OCI artifacts using Notation trust policy and CA certificate. ##### Kustomization v1 The Flux [Kustomization](https://fluxcd.io/flux/components/kustomize/kustomizations/) kind gains new optional fields with no breaking changes. New fields: - `.spec.namePrefix` allows setting a name prefix for the generated resources. - `.spec.nameSuffix` allows setting a name suffix for the generated resources. ##### ImageUpdateAutomation v1beta2 The [ImageUpdateAutomation](https://fluxcd.io/flux/components/image/imageupdateautomations/) kind was promoted from v1beta1 to v1beta2. The v1beta2 API is backwards compatible with v1beta1. Deprecated fields: - `Updated` template data has been deprecated in favour of `Changed` that is designed to accommodate for all the types of updates made. New fields: - `.spec.policySelector` allows filtering `ImagePolicy` based on labels. ##### Receiver v1 The [Receiver](https://fluxcd.io/flux/components/notification/receivers/) kind gains new optional fields with no breaking changes. New fields: - `.spec.type: cdevents` allows receiving, validating and filtering of CDEvents. ##### Upgrade procedure Upgrade Flux from `v2.x` to `v2.3.0` either by [rerunning bootstrap](https://fluxcd.io/flux/installation/#bootstrap-upgrade) or by using the [Flux GitHub Action](https://togithub.com/fluxcd/flux2/tree/main/action). For more details, please refer to the upgrade guide from the [Announcing Flux 2.3 GA blog post](https://fluxcd.io/blog/2024/05/flux-v2.3.0/#installing-or-upgrading-flux). ##### Components changelog - source-controller [v1.3.0](https://togithub.com/fluxcd/source-controller/blob/v1.3.0/CHANGELOG.md) - kustomize-controller [v1.3.0](https://togithub.com/fluxcd/kustomize-controller/blob/v1.3.0/CHANGELOG.md) - notification-controller [v1.3.0](https://togithub.com/fluxcd/notification-controller/blob/v1.3.0/CHANGELOG.md) - helm-controller [v1.0.0](https://togithub.com/fluxcd/helm-controller/blob/v1.0.0/CHANGELOG.md) [v1.0.1](https://togithub.com/fluxcd/helm-controller/blob/v1.0.1/CHANGELOG.md) - image-reflector-controller [v0.32.0](https://togithub.com/fluxcd/image-reflector-controller/blob/v0.32.0/CHANGELOG.md) - image-automation-controller [v0.38.0](https://togithub.com/fluxcd/image-automation-controller/blob/v0.38.0/CHANGELOG.md) ##### New Documentation - [HelmRelease v2 specification](https://fluxcd.io/flux/components/helm/helmreleases/) - [ImageUpdateAutomation v1beta2 specification](https://fluxcd.io/flux/components/image/imageupdateautomations/) - [Oracle VBS bootstrap guide](https://fluxcd.io/flux/installation/bootstrap/oracle-vbs-git-repositories/) - [Azure DevOps bootstrap guide for SSH RSA SHA-2](https://fluxcd.io/flux/installation/bootstrap/azure-devops/#bootstrap-using-ssh-keys) - [OpenShift installation guide and SCC configuration](https://fluxcd.io/flux/installation/configuration/openshift/) - [Air-gapped installation guide for private container registries](https://fluxcd.io/flux/installation/configuration/air-gapped/#bootstrap-flux-and-authenticate-to-a-private-container-registry) - [Bootstrap with Terraform examples](https://togithub.com/fluxcd/terraform-provider-flux/tree/main/examples) - [Flux hub-and-spoke example repository](https://togithub.com/fluxcd/flux2-hub-spoke-example) - [Flux CD Architecture Overview blog post](https://control-plane.io/posts/fluxcd-architecture-overview/) ##### CLI Changelog - PR [#​4783](https://togithub.com/fluxcd/flux2/issues/4783) - [@​stefanprodan](https://togithub.com/stefanprodan) - ci: Consolidate conformance tests - PR [#​4781](https://togithub.com/fluxcd/flux2/issues/4781) - [@​stefanprodan](https://togithub.com/stefanprodan) - Set Kubernetes 1.28 as min required version - PR [#​4780](https://togithub.com/fluxcd/flux2/issues/4780) - [@​stefanprodan](https://togithub.com/stefanprodan) - Update helm-controller to v1.0.1 - PR [#​4779](https://togithub.com/fluxcd/flux2/issues/4779) - [@​fluxcdbot](https://togithub.com/fluxcdbot) - Update toolkit components - PR [#​4778](https://togithub.com/fluxcd/flux2/issues/4778) - [@​darkowlzz](https://togithub.com/darkowlzz) - tests/integration: Run flux check after installation - PR [#​4777](https://togithub.com/fluxcd/flux2/issues/4777) - [@​stefanprodan](https://togithub.com/stefanprodan) - Add k3s to the conformance test suite - PR [#​4775](https://togithub.com/fluxcd/flux2/issues/4775) - [@​stefanprodan](https://togithub.com/stefanprodan) - Update `HelmRelease` API to v2 (GA) - PR [#​4773](https://togithub.com/fluxcd/flux2/issues/4773) - [@​makkes](https://togithub.com/makkes) - Add `(create|delete|export) source chart` commands - PR [#​4771](https://togithub.com/fluxcd/flux2/issues/4771) - [@​matheuscscp](https://togithub.com/matheuscscp) - Add 2.3.x release label - PR [#​4770](https://togithub.com/fluxcd/flux2/issues/4770) - [@​stefanprodan](https://togithub.com/stefanprodan) - Update Flux architecture diagram - PR [#​4769](https://togithub.com/fluxcd/flux2/issues/4769) - [@​frekw](https://togithub.com/frekw) - Add `--reproducible` flag to `flux push artifact` - PR [#​4768](https://togithub.com/fluxcd/flux2/issues/4768) - [@​stefanprodan](https://togithub.com/stefanprodan) - Improve end-to-end test workflow - PR [#​4766](https://togithub.com/fluxcd/flux2/issues/4766) - [@​souleb](https://togithub.com/souleb) - Add support for HelmRelease v2 in `flux reconcile` and `flux create` - PR [#​4764](https://togithub.com/fluxcd/flux2/issues/4764) - [@​stefanprodan](https://togithub.com/stefanprodan) - ci: Adapt image automation test to v1beta2 - PR [#​4759](https://togithub.com/fluxcd/flux2/issues/4759) - [@​stefanprodan](https://togithub.com/stefanprodan) - Update Helm Source APIs to v1 (GA) - PR [#​4754](https://togithub.com/fluxcd/flux2/issues/4754) - [@​stefanprodan](https://togithub.com/stefanprodan) - Add `--ssh-hostkey-algos` flag to bootstrap command - PR [#​4747](https://togithub.com/fluxcd/flux2/issues/4747) - [@​stefanprodan](https://togithub.com/stefanprodan) - Update dependencies to Kubernetes 1.30 - PR [#​4746](https://togithub.com/fluxcd/flux2/issues/4746) - [@​swade1987](https://togithub.com/swade1987) - Specifying go version in setup-go github action. - PR [#​4736](https://togithub.com/fluxcd/flux2/issues/4736) - [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump the ci group with 4 updates - PR [#​4735](https://togithub.com/fluxcd/flux2/issues/4735) - [@​JasonTheDeveloper](https://togithub.com/JasonTheDeveloper) - feat(secret): add create notation secret handler - PR [#​4734](https://togithub.com/fluxcd/flux2/issues/4734) - [@​stefanprodan](https://togithub.com/stefanprodan) - Run conformance tests for Kubernetes 1.30.0 - PR [#​4729](https://togithub.com/fluxcd/flux2/issues/4729) - [@​stefanprodan](https://togithub.com/stefanprodan) - Add OpenShift to the conformance test suite - PR [#​4728](https://togithub.com/fluxcd/flux2/issues/4728) - [@​toomaj](https://togithub.com/toomaj) - bootstrap: Add support for Git HTTP/S authorization header - PR [#​4727](https://togithub.com/fluxcd/flux2/issues/4727) - [@​makkes](https://togithub.com/makkes) - Add flags for issuer/subject OCI signature verification - PR [#​4717](https://togithub.com/fluxcd/flux2/issues/4717) - [@​hawwwdi](https://togithub.com/hawwwdi) - Set `GOMAXPROCS` and `GOMEMLIMIT` to all Flux controllers - PR [#​4710](https://togithub.com/fluxcd/flux2/issues/4710) - [@​stefanprodan](https://togithub.com/stefanprodan) - Add `flux envsubst` command - PR [#​4709](https://togithub.com/fluxcd/flux2/issues/4709) - [@​stefanprodan](https://togithub.com/stefanprodan) - Add `--strict-substitute` flag to `flux build ks` and `flux diff ks` - PR [#​4706](https://togithub.com/fluxcd/flux2/issues/4706) - [@​stefanprodan](https://togithub.com/stefanprodan) - Add `--registry-creds` flag to bootstrap and install commands - PR [#​4705](https://togithub.com/fluxcd/flux2/issues/4705) - [@​stefanprodan](https://togithub.com/stefanprodan) - Update dependencies to Kustomize v5.4.0 - PR [#​4701](https://togithub.com/fluxcd/flux2/issues/4701) - [@​fluxcdbot](https://togithub.com/fluxcdbot) - Update toolkit components - PR [#​4699](https://togithub.com/fluxcd/flux2/issues/4699) - [@​stefanprodan](https://togithub.com/stefanprodan) - Update dependencies to Go 1.22 and Kubernetes 1.29.3 - PR [#​4689](https://togithub.com/fluxcd/flux2/issues/4689) - [@​makkes](https://togithub.com/makkes) - Pin envtest version - PR [#​4687](https://togithub.com/fluxcd/flux2/issues/4687) - [@​carlpett](https://togithub.com/carlpett) - Add permissions required for flow control - PR [#​4678](https://togithub.com/fluxcd/flux2/issues/4678) - [@​darkowlzz](https://togithub.com/darkowlzz) - Update `ImageUpdateAutomation` API to v1beta2 - PR [#​4666](https://togithub.com/fluxcd/flux2/issues/4666) - [@​stefanprodan](https://togithub.com/stefanprodan) - Mark RFC-0006 as implementable - PR [#​4657](https://togithub.com/fluxcd/flux2/issues/4657) - [@​stefanprodan](https://togithub.com/stefanprodan) - ci: Include all go modules in snyk testing - PR [#​4654](https://togithub.com/fluxcd/flux2/issues/4654) - [@​stefanprodan](https://togithub.com/stefanprodan) - Remove deprecated e2e tests - PR [#​4629](https://togithub.com/fluxcd/flux2/issues/4629) - [@​rishinair11](https://togithub.com/rishinair11) - Fix a typo in `--force` flag description - PR [#​4620](https://togithub.com/fluxcd/flux2/issues/4620) - [@​stefanprodan](https://togithub.com/stefanprodan) - Update Equinix ARM64 GitHub runners - PR [#​4610](https://togithub.com/fluxcd/flux2/issues/4610) - [@​takp](https://togithub.com/takp) - Fix typo in build.go - PR [#​4589](https://togithub.com/fluxcd/flux2/issues/4589) - [@​stefanprodan](https://togithub.com/stefanprodan) - Update dependencies - PR [#​4583](https://togithub.com/fluxcd/flux2/issues/4583) - [@​fluxcdbot](https://togithub.com/fluxcdbot) - Update toolkit components - PR [#​4575](https://togithub.com/fluxcd/flux2/issues/4575) - [@​stefanprodan](https://togithub.com/stefanprodan) - Update dependencies to Kubernetes v1.28.6 - PR [#​4558](https://togithub.com/fluxcd/flux2/issues/4558) - [@​twinguy](https://togithub.com/twinguy) - `flux check` should error on unrecognised args - PR [#​4557](https://togithub.com/fluxcd/flux2/issues/4557) - [@​twinguy](https://togithub.com/twinguy) - `flux stats` should error on unrecognised args - PR [#​4553](https://togithub.com/fluxcd/flux2/issues/4553) - [@​twinguy](https://togithub.com/twinguy) - Properly detect unexpected arguments during uninstall - PR [#​4534](https://togithub.com/fluxcd/flux2/issues/4534) - [@​adamkenihan](https://togithub.com/adamkenihan) - \[RFC-0006] Flux-CDEvent Receiver </details> <details> <summary>gruntwork-io/terragrunt (gruntwork-io/terragrunt)</summary> ### [`v0.58.6`](https://togithub.com/gruntwork-io/terragrunt/releases/tag/v0.58.6) [Compare Source](https://togithub.com/gruntwork-io/terragrunt/compare/v0.58.5...v0.58.6) #### Updated CLI args, config attributes and blocks - `source` #### Description - Fixed terraform source URL handling #### Related links - [https://github.com/gruntwork-io/terragrunt/pull/3142](https://togithub.com/gruntwork-io/terragrunt/pull/3142) ### [`v0.58.5`](https://togithub.com/gruntwork-io/terragrunt/releases/tag/v0.58.5) [Compare Source](https://togithub.com/gruntwork-io/terragrunt/compare/v0.58.4...v0.58.5) #### Updated CLI args, config attributes and blocks - `include` #### Description - Fixed concurrency errors on merging `includes` - Updated documentation examples #### Related links - [https://github.com/gruntwork-io/terragrunt/pull/3136](https://togithub.com/gruntwork-io/terragrunt/pull/3136) ### [`v0.58.4`](https://togithub.com/gruntwork-io/terragrunt/releases/tag/v0.58.4) [Compare Source](https://togithub.com/gruntwork-io/terragrunt/compare/v0.58.3...v0.58.4) #### Updated CLI args, config attributes and blocks - `include` #### Description - Updated metadata copy flow to use locks and avoid concurrent modification exceptions - Updated Makefile to generate mocks before build #### Related links - [https://github.com/gruntwork-io/terragrunt/pull/3124](https://togithub.com/gruntwork-io/terragrunt/pull/3124) - [https://github.com/gruntwork-io/terragrunt/pull/3126](https://togithub.com/gruntwork-io/terragrunt/pull/3126) </details> <details> <summary>helm/helm (helm/helm)</summary> ### [`v3.15.0`](https://togithub.com/helm/helm/releases/tag/v3.15.0): Helm v3.15.0 [Compare Source](https://togithub.com/helm/helm/compare/v3.14.4...v3.15.0) Helm v3.15.0 is a feature release. Users are encouraged to upgrade for the best experience. The community keeps growing, and we'd love to see you there! - Join the discussion in [Kubernetes Slack](https://kubernetes.slack.com): - for questions and just to hang out - for discussing PRs, code, and bugs - Hang out at the Public Developer Call: Thursday, 9:30 Pacific via [Zoom](https://zoom.us/j/696660622) - Test, debug, and contribute charts: [ArtifactHub/packages](https://artifacthub.io/packages/search?kind=0) #### Notable Changes - Opt-in to hiding secrets when running dry-run for install and upgrade - Added robustness to wait checks #### Installation and Upgrading Download Helm v3.15.0. The common platform binaries are here: - [MacOS amd64](https://get.helm.sh/helm-v3.15.0-darwin-amd64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.0-darwin-amd64.tar.gz.sha256sum) / ccaee03af72e5dc168ae9b9e3267e2b461b0ebb7a77849048f4567286158777d) - [MacOS arm64](https://get.helm.sh/helm-v3.15.0-darwin-arm64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.0-darwin-arm64.tar.gz.sha256sum) / 020df10fd29b0791f39aa5719d2926a995f78c1a2a7487923ca26485a0565909) - [Linux amd64](https://get.helm.sh/helm-v3.15.0-linux-amd64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.0-linux-amd64.tar.gz.sha256sum) / a74747ac40777b86d3ff6f1be201504bba65ca46cd68b5fe25d3c394d0dcf745) - [Linux arm](https://get.helm.sh/helm-v3.15.0-linux-arm.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.0-linux-arm.tar.gz.sha256sum) / 614d53ab1192667facce7e8d4e884ff067e5684199a7e5223e8808abc43e927f) - [Linux arm64](https://get.helm.sh/helm-v3.15.0-linux-arm64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.0-linux-arm64.tar.gz.sha256sum) / c3b0281fca4c030548211dd6e9b032ee0a9fc53eab614f6acbaff631682ce808) - [Linux i386](https://get.helm.sh/helm-v3.15.0-linux-386.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.0-linux-386.tar.gz.sha256sum) / 8a267c7527e3c13602feea7432209c8931f6eecd4bff5ded398d70791c74a5b7) - [Linux ppc64le](https://get.helm.sh/helm-v3.15.0-linux-ppc64le.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.0-linux-ppc64le.tar.gz.sha256sum) / bcec19cdad95cae99edce046ccd8090f275e63381ccb6accb4304819fc26e004) - [Linux s390x](https://get.helm.sh/helm-v3.15.0-linux-s390x.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.0-linux-s390x.tar.gz.sha256sum) / a3030533cceedaca4af8fb7661c7154c578ad770279bb6003e1ecd810c72077a) - [Linux riscv64](https://get.helm.sh/helm-v3.15.0-linux-riscv64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.0-linux-riscv64.tar.gz.sha256sum) / 468dc90d119b2faa91036747c559285a744ed7beb8b7d74b83878da6c13e0560) - [Windows amd64](https://get.helm.sh/helm-v3.15.0-windows-amd64.zip) ([checksum](https://get.helm.sh/helm-v3.15.0-windows-amd64.zip.sha256sum) / 23f0ee9fc93d325ddbc4dfdac97c83bc00c7784016541045756cf9abb36f21dc) This release was signed with ` 672C 657B E06B 4B30 969C 4A57 4614 49C2 5E36 B98E ` and can be found at [@​mattfarina](https://togithub.com/mattfarina) [keybase account](https://keybase.io/mattfarina). Please use the attached signatures for verifying this release using `gpg`. The [Quickstart Guide](https://helm.sh/docs/intro/quickstart/) will get you going from there. For **upgrade instructions** or detailed installation notes, check the [install guide](https://helm.sh/docs/intro/install/). You can also use a [script to install](https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3) on any system with `bash`. #### What's Next - 3.15.1 is the next patch release and will be on June 12, 2024. - 3.16.0 is the next feature release and will be on September 11, 2024. #### Changelog - Updating to k8s 1.30 [`c4e37b3`](https://togithub.com/helm/helm/commit/c4e37b39dbb341cb3f716220df9f9d306d123a58) (Matt Farina) - bump version to v3.15.0 [`d7afa3b`](https://togithub.com/helm/helm/commit/d7afa3b6b432c09a02cd07342e908ba5bed34940) (Matt Farina) - bump version to [`7743467`](https://togithub.com/helm/helm/commit/774346777c5b311251d8252cd470d56bdd23a403) (Matt Farina) - Fix namespace on kubeconfig error [`214fb6e`](https://togithub.com/helm/helm/commit/214fb6eff393f1c17890d45e9eaee86f6b37ea17) (Calvin Krist) - Update testdata PKI with keys that have validity until 3393 (Fixes [#​12880](https://togithub.com/helm/helm/issues/12880)) [`1b75d48`](https://togithub.com/helm/helm/commit/1b75d48189c2484cb5904f7996933d8d85315adb) (Dirk Müller) - chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 [`dac23c8`](https://togithub.com/helm/helm/commit/dac23c82ce3bc05b6e72a1571bea48e424494fb0) (dependabot\[bot]) - chore(deps): bump github/codeql-action from 3.24.7 to 3.24.10 [`167d576`](https://togithub.com/helm/helm/commit/167d57676d22ea10fa7869e6f85c6fe2e46b3292) (dependabot\[bot]) - chore: remove repetitive words [`dd37787`](https://togithub.com/helm/helm/commit/dd37787ffd25419cf5f76222e682fbba47d289eb) (deterclosed) - Modified how created annotation is populated based on package creation time [`0a69a0d`](https://togithub.com/helm/helm/commit/0a69a0dea6b1dcebaaf5d5b67c9a56eade463a71) (Andrew Block) - chore(deps): bump github.com/docker/docker [`aaaf112`](https://togithub.com/helm/helm/commit/aaaf1128d2dd2ce3e119472cae0bd9da3d62eb89) (dependabot\[bot]) - chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 [`7f53529`](https://togithub.com/helm/helm/commit/7f53529a701830dd86d78e932e83e4f7a928e9df) (dependabot\[bot]) - Enabling hide secrets on install and upgrade dry run [`25c4738`](https://togithub.com/helm/helm/commit/25c473834e0cbb905fc8a524709fd4d5362dab11) (Matt Farina) - chore(deps): bump github/codeql-action from 3.24.6 to 3.24.7 [`ff94e93`](https://togithub.com/helm/helm/commit/ff94e9319104a58321444d7d4656917147058936) (dependabot\[bot]) - Fixing all the linting errors [`d58d7b3`](https://togithub.com/helm/helm/commit/d58d7b376265338e059ff11c71267b5a6cf504c3) (Robert Sirchia) - Add a note about --dry-run displaying secrets [`a23dd9e`](https://togithub.com/helm/helm/commit/a23dd9e3b756c12cfdaa1b2c3a023c92530c0d0a) (Matt Farina) - chore(deps): bump golang.org/x/term from 0.15.0 to 0.18.0 [`275f2ab`](https://togithub.com/helm/helm/commit/275f2ab43b86072a601d036acc6d7eb2bb501b08) (dependabot\[bot]) - Updating .gitignore [`8b424ba`](https://togithub.com/helm/helm/commit/8b424baea1e40a352acf549395e6498e63ac0aa2) (Robert Sirchia) - chore(deps): bump github/codeql-action from 3.24.5 to 3.24.6 [`e22d881`](https://togithub.com/helm/helm/commit/e22d881495fcfee6b1c4afa1d12627f3e28b54e6) (dependabot\[bot]) - chore(deps): bump github/codeql-action from 3.24.3 to 3.24.5 [`4f200fa`](https://togithub.com/helm/helm/commit/4f200fa74f4b1bc8ad7261afb30ae7e2a8f0f546) (dependabot\[bot]) - Some fixes [`764557c`](https://togithub.com/helm/helm/commit/764557c470533fa57aad99f865c9ff75a64d4163) (Matt Farina) - chore(deps): bump github/codeql-action from 3.23.1 to 3.24.3 [`5bc97b9`](https://togithub.com/helm/helm/commit/5bc97b9c4eff3d2968d3c74c64b25052140558d6) (dependabot\[bot]) - chore(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 [`e6db0ec`](https://togithub.com/helm/helm/commit/e6db0ec933582a0de2f55f8f2f1ef693739eedc0) (dependabot\[bot]) - add error messages [`8d19bcb`](https://togithub.com/helm/helm/commit/8d19bcb78aaeb489eba4ed1d68894e59c8f55876) (George Jenkins) - Fix: Ignore alias validation error for index load [`68294fd`](https://togithub.com/helm/helm/commit/68294fdae0deba2464805067228790e025207ebd) (George Jenkins) - validation fix [`8e6a514`](https://togithub.com/helm/helm/commit/8e6a5149d2e2e3beffa51d53048b2fed90d8c529) (Matt Farina) - bug: add proxy support for oci getter [`94c1dea`](https://togithub.com/helm/helm/commit/94c1deae6d5a43491c5a4e8444ecd8273a8122a1) (Ricardo Maraschini) - chore(deps): bump actions/setup-go from 4.1.0 to 5.0.0 [`cbab6d6`](https://togithub.com/helm/helm/commit/cbab6d6227969435df516dcdfcc6d29808aff094) (dependabot\[bot]) - chore(deps): bump github/codeql-action from 3.23.0 to 3.23.1 [`de332ae`](https://togithub.com/helm/helm/commit/de332ae396e1414cdc6923456cbe8a4b3af74c4e) (dependabot\[bot]) - chore(deps): bump github.com/containerd/containerd from 1.7.11 to 1.7.12 [`a2dd34b`](https://togithub.com/helm/helm/commit/a2dd34b3f2fe4eb8350ba168fb0943cf4ac990f9) (dependabot\[bot]) - Update architecture detection method [`57a1bb8`](https://togithub.com/helm/helm/commit/57a1bb80e5829f20125447b2734469d97858960c) (weidongkl) - chore(deps): bump github/codeql-action from 3.22.11 to 3.23.0 [`8cab7c1`](https://togithub.com/helm/helm/commit/8cab7c17f4163a5fc609f4a2f7fcdce796a4b870) (dependabot\[bot]) - chore(deps): bump github.com/DATA-DOG/go-sqlmock from 1.5.0 to 1.5.2 [`5f9533f`](https://togithub.com/helm/helm/commit/5f9533fef733c514f24a6f33f130efa6ea775c58) (dependabot\[bot]) - Improve release action [`4790bb9`](https://togithub.com/helm/helm/commit/4790bb9bcc224abee8a41f0bd8cac5880f605877) (George Jenkins) - chore(deps): bump actions/setup-go from 4.1.0 to 5.0.0 [`f980ad3`](https://togithub.com/helm/helm/commit/f980ad319c12774787c89ffaaef0f7fea0633bb3) (dependabot\[bot]) - Fix grammatical error [`c25736c`](https://togithub.com/helm/helm/commit/c25736c894ed1058c75b68fca0094c8fd953e131) (Matt Carr) - Updated for review comments [`d2cf8c6`](https://togithub.com/helm/helm/commit/d2cf8c66f1775783edbc150d1a509f58e769e75e) (MichaelMorris) - Add robustness to wait status checks [`fc74964`](https://togithub.com/helm/helm/commit/fc74964f8a039ce209966b70fa7ba0fc7ea36a9e) (MichaelMorris) - refactor: create a helper for checking if a release is uninstalled [`f908379`](https://togithub.com/helm/helm/commit/f908379f1f8e3d764b0a52dcba2d234490fc0ffc) (Alex Petrov) - fix: reinstall previously uninstalled chart with --keep-history [`9e198fa`](https://togithub.com/helm/helm/commit/9e198fa89d3c798dec1012bb4dff7107e22700d7) (Alex Petrov) </details> <details> <summary>junegunn/fzf (junegunn/fzf)</summary> ### [`v0.52.1`](https://togithub.com/junegunn/fzf/blob/HEAD/CHANGELOG.md#0521) [Compare Source](https://togithub.com/junegunn/fzf/compare/0.52.0...0.52.1) - Fixed a critical bug in the Windows version - Win --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: scottames-github-bot[bot] <162828115+scottames-github-bot[bot]@users.noreply.github.com>
One of the action items discussed in #7107 (comment)
Unifies the DX around usage across all commands. The convention follows the standards (gh / git CLIs) as well as the defaults from cobra. More context from @helderco in above comment
Proposal
The grammar is as follow:
Another point: [flags] shall always be positioned directly after a command. Or, at least to have a consistent positionning across all commands.
Context
This PR applies the grammar everywhere for consistency. And, fixes the
dagger gen
anddagger config views
command where flags were not positioned in the same order as all the other commands.1. Open for debate / proposition
Both for
functions
andcall
, I took the liberty to modify the usage a bit to be more descriptive.The origin of this change is that I got suprised when testing
dagger functions
: I tested to chain two functions at the same level, which the previous usage could suggest:I am totally fine on keeping that format too, especially if you feel that it is easier to read and less confusing overall. You are the DX master 👼
The terminology could also be:
<child-function>
<derived-function>
<sub-function>
2. dagger config
It seems that the
dagger config
subcommand, which is still experimental and with hidden subcommands might need an issue on its own as the behavior of presenting sub-commands and the flags ordering seems a bit different.Update 04/23/2024
I added a new commit following Cobra's usage
But without differentiating mandatory and optional arguments, as proposed in your comment below: #7143 (comment). I also reverted the functions and the call usage as they were before
Update 05/02/2024
Following the discussion on the issue, proposed syntax:
Also, another inherent rule that you proposed: