-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Merge JSON responses from gh api
#8620
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
Conversation
|
Whoops. Forgot we decided to do this as a new parameter: Could we rebase merge this when done? I will keep the commits clean. Might be good to keep the current commit with the necessary logic. Alternatively, I could put in some TODO comments for a future change. |
|
Thanks for providing this as an example of how
Not sure what the intent is here sorry. I don't understand what rebasing on |
|
The eventual goal after talking with @andyfeller was to deprecate More comments will be over on cli/go-gh#148. |
|
@williammartin I ran into an issue when porting some of my old tests from #5652 that would be better served by bifurcating the logic. I will try to work around it given our discussion in cli/go-gh#148, but the problem is basically that the existing code only merges if there's no template; however, that ends up executing the template for each page, so the table alignment from Consider two pages: [{"id":1,"title":"one"}][{"id":20,"title":"twenty"}]It should render as: However, because the template is executed for each page, that first page width is 1 less character: Because of the refactoring I made in #5652 it actually worked correctly. The template execution happened later after merging was complete. And this worked for both REST and GraphQL responses because either were cached until the last page was read and merged. Because Nate's solution for REST responses no longer caches - which I've maintained here for reasons we discussed in #5652 - I could only do this for GraphQL responses currently. Assuming I can work around this - and I'm updating status here in case I don't finish tonight, but I'll push what I have with that one test disabled for now - the future refactoring should take this into account. UPDATE: I was able to work around this. Actually, it was because my old test intentionally added |
|
Given further discussions about stability, @andyfeller @williammartin do we still want to add UPDATE: Thinking about this more, maybe we should consider a Still, marking the PR ready. I updated everything per discussions, but I'm open to changing a few things as suggested above. |
|
Because of the two comments that were also later updated I'm not sure how much of them is still considered relevant, so excuse me if these questions seem to have obvious answers.
I don't understand your question. Are you talking about the flag, or the behaviour?
What error cases?
I don't really have a strong opinion but I'm also not really following why you would prefer Re: all the Thanks! |
|
The discussion @andyfeller, Sam, and I had back in December was that this would be temporary until we see enough usage of merged pagination without regressions - even though I think, with the addition of more tests I added, we have a good battery of tests. I appreciate the emphasis on backward compatibility where it makes sense to. |
|
Understood. The only reason I leaned slightly towards
To be specific, the follow up notes from the call target this behavioural change for a major version:
I’m sure this is clear to you already but for the sake of posterity for anyone reading this in the future, the issue at hand is that any user depending on interrogating the output of something like: might be broken by changing
Not that our users would be insane for this but that if a CLI regresses and no one is around to notice it, did it really regress. |
Possibly, but that seems incredibly unlikely. The CLI would emit multiple pages like so: {
"data": {
"viewer": {
"repositories": {
"nodes": [{"nameWithOwner": "heaths/cli"}]
}
}
}
}
{
"data": {
"viewer": {
"repositories": {
"nodes": [{"nameWithOwner": "heaths/cli"}]
}
}
}
}Currently, that's invalid JSON. You can't pass it to Now, lets say that someone wrote a script (as I did before starting the original work) that looks for That said, and re:
Thank you. I had forgotten not only that part of the discussion about the next major version but didn't realize or forgot we wrote down meeting notes in the issue. That does make sense, and while I think the risk of regression is slim to none, I agree it makes sense to wait to truly fix this in v3.
I like |
I was surprised to find that at least on my machine
I also think that most likely regressions are unlikely and it's actually likely that most regressions would have been indicative of a buggy script but I think waiting till v3 is the safest option.
I've given enough projects terrible names in my time to keep my mouth zipped 😬 |
|
I'll rename the switch and rejigger a bit of the logic and let you know. Probably tonight. Looks like I need to rebase again, but at least this has been clean so far unlike my first PR for this issue. BTW, sorry for updating comments previously. I've typically done this when I expect the person is either 1) further away with a large offset in time zone, or 2) is close to me, but I'm active at a time later than they would usually be. It's the whole chunky vs. chatty discussion dilemma. While it may not have helped in this case (since I was up late and all I can glean from your profile is that you at least visited the Golden Gate bridge at some point), I did file a feature request: https://github.com/orgs/community/discussions/102931 I find the TZ offset in Teams to help communicating with partner teams to help decide if I should having a chunky reply or expect a chatty back-and-forth. |
I frequently have to switch tools - and always have to refer back to docs - that use either |
|
Ah well for future reference I'm in Amsterdam, NL and I've updated my profile to reflect that. Not a problem with the updates. |
|
@williammartin this should be ready now. I removed the "experimental" notes given this is an additional flag that still requires |
|
Wait: something is wrong. Tests pass, but I just tried it in a use case and it still emits separate pages and a final blank |
|
@williammartin I realized the problem: I forgot, to maintain backcompat, this only works when piping or redirecting stdout. When I was testing it, I was just printing to the terminal. Still, that showed me that To note, For a future v3, there's definitely a lot of room for improvement. For example, I think the merging behavior should be default but, IMO, I would use |
|
PS: seems the |
|
Just reaffirming what @williammartin reported above, I see the hanging make
QUERY='
query($endCursor: String) {
viewer {
repositories(first: 10, after: $endCursor) {
nodes { nameWithOwner, isFork }
pageInfo {
hasNextPage
endCursor
}
}
}
}
'
GH_PAGER=less ./bin/gh api graphql --paginate --slurp -f query="$QUERY"this results in the hanging andyfeller@Andys-MBP:cli/cli ‹merge-json›$ GH_PAGER=less ./bin/gh api graphql --paginate --slurp -f query="$QUERY"
]
andyfeller@Andys-MBP:cli/cli ‹merge-json›$the same result even running it via andyfeller@Andys-MBP:cli/cli ‹merge-json›$ GH_PAGER=less go run ./cmd/gh/main.go api graphql --paginate --slurp -f query="$QUERY"
]
andyfeller@Andys-MBP:cli/cli ‹merge-json›$ |
|
Doing testing on physical Windows 10 laptop in Git Bash with
I was digging into how andre@DESKTOP-A5BGD8P MINGW64 ~/Documents/cli/cli (ggm-issue-8677-tinker)
$ gh pr list --author heaths
Showing 1 of 1 pull request in cli/cli that matches your search
ID TITLE BRANCH CREATED AT
#8620 Merge JSON responses from `gh api` heaths:merge-json about 2 months ago
andre@DESKTOP-A5BGD8P MINGW64 ~/Documents/cli/cli (ggm-issue-8677-tinker)
$ gh pr checkout 8620
From https://github.com/cli/cli
* [new ref] refs/pull/8620/head -> merge-json
Switched to branch 'merge-json'
andre@DESKTOP-A5BGD8P MINGW64 ~/Documents/cli/cli (merge-json)
$ make
go build -o script/build.exe script/build.go
go build -trimpath -ldflags "-X github.com/cli/cli/v2/internal/build.Date=2024-04-02 -X github.com/cli/cli/v2/internal/build.Version=v2.45.0-13-gf276971b " -o bin/gh.exe ./cmd/gh
go: downloading github.com/cli/go-gh/v2 v2.6.0
andre@DESKTOP-A5BGD8P MINGW64 ~/Documents/cli/cli (merge-json)
$ QUERY='
query($endCursor: String) {
viewer {
repositories(first: 100, after: $endCursor) {
nodes { nameWithOwner, isFork }
pageInfo {
hasNextPage
endCursor
}
}
}
}
'
andre@DESKTOP-A5BGD8P MINGW64 ~/Documents/cli/cli (merge-json)
$ GH_PAGER=less ./bin/gh.exe api graphql --paginate --slurp -f query="$QUERY"
[
{
"data": {
"viewer": {
"repositories": {
"nodes": [
{
"nameWithOwner": "community/maintainers",
"isFork": false
},
{
"nameWithOwner": "githubtraining/training-manual",
"isFork": false
},
{
"nameWithOwner": "andyfeller/docker-alpine-abuild",
"isFork": true
},
{
"nameWithOwner": "andyfeller/docker.github.io",
"isFork": true
},
...
],
"pageInfo": {
"hasNextPage": false,
"endCursor": "Y3Vyc29yOnYyOpHOLl0I8w=="
}
}
}
}
}
]
andre@DESKTOP-A5BGD8P MINGW64 ~/Documents/cli/cli (merge-json)
$ GH_PAGER=more ./bin/gh.exe api graphql --paginate --slurp -f query="$QUERY"
[
{
"data": {
"viewer": {
"repositories": {
"nodes": [
{
"nameWithOwner": "community/maintainers",
"isFork": false
},
{
"nameWithOwner": "githubtraining/training-manual",
"isFork": false
},
{
"nameWithOwner": "andyfeller/docker-alpine-abuild",
"isFork": true
},
{
"nameWithOwner": "andyfeller/docker.github.io",
"isFork": true
},
...
],
"pageInfo": {
"hasNextPage": false,
"endCursor": "Y3Vyc29yOnYyOpHOLl0I8w=="
}
}
}
}
}
]
andre@DESKTOP-A5BGD8P MINGW64 ~/Documents/cli/cli (merge-json)
$ |
|
Thanks. I'm not testing this in Windows, though. I'm in WSL, which is a linux kernel and binaries. I'm also not seeing it in my Ubuntu-on-bare-metal laptop. I don't deny it exists, but hard to verify a fix if I can't reproduce it. That said, the reason why it happens is well-understood. I will try to come up with an alternative approach, but I have so little time these past few weeks and this coming week or two. |
Partly resolves cli#1268 and replaces cli#5652. Requires cli/go-gh#148 to be merged and optionally released.
Only works when piping or redirecting stdout.
Effectively copies `jq --slurp` since `--jq` already uses the same grammar.
|
These most recent changes resolve the paging issue for me! Snippet from my paging output: |
andyfeller
left a comment
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.
From what I can gather, I think this is solid and will follow up with @williammartin for final review.
williammartin
left a comment
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.
Getting so close 😅
| cmd.Flags().StringArrayVarP(&opts.RequestHeaders, "header", "H", nil, "Add a HTTP request header in `key:value` format") | ||
| cmd.Flags().StringSliceVarP(&opts.Previews, "preview", "p", nil, "GitHub API preview `names` to request (without the \"-preview\" suffix)") | ||
| cmd.Flags().BoolVarP(&opts.ShowResponseHeaders, "include", "i", false, "Include HTTP response status line and headers in the output") | ||
| cmd.Flags().BoolVar(&opts.Slurp, "slurp", false, "Use with \"--paginate\" to return an array of all pages of either JSON arrays or objects") |
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.
Sorry @heaths, one of the issues with long running PRs like this is remembering all the context. When I played around with this just now I anticipated that for REST endpoints --paginate --slurp would be the same as --paginate since the content of REST responses already get slurped into an array. However what happens is we end up doubly nesting the array:
[
[
{
"url": "https://api.github.com/repos/cli/cli/releases/149628351",
...
}
]
]
Maybe my assumption is bad and we always want to apply the same semantics to --slurp even if it produces a strange result - we already know that the whole pagination is kind of quirky. What do you think?
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.
That was how it originally worked, but then someone noted it didn't "solve" their problem of merging nested arrays - only top-level arrays. I still think that's up to business logic - there's no way for us to know which level of arrays to merge - but in the discussion above I agreed to just wrap everything in an array like jq --slurp so that we at least return valid JSON. That's all this PR has ever been about: returning valid JSON such that you can pipe it to something that requires it - not jq, but something like PowerShell's ConvertFrom-Json.
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 remember that discussion as it related to the GQL requests and I agree that we cannot know that and the consumer needs to determine that themselves.
To be clear, here I'm describing the existing merging of JSON array REST responses already getting slurped by --paginate with no further work (as far as I can tell). Below in the screenshot you can see the difference between ./bin/gh api --paginate repos/cli/go-gh/release and ./bin/gh api --paginate --slurp repos/cli/go-gh/release. The --slurp results in a double nesting of arrays with the top level one only having one item.
It's just a bit of a weird situation that the REST pagination ends up creating a single array object that the slurp then wraps in another array. I'm not sure there is a good solution to this though, except perhaps only allowing --slurp on graphql paginated requests? In any case someone is liable to get confused, so maybe we just ship this and move on with our lives.
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.
Yes, that was the compromised we discussed in our meeting with @andyfeller as well: we'd mimic jq --slurp exactly, which also double-nests arrays. This way, the result is consistent: it's always an array. The array items are each page of the response regardless of whether it's an array or object. No guesswork as to how best to handle the output: it's always an array of each page. If you don't need that for a REST response of arrays, don't pass --slurp: you'll already get a merged array because of Nate's previous change based on my old PR.
I'd rather have consistency than conditional output formats myself. Easier to code without having to think of whether I'm making a REST call or GraphQL call.
williammartin
left a comment
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.
Thanks for all your hard work here @heaths, I know it has been a long and painful process.
[](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [aquaproj/aqua-registry](https://togithub.com/aquaproj/aqua-registry) | minor | `v4.160.0` -> `v4.163.0` | | [cli/cli](https://togithub.com/cli/cli) | minor | `v2.47.0` -> `v2.48.0` | | [eza-community/eza](https://togithub.com/eza-community/eza) | patch | `v0.18.10` -> `v0.18.11` | | [gruntwork-io/terragrunt](https://togithub.com/gruntwork-io/terragrunt) | minor | `v0.56.5` -> `v0.57.5` | | [junegunn/fzf](https://togithub.com/junegunn/fzf) | minor | `0.49.0` -> `0.50.0` | | [kubernetes/kubectl](https://togithub.com/kubernetes/kubectl) | minor | `1.29.3` -> `1.30.0` | | [snyk/cli](https://togithub.com/snyk/cli) | minor | `v1.1288.0` -> `v1.1290.0` | | [twpayne/chezmoi](https://togithub.com/twpayne/chezmoi) | patch | `v2.47.3` -> `v2.47.4` | | [zellij-org/zellij](https://togithub.com/zellij-org/zellij) | minor | `v0.39.2` -> `v0.40.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>aquaproj/aqua-registry (aquaproj/aqua-registry)</summary> ### [`v4.163.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.163.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.162.0...v4.163.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.163.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.163.0) | aquaproj/aqua-registry@v4.162.0...v4.163.0 ##### 🎉 New Packages [#​21951](https://togithub.com/aquaproj/aqua-registry/issues/21951) [gittuf/gittuf](https://togithub.com/gittuf/gittuf): A security layer for Git repositories [#​21955](https://togithub.com/aquaproj/aqua-registry/issues/21955) [pipe-cd/pipecd/pipectl](https://pipecd.dev/docs-v0.47.x/user-guide/command-line-tool/): The command line tool for PipeCD [@​ponkio-o](https://togithub.com/ponkio-o) [#​21955](https://togithub.com/aquaproj/aqua-registry/issues/21955) [pipe-cd/pipecd/piped](https://pipecd.dev/docs-v0.47.x/concepts/#piped): A component of PipeCD that runs inside target environment to execute deployment and report its state [@​ponkio-o](https://togithub.com/ponkio-o) [#​21957](https://togithub.com/aquaproj/aqua-registry/issues/21957) [mashiike/redshift-credentials](https://togithub.com/mashiike/redshift-credentials): a command line tool for Amazon Redshift temporary authorization with AWS IAM [@​mashiike](https://togithub.com/mashiike) ##### 🎉 New Contributors Thank you for your contribution! [@​mashiike](https://togithub.com/mashiike) [#​21957](https://togithub.com/aquaproj/aqua-registry/issues/21957) ### [`v4.162.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.162.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.161.0...v4.162.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.162.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.162.0) | aquaproj/aqua-registry@v4.161.0...v4.162.0 ##### 🎉 New Packages [#​21900](https://togithub.com/aquaproj/aqua-registry/issues/21900) [kubecolor/kubecolor](https://togithub.com/kubecolor/kubecolor): Colorize your kubectl output ##### Fixes [#​21903](https://togithub.com/aquaproj/aqua-registry/issues/21903) charmbracelet/vhs: Follow up changes of vhs v0.7.2 [#​21902](https://togithub.com/aquaproj/aqua-registry/issues/21902) extrawurst/gitui: Follow up changes of gitui v0.26.1 [#​21892](https://togithub.com/aquaproj/aqua-registry/issues/21892) mjibson/sqlfmt: Rename the package to maddyblue/sqlfmt [#​21846](https://togithub.com/aquaproj/aqua-registry/issues/21846) vmware/govmomi/govc: Regenerate the setting ### [`v4.161.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.161.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.160.0...v4.161.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.161.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.161.0) | aquaproj/aqua-registry@v4.160.0...v4.161.0 ##### 🎉 New Packages [#​21832](https://togithub.com/aquaproj/aqua-registry/issues/21832) [tgenv/tgenv](https://togithub.com/tgenv/tgenv): A tool to manage multiples Terragrunt versions [@​bhundven](https://togithub.com/bhundven) ##### Fixes [#​21834](https://togithub.com/aquaproj/aqua-registry/issues/21834) mashiike/prepalert: Follow up changes of prepalert v1.0.2 A checksum file was renamed. mashiike/prepalert@493b8ae ##### 🎉 New Contributors Thank you for your contribution! [@​bhundven](https://togithub.com/bhundven) [#​21832](https://togithub.com/aquaproj/aqua-registry/issues/21832) </details> <details> <summary>cli/cli (cli/cli)</summary> ### [`v2.48.0`](https://togithub.com/cli/cli/releases/tag/v2.48.0): GitHub CLI 2.48.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.47.0...v2.48.0) #### The Big Stuff - Added support for `--slurp`ing JSON responses in `gh api` by [@​heaths](https://togithub.com/heaths) in [https://github.com/cli/cli/pull/8620](https://togithub.com/cli/cli/pull/8620) - Added `--skip-ssh-key` option to `gh auth login` command by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8935](https://togithub.com/cli/cli/pull/8935) - Added `numSelectedRepos` to JSON output of `gh secret list` by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8899](https://togithub.com/cli/cli/pull/8899) - Added support for multiple items in `gh api` nested array by [@​Ebonsignori](https://togithub.com/Ebonsignori) in [https://github.com/cli/cli/pull/8762](https://togithub.com/cli/cli/pull/8762) - Fixed panic when running `gh repo rename` by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8906](https://togithub.com/cli/cli/pull/8906) - Fixed panic when parsing IPv6 remote URLs by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8893](https://togithub.com/cli/cli/pull/8893) - Fixed `gh pr lock/unlock` not working when URL is passed by [@​t4kamura](https://togithub.com/t4kamura) in [https://github.com/cli/cli/pull/8837](https://togithub.com/cli/cli/pull/8837) - Fixed viewing run logs with filenames that the regex didn't handle [@​zdrve](https://togithub.com/zdrve) in [https://github.com/cli/cli/pull/8882](https://togithub.com/cli/cli/pull/8882) #### The Rest - Tidy `go.mod` by [@​matthewhughes934](https://togithub.com/matthewhughes934) in [https://github.com/cli/cli/pull/8958](https://togithub.com/cli/cli/pull/8958) - Fix cache contention in Go CI jobs by [@​matthewhughes934](https://togithub.com/matthewhughes934) in [https://github.com/cli/cli/pull/8957](https://togithub.com/cli/cli/pull/8957) - Fix `go` directive in `go.mod` by [@​matthewhughes934](https://togithub.com/matthewhughes934) in [https://github.com/cli/cli/pull/8956](https://togithub.com/cli/cli/pull/8956) - Update install_linux.md by [@​richterdavid](https://togithub.com/richterdavid) in [https://github.com/cli/cli/pull/8950](https://togithub.com/cli/cli/pull/8950) - build(deps): bump google.golang.org/grpc from 1.61.1 to 1.61.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8925](https://togithub.com/cli/cli/pull/8925) - Add codeowners entry for the GitHub TUF root included in the `attestation` command set by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8919](https://togithub.com/cli/cli/pull/8919) - Create stronger run log cache abstraction by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8931](https://togithub.com/cli/cli/pull/8931) - Remove naked returns from git ParseURL by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8929](https://togithub.com/cli/cli/pull/8929) - Fix api cache test by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8932](https://togithub.com/cli/cli/pull/8932) - Ensure run log cache creates cache dir if it doesn't exist by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8944](https://togithub.com/cli/cli/pull/8944) - Close zip file in run view tests by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8945](https://togithub.com/cli/cli/pull/8945) - Fix `attestation` cmd offline unit test failure by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8933](https://togithub.com/cli/cli/pull/8933) - Add support to `attestation` command for more predicate types. by [@​steiza](https://togithub.com/steiza) in [https://github.com/cli/cli/pull/8949](https://togithub.com/cli/cli/pull/8949) #### New Contributors - [@​babakks](https://togithub.com/babakks) made their first contribution in [https://github.com/cli/cli/pull/8906](https://togithub.com/cli/cli/pull/8906) - [@​t4kamura](https://togithub.com/t4kamura) made their first contribution in [https://github.com/cli/cli/pull/8837](https://togithub.com/cli/cli/pull/8837) - [@​zdrve](https://togithub.com/zdrve) made their first contribution in [https://github.com/cli/cli/pull/8882](https://togithub.com/cli/cli/pull/8882) - [@​Ebonsignori](https://togithub.com/Ebonsignori) made their first contribution in [https://github.com/cli/cli/pull/8762](https://togithub.com/cli/cli/pull/8762) - [@​matthewhughes934](https://togithub.com/matthewhughes934) made their first contribution in [https://github.com/cli/cli/pull/8958](https://togithub.com/cli/cli/pull/8958) - [@​richterdavid](https://togithub.com/richterdavid) made their first contribution in [https://github.com/cli/cli/pull/8950](https://togithub.com/cli/cli/pull/8950) **Full Changelog**: cli/cli@v2.47.0...v2.48.0 </details> <details> <summary>eza-community/eza (eza-community/eza)</summary> ### [`v0.18.11`](https://togithub.com/eza-community/eza/releases/tag/v0.18.11): eza v0.18.11 [Compare Source](https://togithub.com/eza-community/eza/compare/v0.18.10...v0.18.11) ### Note to BSD users We recently added support for freebsd, netbsd, and openbsd. However, we don't seem to have any regular contributors that use these platforms. Last week, that meant netbsd build being broken (which was later fixed), this week, it means freebsd is. If you're a user of any of these, and wanna help us support these platforms, please consider joining our matrix rooms and introduce yourself. ### Changelog #### \[0.18.11] - 2024-04-19 ##### Bug Fixes - Fix clippy lints - Enable the rule only for NetBSD. - Build aarch64, arm without libgit2 ##### Miscellaneous Tasks - Release eza v0.18.11 ##### Ci - Bump NetBSD version to 10.0 ### Checksums #### sha256sum 0ca2fdbfde90eb209e0e79b26052ed0087f89ab7c4f7a28b7ef28425ac9c2cc5 ./target/bin-0.18.11/eza_aarch64-unknown-linux-gnu.tar.gz 53e98fd2fece242206b9b82141c0c8f3d1a1d681aa0be1ce504353ef1e7f9d9e ./target/bin-0.18.11/eza_aarch64-unknown-linux-gnu.zip 312b8424ddd4839f9fd1afbb8d47ab2da5e60d6aa1eef0336d7b5a23cb0f467a ./target/bin-0.18.11/eza_arm-unknown-linux-gnueabihf.tar.gz 3f2387b2d7a5a51d4a592a0ba5e22dcb4181be11ca18964945d00990f9e67f33 ./target/bin-0.18.11/eza_arm-unknown-linux-gnueabihf.zip 5f89f4b3a2ac8c5072c9fdbb928546768a67ab1f7ca1de61d25920d9c08eab9e ./target/bin-0.18.11/eza.exe_x86_64-pc-windows-gnu.tar.gz deb6484d38f5080feb152fb6d6b39fef7e198784fa43abc362160ee4b64a8f0e ./target/bin-0.18.11/eza.exe_x86_64-pc-windows-gnu.zip 223e0b5e1708e83304a4143f6ad18411177f8e377afbf62d7c12f34a24d5e2b9 ./target/bin-0.18.11/eza_x86_64-unknown-linux-gnu.tar.gz 49b3e7efb0f35e209324c46eb680c47613fad3de3caf4c039323068a2624d70f ./target/bin-0.18.11/eza_x86_64-unknown-linux-gnu.zip 76897bfeb00e17dffb9d4bc0a72351568461eeccbcb4b490fa1dab7a7941528a ./target/bin-0.18.11/eza_x86_64-unknown-linux-musl.tar.gz eabae039a540fca6045af4689fff4e9c09e85f257eb96d3bcbd2801a15326a60 ./target/bin-0.18.11/eza_x86_64-unknown-linux-musl.zip #### md5sum ae10158f7ecc52140fb7ab24d67951e5 ./target/bin-0.18.11/eza_aarch64-unknown-linux-gnu.tar.gz dd1de5d7a97010c748f19b242fedc2e0 ./target/bin-0.18.11/eza_aarch64-unknown-linux-gnu.zip d699373bf1effa3c2b1dcfa8ffc44a3f ./target/bin-0.18.11/eza_arm-unknown-linux-gnueabihf.tar.gz fdaa9668edfda38d15352da3253d85f8 ./target/bin-0.18.11/eza_arm-unknown-linux-gnueabihf.zip a0ba17f03a48d0f2e38f2737732f11d1 ./target/bin-0.18.11/eza.exe_x86_64-pc-windows-gnu.tar.gz 579b7dbe9cde99cf19c81cce23f47cf7 ./target/bin-0.18.11/eza.exe_x86_64-pc-windows-gnu.zip c5cf74787ecd87fcca8e2769d9b21863 ./target/bin-0.18.11/eza_x86_64-unknown-linux-gnu.tar.gz 222ed71159ce5bc7dc05d91e08488779 ./target/bin-0.18.11/eza_x86_64-unknown-linux-gnu.zip 08953f7054472626a374a542b5707f77 ./target/bin-0.18.11/eza_x86_64-unknown-linux-musl.tar.gz 48c7391f0c9ebe327dc86ba36b02fa98 ./target/bin-0.18.11/eza_x86_64-unknown-linux-musl.zip #### blake3sum 1c4895bc928b452a3caaeaaab72c478c255ab745c525ed4c548e8503528112ef ./target/bin-0.18.11/eza_aarch64-unknown-linux-gnu.tar.gz 935bbe1a941f1c31a21b07df35ed3aa0cc87ff5ffbcf265c42d0478edb2170f8 ./target/bin-0.18.11/eza_aarch64-unknown-linux-gnu.zip b73aa561cd9fd8eb777e437a1da6404a3f2e0a75b7c922ea2135957763e0f514 ./target/bin-0.18.11/eza_arm-unknown-linux-gnueabihf.tar.gz 4b6a6bf403aac22a3af8223b5df0c4fab72ade869fa41efe96b77e74df0c42db ./target/bin-0.18.11/eza_arm-unknown-linux-gnueabihf.zip 39eddfe74eeab4600c983586f51e8d219d83cbe3aa7da6a1398db04b5d2c9ad3 ./target/bin-0.18.11/eza.exe_x86_64-pc-windows-gnu.tar.gz 782b660d795f19012fa62e85e9a6bbc3a85982f83ff8561d859ae48609ee36e7 ./target/bin-0.18.11/eza.exe_x86_64-pc-windows-gnu.zip 9962259ad1b89640a7c3b74c9064e332c2af7b27e8656586c8ac8edaa9879d18 ./target/bin-0.18.11/eza_x86_64-unknown-linux-gnu.tar.gz 251c7d928cd7e6671a60bbdbf92204738fb16849626c9b51bf3f8fd951fdfb4b ./target/bin-0.18.11/eza_x86_64-unknown-linux-gnu.zip c109a4d7bd426571e0ff88c40426f5d8c80b5cb9964376fda5a3184abed6a1cc ./target/bin-0.18.11/eza_x86_64-unknown-linux-musl.tar.gz 7a86aeecd2e39b680c01d142480c0af90d7f6dc60fabc8c63f705f87e72041e5 ./target/bin-0.18.11/eza_x86_64-unknown-linux-musl.zip </details> <details> <summary>gruntwork-io/terragrunt (gruntwork-io/terragrunt)</summary> ### [`v0.57.5`](https://togithub.com/gruntwork-io/terragrunt/releases/tag/v0.57.5) [Compare Source](https://togithub.com/gruntwork-io/terragrunt/compare/v0.57.4...v0.57.5) #### Description - Bump `golang.org/x/net` from 0.19.0 to 0.23.0 #### Related links - [https://github.com/gruntwork-io/terragrunt/pull/3072](https://togithub.com/gruntwork-io/terragrunt/pull/3072) ### [`v0.57.4`](https://togithub.com/gruntwork-io/terragrunt/releases/tag/v0.57.4) [Compare Source](https://togithub.com/gruntwork-io/terragrunt/compare/v0.57.3...v0.57.4) #### Updated CLI args, config attributes and blocks - `run-all` - `--terragrunt-out-dir` #### Description - Added `--terragrunt-out-dir` CLI argument to use Terraform plan in `run-all` commands from a specific directory. #### Related links - [https://github.com/gruntwork-io/terragrunt/pull/3073](https://togithub.com/gruntwork-io/terragrunt/pull/3073) ### [`v0.57.3`](https://togithub.com/gruntwork-io/terragrunt/releases/tag/v0.57.3) [Compare Source](https://togithub.com/gruntwork-io/terragrunt/compare/v0.57.2...v0.57.3) #### Description - Fixed getting output from multiple nested dependencies #### Related links - [https://github.com/gruntwork-io/terragrunt/pull/3071](https://togithub.com/gruntwork-io/terragrunt/pull/3071) ### [`v0.57.2`](https://togithub.com/gruntwork-io/terragrunt/releases/tag/v0.57.2) [Compare Source](https://togithub.com/gruntwork-io/terragrunt/compare/v0.57.1...v0.57.2) #### Updated CLI args, config attributes and blocks - `--terragrunt-json-log` - `--terragrunt-tf-logs-to-json` #### Description - Fixed handling of dependency outputs when JSON log format is enabled #### Related links - [https://github.com/gruntwork-io/terragrunt/pull/3049](https://togithub.com/gruntwork-io/terragrunt/pull/3049) ### [`v0.57.1`](https://togithub.com/gruntwork-io/terragrunt/releases/tag/v0.57.1) [Compare Source](https://togithub.com/gruntwork-io/terragrunt/compare/v0.57.0...v0.57.1) #### Updated CLI args, config attributes and blocks - `--terragrunt-provider-cache-dir` #### Description - Fixed module request routing with provider caching. - Fixed resolving relative provider cache dir path. #### Related links - [https://github.com/gruntwork-io/terragrunt/pull/3057](https://togithub.com/gruntwork-io/terragrunt/pull/3057) ### [`v0.57.0`](https://togithub.com/gruntwork-io/terragrunt/releases/tag/v0.57.0) [Compare Source](https://togithub.com/gruntwork-io/terragrunt/compare/v0.56.5...v0.57.0) #### Description **Terraform 1.8 support**: We are now testing Terragrunt against Terraform 1.8 and is confirmed to be working. NOTE: Although this release is marked as backward incompatible, it is functionally compatible as nothing has been changed in Terragrunt internals. The minor version release is useful to mark the change in Terraform version that is being tested. #### Related links - [https://github.com/gruntwork-io/terragrunt/pull/3052](https://togithub.com/gruntwork-io/terragrunt/pull/3052) </details> <details> <summary>junegunn/fzf (junegunn/fzf)</summary> ### [`v0.50.0`](https://togithub.com/junegunn/fzf/blob/HEAD/CHANGELOG.md#0500) [Compare Source](https://togithub.com/junegunn/fzf/compare/0.49.0...0.50.0) - Search performance optimization. You can observe 50%+ improvement in some scenarios. $ rg --line-number --no-heading --smart-case . > $DATA $ wc < $DATA 5520118 26862362 897487793 $ hyperfine -w 1 -L bin fzf-0.49.0,fzf-7ce6452,fzf-a5447b8,fzf '{bin} --filter "///" < $DATA | head -30' Summary fzf --filter "///" < $DATA | head -30 ran 1.16 ± 0.03 times faster than fzf-a5447b8 --filter "///" < $DATA | head -30 1.23 ± 0.03 times faster than fzf-7ce6452 --filter "///" < $DATA | head -30 1.52 ± 0.03 times faster than fzf-0.49.0 --filter "///" < $DATA | head -30 - Added `jump` and `jump-cancel` events that are triggered when leaving `jump` mode ```sh ``` </details> <details> <summary>kubernetes/kubectl (kubernetes/kubectl)</summary> ### [`v1.30.0`](https://togithub.com/kubernetes/kubectl/compare/kubernetes-1.29.4...kubernetes-1.30.0-rc.2) [Compare Source](https://togithub.com/kubernetes/kubectl/compare/kubernetes-1.29.4...kubernetes-1.30.0-rc.2) ### [`v1.29.4`](https://togithub.com/kubernetes/kubectl/compare/kubernetes-1.29.3...kubernetes-1.29.4) [Compare Source](https://togithub.com/kubernetes/kubectl/compare/kubernetes-1.29.3...kubernetes-1.29.4) </details> <details> <summary>snyk/cli (snyk/cli)</summary> ### [`v1.1290.0`](https://togithub.com/snyk/cli/releases/tag/v1.1290.0) [Compare Source](https://togithub.com/snyk/cli/compare/v1.1289.0...v1.1290.0) ##### Bug Fixes - **code:** Fix error handling for experimental go native code client ([#​5170](https://togithub.com/snyk/snyk/issues/5170)) ([5400c69](https://togithub.com/snyk/snyk/commit/5400c698a2798672e96c91dd18706c2effebc416)) ##### Features - **code:** introduce human readable formatting for experimental test mechanism ([#​5174](https://togithub.com/snyk/snyk/issues/5174)) ([34bbc95](https://togithub.com/snyk/snyk/commit/34bbc955d241d619177dcdbf5f45bf02342e2adc)) - **sbom:** Introduce experimental sbom test command ([#​5176](https://togithub.com/snyk/snyk/issues/5176)) ([ea6293b](https://togithub.com/snyk/snyk/commit/ea6293b3adabd2459bb10a0ae65f78da8cf1311d)) - snyk woof ro language support and tests ([#​5166](https://togithub.com/snyk/snyk/issues/5166)) ([ed2e754](https://togithub.com/snyk/snyk/commit/ed2e754bace7a37f10a86564d5cf662f69e58daf)) ### [`v1.1289.0`](https://togithub.com/snyk/cli/releases/tag/v1.1289.0) [Compare Source](https://togithub.com/snyk/cli/compare/v1.1288.1...v1.1289.0) ##### Bug Fixes - **ls:** Trigger re-analysis after fixing interfile issues ([#​5163](https://togithub.com/snyk/snyk/issues/5163)) ([05cb9f5](https://togithub.com/snyk/snyk/commit/05cb9f5ba9284999269368d1a0a98c8562f4badd)) ##### Features - **code:** Integrate experimental go native code client \[CLI-224] ([#​5164](https://togithub.com/snyk/snyk/issues/5164)) ([5bd898e](https://togithub.com/snyk/snyk/commit/5bd898e708dfb8caaa758debbf7d21998e9f2693)) - include additional policy properties, when provided, in plain text output ([#​5142](https://togithub.com/snyk/snyk/issues/5142)) ([a8be764](https://togithub.com/snyk/snyk/commit/a8be76486bfc17dda643d18a6fa9475744ddbd5c)) - use workflow data to determine exit code errors ([51c717b](https://togithub.com/snyk/snyk/commit/51c717b20c7eb8de1d2bca48c4d78ed530890b7c)) ### [`v1.1288.1`](https://togithub.com/snyk/cli/releases/tag/v1.1288.1) [Compare Source](https://togithub.com/snyk/cli/compare/v1.1288.0...v1.1288.1) ##### Bug Fixes - **iac:** Fix Issue Path in human readable and json output \[IAC-2935] ([#​5159](https://togithub.com/snyk/snyk/issues/5159)) ([5fc3d59](https://togithub.com/snyk/snyk/commit/5fc3d591fefbcf0c5e7615bf4d9899a3a17c7990)) </details> <details> <summary>twpayne/chezmoi (twpayne/chezmoi)</summary> ### [`v2.47.4`](https://togithub.com/twpayne/chezmoi/releases/tag/v2.47.4) [Compare Source](https://togithub.com/twpayne/chezmoi/compare/v2.47.3...v2.47.4) #### Changelog ##### Fixes - [`d6ad485`](https://togithub.com/twpayne/chezmoi/commit/d6ad485c8) fix: Fix potential panic when textconv interpreter is empty - [`b4df44d`](https://togithub.com/twpayne/chezmoi/commit/b4df44dc6) fix: Fix panic on empty external ##### Documentation updates - [`872c584`](https://togithub.com/twpayne/chezmoi/commit/872c58479) docs: Add troubleshooting entry on missing /bin/bash on Nix - [`8b2a435`](https://togithub.com/twpayne/chezmoi/commit/8b2a4352e) docs: Add install.doctor to related software - [`3a3dd13`](https://togithub.com/twpayne/chezmoi/commit/3a3dd1387) docs: Add links to articles </details> <details> <summary>zellij-org/zellij (zellij-org/zellij)</summary> ### [`v0.40.0`](https://togithub.com/zellij-org/zellij/releases/tag/v0.40.0) [Compare Source](https://togithub.com/zellij-org/zellij/compare/v0.39.2...v0.40.0) ### Release notes This release includes exciting new features as well as some long awaited and requested improvements. #### Some highlights - A new welcome screen - A new filepicker - Pipes - Open floating panes at specific coordinates - Rearrange tabs - Disconnect other clients - Plugin aliases - New possible keys to bind - Start session in the background - Performance improvements Check out the [official announcement](https://zellij.dev/news/welcome-screen-pipes-filepicker) Also check out the two new screencasts/tutorials about [session management](https://zellij.dev/tutorials/session-management/) and [the new filepicker](https://zellij.dev/tutorials/filepicker/). #### Are you upgrading from an older version using a custom config file? In order to take advantage of some of the new features (eg. the welcome-screen and filepicker), you'll need to swap the `plugins` section in your [configuration file](https://zellij.dev/documentation/configuration) with the one from the [default file](https://togithub.com/zellij-org/zellij/blob/main/zellij-utils/assets/config/default.kdl#L188-L200). #### Do you like Zellij? ❤️ Me too! So much so that I spend 100% of my time developing and maintaining it and have no other income. Zellij will always be free and open-source. Zellij will never contain ads or collect your data. So if the tool gives you value and you are able, please consider [a recurring monthly donation](https://togithub.com/sponsors/imsnif) of 5-10$ to help me pay my bills. There are Zellij stickers in it for you! </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 4pm on thursday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/scottames/dots). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> --------- 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>
[](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [cli/cli](https://togithub.com/cli/cli) | minor | `v2.47.0` -> `v2.48.0` | --- ### Release Notes <details> <summary>cli/cli (cli/cli)</summary> ### [`v2.48.0`](https://togithub.com/cli/cli/releases/tag/v2.48.0): GitHub CLI 2.48.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.47.0...v2.48.0) #### The Big Stuff - Added support for `--slurp`ing JSON responses in `gh api` by [@​heaths](https://togithub.com/heaths) in [https://github.com/cli/cli/pull/8620](https://togithub.com/cli/cli/pull/8620) - Added `--skip-ssh-key` option to `gh auth login` command by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8935](https://togithub.com/cli/cli/pull/8935) - Added `numSelectedRepos` to JSON output of `gh secret list` by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8899](https://togithub.com/cli/cli/pull/8899) - Added support for multiple items in `gh api` nested array by [@​Ebonsignori](https://togithub.com/Ebonsignori) in [https://github.com/cli/cli/pull/8762](https://togithub.com/cli/cli/pull/8762) - Fixed panic when running `gh repo rename` by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8906](https://togithub.com/cli/cli/pull/8906) - Fixed panic when parsing IPv6 remote URLs by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8893](https://togithub.com/cli/cli/pull/8893) - Fixed `gh pr lock/unlock` not working when URL is passed by [@​t4kamura](https://togithub.com/t4kamura) in [https://github.com/cli/cli/pull/8837](https://togithub.com/cli/cli/pull/8837) - Fixed viewing run logs with filenames that the regex didn't handle [@​zdrve](https://togithub.com/zdrve) in [https://github.com/cli/cli/pull/8882](https://togithub.com/cli/cli/pull/8882) #### The Rest - Tidy `go.mod` by [@​matthewhughes934](https://togithub.com/matthewhughes934) in [https://github.com/cli/cli/pull/8958](https://togithub.com/cli/cli/pull/8958) - Fix cache contention in Go CI jobs by [@​matthewhughes934](https://togithub.com/matthewhughes934) in [https://github.com/cli/cli/pull/8957](https://togithub.com/cli/cli/pull/8957) - Fix `go` directive in `go.mod` by [@​matthewhughes934](https://togithub.com/matthewhughes934) in [https://github.com/cli/cli/pull/8956](https://togithub.com/cli/cli/pull/8956) - Update install_linux.md by [@​richterdavid](https://togithub.com/richterdavid) in [https://github.com/cli/cli/pull/8950](https://togithub.com/cli/cli/pull/8950) - build(deps): bump google.golang.org/grpc from 1.61.1 to 1.61.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8925](https://togithub.com/cli/cli/pull/8925) - Add codeowners entry for the GitHub TUF root included in the `attestation` command set by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8919](https://togithub.com/cli/cli/pull/8919) - Create stronger run log cache abstraction by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8931](https://togithub.com/cli/cli/pull/8931) - Remove naked returns from git ParseURL by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8929](https://togithub.com/cli/cli/pull/8929) - Fix api cache test by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8932](https://togithub.com/cli/cli/pull/8932) - Ensure run log cache creates cache dir if it doesn't exist by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8944](https://togithub.com/cli/cli/pull/8944) - Close zip file in run view tests by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8945](https://togithub.com/cli/cli/pull/8945) - Fix `attestation` cmd offline unit test failure by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8933](https://togithub.com/cli/cli/pull/8933) - Add support to `attestation` command for more predicate types. by [@​steiza](https://togithub.com/steiza) in [https://github.com/cli/cli/pull/8949](https://togithub.com/cli/cli/pull/8949) #### New Contributors - [@​babakks](https://togithub.com/babakks) made their first contribution in [https://github.com/cli/cli/pull/8906](https://togithub.com/cli/cli/pull/8906) - [@​t4kamura](https://togithub.com/t4kamura) made their first contribution in [https://github.com/cli/cli/pull/8837](https://togithub.com/cli/cli/pull/8837) - [@​zdrve](https://togithub.com/zdrve) made their first contribution in [https://github.com/cli/cli/pull/8882](https://togithub.com/cli/cli/pull/8882) - [@​Ebonsignori](https://togithub.com/Ebonsignori) made their first contribution in [https://github.com/cli/cli/pull/8762](https://togithub.com/cli/cli/pull/8762) - [@​matthewhughes934](https://togithub.com/matthewhughes934) made their first contribution in [https://github.com/cli/cli/pull/8958](https://togithub.com/cli/cli/pull/8958) - [@​richterdavid](https://togithub.com/richterdavid) made their first contribution in [https://github.com/cli/cli/pull/8950](https://togithub.com/cli/cli/pull/8950) **Full Changelog**: cli/cli@v2.47.0...v2.48.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 4pm on monday" (UTC), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/earthly/earthly). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This comment was marked as spam.
This comment was marked as spam.
[](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [cli/cli](https://togithub.com/cli/cli) | minor | `v2.42.1` -> `v2.53.0` | --- ### Release Notes <details> <summary>cli/cli (cli/cli)</summary> ### [`v2.53.0`](https://togithub.com/cli/cli/releases/tag/v2.53.0): GitHub CLI 2.53.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.52.0...v2.53.0) #### What's Changed - Add `--json` option to `variable get` command by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/9128](https://togithub.com/cli/cli/pull/9128) - Add GH_DEBUG to issue template by [@​TWiStErRob](https://togithub.com/TWiStErRob) in [https://github.com/cli/cli/pull/9167](https://togithub.com/cli/cli/pull/9167) - Fetch variable selected repo relationship when required by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9256](https://togithub.com/cli/cli/pull/9256) - build(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9250](https://togithub.com/cli/cli/pull/9250) - Alternate gh attestation trusted-root subcommand by [@​steiza](https://togithub.com/steiza) in [https://github.com/cli/cli/pull/9206](https://togithub.com/cli/cli/pull/9206) - fix: indentation in 'gh release create --help' by [@​cchristous](https://togithub.com/cchristous) in [https://github.com/cli/cli/pull/9296](https://togithub.com/cli/cli/pull/9296) - build(deps): bump actions/attest-build-provenance from 1.3.2 to 1.3.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9305](https://togithub.com/cli/cli/pull/9305) - docs: Update documentation for `gh repo create` to clarify owner by [@​jessehouwing](https://togithub.com/jessehouwing) in [https://github.com/cli/cli/pull/9309](https://togithub.com/cli/cli/pull/9309) - Fix panic when calling `gh pr view --json stateReason` by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9307](https://togithub.com/cli/cli/pull/9307) - Add `issue create --editor` by [@​notomo](https://togithub.com/notomo) in [https://github.com/cli/cli/pull/7193](https://togithub.com/cli/cli/pull/7193) - Add `pr update-branch` command by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8953](https://togithub.com/cli/cli/pull/8953) #### New Contributors - [@​TWiStErRob](https://togithub.com/TWiStErRob) made their first contribution in [https://github.com/cli/cli/pull/9167](https://togithub.com/cli/cli/pull/9167) - [@​cchristous](https://togithub.com/cchristous) made their first contribution in [https://github.com/cli/cli/pull/9296](https://togithub.com/cli/cli/pull/9296) - [@​jessehouwing](https://togithub.com/jessehouwing) made their first contribution in [https://github.com/cli/cli/pull/9309](https://togithub.com/cli/cli/pull/9309) - [@​notomo](https://togithub.com/notomo) made their first contribution in [https://github.com/cli/cli/pull/7193](https://togithub.com/cli/cli/pull/7193) **Full Changelog**: cli/cli@v2.52.0...v2.53.0 ### [`v2.52.0`](https://togithub.com/cli/cli/releases/tag/v2.52.0): GitHub CLI 2.52.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.51.0...v2.52.0) #### What's Changed - feat: add `-a` flag to `gh run list` by [@​joshuajtward](https://togithub.com/joshuajtward) in [https://github.com/cli/cli/pull/9162](https://togithub.com/cli/cli/pull/9162) - Attestation Verification - Buffer Fix by [@​Forrin](https://togithub.com/Forrin) in [https://github.com/cli/cli/pull/9198](https://togithub.com/cli/cli/pull/9198) - build(deps): bump actions/attest-build-provenance from 1.2.0 to 1.3.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9222](https://togithub.com/cli/cli/pull/9222) - build(deps): bump github.com/gorilla/websocket from 1.5.2 to 1.5.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9211](https://togithub.com/cli/cli/pull/9211) - build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9218](https://togithub.com/cli/cli/pull/9218) - build(deps): bump github.com/google/go-containerregistry from 0.19.1 to 0.19.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9217](https://togithub.com/cli/cli/pull/9217) - Remove `gh at verify` public beta note by [@​phillmv](https://togithub.com/phillmv) in [https://github.com/cli/cli/pull/9243](https://togithub.com/cli/cli/pull/9243) #### New Contributors - [@​joshuajtward](https://togithub.com/joshuajtward) made their first contribution in [https://github.com/cli/cli/pull/9162](https://togithub.com/cli/cli/pull/9162) - [@​Forrin](https://togithub.com/Forrin) made their first contribution in [https://github.com/cli/cli/pull/9198](https://togithub.com/cli/cli/pull/9198) **Full Changelog**: cli/cli@v2.51.0...v2.52.0 ### [`v2.51.0`](https://togithub.com/cli/cli/releases/tag/v2.51.0): GitHub CLI 2.51.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.50.0...v2.51.0) #### What's Changed - Ensure signed RPMs have attestations by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/9143](https://togithub.com/cli/cli/pull/9143) - Add `signer-repo` and `signer-workflow` flags to `gh attestation verify` by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/9137](https://togithub.com/cli/cli/pull/9137) - Docs: Specify rpm repository to avoid conflicts with community repositories by [@​hbenali](https://togithub.com/hbenali) in [https://github.com/cli/cli/pull/9151](https://togithub.com/cli/cli/pull/9151) - Replace `--json-result` flag with `--format=json` in the attestation cmd by [@​phillmv](https://togithub.com/phillmv) in [https://github.com/cli/cli/pull/9172](https://togithub.com/cli/cli/pull/9172) - Bump go-keyring to fix keepassxc prompt confirmation by [@​AlanD20](https://togithub.com/AlanD20) in [https://github.com/cli/cli/pull/9179](https://togithub.com/cli/cli/pull/9179) - build(deps): bump actions/attest-build-provenance from 1.1.2 to 1.2.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9169](https://togithub.com/cli/cli/pull/9169) - build(deps): bump goreleaser/goreleaser-action from 5 to 6 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9175](https://togithub.com/cli/cli/pull/9175) - build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9192](https://togithub.com/cli/cli/pull/9192) - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9197](https://togithub.com/cli/cli/pull/9197) - watch - handle annotation errors gracefully by [@​wingleung](https://togithub.com/wingleung) in [https://github.com/cli/cli/pull/9113](https://togithub.com/cli/cli/pull/9113) #### New Contributors - [@​hbenali](https://togithub.com/hbenali) made their first contribution in [https://github.com/cli/cli/pull/9151](https://togithub.com/cli/cli/pull/9151) - [@​AlanD20](https://togithub.com/AlanD20) made their first contribution in [https://github.com/cli/cli/pull/9179](https://togithub.com/cli/cli/pull/9179) - [@​wingleung](https://togithub.com/wingleung) made their first contribution in [https://github.com/cli/cli/pull/9113](https://togithub.com/cli/cli/pull/9113) **Full Changelog**: cli/cli@v2.50.0...v2.51.0 ### [`v2.50.0`](https://togithub.com/cli/cli/releases/tag/v2.50.0): GitHub CLI 2.50.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.49.2...v2.50.0) #### What's Changed - Refactor git credential flow code by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9089](https://togithub.com/cli/cli/pull/9089) - feat: add json output for `gh pr checks` by [@​nobe4](https://togithub.com/nobe4) in [https://github.com/cli/cli/pull/9079](https://togithub.com/cli/cli/pull/9079) - Rework first auth tests with new gitcredential abstractions by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9095](https://togithub.com/cli/cli/pull/9095) - list the various alias permutations for the command and subcommands, via '--help' and 'gh reference' by [@​gabemontero](https://togithub.com/gabemontero) in [https://github.com/cli/cli/pull/8824](https://togithub.com/cli/cli/pull/8824) - Removed tty message when checking for extension upgrades by [@​leevic31](https://togithub.com/leevic31) in [https://github.com/cli/cli/pull/9088](https://togithub.com/cli/cli/pull/9088) - Fix doc bug for gh run watch by [@​jasonodonnell](https://togithub.com/jasonodonnell) in [https://github.com/cli/cli/pull/9052](https://togithub.com/cli/cli/pull/9052) - feat: add support for stateReason in `gh pr view` by [@​nobe4](https://togithub.com/nobe4) in [https://github.com/cli/cli/pull/9080](https://togithub.com/cli/cli/pull/9080) - fix: rename the `Attempts` field to `Attempt`; expose in `gh run view` and `gh run ls` by [@​cawfeecake](https://togithub.com/cawfeecake) in [https://github.com/cli/cli/pull/8905](https://togithub.com/cli/cli/pull/8905) - Update regex in changedFilesNames to handle quoted paths by [@​anda3](https://togithub.com/anda3) in [https://github.com/cli/cli/pull/9115](https://togithub.com/cli/cli/pull/9115) - Add a `gh variable get FOO` command by [@​arnested](https://togithub.com/arnested) in [https://github.com/cli/cli/pull/9106](https://togithub.com/cli/cli/pull/9106) - Add macOS pkg installer to deployment ([#​7554](https://togithub.com/cli/cli/issues/7554)) by [@​paulober](https://togithub.com/paulober) in [https://github.com/cli/cli/pull/7555](https://togithub.com/cli/cli/pull/7555) - Add integration tests for `gh attestation verify` shared workflow use case by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/9107](https://togithub.com/cli/cli/pull/9107) - Add build provenance for gh CLI releases by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/9087](https://togithub.com/cli/cli/pull/9087) - build(deps): bump github.com/gabriel-vasile/mimetype from 1.4.3 to 1.4.4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9124](https://togithub.com/cli/cli/pull/9124) - Build completions during release on macos by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9136](https://togithub.com/cli/cli/pull/9136) - Clarify Mac OS Installer packages are unsigned by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/9140](https://togithub.com/cli/cli/pull/9140) #### New Contributors - [@​gabemontero](https://togithub.com/gabemontero) made their first contribution in [https://github.com/cli/cli/pull/8824](https://togithub.com/cli/cli/pull/8824) - [@​jasonodonnell](https://togithub.com/jasonodonnell) made their first contribution in [https://github.com/cli/cli/pull/9052](https://togithub.com/cli/cli/pull/9052) - [@​anda3](https://togithub.com/anda3) made their first contribution in [https://github.com/cli/cli/pull/9115](https://togithub.com/cli/cli/pull/9115) - [@​arnested](https://togithub.com/arnested) made their first contribution in [https://github.com/cli/cli/pull/9106](https://togithub.com/cli/cli/pull/9106) - [@​paulober](https://togithub.com/paulober) made their first contribution in [https://github.com/cli/cli/pull/7555](https://togithub.com/cli/cli/pull/7555) **Full Changelog**: cli/cli@v2.49.2...v2.50.0 ### [`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**: cli/cli@v2.49.1...v2.49.2 ### [`v2.49.1`](https://togithub.com/cli/cli/releases/tag/v2.49.1): GitHub CLI 2.49.1 [Compare Source](https://togithub.com/cli/cli/compare/v2.49.0...v2.49.1) #### What's Changed - Do not mutate headers when initialising tableprinter by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9033](https://togithub.com/cli/cli/pull/9033) - Document relationship between host and active account by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9032](https://togithub.com/cli/cli/pull/9032) - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/9034](https://togithub.com/cli/cli/pull/9034) - Run `attestation` command set integration tests separately by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/9035](https://togithub.com/cli/cli/pull/9035) - Added support for jobs with long filenames by [@​shayn-orca](https://togithub.com/shayn-orca) in [https://github.com/cli/cli/pull/8684](https://togithub.com/cli/cli/pull/8684) - Fix unused params across project by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9059](https://togithub.com/cli/cli/pull/9059) - Fix `attestation verify` source repository check bug by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/9053](https://togithub.com/cli/cli/pull/9053) #### New Contributors - [@​shayn-orca](https://togithub.com/shayn-orca) made their first contribution in [https://github.com/cli/cli/pull/8684](https://togithub.com/cli/cli/pull/8684) **Full Changelog**: cli/cli@v2.49.0...v2.49.1 ### [`v2.49.0`](https://togithub.com/cli/cli/releases/tag/v2.49.0): GitHub CLI 2.49.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.48.0...v2.49.0) #### Support for GitHub Artifact Attestations `v2.49.0` release introduces the `attestation` command set for downloading and verifying attestations about artifacts built in GitHub Actions! This is part of the larger Artifact Attestations initiative. An artifact attestation is a piece of cryptographically signed metadata that is generated as part of your artifact build process. These attestations bind artifacts to the details of the workflow run that produced them, and allow you to guarantee the integrity and provenance of any artifact built in GitHub Actions. ```shell ### Verify a local artifact gh attestation verify artifact.bin -o <your org> ### Verify a local artifact against a local artifact attestation gh attestation verify artifact.bin -b ./artifact-v0.0.1-bundle.json -o <your org> ### Verify an OCI image gh attestation verify oci://ghcr.io/foo/bar:latest -o <your org> ### Download artifact attestations gh attestation download artifact.bin -o <your org> ``` To get started, check out gh help attestation. You can also use the `gh at <command>` alias for short. #### What's Changed - Improve gh run rerun docs by [@​sochotnicky](https://togithub.com/sochotnicky) in [https://github.com/cli/cli/pull/8969](https://togithub.com/cli/cli/pull/8969) - build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8981](https://togithub.com/cli/cli/pull/8981) - Update `sigstore-go` dependency to v0.3.0 by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8977](https://togithub.com/cli/cli/pull/8977) - `gh attestation tuf-root-verify` offline test fix by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8975](https://togithub.com/cli/cli/pull/8975) - Update `gh attestation verify` output by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8991](https://togithub.com/cli/cli/pull/8991) - build(deps): bump google.golang.org/grpc from 1.62.1 to 1.62.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8989](https://togithub.com/cli/cli/pull/8989) - Remove `Hidden` flag from `gh attestation` command by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8998](https://togithub.com/cli/cli/pull/8998) - Add colon for `gh secret set` by [@​NeroBlackstone](https://togithub.com/NeroBlackstone) in [https://github.com/cli/cli/pull/9004](https://togithub.com/cli/cli/pull/9004) - Improve errors when loading bundle locally fails by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8996](https://togithub.com/cli/cli/pull/8996) - Support offline mode for `gh attestation verify` by [@​steiza](https://togithub.com/steiza) in [https://github.com/cli/cli/pull/8997](https://togithub.com/cli/cli/pull/8997) - Add `projectsV2` to JSON fields of `gh repo` commands by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/9007](https://togithub.com/cli/cli/pull/9007) - Support long URLs in `gh repo clone` by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/9008](https://togithub.com/cli/cli/pull/9008) - Fix issue with closing pager stream by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/9020](https://togithub.com/cli/cli/pull/9020) - proof of concept for flag-level disable auth check by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/9000](https://togithub.com/cli/cli/pull/9000) - Be more general with attestation host checks by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9019](https://togithub.com/cli/cli/pull/9019) - Add beta designation on attestation command set by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/9022](https://togithub.com/cli/cli/pull/9022) - Tweaked gh attestation help strings to generate nicer cli manual site. by [@​phillmv](https://togithub.com/phillmv) in [https://github.com/cli/cli/pull/9025](https://togithub.com/cli/cli/pull/9025) - Update cli/go-gh to v2.9.0 by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/9023](https://togithub.com/cli/cli/pull/9023) - Document repo clone protocol behaviour by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/9030](https://togithub.com/cli/cli/pull/9030) #### New Contributors - [@​sochotnicky](https://togithub.com/sochotnicky) made their first contribution in [https://github.com/cli/cli/pull/8969](https://togithub.com/cli/cli/pull/8969) - [@​NeroBlackstone](https://togithub.com/NeroBlackstone) made their first contribution in [https://github.com/cli/cli/pull/9004](https://togithub.com/cli/cli/pull/9004) - [@​phillmv](https://togithub.com/phillmv) made their first contribution in [https://github.com/cli/cli/pull/9025](https://togithub.com/cli/cli/pull/9025) **Full Changelog**: cli/cli@v2.48.0...v2.49.0 ### [`v2.48.0`](https://togithub.com/cli/cli/releases/tag/v2.48.0): GitHub CLI 2.48.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.47.0...v2.48.0) #### The Big Stuff - Added support for `--slurp`ing JSON responses in `gh api` by [@​heaths](https://togithub.com/heaths) in [https://github.com/cli/cli/pull/8620](https://togithub.com/cli/cli/pull/8620) - Added `--skip-ssh-key` option to `gh auth login` command by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8935](https://togithub.com/cli/cli/pull/8935) - Added `numSelectedRepos` to JSON output of `gh secret list` by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8899](https://togithub.com/cli/cli/pull/8899) - Added support for multiple items in `gh api` nested array by [@​Ebonsignori](https://togithub.com/Ebonsignori) in [https://github.com/cli/cli/pull/8762](https://togithub.com/cli/cli/pull/8762) - Fixed panic when running `gh repo rename` by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8906](https://togithub.com/cli/cli/pull/8906) - Fixed panic when parsing IPv6 remote URLs by [@​babakks](https://togithub.com/babakks) in [https://github.com/cli/cli/pull/8893](https://togithub.com/cli/cli/pull/8893) - Fixed `gh pr lock/unlock` not working when URL is passed by [@​t4kamura](https://togithub.com/t4kamura) in [https://github.com/cli/cli/pull/8837](https://togithub.com/cli/cli/pull/8837) - Fixed viewing run logs with filenames that the regex didn't handle [@​zdrve](https://togithub.com/zdrve) in [https://github.com/cli/cli/pull/8882](https://togithub.com/cli/cli/pull/8882) #### The Rest - Tidy `go.mod` by [@​matthewhughes934](https://togithub.com/matthewhughes934) in [https://github.com/cli/cli/pull/8958](https://togithub.com/cli/cli/pull/8958) - Fix cache contention in Go CI jobs by [@​matthewhughes934](https://togithub.com/matthewhughes934) in [https://github.com/cli/cli/pull/8957](https://togithub.com/cli/cli/pull/8957) - Fix `go` directive in `go.mod` by [@​matthewhughes934](https://togithub.com/matthewhughes934) in [https://github.com/cli/cli/pull/8956](https://togithub.com/cli/cli/pull/8956) - Update install_linux.md by [@​richterdavid](https://togithub.com/richterdavid) in [https://github.com/cli/cli/pull/8950](https://togithub.com/cli/cli/pull/8950) - build(deps): bump google.golang.org/grpc from 1.61.1 to 1.61.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8925](https://togithub.com/cli/cli/pull/8925) - Add codeowners entry for the GitHub TUF root included in the `attestation` command set by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8919](https://togithub.com/cli/cli/pull/8919) - Create stronger run log cache abstraction by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8931](https://togithub.com/cli/cli/pull/8931) - Remove naked returns from git ParseURL by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8929](https://togithub.com/cli/cli/pull/8929) - Fix api cache test by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8932](https://togithub.com/cli/cli/pull/8932) - Ensure run log cache creates cache dir if it doesn't exist by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8944](https://togithub.com/cli/cli/pull/8944) - Close zip file in run view tests by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8945](https://togithub.com/cli/cli/pull/8945) - Fix `attestation` cmd offline unit test failure by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8933](https://togithub.com/cli/cli/pull/8933) - Add support to `attestation` command for more predicate types. by [@​steiza](https://togithub.com/steiza) in [https://github.com/cli/cli/pull/8949](https://togithub.com/cli/cli/pull/8949) #### New Contributors - [@​babakks](https://togithub.com/babakks) made their first contribution in [https://github.com/cli/cli/pull/8906](https://togithub.com/cli/cli/pull/8906) - [@​t4kamura](https://togithub.com/t4kamura) made their first contribution in [https://github.com/cli/cli/pull/8837](https://togithub.com/cli/cli/pull/8837) - [@​zdrve](https://togithub.com/zdrve) made their first contribution in [https://github.com/cli/cli/pull/8882](https://togithub.com/cli/cli/pull/8882) - [@​Ebonsignori](https://togithub.com/Ebonsignori) made their first contribution in [https://github.com/cli/cli/pull/8762](https://togithub.com/cli/cli/pull/8762) - [@​matthewhughes934](https://togithub.com/matthewhughes934) made their first contribution in [https://github.com/cli/cli/pull/8958](https://togithub.com/cli/cli/pull/8958) - [@​richterdavid](https://togithub.com/richterdavid) made their first contribution in [https://github.com/cli/cli/pull/8950](https://togithub.com/cli/cli/pull/8950) **Full Changelog**: cli/cli@v2.47.0...v2.48.0 ### [`v2.47.0`](https://togithub.com/cli/cli/releases/tag/v2.47.0): GitHub CLI 2.47.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.46.0...v2.47.0) #### What's Changed - Fix typo in auth switch help example by [@​ihommani](https://togithub.com/ihommani) in [https://github.com/cli/cli/pull/8870](https://togithub.com/cli/cli/pull/8870) - Bump go-gh to 2.7.0 by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8884](https://togithub.com/cli/cli/pull/8884) - gh-attestation cmd integration by [@​malancas](https://togithub.com/malancas) in [https://github.com/cli/cli/pull/8698](https://togithub.com/cli/cli/pull/8698) - Upgrade to Go 1.22 by [@​yanskun](https://togithub.com/yanskun) in [https://github.com/cli/cli/pull/8836](https://togithub.com/cli/cli/pull/8836) - Rely on go.mod go version in all workflows by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8911](https://togithub.com/cli/cli/pull/8911) - build(deps): bump gopkg.in/go-jose/go-jose.v2 from 2.6.1 to 2.6.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8902](https://togithub.com/cli/cli/pull/8902) - build(deps): bump github.com/docker/docker from 24.0.7+incompatible to 24.0.9+incompatible by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8903](https://togithub.com/cli/cli/pull/8903) - Fix segfault in error handling of `gh repo rename` by [@​satoqz](https://togithub.com/satoqz) in [https://github.com/cli/cli/pull/8888](https://togithub.com/cli/cli/pull/8888) - build(deps): bump google.golang.org/grpc from 1.61.0 to 1.61.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8912](https://togithub.com/cli/cli/pull/8912) - build(deps): bump github.com/gorilla/websocket from 1.5.0 to 1.5.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8913](https://togithub.com/cli/cli/pull/8913) - build(deps): bump github.com/google/go-containerregistry from 0.19.0 to 0.19.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8914](https://togithub.com/cli/cli/pull/8914) - build(deps): bump github.com/sigstore/protobuf-specs from 0.3.0 to 0.3.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8923](https://togithub.com/cli/cli/pull/8923) - Bump glamour to v0.7.0 and go mod tidy by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8920](https://togithub.com/cli/cli/pull/8920) #### New Contributors - [@​ihommani](https://togithub.com/ihommani) made their first contribution in [https://github.com/cli/cli/pull/8870](https://togithub.com/cli/cli/pull/8870) - [@​malancas](https://togithub.com/malancas) made their first contribution in [https://github.com/cli/cli/pull/8698](https://togithub.com/cli/cli/pull/8698) - [@​satoqz](https://togithub.com/satoqz) made their first contribution in [https://github.com/cli/cli/pull/8888](https://togithub.com/cli/cli/pull/8888) **Full Changelog**: cli/cli@v2.46.0...v2.47.0 ### [`v2.46.0`](https://togithub.com/cli/cli/releases/tag/v2.46.0): GitHub CLI 2.46.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.45.0...v2.46.0) #### What's Changed - Draft issue IDs are included in `project item-list` output by [@​yasunori0418](https://togithub.com/yasunori0418) in [https://github.com/cli/cli/pull/8754](https://togithub.com/cli/cli/pull/8754) - New `--dry-run` option for `pr create` by [@​v1v](https://togithub.com/v1v) in [https://github.com/cli/cli/pull/8376](https://togithub.com/cli/cli/pull/8376) - Bump go-keyring to fix race condition by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8833](https://togithub.com/cli/cli/pull/8833) - PR numbers are prefixed with owner/repo for context by [@​nobe4](https://togithub.com/nobe4) in [https://github.com/cli/cli/pull/8778](https://togithub.com/cli/cli/pull/8778) - Extra word removed in `codespaces` code comments by [@​cuinix](https://togithub.com/cuinix) in [https://github.com/cli/cli/pull/8795](https://togithub.com/cli/cli/pull/8795) - Clarified description of the `-u`, `--user` option for `gh auth token` by [@​gregsmi](https://togithub.com/gregsmi) in [https://github.com/cli/cli/pull/8797](https://togithub.com/cli/cli/pull/8797) - Fixed formatting for the description of `release upload` by [@​malor](https://togithub.com/malor) in [https://github.com/cli/cli/pull/8834](https://togithub.com/cli/cli/pull/8834) - Clarified the usage of `auth status` to list all authenticated accounts by [@​jsoref](https://togithub.com/jsoref) in [https://github.com/cli/cli/pull/8838](https://togithub.com/cli/cli/pull/8838) - Document auth switch behavior for two or more accounts by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8839](https://togithub.com/cli/cli/pull/8839) - Document run watch and view not supporting fine grained PATs by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8843](https://togithub.com/cli/cli/pull/8843) - build(deps): bump google.golang.org/protobuf from 1.30.0 to 1.33.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8811](https://togithub.com/cli/cli/pull/8811) - build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8844](https://togithub.com/cli/cli/pull/8844) #### New Contributors - [@​cuinix](https://togithub.com/cuinix) made their first contribution in [https://github.com/cli/cli/pull/8795](https://togithub.com/cli/cli/pull/8795) - [@​gregsmi](https://togithub.com/gregsmi) made their first contribution in [https://github.com/cli/cli/pull/8797](https://togithub.com/cli/cli/pull/8797) - [@​nobe4](https://togithub.com/nobe4) made their first contribution in [https://github.com/cli/cli/pull/8778](https://togithub.com/cli/cli/pull/8778) - [@​malor](https://togithub.com/malor) made their first contribution in [https://github.com/cli/cli/pull/8834](https://togithub.com/cli/cli/pull/8834) - [@​yasunori0418](https://togithub.com/yasunori0418) made their first contribution in [https://github.com/cli/cli/pull/8754](https://togithub.com/cli/cli/pull/8754) **Full Changelog**: cli/cli@v2.45.0...v2.46.0 ### [`v2.45.0`](https://togithub.com/cli/cli/releases/tag/v2.45.0): GitHub CLI 2.45.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.44.1...v2.45.0) #### What's Changed - Resolve go compiler regression by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8716](https://togithub.com/cli/cli/pull/8716) - bug: fixed the msg returned for patching a repo variable by [@​dean-tate](https://togithub.com/dean-tate) in [https://github.com/cli/cli/pull/8715](https://togithub.com/cli/cli/pull/8715) - Fix regression around commas in commit titles during `pr create` by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8768](https://togithub.com/cli/cli/pull/8768) - feat: Add `ref` option to `gh cache list` by [@​toshimaru](https://togithub.com/toshimaru) in [https://github.com/cli/cli/pull/8711](https://togithub.com/cli/cli/pull/8711) - Make comments in the default config file more informative by [@​bartekpacia](https://togithub.com/bartekpacia) in [https://github.com/cli/cli/pull/8756](https://togithub.com/cli/cli/pull/8756) - Link Project to Repository or Team Command by [@​benebsiny](https://togithub.com/benebsiny) in [https://github.com/cli/cli/pull/8595](https://togithub.com/cli/cli/pull/8595) - Clarify helptext for search prs regarding archived repos by [@​stuart-leitch](https://togithub.com/stuart-leitch) in [https://github.com/cli/cli/pull/8738](https://togithub.com/cli/cli/pull/8738) - Simplify install command for Debian & Ubuntu by [@​hongquan](https://togithub.com/hongquan) in [https://github.com/cli/cli/pull/8693](https://togithub.com/cli/cli/pull/8693) - Support `project view --web` with TTY by [@​harveysanders](https://togithub.com/harveysanders) in [https://github.com/cli/cli/pull/8773](https://togithub.com/cli/cli/pull/8773) - Bump cli/go-gh v2.6.0 for tenant using GH_TOKEN by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/8787](https://togithub.com/cli/cli/pull/8787) #### New Contributors - [@​dean-tate](https://togithub.com/dean-tate) made their first contribution in [https://github.com/cli/cli/pull/8715](https://togithub.com/cli/cli/pull/8715) - [@​bartekpacia](https://togithub.com/bartekpacia) made their first contribution in [https://github.com/cli/cli/pull/8756](https://togithub.com/cli/cli/pull/8756) - [@​stuart-leitch](https://togithub.com/stuart-leitch) made their first contribution in [https://github.com/cli/cli/pull/8738](https://togithub.com/cli/cli/pull/8738) - [@​hongquan](https://togithub.com/hongquan) made their first contribution in [https://github.com/cli/cli/pull/8693](https://togithub.com/cli/cli/pull/8693) **Full Changelog**: cli/cli@v2.44.1...v2.45.0 ### [`v2.44.1`](https://togithub.com/cli/cli/releases/tag/v2.44.1): GitHub CLI 2.44.1 [Compare Source](https://togithub.com/cli/cli/compare/v2.44.0...v2.44.1) #### What's Changed - Fix PR create regression around title and body when there is only one commit by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8707](https://togithub.com/cli/cli/pull/8707) **Full Changelog**: cli/cli@v2.44.0...v2.44.1 ### [`v2.44.0`](https://togithub.com/cli/cli/releases/tag/v2.44.0): GitHub CLI 2.44.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.43.1...v2.44.0) #### What's Changed - Feature: added Order flag for release list command by [@​leevic31](https://togithub.com/leevic31) in [https://github.com/cli/cli/pull/8632](https://togithub.com/cli/cli/pull/8632) - autofill with body by [@​guerinoni](https://togithub.com/guerinoni) in [https://github.com/cli/cli/pull/8423](https://togithub.com/cli/cli/pull/8423) - Add default values to web manual and man pages by [@​zsloane](https://togithub.com/zsloane) in [https://github.com/cli/cli/pull/8395](https://togithub.com/cli/cli/pull/8395) - build(deps): bump microsoft/setup-msbuild from 1.3.2 to 2.0.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8648](https://togithub.com/cli/cli/pull/8648) - Documentation for built-in aliases by [@​Rebeccasun31](https://togithub.com/Rebeccasun31) in [https://github.com/cli/cli/pull/8367](https://togithub.com/cli/cli/pull/8367) - Add more detail to fork failure message by [@​chrisroat](https://togithub.com/chrisroat) in [https://github.com/cli/cli/pull/8614](https://togithub.com/cli/cli/pull/8614) - feat: Add cache key option to `gh cache list` by [@​toshimaru](https://togithub.com/toshimaru) in [https://github.com/cli/cli/pull/8667](https://togithub.com/cli/cli/pull/8667) #### New Contributors - [@​zsloane](https://togithub.com/zsloane) made their first contribution in [https://github.com/cli/cli/pull/8395](https://togithub.com/cli/cli/pull/8395) - [@​Rebeccasun31](https://togithub.com/Rebeccasun31) made their first contribution in [https://github.com/cli/cli/pull/8367](https://togithub.com/cli/cli/pull/8367) - [@​chrisroat](https://togithub.com/chrisroat) made their first contribution in [https://github.com/cli/cli/pull/8614](https://togithub.com/cli/cli/pull/8614) - [@​toshimaru](https://togithub.com/toshimaru) made their first contribution in [https://github.com/cli/cli/pull/8667](https://togithub.com/cli/cli/pull/8667) **Full Changelog**: cli/cli@v2.43.1...v2.44.0 ### [`v2.43.1`](https://togithub.com/cli/cli/releases/tag/v2.43.1): GitHub CLI 2.43.1 [Compare Source](https://togithub.com/cli/cli/compare/v2.43.0...v2.43.1) #### What's Changed - Fix label create regression in v2.43.0 by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/cli/pull/8653](https://togithub.com/cli/cli/pull/8653) **Full Changelog**: cli/cli@v2.43.0...v2.43.1 ### [`v2.43.0`](https://togithub.com/cli/cli/releases/tag/v2.43.0): GitHub CLI 2.43.0 [Compare Source](https://togithub.com/cli/cli/compare/v2.42.1...v2.43.0) #### Special note With this release, the GitHub CLI team sees [@​samcoe](https://togithub.com/samcoe) off to new adventures beyond GitHub! 😿 Sam has been an amazing maintainer and colleague who has helped so many people adopt `gh` while trying to connect with the community regarding its needs. There will forever be a Sam-shaped hole no one can fill but hope he continues to be a part wherever his whirlwind journey takes him! ❤️ #### What's Changed - Remove project JSON formatting objects by [@​heaths](https://togithub.com/heaths) in [https://github.com/cli/cli/pull/8541](https://togithub.com/cli/cli/pull/8541) - build(deps): bump actions/upload-artifact from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8467](https://togithub.com/cli/cli/pull/8467) - build(deps): bump actions/download-artifact from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8466](https://togithub.com/cli/cli/pull/8466) - Add option --json for gh variable list by [@​w1mvy](https://togithub.com/w1mvy) in [https://github.com/cli/cli/pull/8516](https://togithub.com/cli/cli/pull/8516) - Add `--json` export flag for release list by [@​v1v](https://togithub.com/v1v) in [https://github.com/cli/cli/pull/8474](https://togithub.com/cli/cli/pull/8474) - 📝 (search/repos) add usage tips for --archived=false by [@​shion1305](https://togithub.com/shion1305) in [https://github.com/cli/cli/pull/8391](https://togithub.com/cli/cli/pull/8391) - fix: Prevent nil dereference in `pr view`. by [@​octo](https://togithub.com/octo) in [https://github.com/cli/cli/pull/8566](https://togithub.com/cli/cli/pull/8566) - Fix some typos raised by codespell by [@​fpistm](https://togithub.com/fpistm) in [https://github.com/cli/cli/pull/8589](https://togithub.com/cli/cli/pull/8589) - Add force flag to setup-git command by [@​rajhawaldar](https://togithub.com/rajhawaldar) in [https://github.com/cli/cli/pull/8552](https://togithub.com/cli/cli/pull/8552) - build(deps): bump actions/cache from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8594](https://togithub.com/cli/cli/pull/8594) - Feature: output URL for newly created repo by [@​leevic31](https://togithub.com/leevic31) in [https://github.com/cli/cli/pull/8574](https://togithub.com/cli/cli/pull/8574) - Update Arch repo to \[extra] by [@​Xeonacid](https://togithub.com/Xeonacid) in [https://github.com/cli/cli/pull/8607](https://togithub.com/cli/cli/pull/8607) - build(deps): bump microsoft/setup-msbuild from 1.3.1 to 1.3.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cli/cli/pull/8629](https://togithub.com/cli/cli/pull/8629) - fix(pr create): clarify refspec to push to correct branch in the event of a conflicting tag by [@​arunsathiya](https://togithub.com/arunsathiya) in [https://github.com/cli/cli/pull/8618](https://togithub.com/cli/cli/pull/8618) - Send activity signals during non-interactive codespace SSH command by [@​dmgardiner25](https://togithub.com/dmgardiner25) in [https://github.com/cli/cli/pull/8639](https://togithub.com/cli/cli/pull/8639) - Upgrade cli/go-gh to v2.5.0 for home-manager fix by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/cli/pull/8647](https://togithub.com/cli/cli/pull/8647) #### New Contributors - [@​w1mvy](https://togithub.com/w1mvy) made their first contribution in [https://github.com/cli/cli/pull/8516](https://togithub.com/cli/cli/pull/8516) - [@​v1v](https://togithub.com/v1v) made their first contribution in [https://github.com/cli/cli/pull/8474](https://togithub.com/cli/cli/pull/8474) - [@​octo](https://togithub.com/octo) made their first contribution in [https://github.com/cli/cli/pull/8566](https://togithub.com/cli/cli/pull/8566) - [@​fpistm](https://togithub.com/fpistm) made their first contribution in [https://github.com/cli/cli/pull/8589](https://togithub.com/cli/cli/pull/8589) - [@​leevic31](https://togithub.com/leevic31) made their first contribution in [https://github.com/cli/cli/pull/8574](https://togithub.com/cli/cli/pull/8574) - [@​Xeonacid](https://togithub.com/Xeonacid) made their first contribution in [https://github.com/cli/cli/pull/8607](https://togithub.com/cli/cli/pull/8607) **Full Changelog**: cli/cli@v2.42.1...v2.43.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/DelineaXPM/github-workflows). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Partly resolves #1268 and replaces #5652. Requires cli/go-gh#148 to be merged and optionally released.
internalpackage.gh api#5652.--paginate-allswitch.See cli/go-gh#148 for a full discussion.