Kynan Ware
60318613d8
Merge pull request #12720 from cli/kw/fix-invalid-ansi
...
Fix invalid ANSI SGR escape code in JSON and diff colorization
2026-03-02 15:12:15 -07:00
Kynan Ware
ad41bb967d
Merge pull request #12807 from maxbeizer/agent-task-view-json
...
Add --json support to `gh agent-task view`
2026-03-02 13:36:06 -07:00
Kynan Ware
1a5fb34493
Merge pull request #12806 from maxbeizer/agent-task-list-json
...
Add --json support to `gh agent-task list`
2026-03-02 13:35:27 -07:00
Kynan Ware
79796d2dc5
Merge pull request #12787 from ManManavadaria/fix-12726/item-edit-draft-issue-partial-update
...
fix: `gh project item-edit` error when editing Draft Issue with only one (title/body) flag
2026-03-02 12:19:53 -07:00
Kynan Ware
e725e38370
Merge pull request #12596 from elijahthis/fix/clarify-scope-error
...
fix: clarify scope error while creating issues for projects
2026-03-02 11:12:35 -07:00
Kynan Ware
1957a022b6
Merge pull request #12652 from VishnuVV27/fix-issue-view-comments-redundancy
...
Fix redundant API call in gh issue view --comments (#12606 )
2026-03-02 10:58:41 -07:00
Kynan Ware
628dea6e52
Merge pull request #12375 from majiayu000/2722-fix-fork-remote-flag
...
fix: error when --remote flag used with repo argument
2026-03-02 10:34:02 -07:00
Kynan Ware
1c36686a61
Merge branch 'trunk' into 2722-fix-fork-remote-flag
2026-03-02 10:22:27 -07:00
Kynan Ware
0f5355e8b4
Merge pull request #12781 from itchyny/api-compile-json-content
...
Use pre-compiled regexp for matching Content-Type
2026-03-02 10:16:37 -07:00
Kynan Ware
98e970a6d6
Merge pull request #12615 from cli/dependabot/go_modules/github.com/gabriel-vasile/mimetype-1.4.13
...
chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.11 to 1.4.13
2026-03-02 09:37:31 -07:00
Kynan Ware
bb1c37d6ba
Merge pull request #12759 from cli/dependabot/go_modules/google.golang.org/grpc-1.79.1
...
chore(deps): bump google.golang.org/grpc from 1.78.0 to 1.79.1
2026-03-02 09:36:02 -07:00
Kynan Ware
e3ac074968
Merge pull request #12760 from cli/dependabot/github_actions/goreleaser/goreleaser-action-7.0.0
...
chore(deps): bump goreleaser/goreleaser-action from 6.4.0 to 7.0.0
2026-03-02 09:27:01 -07:00
Kynan Ware
453d89c2d4
Merge pull request #12795 from cli/dependabot/github_actions/actions/attest-build-provenance-4.1.0
...
chore(deps): bump actions/attest-build-provenance from 3.2.0 to 4.1.0
2026-03-02 09:26:34 -07:00
Kynan Ware
c2ccf29aa4
Merge pull request #12796 from cli/dependabot/github_actions/actions/download-artifact-8
...
chore(deps): bump actions/download-artifact from 7 to 8
2026-03-02 09:24:28 -07:00
Kynan Ware
84daf66a0a
Merge pull request #12797 from cli/dependabot/github_actions/actions/upload-artifact-7
...
chore(deps): bump actions/upload-artifact from 6 to 7
2026-03-02 09:23:03 -07:00
dependabot[bot]
b1df464f52
chore(deps): bump goreleaser/goreleaser-action from 6.4.0 to 7.0.0
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 6.4.0 to 7.0.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](e435ccd777...ec59f474b9 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:03:04 +00:00
dependabot[bot]
0f53ed545c
chore(deps): bump github.com/gabriel-vasile/mimetype
...
Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype ) from 1.4.11 to 1.4.13.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases )
- [Commits](https://github.com/gabriel-vasile/mimetype/compare/v1.4.11...v1.4.13 )
---
updated-dependencies:
- dependency-name: github.com/gabriel-vasile/mimetype
dependency-version: 1.4.13
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:02:45 +00:00
dependabot[bot]
8c72314f6c
chore(deps): bump google.golang.org/grpc from 1.78.0 to 1.79.1
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.78.0 to 1.79.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.78.0...v1.79.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:02:39 +00:00
dependabot[bot]
ab399f09e1
chore(deps): bump actions/attest-build-provenance from 3.2.0 to 4.1.0
...
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance ) from 3.2.0 to 4.1.0.
- [Release notes](https://github.com/actions/attest-build-provenance/releases )
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md )
- [Commits](96278af6ca...a2bbfa2537 )
---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
dependency-version: 4.1.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:02:34 +00:00
dependabot[bot]
6842f5bdcb
chore(deps): bump actions/download-artifact from 7 to 8
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:02:32 +00:00
dependabot[bot]
cc15e7e16d
chore(deps): bump actions/upload-artifact from 6 to 7
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 16:02:25 +00:00
Babak K. Shandiz
f521007494
Merge pull request #12821 from devm33/devm33/gh-copilot-env
...
Set COPILOT_GH env var when launching Copilot CLI
2026-03-02 15:34:19 +00:00
Devraj Mehta
351df5b9d1
Set COPILOT_GH env var when launching Copilot CLI
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-02 10:25:47 -05:00
Max Beizer
d908af3484
Emit null for zero createdAt/updatedAt values
...
Consistent with completedAt handling. Addresses Copilot review feedback
from companion PR #12807 .
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 10:18:37 -06:00
Max Beizer
0d05a8acca
Address Copilot review feedback
...
- Prioritize --json output over --log/--follow so JSON is not silently ignored
- Emit null for zero createdAt/updatedAt values, consistent with completedAt
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 10:18:21 -06:00
Max Beizer
ceb8cf2561
Polish --json support for agent-task view
...
- Rename 'status' field to 'state' for consistency with struct and UI
- Add missing JSON fields: completedAt, user, pullRequestTitle, pullRequestState
- Add test for nil PullRequest with --json
- Expand existing JSON test to cover new fields
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 09:09:08 -06:00
Max Beizer
c5c107aa8b
Polish --json support for agent-task list
...
- Fix empty results returning error instead of [] when --json is used
- Rename 'status' field to 'state' for consistency with struct and UI
- Add missing JSON fields: completedAt, user, pullRequestTitle, pullRequestState
- Add test for empty results with --json
- Add test for nil PullRequest with --json
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 09:08:18 -06:00
Max Beizer
250d5a850a
Fix gofmt alignment in view_test.go
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 08:57:53 -06:00
Kynan Ware
097bad6f73
Merge pull request #12783 from srt32/fix-assignee-databaseid
...
Add databaseId to assignees GraphQL fragment
2026-02-28 12:22:33 -07:00
Max Beizer
7241b42ecf
Add --json support to gh agent-task view
...
Add --json, --jq, and --template flags to `gh agent-task view`,
consistent with the pattern used by `gh pr view --json`,
`gh issue view --json`, etc.
This reuses the same ExportData interface and SessionFields defined
for list, applying them to the single-session view output.
Closes https://github.com/cli/cli/issues/12805 (partial)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-28 09:22:28 -06:00
Max Beizer
0d9e6af3da
Add --json support to gh agent-task list
...
Add --json, --jq, and --template flags to `gh agent-task list`,
consistent with the pattern used by `gh pr list --json`,
`gh issue list --json`, etc.
This implements the ExportData interface on capi.Session and defines
SessionFields for the available JSON fields:
id, name, status, repository, createdAt, updatedAt,
pullRequestNumber, pullRequestUrl.
Closes https://github.com/cli/cli/issues/12805 (partial)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-28 09:20:13 -06:00
ManManavadaria
d21544c085
fix(project/item-edit): preserve title/body when editing draft issue with partial flags
2026-02-26 16:23:37 +05:30
Simon Taranto
34c3b3c809
Add databaseId to assignees GraphQL fragment
...
The assignees query fragment only requested id, login, and name but the
GitHubUser struct includes a DatabaseID field. Since the field was never
requested from the API, it always defaulted to Go's zero value (0) in
JSON output. This adds databaseId to the fragment so the actual value is
returned.
Also adds ExportData test cases for assignees on both Issue and
PullRequest to verify databaseId round-trips correctly through JSON
serialization.
2026-02-25 10:26:46 -05:00
itchyny
6057bfadbf
Use pre-compiled regexp for matching Content-Type
2026-02-25 19:43:45 +09:00
Babak K. Shandiz
cf862d65df
Merge pull request #12757 from cli/12756-gh-project-edit-fails-variable-$query-used-but-not-declared-in-updateprojectv2
...
Fix project mutation query variable usage
2026-02-23 15:10:27 +00:00
William Martin
4dd50cf60c
Fix project mutation query variable usage
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-23 07:13:07 -07:00
Babak K. Shandiz
6c3e39ffc4
Merge pull request #12659 from cli/dependabot/go_modules/golang.org/x/crypto-0.48.0
...
chore(deps): bump golang.org/x/crypto from 0.47.0 to 0.48.0
2026-02-20 20:02:45 +00:00
dependabot[bot]
121dc8966b
chore(deps): bump golang.org/x/crypto from 0.47.0 to 0.48.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.47.0 to 0.48.0.
- [Commits](https://github.com/golang/crypto/compare/v0.47.0...v0.48.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.48.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-20 19:54:55 +00:00
Babak K. Shandiz
9e82fc2965
Merge pull request #12731 from cli/babakks/fix-agent-task-api-version
...
fix(agent-task/capi): use a fixed CAPI API version
2026-02-20 18:14:34 +00:00
Babak K. Shandiz
4681b40e70
fix(agent-task/capi): fix capi API version
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-20 18:04:12 +00:00
Kynan Ware
48951aca01
Fix invalid ANSI SGR escape code in JSON and diff colorization
...
Replace `1;38` with `1;37` (bold white) in the delimiter/header
color constant. SGR parameter 38 is the extended foreground color
prefix and requires sub-parameters (e.g. `38;5;n` or `38;2;r;g;b`),
so using it bare produces an invalid escape sequence. Most terminals
silently ignore the malformed parameter, masking the bug.
Fixes cli/cli#12683
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 17:52:01 -07:00
Kynan Ware
3521604ed2
Merge pull request #12716 from cli/wm-remove-licenses
...
Remove license bundling debris
2026-02-18 10:57:49 -07:00
William Martin
904952268f
Remove debris licenses
2026-02-18 18:20:33 +01:00
William Martin
7ea88b1c4d
Bundle licenses at release time ( #12625 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-02-18 17:59:27 +01:00
William Martin
dd9ca9b2fa
Clean up project item-list query addition changes ( #12714 )
2026-02-18 17:58:56 +01:00
William Martin
ccfe693c46
Rename query for clarity
2026-02-18 17:34:42 +01:00
William Martin
f55656ca67
Remove pointer comments
2026-02-18 17:25:56 +01:00
William Martin
f8d855f502
Simplify error message
2026-02-18 17:25:56 +01:00
William Martin
aeeb8a3d93
Remove DTO concept
2026-02-18 17:25:56 +01:00
William Martin
8dcfd330e7
Add --query flag to project item-list ( #12696 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Babak K. Shandiz <babakks@github.com>
2026-02-18 16:34:13 +01:00