diff --git a/.changes/unreleased/NOTES-20260305-101716.yaml b/.changes/unreleased/NOTES-20260305-101716.yaml new file mode 100644 index 00000000000..7290092ad05 --- /dev/null +++ b/.changes/unreleased/NOTES-20260305-101716.yaml @@ -0,0 +1,5 @@ +kind: NOTES +body: This Go module has been updated to Go 1.25 per the [Go support policy](https://golang.org/doc/devel/release.html#policy). Any consumers building on earlier Go versions may experience errors. +time: 2026-03-05T10:17:16.161235-05:00 +custom: + Issue: "1564" diff --git a/.github/workflows/ci-go.yml b/.github/workflows/ci-go.yml index 681d421d9e2..0a1e0c3f4e7 100644 --- a/.github/workflows/ci-go.yml +++ b/.github/workflows/ci-go.yml @@ -57,7 +57,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: [ '1.25', '1.24' ] + go-version: [ '1.25', '1.26' ] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 diff --git a/README.md b/README.md index 9b8b729ff6b..3598f0642c1 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ When running provider tests, Terraform 0.12.26 or later is needed for version 2. This project follows the [support policy](https://golang.org/doc/devel/release.html#policy) of Go as its support policy. The two latest major releases of Go are supported by the project. -Currently, that means Go **1.24** or later must be used when including this project as a dependency. +Currently, that means Go **1.25** or later must be used when including this project as a dependency. ## Getting Started diff --git a/go.mod b/go.mod index e704b35fe30..19fe9339abf 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/hashicorp/terraform-plugin-sdk/v2 -go 1.24.0 - -toolchain go1.24.4 +go 1.25.0 require ( github.com/google/go-cmp v0.7.0 diff --git a/tools/go.mod b/tools/go.mod index 441380ad07a..c3b3ffa6c46 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,8 +1,6 @@ module tools -go 1.24.0 - -toolchain go1.24.4 +go 1.25.0 require github.com/hashicorp/copywrite v0.25.1