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

chore: bump min go to 1.20 #2494

Merged
merged 2 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
425 changes: 425 additions & 0 deletions .changelog/03d541a5b6a64660b2c6d5f54d4dcf3f.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go-version: ["1.19", "1.20", "1.21"]
go-version: ["1.20", "1.21", "1.22"]
steps:
- uses: actions/checkout@v2

Expand All @@ -47,7 +47,7 @@ jobs:
strategy:
matrix:
os: [windows-latest]
go-version: ["1.19", "1.20", "1.21"]
go-version: ["1.20", "1.21", "1.22"]
env:
EACHMODULE_SKIP: "internal\\repotools\\changes"
steps:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ BUILD_TAGS=-tags "example,codegen,integration,ec2env,perftest"

SMITHY_GO_SRC ?= $(shell pwd)/../smithy-go

SDK_MIN_GO_VERSION ?= 1.19
SDK_MIN_GO_VERSION ?= 1.20

EACHMODULE_FAILFAST ?= true
EACHMODULE_FAILFAST_FLAG=-fail-fast=${EACHMODULE_FAILFAST}
Expand Down
2 changes: 1 addition & 1 deletion aws/protocol/eventstream/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream

go 1.19
go 1.20

require github.com/aws/smithy-go v1.19.0

Expand Down
2 changes: 1 addition & 1 deletion config/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/config

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion credentials/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/credentials

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion example/service/dynamodb/createTable/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/example/service/dynamodb/createTable

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion example/service/dynamodb/scanItems/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/example/service/dynamodb/listItems

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion example/service/s3/listObjects/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/example/service/s3/listObjects

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2/config v1.26.6
Expand Down
2 changes: 1 addition & 1 deletion example/service/s3/usingPrivateLink/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/example/service/s3/usingPrivateLink

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion feature/cloudfront/sign/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/feature/cloudfront/sign

go 1.19
go 1.20

require github.com/aws/aws-sdk-go-v2 v1.24.1

Expand Down
2 changes: 1 addition & 1 deletion feature/dynamodb/attributevalue/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion feature/dynamodb/expression/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/feature/dynamodb/expression

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion feature/dynamodbstreams/attributevalue/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/feature/dynamodbstreams/attributevalue

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion feature/ec2/imds/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/feature/ec2/imds

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion feature/ec2/imds/internal/configtesting/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/feature/ec2/imds/internal/configtesting

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2/config v1.26.6
Expand Down
2 changes: 1 addition & 1 deletion feature/rds/auth/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/feature/rds/auth

go 1.19
go 1.20

require github.com/aws/aws-sdk-go-v2 v1.24.1

Expand Down
2 changes: 1 addition & 1 deletion feature/s3/manager/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/feature/s3/manager

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ require (
github.com/jmespath/go-jmespath v0.4.0
)

go 1.19
go 1.20
2 changes: 1 addition & 1 deletion internal/codegen/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/internal/codegen/defaults

go 1.19
go 1.20

replace github.com/aws/aws-sdk-go-v2 => ../../

Expand Down
2 changes: 1 addition & 1 deletion internal/configsources/configtesting/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/internal/configsources/configtesting

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2/config v1.26.6
Expand Down
2 changes: 1 addition & 1 deletion internal/configsources/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/internal/configsources

go 1.19
go 1.20

require github.com/aws/aws-sdk-go-v2 v1.24.1

Expand Down
2 changes: 1 addition & 1 deletion internal/endpoints/v2/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/internal/endpoints/v2

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion internal/ini/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/aws/aws-sdk-go-v2/internal/ini

go 1.19
go 1.20

replace github.com/aws/aws-sdk-go-v2 => ../../
2 changes: 1 addition & 1 deletion internal/protocoltest/awsrestjson/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/internal/protocoltest/awsrestjson

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/ec2query/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/internal/protocoltest/ec2query

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/jsonrpc/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/internal/protocoltest/jsonrpc

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/jsonrpc10/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/internal/protocoltest/jsonrpc10

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/query/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/internal/protocoltest/query

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/restxml/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/internal/protocoltest/restxml

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/restxmlwithnamespace/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/internal/protocoltest/restxmlwithnamespace

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion internal/repotools/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/internal/repotools

go 1.19
go 1.20

require github.com/awslabs/aws-go-multi-module-repository-tools v0.0.0-20210920212330-85c4889f37d1

Expand Down
2 changes: 1 addition & 1 deletion internal/v4a/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/internal/v4a

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/accessanalyzer/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/accessanalyzer

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/account/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/account

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/acm/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/acm

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/acmpca/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/acmpca

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/alexaforbusiness/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/alexaforbusiness

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/amp/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/amp

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/amplify/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/amplify

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/amplifybackend/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/amplifybackend

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/amplifyuibuilder/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/amplifyuibuilder

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/apigateway/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/apigateway

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/apigatewaymanagementapi/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/apigatewaymanagementapi

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/apigatewayv2/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/apigatewayv2

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/appconfig/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/appconfig

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/appconfigdata/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/appconfigdata

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/appfabric/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/appfabric

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/appflow/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/appflow

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion service/appintegrations/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/aws-sdk-go-v2/service/appintegrations

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
Loading
Loading