Releases: google/go-github
v42.0.0
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
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
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
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
This minor release contains the following changes:
v39.0.0
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
v38.0.0
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
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