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

go.mod: update minimum Go version to 1.23.0 #232

Merged

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Mar 8, 2025

Overview

The Go project now unconditionally updates the minimum Go version for
golang.org/x/ dependencies to be at least 1.(N-1).0, where Go 1.N is
the most recent major Go release, and Go 1.(N-1) is the previous major
Go release.

Since this project uses dependencies associated with golang.org/x
repositories this project's go.mod file is also updated to reflect
the new minimum Go version.

Changes

  1. go get go@1.23.0
  2. go mod tidy
  3. go mod vendor
  4. go fix ./...
  5. go mod edit -toolchain=none

References

all: upgrade go directive to at least 1.23.0 [generated]

By now Go 1.24.0 has been released, and Go 1.22 is no longer supported
per the Go Release Policy (https://go.dev/doc/devel/release#policy).

For golang/go#69095.

See also:

OVERVIEW

The Go project now unconditionally updates the minimum Go version for
golang.org/x/ dependencies to be at least 1.(N-1).0, where Go 1.N is
the most recent major Go release, and Go 1.(N-1) is the previous major
Go release.

Since this project uses dependencies associated with golang.org/x
repositories this project's go.mod file is also updated to reflect
the new minimum Go version.

CHANGES

1. go get go@1.23.0
2. go mod tidy
3. go mod vendor
4. go fix ./...
5. go mod edit -toolchain=none

REFERENCES

> all: upgrade go directive to at least 1.23.0 [generated]
>
> By now Go 1.24.0 has been released, and Go 1.22 is no longer supported
> per the Go Release Policy (https://go.dev/doc/devel/release#policy).
>
> For golang/go#69095.

See also:

- golang/crypto@89ff08d
- golang/sys@74cfc93
@atc0005 atc0005 added this to the Next Release milestone Mar 8, 2025
@atc0005 atc0005 self-assigned this Mar 8, 2025
@atc0005 atc0005 merged commit 29e76c9 into master Mar 8, 2025
27 of 31 checks passed
@atc0005 atc0005 deleted the update-project-gomod-to-go-1.23-series-stable-branch branch March 8, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant