fix(deps): update module github.com/jferrl/go-githubauth to v1.5.0 - autoclosed #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.1.1→v1.5.0Release Notes
jferrl/go-githubauth (github.com/jferrl/go-githubauth)
v1.5.0Compare Source
🚨 Breaking Changes
This release removes the
github.com/google/go-github/v74dependency and implements a lightweight internal GitHub API client. While most users will experience no breaking changes, some API adjustments have been made:API Changes
Enterprise Configuration Simplified
WithEnterpriseURLs(baseURL, uploadURL string)- required both base and upload URLsWithEnterpriseURL(baseURL string)- single base URL parameterType Changes (if you were using these types directly)
github.InstallationTokenOptions→githubauth.InstallationTokenOptionsgithub.InstallationPermissions→githubauth.InstallationPermissionsgithub.InstallationToken→githubauth.InstallationTokengithub.Repository→githubauth.RepositoryAdded
github.gofile with minimal GitHub API implementationInstallationTokenOptionstype for configuring installation token requestsInstallationPermissionstype with comprehensive permission structureInstallationTokenresponse type from GitHub APIRepositorytype for minimal repository representationPtr[T]()generic helper for creating pointers to any type (useful for InstallationTokenOptions)Changed
github.com/google/go-github/v74dependencygithub.com/google/go-querystringindirect dependencyWithEnterpriseURLs()toWithEnterpriseURL()golang.org/x/oauth2Fixed
Migration Guide
For Most Users
No action required - if you only use the public
TokenSourcefunctions, your code will continue to work without changes.For Enterprise GitHub Users
For Direct Type Users
Benefits
Full Changelog: jferrl/go-githubauth@v1.4.2...v1.5.0
v1.4.2Compare Source
🚨 Breaking Changes
This release removes the
github.com/google/go-github/v74dependency and implements a lightweight internal GitHub API client. While most users will experience no breaking changes, some API adjustments have been made:API Changes
Enterprise Configuration Simplified
WithEnterpriseURLs(baseURL, uploadURL string)- required both base and upload URLsWithEnterpriseURL(baseURL string)- single base URL parameterType Changes (if you were using these types directly)
github.InstallationTokenOptions→githubauth.InstallationTokenOptionsgithub.InstallationPermissions→githubauth.InstallationPermissionsgithub.InstallationToken→githubauth.InstallationTokengithub.Repository→githubauth.RepositoryAdded
github.gofile with minimal GitHub API implementationInstallationTokenOptionstype for configuring installation token requestsInstallationPermissionstype with comprehensive permission structureInstallationTokenresponse type from GitHub APIRepositorytype for minimal repository representationPtr[T]()generic helper for creating pointers to any type (useful for InstallationTokenOptions)Changed
github.com/google/go-github/v74dependencygithub.com/google/go-querystringindirect dependencyWithEnterpriseURLs()toWithEnterpriseURL()golang.org/x/oauth2Fixed
Migration Guide
For Most Users
No action required - if you only use the public
TokenSourcefunctions, your code will continue to work without changes.For Enterprise GitHub Users
For Direct Type Users
Benefits
Full Changelog: jferrl/go-githubauth@v1.4.2...v1.5.0
v1.4.1Compare Source
Changed
ReuseTokenSourceinNewApplicationTokenSourcefor improved token caching efficiencygolang.org/x/oauth2from 0.30.0 to 0.31.0actions/setup-gofrom 5 to 6actions/checkoutfrom 4 to 5github.com/google/go-githubto v74Fixed
Dependencies
golang.org/x/oauth2from 0.30.0 to 0.31.0 (#25)actions/setup-gofrom 5 to 6 (#26)actions/checkoutfrom 4 to 5 (#28)github.com/google/go-githubto v74 (#29)Contributors: @jferrl, @krancour (first contribution)
Full Changelog: jferrl/go-githubauth@v1.4.0...v1.4.1
v1.4.0Compare Source
Changed
ReuseTokenSourceinNewApplicationTokenSourcefor improved token caching efficiencygolang.org/x/oauth2from 0.30.0 to 0.31.0actions/setup-gofrom 5 to 6actions/checkoutfrom 4 to 5github.com/google/go-githubto v74Fixed
Dependencies
golang.org/x/oauth2from 0.30.0 to 0.31.0 (#25)actions/setup-gofrom 5 to 6 (#26)actions/checkoutfrom 4 to 5 (#28)github.com/google/go-githubto v74 (#29)Contributors: @jferrl, @krancour (first contribution)
Full Changelog: jferrl/go-githubauth@v1.4.0...v1.4.1
v1.3.0Compare Source
Added
NewPersonalAccessTokenSourcefunction for classic and fine-grained personal access tokensoauth2.ReuseTokenSourcecleanHTTPClientimplementation with connection poolingChanged
Performance
Full Changelog: jferrl/go-githubauth@v1.3.0...v1.4.0
v1.2.1Compare Source
Added
Identifierinterface supporting bothint64App IDs andstringClient IDs in a singleNewApplicationTokenSourcefunctionChanged
NewApplicationTokenSourcefunction now uses Go generics to support both int64 App IDs and string Client IDsFixed
Dependencies
styfle/cancel-workflow-actionfrom 0.10.0 to 0.12.1 (#15)actions/checkoutfrom 4 to 5 (#18)codecov/codecov-actionfrom 4 to 5 (#19)Contributors: @jferrl, @grinish21
Full Changelog: jferrl/go-githubauth@v1.2.1...v1.3.0
v1.2.0Compare Source
Fixed
Contributors: @grinish21
Full Changelog: jferrl/go-githubauth@v1.2.0...v1.2.1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.