Skip to content

Commit

Permalink
Bump go version to 1.22 (#3010)
Browse files Browse the repository at this point in the history
  • Loading branch information
Madrigal authored Feb 18, 2025
1 parent 8b7c7bf commit c8a8ccb
Show file tree
Hide file tree
Showing 861 changed files with 1,314 additions and 860 deletions.
454 changes: 454 additions & 0 deletions .changelog/904047c5a5374b79a68f729414660481.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
go-version: ["1.21"]
go-version: ["1.22"]
env:
JAVA_TOOL_OPTIONS: "-Xmx2g"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .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.21", "1.22", "1.23"]
go-version: ["1.22", "1.23", "1.24"]
steps:
- uses: actions/checkout@v2

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SNAPSHOT_TAGS=-tags "snapshot"

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

SDK_MIN_GO_VERSION ?= 1.21
SDK_MIN_GO_VERSION ?= 1.22

EACHMODULE_FAILFAST ?= true
EACHMODULE_FAILFAST_FLAG=-fail-fast=${EACHMODULE_FAILFAST}
Expand Down
2 changes: 1 addition & 1 deletion SMITHY_GO_CODEGEN_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0681fa98ae3a2bd90161042c2c229a6cd4e9a80b
b5c304bb2a4b0306cb8de41bf2d842fe4e76eaf6
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.21
go 1.22

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

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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2/config v1.29.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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

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

Expand Down
2 changes: 1 addition & 1 deletion feature/dsql/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/dsql/auth

go 1.21
go 1.22

require github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2/config v1.29.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.21
go 1.22

require github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.1
Expand Down
2 changes: 1 addition & 1 deletion feature/s3/transfermanager/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/transfermanager

go 1.21
go 1.22

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

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

go 1.21
go 1.22
2 changes: 1 addition & 1 deletion internal/codegen/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/codegen/defaults

go 1.21
go 1.22

replace github.com/aws/aws-sdk-go-v2 => ../../
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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2/config v1.29.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.21
go 1.22

require github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

replace github.com/aws/aws-sdk-go-v2 => ../../
2 changes: 1 addition & 1 deletion internal/protocoltest/awsrestjson/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
"types/types_exported_test.go",
"validators.go"
],
"go": "1.15",
"go": "1.22",
"module": "github.com/aws/aws-sdk-go-v2/internal/protocoltest/awsrestjson",
"unstable": false
}
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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.1
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/ec2query/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"types/types.go",
"validators.go"
],
"go": "1.15",
"go": "1.22",
"module": "github.com/aws/aws-sdk-go-v2/internal/protocoltest/ec2query",
"unstable": false
}
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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.1
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/jsonrpc/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"types/types_exported_test.go",
"validators.go"
],
"go": "1.15",
"go": "1.22",
"module": "github.com/aws/aws-sdk-go-v2/internal/protocoltest/jsonrpc",
"unstable": false
}
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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.1
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/jsonrpc10/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"types/types_exported_test.go",
"validators.go"
],
"go": "1.15",
"go": "1.22",
"module": "github.com/aws/aws-sdk-go-v2/internal/protocoltest/jsonrpc10",
"unstable": false
}
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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.1
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/query/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"types/types.go",
"validators.go"
],
"go": "1.15",
"go": "1.22",
"module": "github.com/aws/aws-sdk-go-v2/internal/protocoltest/query",
"unstable": false
}
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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.1
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/restxml/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
"types/types_exported_test.go",
"validators.go"
],
"go": "1.15",
"go": "1.22",
"module": "github.com/aws/aws-sdk-go-v2/internal/protocoltest/restxml",
"unstable": false
}
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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.1
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/restxmlwithnamespace/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"types/types.go",
"validators.go"
],
"go": "1.15",
"go": "1.22",
"module": "github.com/aws/aws-sdk-go-v2/internal/protocoltest/restxmlwithnamespace",
"unstable": false
}
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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.1
Expand Down
2 changes: 1 addition & 1 deletion internal/protocoltest/smithyrpcv2cbor/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"types/types.go",
"validators.go"
],
"go": "1.15",
"go": "1.22",
"module": "github.com/aws/aws-sdk-go-v2/internal/protocoltest/smithyrpcv2cbor",
"unstable": false
}
2 changes: 1 addition & 1 deletion internal/protocoltest/smithyrpcv2cbor/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/smithyrpcv2cbor

go 1.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.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.21
go 1.22

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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.1
Expand Down
2 changes: 1 addition & 1 deletion service/accessanalyzer/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"types/types_exported_test.go",
"validators.go"
],
"go": "1.15",
"go": "1.22",
"module": "github.com/aws/aws-sdk-go-v2/service/accessanalyzer",
"unstable": false
}
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.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.36.1
Expand Down
2 changes: 1 addition & 1 deletion service/account/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"types/types.go",
"validators.go"
],
"go": "1.15",
"go": "1.22",
"module": "github.com/aws/aws-sdk-go-v2/service/account",
"unstable": false
}
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.21
go 1.22

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

0 comments on commit c8a8ccb

Please sign in to comment.