Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.10.0"
".": "0.11.0"
}
84 changes: 84 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,89 @@
# Changelog

## [0.11.0](https://github.com/compliance-framework/plugin-github-repositories/compare/v0.10.0...v0.11.0) (2026-10-28)


### ⚠ BREAKING CHANGES

* **deps:** `UsersService.Unsuspend` now takes an `UnsuspendUserRequest` body argument.
- refactor!: Pass repository creation by value
([#​4616](https://redirect.github.com/google/go-github/issues/4616))
`RepositoriesService.Create` now requires a
`CreateRepositoryRequest` value instead of a `*Repository`.
- refactor!: Rename `LockIssueOptions`,
`PullRequestBranchUpdateOptions`, and `UserSuspendOptions` to
`...Request` and pass them by value
([#​4612](https://redirect.github.com/google/go-github/issues/4612))
`LockIssueOptions`, `PullRequestBranchUpdateOptions`,
and `UserSuspendOptions` are renamed to `LockIssueRequest`,
`UpdatePullRequestBranchRequest`, and `SuspendUserRequest` and are
passed by value to `IssuesService.Lock`,
`PullRequestsService.UpdateBranch`, and `UsersService.Suspend`;
`LockIssueRequest.LockReason` is now `*string`.
- refactor!: Pass the Projects v2 item body types by value and rename
them to `...Request`
([#​4609](https://redirect.github.com/google/go-github/issues/4609))
`AddProjectItemOptions` and `UpdateProjectItemOptions`
are renamed to `AddProjectItemRequest` and `UpdateProjectItemRequest`
and passed by value; `AddProjectItemRequest.Type` is no longer a
pointer; `UpdateProjectItemOptions.Archived` is removed.
- refactor!: Rename `RepositoryCreateForkOptions` and
`RepositoryAddCollaboratorOptions` to `...Request` and pass them by
value
([#​4607](https://redirect.github.com/google/go-github/issues/4607))
`RepositoryCreateForkOptions` and
`RepositoryAddCollaboratorOptions` are renamed to `CreateForkRequest`
and `AddCollaboratorRequest`; `RepositoriesService.CreateFork` and
`RepositoriesService.AddCollaborator` now take them by value instead of
by pointer; `CreateForkRequest.Organization`, `CreateForkRequest.Name`,
`CreateForkRequest.DefaultBranchOnly` and
`AddCollaboratorRequest.Permission` are now pointers.
- refactor!: Pass the Teams body types by value and rename them to
`...Request`
([#​4606](https://redirect.github.com/google/go-github/issues/4606))
`TeamAddTeamMembershipOptions`,
`TeamAddTeamRepoOptions` and `TeamProjectOptions` are renamed to
`AddTeamMembershipRequest`, `AddTeamRepoRequest` and
`AddTeamProjectRequest`; `TeamsService.AddTeamMembershipByID`,
`AddTeamMembershipBySlug`, `AddTeamRepoByID`, `AddTeamRepoBySlug`,
`AddTeamProjectByID` and `AddTeamProjectBySlug` now take them by value
instead of by pointer; `AddTeamMembershipRequest.Role` and
`AddTeamRepoRequest.Permission` are now `*string`.
- refactor!: Pass the secret scanning body types by value and rename
them to `...Request`
([#​4548](https://redirect.github.com/google/go-github/issues/4548))
`SecretScanningAlertUpdateOptions` and
`SecretScanningPatternConfigsUpdateOptions` are renamed to
`UpdateSecretScanningAlertRequest` and
`UpdateSecretScanningPatternConfigsRequest`;
`SecretScanningService.UpdateAlert`, `UpdatePatternConfigsForEnterprise`
and `UpdatePatternConfigsForOrg` now take them by value;
`UpdateSecretScanningAlertRequest.State` is now `*string`.
- fix!: Match request body fields to the OpenAPI schemas
([#​4581](https://redirect.github.com/google/go-github/issues/4581))
Many required request body fields are now passed by
value.
- fix!: Send credentials only to configured origins
([#​4564](https://redirect.github.com/google/go-github/issues/4564))
Credentials are sent only to a client's configured API
and upload origins β€” every other destination, including a redirect hop,
goes out unauthenticated. A request body aimed outside those origins is
refused. `BasicAuthTransport` and `UnauthenticatedRateLimitedTransport`
gained `AllowedOrigins`, which GitHub Enterprise users must set.
- refactor!: Pass org invitation requests by value
([#​4551](https://redirect.github.com/google/go-github/issues/4551))
`OrganizationsService.CreateOrgInvitation` now takes
`CreateOrgInvitationRequest` (by value);
`CreateOrgInvitationRequest.TeamID` is now `TeamIDs`.

### Bug Fixes

* **deps:** bump agent to v0.9.3, workflows to v1.7.0 ([#39](https://github.com/compliance-framework/plugin-github-repositories/issues/39)) ([b53f42f](https://github.com/compliance-framework/plugin-github-repositories/commit/b53f42f55711862be4a336eb0f32a432e338c0ea))
* **deps:** bump agent to v0.9.4 ([#42](https://github.com/compliance-framework/plugin-github-repositories/issues/42)) ([d3030e0](https://github.com/compliance-framework/plugin-github-repositories/commit/d3030e0031a6f4eeb8bacfff94acecebfa203b10))
* **deps:** update all non-major dependencies ([#37](https://github.com/compliance-framework/plugin-github-repositories/issues/37)) ([b3768fa](https://github.com/compliance-framework/plugin-github-repositories/commit/b3768fa81c4dacbb49e2c91c3a9a7a261fcf2e00))
* **deps:** update module github.com/google/go-github/v71 to v93 ([#40](https://github.com/compliance-framework/plugin-github-repositories/issues/40)) ([f471139](https://github.com/compliance-framework/plugin-github-repositories/commit/f471139b91601a0691dbaf44a64e5532c62ca1de))
* **deps:** update module golang.org/x/net to v0.62.0 [security] ([#41](https://github.com/compliance-framework/plugin-github-repositories/issues/41)) ([abf3b5a](https://github.com/compliance-framework/plugin-github-repositories/commit/abf3b5a8d784123cbd63a51f87e7802a3dcd31ae))

## [0.10.0](https://github.com/compliance-framework/plugin-github-repositories/compare/v0.9.0...v0.10.0) (2026-10-14)


Expand Down
Loading