Skip to content

Releases: google/go-github

v43.0.0

02 Mar 01:48
04b8ae9
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • Add list options support for environments #2258
  • GitHub Actions Billing returns total_paid_minutes_used as float64 #2284
  • Fix RequireCodeOwnerReviews and RequiredApprovingReviewCount fields with omitempty #2289

and the following additional changes:

  • Update scrape dependency to v42 #2254
  • Add AllowForking to Repository struct #2256
  • Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.0.3 to 2.0.4 #2259
  • Update docs for CreateWorkflowDispatchEventRequest.Ref #2263
  • Add support for additional PagesUpdate parameters #2266
  • Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 #2269
  • Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 in /update-urls #2270
  • Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 in /scrape #2271
  • ci: bump golangci-lint version #2272
  • Add checks field to RequiredStatusChecks #2276
  • Add Repo and Org fields to DeployKeyEvent #2280
  • Add support for the secret scanning API #2281
  • Add SecretScanningAlertEvent Webhook #2282
  • Add GetWorkflowRunAttempt #2290
  • Add APIMeta fields related to SSH keys #2293
  • Don't update the ratelimits if we got a response from a cache #2273
  • Revert "Remove graduated GitHub v3 API preview header" #2301
  • Bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 #2303

v42.0.0

13 Jan 03:38
7158046
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • ProjectOptions (public to private) & Project struct (org related fields) fixes #2111
  • Change type of HookDelivery.InstallationID to Int64. #2235
  • Add pagination options to list all package versions #2250

