Releases: google/go-github
v50.2.0
This minor release contains the following interesting changes:
- Add ListExternalGroupsForTeamBySlug to Teams API (#2674)
- Add DicussionCommentEvent Webhook (#2678)
- Add head_sha for ListWorkflowRunsOptions (#2703)
- Support HTTP Proxy from environment (#2686)
- Update custom repo roles URL (#2702)
- Move to Protonmail PGP (#2666)
- Fix SCIM query params (#2680)
- Add fields to update repository API and create branch protection API to match GitHub APIs (#2709)
in addition to these more maintenance-type changes:
- Bump golang.org/x/sys from 0.0.0-20210615035016-665e8c7367d1 to 0.1.0 in /example (#2676)
- Bump github.com/xlzd/gotp from 0.0.0-20181030022105-c8557ba2c119 to 0.1.0 in /scrape (#2684)
- Update golangci-lint-action (#2694)
- Bump github.com/google/go-github/v50 from 50.0.0 to 50.1.0 in /scrape (#2683)
- Bump golang.org/x/crypto from 0.0.0-20210817164053-32db794688a5 to 0.1.0 in /example (#2689)
- Bump golang.org/x/net from 0.0.0-20210226172049-e18ecbb05110 to 0.7.0 in /example (#2691)
- Bump golang.org/x/net from 0.0.0-20210226172049-e18ecbb05110 to 0.7.0 (#2692)
- Run go mod tidy -compat=1.17 (#2696)
- Fix golangci-lint (#2697)
- Bump golang.org/x/crypto from 0.0.0-20210817164053-32db794688a5 to 0.7.0 (#2693)
- Bump golang.org/x/oauth2 from 0.0.0-20180821212333-d2e6202438be to 0.6.0 (#2695)
- Remove example subdirs in GitHub Actions linter workflow (#2701)
- Bump golang.org/x/net from 0.7.0 to 0.8.0 in /scrape (#2698)
- Bump version of go-github to v50.2.0 (#2710)
v50.1.0
This minor release contains the following changes:
- Update scrape dependency to v50 (#2648)
- Add secondary rate limit handling (prevent remote requests) and fix primary rate limit categories (#2635)
- Fix parse token expiration (#2650)
- Add support for actions variables (#2652)
- Remove failing unit tests for Go 1.20 (#2656)
- Add permission filter for list collaborators (#2653)
- Update workflow to use Go 1.20 and 1.19 (#2657)
- Add Account field to MarketplacePurchase struct (#2659)
- Add URL, UpdateAt, and WorkflowRun fields to Artifacts (#2660)
- Add milestone field to IssuesEvent (#2663)
- Add go generate mention to CONTRIBUTING.md (#2587)
- Add RequestedTeam to issues Timeline type (#2665)
- Bump github.com/PuerkitoBio/goquery from 1.8.0 to 1.8.1 in /scrape (#2667)
- Add Permission, OldPermission to AuditEntry type (#2670)
- Add created_at to WorkflowJob struct (#2671)
- Bump version of go-github to v50.1.0 (#2673)
v50.0.0
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
This minor release contains the following changes:
v49.0.0
This release contains the following breaking API changes:
and the following additional changes:
v48.2.0
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
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
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
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
This release contains the following breaking API changes:
- Add ListOptions for listing user migrations #2417
and the following additional changes: