Skip to content

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

Merged
atc0005 merged 1 commit intodevelopmentfrom
update-project-gomod-to-go-1.23-series-dev-branch
Apr 14, 2025
Merged

go.mod: update minimum Go version to 1.23.0#686
atc0005 merged 1 commit intodevelopmentfrom
update-project-gomod-to-go-1.23-series-dev-branch

Conversation

@atc0005
Copy link
Copy Markdown
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 [email protected]
  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:

@atc0005 atc0005 added this to the Next Dev Release milestone Mar 8, 2025
@atc0005 atc0005 self-assigned this 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 [email protected]
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 force-pushed the update-project-gomod-to-go-1.23-series-dev-branch branch from d2b53ec to 6a5867c Compare April 14, 2025 10:50
@atc0005 atc0005 merged commit c760bd7 into development Apr 14, 2025
28 of 30 checks passed
@atc0005 atc0005 deleted the update-project-gomod-to-go-1.23-series-dev-branch branch April 14, 2025 10:52
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