Skip to content

Releases: google/go-github

v45.0.0

25 May 14:51
090264e
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • Support query parameter visible_to_repository in ListOrganizationRunnerGroups (#2329)

and the following additional changes:

  • Add missing Sender field in RepositoryVulnerabilityAlertEvent (#2365)
  • Add support to sync a fork branch with the upstream repository. (#2337)
  • Add fields to RateLimits struct (#2340)
  • Add ReRequestCheckRun (#2358)
  • Add 'repository_import' event (#2364)
  • Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#2366)
  • Bump github.com/google/go-github/v44 from 44.0.0 to 44.1.0 in /scrape (#2367)
  • update-urls: update sidebar child articles links (#2369)
  • fix: correct endpoints for custom roles (#2370)
  • Update URLs (#2373)

v44.1.0

13 May 17:10
8947206
Compare
Choose a tag to compare

This minor release contains the following changes:

  • Update scrape dependency to v44 (#2352)
  • Add a "Webhooks" section to the README.md (#2353)
  • Add support for list Code Scan Alerts by Org (#2346)
  • Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 in /update-urls (#2354)
  • Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 (#2355)
  • Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 in /scrape (#2356)
  • Add RerunFailedJobsByID and RerunJobByID (#2345)

v44.0.0

30 Apr 00:37
03b5525
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • Deprecate WebHookPayload #2032

and the following additional changes:

  • Update scrape dependency to v43 #2308
  • Add repo webhook redelivery method #2305
  • Add security-advisory and code-scanning-alert event types #2311
  • Bump actions/checkout from 2 to 3 #2314
  • Move examples dir into its own Go module #2310
  • Add AllowUpdateBranch to the Repository struct #2313
  • Bump actions/cache from 2 to 3 #2316
  • Add support for setting actions permissions on a repository #2315
  • Remove code duplication #2321
  • Improve stringify test coverage #2320
  • Clean up method return consistency #2318
  • Make auto-generated files read-only #2323
  • Update workflow to use Go 1.18 and Go 1.17 #2322
  • Add support for the pull request review thread event #2326
  • Bump actions/setup-go from 2 to 3 #2332
  • Bump codecov/codecov-action from 2.1.0 to 3 #2331
  • Add create repository with an initial commit with empty README #2333
  • Restrict permissions for GitHub actions #2334
  • Add support to list custom roles for organizations #2336
  • Bump codecov/codecov-action from 3.0.0 to 3.1.0 #2343
  • example: update go modules for some examples bbfb105
  • fix gofmt issue in newreposecretwithxcrypto 97b5d95
  • run golangci-lint on all modules c071ded

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.