From bb757d2a3d3b06b6e1147eb9735623d287ae26b2 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Mon, 9 Sep 2024 10:46:58 -0400 Subject: [PATCH] all: Bump minimum Go module version to 1.22 (#400) * all: Bump minimum Go module version to 1.22 * add changelog --- .changes/unreleased/NOTES-20240909-102809.yaml | 7 +++++++ go.mod | 2 +- tools/go.mod | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .changes/unreleased/NOTES-20240909-102809.yaml diff --git a/.changes/unreleased/NOTES-20240909-102809.yaml b/.changes/unreleased/NOTES-20240909-102809.yaml new file mode 100644 index 00000000..df9a5848 --- /dev/null +++ b/.changes/unreleased/NOTES-20240909-102809.yaml @@ -0,0 +1,7 @@ +kind: NOTES +body: 'all: This Go module has been updated to Go 1.22 per the [Go support policy](https://go.dev/doc/devel/release#policy). + It is recommended to review the [Go 1.22 release notes](https://go.dev/doc/go1.22) + before upgrading. Any consumers building on earlier Go versions may experience errors.' +time: 2024-09-09T10:28:09.020608-04:00 +custom: + Issue: "400" diff --git a/go.mod b/go.mod index 37e6f30d..22be4332 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hashicorp/terraform-plugin-docs -go 1.21 +go 1.22.7 require ( github.com/Kunde21/markdownfmt/v3 v3.1.0 diff --git a/tools/go.mod b/tools/go.mod index 4a4affd2..9938d4ca 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module tools -go 1.21 +go 1.22.7 require github.com/hashicorp/copywrite v0.19.0