43 Commits
Author SHA1 Message Date
Jam Balaya 5c03e7614f feat!: Add Copilot content exclusion set and enterprise endpoints (#4675)
BREAKING CHANGE: `CopilotOrganizationContentExclusionDetails` is renamed to `CopilotContentExclusionDetails`.
2026-10-26 11:28:35 -04:00
Ninad Sutrave b1be2ff3dd feat: Add support for Copilot coding agent permissions (#4649) 2026-10-22 09:35:41 -04:00
Glenn Lewis 8d9197f774 fix!: Send credentials only to configured origins (#4564)
BREAKING CHANGE: Credentials are sent only to a client's configured API and upload origins — every other destination, including a redirect hop, goes out unauthenticated. A request body aimed outside those origins is refused. `BasicAuthTransport` and `UnauthenticatedRateLimitedTransport` gained `AllowedOrigins`, which GitHub Enterprise users must set.
2026-09-18 08:48:43 -04:00
Deep Akbari d39a9b41a5 feat: Add simple CRUD endpoints for GitHub Copilot Spaces (#4379) 2026-09-11 15:48:39 -04:00
Роман Котов c9ab302e63 feat: Add Copilot user-teams daily metrics report endpoints (#4500) 2026-09-11 12:17:50 -04:00
Роман Котов 3fde224256 feat: Add Copilot repository daily metrics report endpoints (#4498) 2026-09-03 10:30:36 -04:00
Роман Котов 78d0f53e2f feat: Add Copilot code review active user counts to metrics structs (#4490) 2026-08-29 09:26:25 -04:00
Роман Котов 0fb1d5efb1 feat: Add Copilot app metrics to usage metrics structs (#4488) 2026-08-28 19:29:30 -04:00
Yavor Lulchev c48dbf54a1 fix: Close the original response body on non-2xx responses (#4486) 2026-08-28 13:41:31 -04:00
Ajay Kemparaj f9fec07de4 feat: Require Go 1.26 and use new(expr) for pointer literals (#4481) 2026-08-28 12:18:49 -04:00
Роман Котов 27beda976d feat: Add Copilot AI credits and adoption phase metrics (#4480) 2026-08-25 11:22:46 -04:00
Роман Котов 30af001aa7 feat: Add Copilot 3rd-party agent metrics (#4460) 2026-08-21 15:25:45 -04:00
Glenn Lewis 595de3d4b8 chore: Replace time.Date with referenceTime (#4325) 2026-06-24 15:42:55 -04:00
Oleksandr Redko f53fbae913 test: Replace &x variables with inline Ptr(value) calls (#4289) 2026-06-10 09:33:24 -04:00
Oleksandr Redko 3215e0320e test: Remove redundant Marshal tests (#4266) 2026-06-04 09:22:07 -04:00
Steve Hipwell d9f999787d feat!: Refactor client constructor to use options pattern (#4201)
BREAKING CHANGE: Clients are now constructed with a nicer builder pattern. See docs for details.
2026-05-14 17:24:26 -04:00
Oleksandr Redko 79d8b33084 chore: Bump golangci-lint to v2.12.2 (#4206) 2026-05-11 10:04:07 -04:00
kyungseopk1m f96883e36f feat: Add typed Copilot metrics download helpers (#4177) 2026-05-03 06:39:56 -04:00
Dhananjay Mishra 0a16e22eba refactor: Use testJSONBody helper for request body assertions in tests (#4183) 2026-05-01 08:13:24 -04:00
abhishek 0f881f566f feat: Add Copilot coding agent and content exclusion org endpoints (#4176) 2026-04-23 06:35:00 -04:00
Manas Shetty 44908ea7a0 feat: Add DownloadCopilotMetrics helper method (#4149) 2026-04-13 07:13:22 -04:00
Glenn Lewis a2063a76fb chore: Remove unnecessary use of new and &SomeStruct{} and add new extraneousnew custom linter (#4106) 2026-03-18 17:12:53 -04:00
Oleksandr Redko e0f30bb87e test: Simplify CopilotService tests (#4058) 2026-03-02 13:24:15 -05:00
Nurzhan Muratkhan 5f68d5438c feat: Add support for team type field (#4037) 2026-02-26 09:59:29 -05:00
Henrik Lundström 5dc00502eb feat: Add support for Copilot usage metrics reports API (#3893) 2026-01-02 10:52:22 -05:00
Oleksandr Redko 233fe03e17 test: Use t.Context() instead of context.Background() (#3750) 2025-10-03 08:09:47 -04:00
Oleksandr Redko ff1666c906 refactor: Fix revive.unnecessary-format lint issues (#3629) 2025-07-19 14:01:40 -04:00
sanjay s 21c29760f1 fix: Handle null assignee in Copilot Seat Billing API response (#3619) 2025-07-01 22:48:48 -04:00
Oleksandr Redko 3a3f51bc7c chore: Remove redundant in Go 1.22 loop variables (#3537) 2025-04-02 08:52:10 -04:00
Steve Hipwell 6b18a2be38 feat: Add missing notification_setting to Team (#3431) 2025-01-14 10:25:31 -05:00
Oleksandr Redko f66ed85955 feat: Deprecate and replace Bool,Int,Int64,String with Ptr using generics (#3355) 2024-12-10 21:36:09 -05:00
Henrik Lundström 45574f42f3 feat: Remove the beta endpoint for Copilot usage (#3354) 2024-11-22 10:34:11 -05:00
Henrik Lundström 717e93fa28 feat: Support Copilot metrics endpoints (#3350) 2024-11-20 07:36:33 -05:00
Clemens W 5e806b6a7e Add Copilot Usage Summary for Organization (#3321) 2024-10-14 06:43:20 -04:00
Oleksandr Redko 1ffcddbd4e docs: Add dots at the end of sentences (#3325) 2024-10-11 12:08:23 -04:00
Glenn Lewis dc884c26ca Add t.Parallel to unit tests (#3297) 2024-10-05 07:29:05 -04:00
Oleksandr Redko 522c3eef52 docs: Fix typo in test comment (#3307) 2024-10-05 07:08:59 -04:00
Glenn Lewis e56d378b96 refactor: Do not call teardown manually in tests (#3296) 2024-10-01 11:52:30 -04:00
Glenn Lewis e21b500cb8 Hotfix: Fix broken unit test in copilot_test.go (#3156) 2024-04-29 19:29:06 -04:00
Ryan Skidmore 715be3982a Fix application of pagination options on ListCopilotSeats endpoint (#3090) 2024-04-29 18:44:50 -04:00
Alin Balutoiu 189123903e Fix pagination for ListCopilotSeats (#3112) 2024-03-26 15:11:42 -04:00
Jesse Haka a6f50f1b02 Fix copilot API payload (#3034) 2023-12-19 15:30:31 -05:00
Osama Faqhruldin 9d6658a678 Add Copilot endpoints (#2973)
Fixes: #2938.
2023-12-19 09:31:54 -05:00