and the following additional changes:

  • Update scrape dependency to v41 #2212
  • Adds test-cases for JSON resources marshaling #2176
  • Add CodeScanningService.ListAnalysesForRepo and CodeScanningService.GetAnalysis #2210
  • Handle protection status errors for unprotected branches #2092
  • Update GitHub Pages API to add new response parameters #2109
  • Add BranchProtectionRuleEvent Installation field #2216
  • Fix since+page pagination bug #2218
  • build: upgrade go directive in go.mod to 1.17 #2219
  • fix references to webhook types #2224
  • Update comment on ListPullRequestsWithCommit API #2228
  • Fix secondary rate limits URL and improve related documentation #2229
  • Add Changes field to RepositoryEvent #2233
  • Add app hook deliveries API #2226
  • Add support for External Groups #2217
  • Add PreviousAttemptURL, RunAttempt, RunStartedAt field to WorkflowRun #2238
  • Add new fields to WorkflowRun #2237
  • Update .gitignore for ignoring goenv .go-version file #2242
  • add team.html_url #2244
  • Update ListCheckRunsOptions with new field AppID #2236
  • adding examples for app auth #2240
  • Support Discussions webhook event #2221
  • Add DiscussionEvent webhook (#2221) #2230
  • Add support for Dependabot secrets #2248

v41.0.0

29 Nov 15:37
e6a82dc
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • Change StorageBilling.EstimatedPaidStorageForMonth from int to float64 (#2205)

and the following additional changes:

  • Add support for creating reaction for a release (#2196)
  • Parse Before/After Links into Response (#2154)
  • Add missing attribute job_runs in WorkflowRunBill (#2206)
  • Add function to delete a workflow run by ID (#2207)
  • Handle 'since' in addition to 'page' for pagination response (#2135)
  • Add active committers API implementation (#2208)

v40.0.0

08 Nov 13:23
93c65e0
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • runnerID and runnerGroupID are int64, not string (#2127)

and the following additional changes:

  • Bump github.com/google/go-github/v39 from 39.1.0 to 39.2.0 in /scrape (#2126)
  • Audit log query options set should contain url tag (#2128)
  • Fix user packages api path (#2129)
  • Add runner info to workflow job object (#2131)
  • Support GitHub Advanced Security repository settings (#2133)
  • Fix API links in actions_artifacts.go (#2141)
  • Bump github.com/PuerkitoBio/goquery from 1.7.1 to 1.8.0 in /scrape (#2193)
  • Add new RemoveMilestone method on IssuesService (#2195)
  • Add RenameBranch support (#2119)
  • Add missing fields to Timeline (#2197)
  • Add method to upload Code Scanning Sarif Analysis results to GitHub (#2165)

plus several test- or documentation-only changes.

v39.2.0

13 Oct 12:42
d1858a3
Compare
Choose a tag to compare

This minor release contains the following changes:

  • Add support for workflow_job event's labels field (#2103)
  • Fix linters issues (#2104)
  • Add support for Packages API (#2076)
  • Fix new golangci-lint errors (#2105)
  • Bump CI version of Go to test versions 1.17.x and 1.16.x (#2108)
  • Add support for apps webhook config endpoints (#2096)
  • Add Organization to PushEvent and IssueCommentEvent (#2116)
  • Remove outdated comment for #540 (#2117)
  • Bump scrape apps to google/go-github v39 (#2121)
  • Support specifying repository names (#2123)
  • Add generate release notes support (#2114)

v39.1.0

23 Sep 16:43
55021d5
Compare
Choose a tag to compare

This minor release contains the following changes:

  • Add test cases to verify that error responses contain status code (#2093)
  • Bump codecov/codecov-action from 2.0.3 to 2.1.0 (#2094)
  • Add common Installation field to webhook events (#2101)
  • Add pagination fields to code scanning (#2100)
  • Add BranchProtectionRuleEvent (#2102)

v39.0.0

09 Sep 16:56
33ae6f3
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • Add List Options for ListRepositoryAccessRunnerGroup #2086

and the following additional changes:

  • Update Cursor comment to reference an existing method #2042
  • Add raw_key field to GPGKey struct #2043
  • Upgrade crypto and net dependencies #2045
  • Set up workflow for golangci #2020
  • chore(ci) : cache go-build folders #2054
  • Bump styfle/cancel-workflow-action from 0.9.0 to 0.9.1 #2049
  • Fix update-urls unit tests broken by #1875 #2058
  • Bump codecov/codecov-action from 2.0.2 to 2.0.3 #2065
  • Introduce the auto merge property #2074
  • Add support for autolinks #2046
  • Implement SCIM #2062
  • Add function for redelivering webhooks #2061
  • Add struct for workflow_job event #2038
  • Add created field to ListWorkflowRunsOptions #2083
  • Update repo community profile API #2084

plus several test- or documentation-only changes.

v38.1.0

12 Aug 00:40
fee04e8
Compare
Choose a tag to compare

This release contains the following non-breaking-API change:

  • Allow empty selected_repository_ids for SetSelectedReposForOrgSecret (#2036)

and the following documentation-only change:

  • Fix GitHub docs links (#2039)

v38.0.0

11 Aug 11:18
614ee3a
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • Add ListOptions to GetCommit and CompareCommits to support pagination (#1960)
  • Fix deprecated state/open field (#2017)

and the following additional changes:

  • Add RequiredConversationResolution ProtectionRequest field (#1959)
  • Add missing CreatedAt and UpdatedAt fields to CheckSuite. (#1983)
  • Add support for listing and getting repository/organization webhook deliveries (#1934)
  • Expose event message headers, introduce a new way to read the body from an io.Reader (#1955)
  • Add allows_public_repositories to actions_runner_group (#1998)
  • Add methods to add and remove repos for actions on org level (#1997)
  • Add new GitHub code scanning Alert fields (#2013)
  • Add Client method (#2016)
  • Add avatar_url field to RepoStatus (#2021)
  • Add Slug field to AppConfig (#2029)
  • Add TokenExpiration to Response (#2031)

plus the following test- or documentation-only changes:

  • Add test cases for JSON resource marshaling (#1961)
  • Add test cases for JSON resource marshaling (#1965)
  • Add test cases for JSON resource marshaling (#1966)
  • Add test cases for JSON resource marshaling (#1967)
  • Add test cases for JSON resource marshaling (#1968)
  • Add test cases for JSON resource marshaling (#1969)
  • Add test cases for JSON resource marshaling (#1970)
  • Add test cases for JSON resource marshaling (#1971)
  • Add test cases for JSON resource marshaling (#1972)
  • Add test cases for JSON resource marshaling (#1973)
  • Add test cases for JSON resource marshaling (#1974)
  • Add test cases for JSON resource marshaling (#1975)
  • Add test cases for JSON resource marshaling (#1976)
  • Add test cases for JSON resource marshaling (#1977)
  • Add test cases for JSON resource marshaling (#1978)
  • Add test cases for JSON resource marshaling (#1979)
  • Add test cases for JSON resource marshaling (#1981)
  • Add test cases for JSON resource marshaling (#1982)
  • Add test cases for JSON resource marshaling (#1984)
  • Add test cases for JSON resource marshaling (#1985)
  • Add test cases for JSON resource marshaling (#1986)
  • Add test cases for JSON resource marshaling (#1987)
  • Add test cases for JSON resource marshaling (#1988)
  • Add test cases for JSON resource marshaling (#1989)
  • Add test cases for JSON resource marshaling (#1990)
  • Add test cases for JSON resource marshaling (#1991)
  • Add test cases for JSON resource marshaling (#1992)
  • Add test cases for JSON resource marshaling (#1994)
  • Add test cases for JSON resource marshaling (#2000)
  • Add test cases for JSON resource marshaling (#2001)
  • Make test names consistent (#2002)
  • Add test cases for JSON resource marshaling (#2003)
  • Add test cases for JSON resource marshaling (#2004)
  • Make test names consistent (#2005)
  • Add test cases for JSON resource marshaling (#2006)
  • Add test cases for JSON resource marshaling (#2007)
  • Add test cases for JSON resource marshaling (#2009)
  • Add test cases for JSON resource marshaling (#2010)
  • Add test cases for JSON resource marshaling (#2011)
  • Update AUTHORS with recent contributors (#2012)
  • Add test cases for JSON resource marshaling (#2014)
  • Add mention to go-github-mock in README (#2025)
  • Use x crypto instead of sodium (#2034)

v37.0.0

09 Jul 01:13
b338ce6
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • define struct types instead of using anonymous structs #1900
  • Modify GetBranch to handle redirects #1901
  • Fix Code Scanning Alert tool field #1904

and the following additional changes:

  • Parse 'reviewed' event object 'state' property #1886
  • Add auto_merge field in PullRequest struct #1896
  • Repository Vulnerability Alert Add Missing Fields #1898
  • Enable Client.RateLimits to bypass the rate limit check #1907
  • Handle MIME parameters in Content-Type Header #1922
  • Add RequiredConversationResolution protection field #1946
  • Repository Object - Deprecated Fields #1952

plus the following test-only changes:

  • Add test cases for JSON resource marshaling #1902
  • Add test cases for JSON resource marshaling #1906
  • Add test cases for JSON resource marshaling #1908
  • Add test cases for JSON resource marshaling #1909
  • Add test cases for JSON resource marshaling #1912
  • Add test cases for JSON resource marshaling #1913
  • Add test cases for JSON resource marshaling #1914
  • Add test cases for JSON resource marshaling #1915
  • Add test cases for JSON resource marshaling #1917
  • Add test cases for JSON resource marshaling #1918
  • Add test cases for JSON resource marshaling #1919
  • Add test cases for JSON resource marshaling #1923
  • Add test cases for JSON resource marshaling #1924
  • Add test cases for JSON resource marshaling #1925
  • Add test cases for JSON resource marshaling #1926
  • Add test cases for JSON resource marshaling #1927
  • Add test cases for JSON resource marshaling #1928
  • Add test cases for JSON resource marshaling #1929
  • Add test cases for JSON resource marshaling #1930
  • Add test cases for JSON resource marshaling #1937
  • Add test cases for JSON resource marshaling #1938
  • Add test for JSON marshaling for Teams #1941
  • Add test cases for JSON resource marshaling #1951