434 Commits
Author SHA1 Message Date
Oleksandr Redko 1875fe0f3a refactor!: Do not capitalize error strings (#3446)
BREAKING CHANGE: Some error strings are slightly modified - please do not rely on error text in general.
2025-01-21 09:04:29 -05:00
Oleksandr Redko eb92cca97b fix: Typos in func parameter, vars, error, and comments (#3442) 2025-01-20 11:31:52 -05:00
Oleksandr Redko 4510383b81 chore: Spell "unmarshal" consistently with one el (#3441) 2025-01-20 10:00:35 -05:00
Tom Bamford 80c57ff718 Permit toggling rate limit check by consumers (#3386) 2025-01-07 08:26:26 -05:00
William Mouchère 3428a81385 Add opt-in rate limit support on endpoints returning 302s (#3411)
Fixes: #3406.
2025-01-02 12:00:31 -05:00
Glenn Lewis 98d4f502e2 Bump version of go-github to v68.0.0 (#3397) 2024-12-23 06:41:13 -05:00
Oleksandr Redko 7beb0aa9e5 Change header keys to be canonical (#3389) 2024-12-16 12:02:50 -05:00
Glenn Lewis 550ecbe014 feat!: Remove Project (classic) support (#3380)
BREAKING CHANGE: All support for "Project (classic)" is removed and `Project` responses are replaced by `ProjectV2` (renamed from `ProjectsV2`).

Fixes: #3367.
2024-12-11 08:44:55 -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
Silas Alberti f0bfdaf2a8 fix: Preserve HTTP Response in URL Errors (#3369)
Fixes: #3362.
2024-12-08 07:44:24 -05:00
Glenn Lewis 92383951a7 Bump version of go-github to v67.0.0 (#3360) 2024-11-27 09:02:17 -05:00
Oleksandr Redko 1ffcddbd4e docs: Add dots at the end of sentences (#3325) 2024-10-11 12:08:23 -04:00
Glenn Lewis 057b1d7aab Bump version of go-github to v66.0.0 (#3310) 2024-10-06 13:02:31 -04:00
Oleksandr Redko 2406067865 fix: Correct typos in vars, comments, tests (#3289) 2024-09-24 11:05:32 -04:00
Glenn Lewis 080468c845 Bump version of go-github to v65.0.0 (#3266) 2024-09-16 09:26:38 -04:00
Glenn Lewis 480e073353 Bump version of go-github to v64.0.0 (#3240) 2024-08-20 22:59:59 -04:00
Glenn Lewis 173aa01e10 Bump version of go-github to v63.0.0 (#3205) 2024-07-10 16:11:33 -04:00
Glenn Lewis 87c3716824 Bump version of go-github to v62.0.0 (#3165) 2024-05-10 20:01:25 -04:00
Erez Rokah 497dbe8d04 feat: Allow blocking until primary rate limit is reset (#3117)
Fixes: #3114.
2024-05-01 12:09:18 -04:00
Glenn Lewis a4b145ac24 Bump version of go-github to v61.0.0 (#3118) 2024-04-01 15:01:23 -04:00
Léo Salé dbf91ee0f7 Add audit log rate limit category and make rate limit category getter public (#3088) 2024-03-20 08:53:47 -04:00
Glenn Lewis ffe505198c Bump version of go-github to v60.0.0 (#3086) 2024-02-29 12:16:23 -05:00
Glenn Lewis 4177a193b1 Bump version of go-github to v59.0.0 (#3068) 2024-02-09 09:33:13 -05:00
Glenn Lewis 536966dd02 Fix leaked client transport on copy (#3051)
Fixes: #3043.
2024-01-28 14:24:21 -05:00
Andreas Deininger e9f52699f5 Fix typos (#3048) 2024-01-11 14:34:43 -05:00
Glenn Lewis eb3bed00ca Bump version of go-github to v58.0.0 (#3045) 2024-01-09 22:35:15 -05:00
Osama Faqhruldin 9d6658a678 Add Copilot endpoints (#2973)
Fixes: #2938.
2023-12-19 09:31:54 -05:00
WillAbides 6d3dfc6163 Don't update httpClient passed to NewClient (#3011) 2023-12-15 20:07:07 -05:00
Rufina Talalaeva 2cc47f9fa6 Add code_search and dependency_snapshots for RateLimits (#3019)
Fixes: #3018.
2023-12-15 14:20:07 -05:00
Glenn Lewis 4046b93ef0 Bump version of go-github to v57.0.0 (#3009) 2023-12-01 12:46:26 -05:00
Léo Salé 182859f017 Fix secondary rate limits URL (#3001) 2023-11-26 19:00:00 -05:00
WillAbides a54bc7da1d Use metadata to reconcile go-github with GitHub's OpenAPI descriptions (#2919) 2023-11-03 10:26:59 -04:00
Rajat Jindal 3c49fd961c Add nil check in ErrorResponse.Error method (#2971)
Fixes: #2970.
2023-10-23 13:27:16 -04:00
Nayeem Hasan eea6e0a8b1 Move RateLimits method to a service (#2969)
Fixes: #2968.
2023-10-20 13:15:23 -04:00
Glenn Lewis 5e25c5c215 Bump version of go-github to v56.0.0 (#2961) 2023-10-11 19:46:53 -04:00
WillAbides f8c16b85c0 Create MarkdownService, EmojisService, CodesOfConductService and MetaService (#2937)
Fixes: #2936.
2023-10-09 07:56:57 -04:00
k0ral 2d889e8d86 Allow up to maxRedirects upon receiving HTTP 301 status (#2939) 2023-09-25 13:07:47 -04:00
Gregory Oschwald 3c1590db00 Correct NewEnterpriseClient deprecation message (#2923) 2023-09-18 09:19:07 -04:00
WillAbides fd33b81221 Fix linting (#2903) 2023-09-08 08:55:37 -04:00
Glenn Lewis 99ee29e326 Bump version of go-github to v55.0.0 (#2914) 2023-09-05 13:02:11 -04:00
WillAbides 5ab57e7a69 Update package constructors (#2904)
Fixes: #2897.
2023-08-31 15:27:18 -04:00
WillAbides c36edbde82 Remove dependency on "golang.org/x/oauth2" (#2895)
Fixes: #2893.
2023-08-27 12:22:57 -04:00
Glenn Lewis 537ebb4825 Bump version of go-github to v54.0.0 (#2881) 2023-08-16 14:31:23 -04:00
vandan rohatgi 0c562f6a6c Add support for fetching SBOMs (#2869)
Fixes: #2864.
2023-08-16 13:27:49 -04:00
Graham Hargreaves 352e4c8b94 Add GetAutomatedSecurityFixes to report status (#2842)
Fixes: #2080.
2023-08-15 12:08:23 -04:00
Diogo Vilela f36dfa5a8d Add support for Security Advisories Request CVE endpoint (#2857)
Fixes: #2855.
2023-08-13 11:22:50 -04:00
guangwu cd0f4b96e5 Use bytes.Equal instead of bytes.Compare (#2820) 2023-06-26 07:39:17 -04:00
Glenn Lewis 3afe4dba24 Bump version of go-github to v53.2.0 (#2811) 2023-06-19 08:26:45 -04:00
Aidan 56c2c3bff9 Initial implementation of codespaces API (#2803) 2023-06-19 08:04:47 -04:00
Glenn Lewis 8c7625e6a2 Bump version of go-github to v53.1.0 (#2806) 2023-06-12 19:45:56 -04:00