From 346e3d9a479c225ee746d3e6ed65ddff23b59f55 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Fri, 6 Sep 2024 17:48:35 -0400 Subject: [PATCH 1/2] all: Bump minimum Go module version to 1.22 --- .golangci.yml | 4 ++-- DESIGN.md | 2 +- README.md | 2 +- go.mod | 4 +--- tools/go.mod | 2 +- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index e7976ebd..55a1a623 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,6 +12,7 @@ linters: - godot - gofmt - gosimple + - govet - ineffassign - makezero - misspell @@ -21,5 +22,4 @@ linters: - tenv - unconvert - unparam - - unused - - vet \ No newline at end of file + - unused \ No newline at end of file diff --git a/DESIGN.md b/DESIGN.md index c814d542..ea035c19 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -17,7 +17,7 @@ HTTP URLs and either [HTTP/1.1](https://datatracker.ietf.org/doc/html/rfc2616) o [SPDY](https://tools.ietf.org/id/draft-ietf-httpbis-http2-00.html), [QUIC](https://datatracker.ietf.org/doc/html/draft-ietf-quic-transport-34)) are not supported. * Support usage of either `http` (plaintext) or `https` (secure) requests. The current version of this provider is -built with [Go 1.21](https://go.dev/doc/go1.21) which [supports](https://go.dev/doc/go1.18#tls10) +built with [Go 1.22](https://go.dev/doc/go1.22) which [supports](https://go.dev/doc/go1.18#tls10) [TLS/1.0](https://www.ietf.org/rfc/rfc2246.txt) ([deprecated](https://datatracker.ietf.org/doc/rfc8996/)), [TLS/1.1](https://datatracker.ietf.org/doc/html/rfc4346) ([deprecated](https://datatracker.ietf.org/doc/rfc8996/)), [TLS/1.2](https://datatracker.ietf.org/doc/html/rfc5246) and diff --git a/README.md b/README.md index c0480aae..536844ed 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ version it implements, and Terraform: ## Requirements * [Terraform](https://www.terraform.io/downloads) -* [Go](https://go.dev/doc/install) (1.21) +* [Go](https://go.dev/doc/install) (1.22) * [GNU Make](https://www.gnu.org/software/make/) * [golangci-lint](https://golangci-lint.run/usage/install/#local-installation) (optional) diff --git a/go.mod b/go.mod index 2b23c960..8e0fee46 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/terraform-providers/terraform-provider-http -go 1.21 - -toolchain go1.21.6 +go 1.22.7 require ( github.com/google/uuid v1.6.0 diff --git a/tools/go.mod b/tools/go.mod index 9d6645cc..42ba5616 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 From eb6c9ba0af6c7431cf4813817c02dab64d563b20 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Tue, 10 Sep 2024 07:33:13 -0400 Subject: [PATCH 2/2] add changelog --- .changes/unreleased/NOTES-20240910-073305.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changes/unreleased/NOTES-20240910-073305.yaml diff --git a/.changes/unreleased/NOTES-20240910-073305.yaml b/.changes/unreleased/NOTES-20240910-073305.yaml new file mode 100644 index 00000000..eeae54ab --- /dev/null +++ b/.changes/unreleased/NOTES-20240910-073305.yaml @@ -0,0 +1,6 @@ +kind: NOTES +body: 'all: This release introduces no functional changes. It does however include + dependency updates which address upstream CVEs.' +time: 2024-09-10T07:33:05.510635-04:00 +custom: + Issue: "452"