434 Commits
Author SHA1 Message Date
adam magued 6eccc42c1e fix: Restore request body on primary rate limit retry (#4657) 2026-10-26 15:22:52 -04:00
sai5880 2840290130 fix: Redact sensitive query parameters in otel transport (#4659) 2026-10-26 11:53:42 -04:00
Steve Hipwell 69bd00175e feat!: Add token source for generic auth logic (#4637)
BREAKING CHANGE: `BasicAuthTransport`, `UnauthenticatedRateLimitedTransport` & `WithHTTPClient` have been removed as they do not fit with the required behaviour to only authenticate requests for specific endpoints. `CheckRedirect` and `Jar` are no longer supported.
2026-10-22 12:02:08 -04:00
Jam Balaya 3c03a645b2 fix: Handle string-valued error responses (#4660) 2026-10-22 10:39:20 -04:00
Jam Balaya 2190e6a077 docs: Fix phrasing and punctuation in doc comments (#4652) 2026-10-21 13:59:10 -04:00
Sebastian Turner 28d2616878 fix: Use BaseURL relative path for rate limit category (#4644) 2026-10-19 11:24:54 -04:00
Glenn Lewis 1e7e5ad65e chore: Bump version of go-github to v93.0.0 (#4634) 2026-10-15 17:39:44 -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
tunztunztunz 44d6f187e7 feat: Add asynchronous SBOM support (#4543) 2026-09-15 11:38:59 -04:00
Glenn Lewis 5149b4d745 chore: Bump version of go-github to v92.0.0 (#4554) 2026-09-14 15:36:11 -04:00
Adam Crews 5af93d1ddd feat: Add Agents secrets API (#4533) 2026-09-11 13:51:22 -04:00
Glenn Lewis a13dc0f0bf chore: Bump version of go-github to v91.0.0 (#4505) 2026-09-02 22:35:33 -04:00
Yavor Lulchev c48dbf54a1 fix: Close the original response body on non-2xx responses (#4486) 2026-08-28 13:41:31 -04:00
Jam Balaya da8ff819ae perf: Reduce allocations in Client.Do response decoding with a buffer pool (#4494) 2026-08-28 13:22:34 -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
Danyal Ahmed ff314f4abb feat: Add agent tasks API support (#4225) 2026-08-20 17:58:09 -04:00
Glenn Lewis 92c4fb92fe chore: Bump golang-ci-lint version to v2.13.1 (#4463) 2026-08-20 13:43:22 -04:00
Glenn Lewis 32b8631931 chore: Bump version of go-github to v90.0.0 (#4428) 2026-08-04 14:14:48 -04:00
Glenn Lewis 8af9bb1a8b chore: Bump version of go-github to v89.0.0 (#4369) 2026-07-06 16:18:58 -04:00
Jam Balaya 216f315f51 fix: Set GetBody on uploads for HTTP/2 retry (#4318) 2026-06-22 10:35:48 -04:00
Oleksandr Redko 34dd99820c fix: Reject URL path segments containing percent-encoded dots (#4291) 2026-06-11 12:58:14 -04:00
Oleksandr Redko b743e860e5 fix: Comparison of durations in AbuseRateLimitError.Is (#4292) 2026-06-11 12:51:23 -04:00
Manas Shetty 45214722f4 feat: Add support for GitHub Code Quality API (#4260) 2026-06-02 11:27:01 -04:00
Steve Hipwell 65d79c6624 feat: Add client API version support (#4246) 2026-05-27 05:22:15 -04:00
Glenn Lewis 0766356912 chore: Bump version of go-github to v88.0.0 (#4245) 2026-05-21 10:47:51 -04:00
Steve Hipwell 69fa364443 feat: Add support for setting client URLs (#4240) 2026-05-20 20:13:13 -04:00
Oleksandr Redko 5475166a19 refactor: Add constants for API versions (#4236) 2026-05-19 09:21:51 -04:00
Glenn Lewis da2e1bfe3a chore: Bump version of go-github to v87.0.0 (#4233) 2026-05-17 21:32:11 -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
evilgensec 6c585920e8 fix: Limit HTTP error response body reads to prevent OOM (#4191) 2026-05-08 11:19:45 -04:00
Glenn Lewis c6609ad6aa chore: Bump version of go-github to v86.0.0 (#4198) 2026-05-07 21:47:28 -04:00
Dan Moseley a75818a671 fix: Include RetryAfter in AbuseRateLimitError.Error output (#4181) 2026-04-26 10:50:44 -04:00
Steve Hipwell 9fbf4bef19 feat!: Refactor request context (#4151)
BREAKING CHANGE: All internal calls now provide `Context` via the `Request` itself.
2026-04-24 14:45:31 -04:00
Glenn Lewis 5f0d5d00f4 chore: Bump version of go-github to v85.0.0 (#4173) 2026-04-20 16:00:30 -04:00
mohammadmseet-hue 1a1890b546 security: Reject cross-host redirects to prevent Authorization leak (#4171) 2026-04-20 07:29:09 -04:00
Steve Hipwell 6617b4ff92 chore: Switch legacy redirect handling to new pattern (#4161) 2026-04-17 11:13:48 -04:00
mohammadmseet-hue cf3388cf6d fix: Reject URL path segments containing ".." in all request methods (#4150) 2026-04-17 11:00:29 -04:00
Steve Hipwell 6bbafae198 feat: Remove Google App Engine standard support (#4152) 2026-04-15 14:57:55 -04:00
Oleksandr Redko 33cf038ac1 docs: Add apiVersion to GitHub API link (#4147) 2026-04-11 10:47:17 -04:00
Oleksandr Redko 9ad687df1e fix: Preserve Marketplace.Stubbed during client copy (#4144) 2026-04-10 07:16:53 -04:00
Oleksandr Redko c13f52c4f7 refactor: Simplify array copying (#4143) 2026-04-09 20:09:50 -04:00
Yoo_LCD 96a3651222 fix: Expand sanitizeURL secrets redactions (#4126) 2026-04-03 11:24:01 -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
Glenn Lewis ca13c0cd4b fix: Fix data race on Windows (#4051) 2026-02-28 09:16:23 -05:00
Glenn Lewis 2830c69e81 chore: Bump version of go-github to v84.0.0 (#4049) 2026-02-27 10:32:54 -05:00
Oleksandr Redko 879c78f0db chore: Use go:fix inline for deprecated ptr funcs (#4034) 2026-02-24 19:11:22 -05:00
Oleksandr Redko c02c318a0f chore: Update golangci-lint and enable some revive rules (#4025) 2026-02-20 12:05:40 -05:00
Glenn Lewis 1dcfefc74c Bump version of go-github to v83.0.0 (#4015) 2026-02-16 10:47:10 -05:00
Oleksandr Redko 5096ac8993 chore: Improve addOptions implementation (#3998) 2026-02-13 07:24:21 -05:00
Claus Näveke de4dfc3992 fix: Add support for GitHub Enterprise cloud upload URLs (#3993) 2026-02-11 15:02:16 -05:00