chore: lower go.mod directive from 1.26 to 1.25 (closes #70)#71
Merged
Conversation
Preserves drop-in compatibility for downstream users still on Go 1.25, addressing the migration friction reported in #70 (forced toolchain bump when moving from vmihailenco/msgpack/v5 to this fork). The original bump to 1.26 was a modernization decision, not a code requirement. The codebase only depends on 1.21+ builtins (min, max, clear); no 1.22+ language features or 1.26-only stdlib APIs are in use. CI matrix already covers 1.25.x and 1.26.x, so no workflow changes are needed and 1.25 support is exercised on every PR. Verified locally: go vet, go build, go test, and go test -race all pass under the new directive. Closes #70
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.
Summary
go.moddirective from1.26to1.25to restore drop-in compatibility for downstream consumers still on Go 1.25 (reported in is it possible to use Go 1.25? #70).min,max,clear); no 1.22+ language features (range-over-int, iterators) or 1.26-only stdlib APIs are in use..github/workflows/build.ymlalready covers1.25.xand1.26.x, so 1.25 support is continuously exercised — no workflow change needed.v6.1 (unreleased) > Chores. The historical v6.0.0 note about the original 1.26 bump is intentionally preserved as accurate history.Closes #70.
Test plan
go vet ./...— cleango build ./...— cleango test ./...— passgo test -race ./...— pass🤖 Generated with Claude Code