Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/google/go-github from v52 to v64 #286

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

andygrunwald
Copy link
Contributor

Context

This Pull Request updates github.com/google/go-github from v52 to v64.

This change requires an upgrade of the Go version:

go: upgraded go 1.19 => 1.21
go: added toolchain go1.23.0

This change has been introduced in go-github in v60:

go mod tidy

A go mod tidy has been executed to remove unrequited dependencies. This has been committed in 7372cac in case this is not accepted.

Why is this change helpful for library users?

The function UserFromContext returns a *github.User object:

func UserFromContext(ctx context.Context) (*github.User, error) {

Library users are bound to github.com/google/go-github/v56 and require manual transforming the v56 user object into a v64 object, in case the caller is using a higher / different version.

This change requires an upgrade of the Go version:

go: upgraded go 1.19 => 1.21
go: added toolchain go1.23.0

This change has been introduced in go-github in v60:
- google/go-github@a516e21
@dghubble dghubble merged commit a942f52 into dghubble:main Sep 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants