Skip to content

Releases: google/go-github

v50.0.0

26 Jan 22:03
b811c42
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • Change total_minutes_used and included_minutes from int to float64 (#2643)
  • Change all fields from time.Time to github.Timestamp (#2646)

and the following additional changes:

  • Add new DeploymentBranchPolicies endpoints (#2621)
  • Bump github.com/google/go-github/v49 from 49.0.0 to 49.1.0 in /scrape (#2627)
  • Add RequireLastPushApproval field to UpdateBranchProtection (#2629)
  • Add workflow_name to WorkflowJob struct (#2630)
  • Support users and teams in branch protection access restrictions (#2561)
  • Add httpcache code example to README.md (#2632)
  • Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#2638)
  • Add NewTokenClient (#2637)
  • Add method to update codescanning alert (#2639)
  • Add JSON tag for ErrorResponse (#2641)
  • Use NewTokenClient in tests and examples (#2644)

v49.1.0

11 Jan 00:58
838d223
Compare
Choose a tag to compare

This minor release contains the following changes:

  • Update scrape dependency to v49 (#2617)
  • Add support for GitHub Actions cache API (#2604)
  • Support OIDC subject claim customization templates for actions (#2615)
  • Omit OpenID Connect customization template claims when none are set (#2620)
  • Update minor version to v49.1.0 (#2623)

v49.0.0

04 Jan 04:44
3f0f371
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • Fix JSON protection unmarshal error (#2606)
  • Change actions billing structs to maps (#2597)

and the following additional changes:

  • Bump scrape and examples to use v48.2.0 (#2596)
  • Fix GitHub docs URL for get repository API (#2600)
  • Enable secret scanning with the enterprise-level REST API (#2607)
  • Add installation to CodeScanningAlertEvent type (#2609)
  • Add support for GitHub Environments for Pro/Teams pricing plans (#2611)

v48.2.0

09 Dec 16:30
Compare
Choose a tag to compare

This minor release includes the following changes:

  • Add parents field to timeline events (#2566)
  • Update doc URL for PackageGetAllVersions (#2568)
  • Add the 'require_last_push_approval' field (#2567)
  • Bump github.com/google/go-github/v48 from 48.0.0 to 48.1.0 in /scrape (#2573)
  • Bump golangci-lint version to 1.50.1 (#2576)
  • Add RunAttempt field for WorkflowJob (#2562)
  • Add LockBranch and AllowForkSyncing to repos.go (#2577)
  • Add new field for issue state reason (#2583)
  • Add support for repository actions access level / permission (#2578)
  • Add has_discussions field to repository (#2589)
  • Use 'concurrency' instead of 'styfle/cancel-workflow-action' in GitHub Actions (#2591)
  • Add MakeLatest parameter to support explicitly setting latest release (#2594)
  • Change create fork options from url param to body param (#2490)
  • Support new GitHub v3 API calendar-based versioning (#2581)
  • Update AUTHORS for v48.2.0

v48.1.0

15 Nov 02:38
ddfa307
Compare
Choose a tag to compare

This minor release includes the following interesting changes:

  • Add apps to restriction rules in branch protection (#2509)
  • Add support for security manager endpoints (#2530)
  • Add support for cursor pagination in AlertListOptions (#2512)
  • Add merge_group webhook event via MergeGroupEvent and MergeGroup structs (#2556)
  • Code Scanning: add new field for dismissed comment (#2557)
  • Remove references to io/ioutil package (#2547)
  • Add support for Dependabot alert endpoints (#2554)
  • Support workflow restrictions in actions_runner_groups (#2559)

along with the following tests, docs, and/or maintenance updates:

  • Update scrape dependency to v48 (#2502)
  • Update AUTHORS for v48 (#2503)
  • Bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 (#2515)
  • Add test case for JSON resource marshaling (#2517)
  • Add test case for JSON resource marshaling (#2526)
  • Fix typo in README URL (#2514)
  • Update workflow to use Go 1.19 and Go 1.18 (#2525)
  • Add test cases for JSON resource marshaling (#2524)
  • Add test cases for JSON resource marshaling (#2527)
  • Add test case for JSON resource marshaling (#2521)
  • Add test case for JSON resource marshaling (#2528)
  • Add test cases for JSON resource marshaling (#2520)
  • Add test cases for JSON resource marshaling (#2531)
  • Add test cases for JSON resource marshaling (#2532)
  • Add test for resource JSON marshaling (#2533)
  • Add tests for resource JSON marshaling (#2536)
  • Add test case for JSON resource marshaling (#2537)
  • Add test for resource JSON marshaling (#2538)
  • Add test case for JSON resource marshaling (#2539)
  • Add test case for JSON resource marshaling (#2542)
  • Add test case for JSON resource marshaling (#2541)
  • Add test case for JSON resource marshaling (#2544)
  • Add test case for JSON resource marshaling (#2543)
  • Add test case for JSON resource marshaling (#2545)
  • Add test case for JSON resource marshaling (#2546)
  • Add test case for JSON resource marshaling (#2548)
  • Add test case for JSON resource marshaling (#2549)
  • Add test cases for JSON resource marshaling (#2550)
  • Add test case for JSON resource marshaling (#2551)
  • Add test case for JSON resource marshaling (#2552)
  • Bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (#2564)

v48.0.0

18 Oct 00:31
6fe3a66
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • Return proper responses for SCIM provisioned identities #2474

and the following additional changes:

  • Bump github.com/google/go-github/v47 from 47.0.0 to 47.1.0 in /scrape #2473
  • Bump codecov/codecov-action from 3.1.0 to 3.1.1 #2472
  • Add SecretScanningPushProtection field to SecurityAndAnalysis struct #2476
  • Bump styfle/cancel-workflow-action from 0.10.0 to 0.10.1 #2484
  • Update ProtectionChanges to contain the remaining possible return values #2486
  • Rename 'whitelist' to 'allowlist' in oauth class selectors #2488
  • Add support for User SSH signing keys #2482
  • Fix use GITHUB_OUTPUT from deprecated set-output #2492
  • Add enterprise list runner applications download #2496
  • Create custom role APIs #2494
  • Bump styfle/cancel-workflow-action from 0.10.1 to 0.11.0 #2498

v47.1.0

19 Sep 11:49
23a2636
Compare
Choose a tag to compare

This minor release includes these changes:

  • Update scrape dependency to v47 (#2442)
  • Additional options name, default_branch_only for create a fork (#2448)
  • List Secret Scan Alerts with index-based pagination (#2446)
  • Add alphanumeric param to AutolinkOptions (#2450)
  • Remove GenerateReleaseNotes from RepositoriesService.EditRelease (#2445)
  • Add org permissions to InstallationPermissions (#2452)
  • Escape special characters in ref name for update ref (#2454)
  • Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#2457)
  • Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 in /scrape (#2458)
  • Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 in /update-urls (#2459)
  • Fix unhandled error in actions_artifacts.go (#2460)
  • Add explicit error return (#2469)
  • Add org struct fields (#2471)
  • Always send 'checks' field when creating branch protection (#2468)

v47.0.0

22 Aug 22:49
a6fe974
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • Add ListOptions for listing user migrations #2417

and the following additional changes:

  • Update scrape dependency to v46 #2438
  • Fix go.mod for example #2439
  • Add hooks support for WebSub (formerly PubSubHubbub) protocol #2397
  • Add parameters to configure merge commit messages to repo #2440

v46.0.0

19 Aug 14:23
f6bffcf
Compare
Choose a tag to compare

This release contains the following breaking API changes:

  • Support PagesSource as struct for update pages API #2407
  • Change DependabotSecretsSelectedRepoIDs to []string #2401

and the following additional changes:

  • Add state_reason to IssuesService.Edit #2395
  • Bump github.com/google/go-github/v45 from 45.1.0 to 45.2.0 in /scrape #2399
  • Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 #2398
  • Add RunAttempt field to AuditEntry #2411
  • feat: add GetCodeownersErrors to RepositoriesService (#2405) #2408
  • Remove omitempty from Content field of RepositoryContentFileOptions #2430
  • Unable to create empty file #2427
  • Add BypassPullRequestAllowances field #2432
  • Add 'pending_deployments' endpoint support (#2421) #2422
  • Add LFS control #2429
  • Add tag protection #2424
  • Add TextMatch custom header to other search type custom headers #2388
  • Add support for parsing code_scanning_alerts in webhooks #2392
  • Include the version of go-github in User-Agent headers sent to the GitHub API #2403
  • chore: Update README with additional auth use case #2434
  • feature: adding api and web to meta api endpoint. #2435

v45.2.0

21 Jun 12:56
8309da1
Compare
Choose a tag to compare

This minor release includes these changes:

  • Add Actor field to WorkflowRun (#2381)
  • Bump github.com/google/go-github/v45 from 45.0.0 to 45.1.0 in /scrape (#2382)
  • docs fix: correct a comment (#2383)
  • Add missing common event fields (#2384)
  • Add RoleName field to User struct (#2386)
  • Add support for repo setting use_squash_pr_title_as_default (#2390)
  • Add MembersCanForkPrivateRepositories field to Organization struct (#2389)