Lowered go.mod to 1.25.0#242
Merged
Merged
Conversation
This restores support for consumers still using Go 1.25. The previous bump to `go 1.26.4` forced all consumers of this library to use Go 1.26 or newer. The codebase does not use any Go 1.26-specific features, making the `1.26` language requirement unnecessary. `go1.25.11` contains the same critical security patches as `go1.26.4` (fixing vulnerabilities in `crypto/x509`, `net/textproto`, and `mime`). Go's toolchain auto-switching (introduced in Go 1.21) will automatically download and use `go1.25.11` for developers working on this module if their local toolchain is older, ensuring they build with the secure version without forcing a major Go upgrade.
This makes govulncheck work even for users with go1.26.{0-3}
Contributor
Author
|
I also ran go mod tidy, which explains the cleanup in |
Owner
|
Nice one @mhutchinson, thanks! I'll use |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 restores support for consumers still using Go 1.25. The previous bump to
go 1.26.4forced all consumers of this library to use Go 1.26 or newer.The codebase does not use any Go 1.26-specific features, making the
1.26language requirement unnecessary.go1.25.11contains the same critical security patches asgo1.26.4(fixing vulnerabilities incrypto/x509,net/textproto, andmime).Go's toolchain auto-switching (introduced in Go 1.21) will automatically download and use
go1.25.11for developers working on this module if their local toolchain is older, ensuring they build with the secure version without forcing a major Go upgrade.