Skip to content

Support last two major Go versions - #221

Merged
cmaglie merged 1 commit into
bugst:masterfrom
aler9:fix/go-mod
May 25, 2026
Merged

Support last two major Go versions#221
cmaglie merged 1 commit into
bugst:masterfrom
aler9:fix/go-mod

Conversation

@aler9

@aler9 aler9 commented May 25, 2026

Copy link
Copy Markdown
Contributor

The Go directive in go.mod specifies the minimum Golang version required to run the library. Update #216 bumped this version to 1.26, making impossible to run the library with an older one. I propose to mimic the behavior of official Golang libraries and support the last 2 major Go versions, which are the ones that are receiving security updates.

Reference: https://github.com/golang/go/wiki/Go-Release-Cycle/617e4e5747d4878147b89aef6d48479fffe48c3a#release-maintenance

The Go directive in go.mod specifies the minimum Golang version
required to run the library. Update bugst#216 bumped this version to 1.26,
making impossible to run the library with an older one. I propose to
mimic the behavior of official Golang libraries and support the last 2
major Go versions, which are the ones that are receiving security
updates.
@cmaglie
cmaglie merged commit 433f6be into bugst:master May 25, 2026
8 checks 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