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 version to 1.22 #11361

Merged
merged 4 commits into from
Jan 3, 2025
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
"commitMessageAction": "update",
"groupName": "deps",
"ignoreDeps": [
"golang.org/x/mod",
"golang.org/x/tools",
"google.golang.org/genproto",
"github.com/google/pprof"
"google.golang.org/genproto"
],
"ignorePaths": [
"**/snippets/**"
Expand All @@ -33,7 +30,7 @@
],
"force": {
"constraints": {
"go": "1.21"
"go": "1.22"
}
}
}
2 changes: 1 addition & 1 deletion .github/workflows/conformance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
matrix:
# Bigtable test proxy can be run on any of these Go versions
go: [ '1.21', '1.23']
go: [ '1.22', '1.23']
folders: ['bigtable']
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'
- name: Install tools
# go: golang.org/x/tools/cmd/goimports@latest: golang.org/x/[email protected] requires go >= 1.22.0
run: |
Expand Down
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,12 @@ For an updated list of all of our released APIs please see our

## [Go Versions Supported](#supported-versions)

**Note:** As of Jan 1, 2025 the Cloud Client Libraries for Go will support the
two most-recent major Go releases -- the same [policy](https://go.dev/doc/devel/release#policy)
the Go programming language follows.
Our libraries are compatible with the two most recent major Go
releases, the same [policy](https://go.dev/doc/devel/release#policy) the Go
programming language follows. This means the currently supported versions are:

Our libraries are compatible with at least the three most recent, major Go
releases. They are currently compatible with:

- Go 1.23
- Go 1.22
- Go 1.21
- Go 1.23

## Authorization

Expand Down
2 changes: 1 addition & 1 deletion accessapproval/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/accessapproval

go 1.21
go 1.22

require (
github.com/googleapis/gax-go/v2 v2.14.0
Expand Down
2 changes: 1 addition & 1 deletion accesscontextmanager/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/accesscontextmanager

go 1.21
go 1.22

require (
cloud.google.com/go/iam v1.2.2
Expand Down
2 changes: 1 addition & 1 deletion advisorynotifications/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/advisorynotifications

go 1.21
go 1.22

require (
github.com/googleapis/gax-go/v2 v2.14.0
Expand Down
2 changes: 1 addition & 1 deletion ai/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/ai

go 1.21
go 1.22

require (
cloud.google.com/go/longrunning v0.6.2
Expand Down
2 changes: 1 addition & 1 deletion aiplatform/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/aiplatform

go 1.21
go 1.22

require (
cloud.google.com/go/iam v1.2.2
Expand Down
2 changes: 1 addition & 1 deletion alloydb/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/alloydb

go 1.21
go 1.22

require (
cloud.google.com/go/longrunning v0.6.2
Expand Down
2 changes: 1 addition & 1 deletion analytics/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/analytics

go 1.21
go 1.22

require (
github.com/googleapis/gax-go/v2 v2.14.0
Expand Down
2 changes: 1 addition & 1 deletion apigateway/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/apigateway

go 1.21
go 1.22

require (
cloud.google.com/go/longrunning v0.6.2
Expand Down
2 changes: 1 addition & 1 deletion apigeeconnect/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/apigeeconnect

go 1.21
go 1.22

require (
github.com/googleapis/gax-go/v2 v2.14.0
Expand Down
2 changes: 1 addition & 1 deletion apigeeregistry/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/apigeeregistry

go 1.21
go 1.22

require (
cloud.google.com/go/iam v1.2.2
Expand Down
2 changes: 1 addition & 1 deletion apihub/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/apihub

go 1.21
go 1.22

require (
cloud.google.com/go/longrunning v0.6.2
Expand Down
2 changes: 1 addition & 1 deletion apikeys/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/apikeys

go 1.21
go 1.22

require (
cloud.google.com/go/longrunning v0.6.2
Expand Down
2 changes: 1 addition & 1 deletion appengine/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/appengine

go 1.21
go 1.22

require (
cloud.google.com/go/longrunning v0.6.2
Expand Down
2 changes: 1 addition & 1 deletion apphub/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/apphub

go 1.21
go 1.22

require (
cloud.google.com/go/iam v1.2.2
Expand Down
2 changes: 1 addition & 1 deletion apps/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/apps

go 1.21
go 1.22

require (
cloud.google.com/go/longrunning v0.6.2
Expand Down
2 changes: 1 addition & 1 deletion area120/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/area120

go 1.21
go 1.22

require (
github.com/googleapis/gax-go/v2 v2.14.0
Expand Down
2 changes: 1 addition & 1 deletion artifactregistry/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/artifactregistry

go 1.21
go 1.22

require (
cloud.google.com/go/iam v1.2.2
Expand Down
2 changes: 1 addition & 1 deletion asset/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/asset

go 1.21
go 1.22

require (
cloud.google.com/go/accesscontextmanager v1.9.2
Expand Down
2 changes: 1 addition & 1 deletion assuredworkloads/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/assuredworkloads

go 1.21
go 1.22

require (
cloud.google.com/go/longrunning v0.6.2
Expand Down
2 changes: 1 addition & 1 deletion auth/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/auth

go 1.21
go 1.22

require (
cloud.google.com/go/compute/metadata v0.6.0
Expand Down
2 changes: 1 addition & 1 deletion auth/oauth2adapt/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/auth/oauth2adapt

go 1.21
go 1.22

require (
cloud.google.com/go/auth v0.12.1
Expand Down
2 changes: 1 addition & 1 deletion automl/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/automl

go 1.21
go 1.22

require (
cloud.google.com/go/longrunning v0.6.2
Expand Down
2 changes: 1 addition & 1 deletion backupdr/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/backupdr

go 1.21
go 1.22

require (
cloud.google.com/go/iam v1.2.2
Expand Down
2 changes: 1 addition & 1 deletion baremetalsolution/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/baremetalsolution

go 1.21
go 1.22

require (
cloud.google.com/go/longrunning v0.6.2
Expand Down
2 changes: 1 addition & 1 deletion batch/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/batch

go 1.21
go 1.22

require (
cloud.google.com/go/iam v1.2.2
Expand Down
2 changes: 1 addition & 1 deletion beyondcorp/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/beyondcorp

go 1.21
go 1.22

require (
cloud.google.com/go/iam v1.2.2
Expand Down
2 changes: 1 addition & 1 deletion bigquery/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/bigquery

go 1.21
go 1.22

require (
cloud.google.com/go v0.116.0
Expand Down
2 changes: 1 addition & 1 deletion bigtable/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/bigtable

go 1.21
go 1.22

require (
cloud.google.com/go v0.117.0
Expand Down
2 changes: 1 addition & 1 deletion billing/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/billing

go 1.21
go 1.22

require (
cloud.google.com/go/iam v1.2.2
Expand Down
2 changes: 1 addition & 1 deletion binaryauthorization/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/binaryauthorization

go 1.21
go 1.22

require (
github.com/googleapis/gax-go/v2 v2.14.0
Expand Down
2 changes: 1 addition & 1 deletion certificatemanager/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/certificatemanager

go 1.21
go 1.22

require (
cloud.google.com/go/longrunning v0.6.2
Expand Down
2 changes: 1 addition & 1 deletion channel/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/channel

go 1.21
go 1.22

require (
cloud.google.com/go/longrunning v0.6.2
Expand Down
2 changes: 1 addition & 1 deletion chat/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/chat

go 1.21
go 1.22

require (
github.com/googleapis/gax-go/v2 v2.14.0
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/cloudbuild

go 1.21
go 1.22

require (
cloud.google.com/go/iam v1.2.2
Expand Down
2 changes: 1 addition & 1 deletion cloudcontrolspartner/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/cloudcontrolspartner

go 1.21
go 1.22

require (
github.com/googleapis/gax-go/v2 v2.14.0
Expand Down
2 changes: 1 addition & 1 deletion clouddms/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/clouddms

go 1.21
go 1.22

require (
cloud.google.com/go/iam v1.2.2
Expand Down
2 changes: 1 addition & 1 deletion cloudprofiler/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/cloudprofiler

go 1.21
go 1.22

require (
github.com/googleapis/gax-go/v2 v2.14.0
Expand Down
2 changes: 1 addition & 1 deletion cloudquotas/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/cloudquotas

go 1.21
go 1.22

require (
github.com/googleapis/gax-go/v2 v2.14.0
Expand Down
2 changes: 1 addition & 1 deletion cloudtasks/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/cloudtasks

go 1.21
go 1.22

require (
cloud.google.com/go/iam v1.2.2
Expand Down
2 changes: 1 addition & 1 deletion commerce/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/commerce

go 1.21
go 1.22

require (
cloud.google.com/go/longrunning v0.6.2
Expand Down
2 changes: 1 addition & 1 deletion compute/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/compute

go 1.21
go 1.22

require (
cloud.google.com/go v0.116.0
Expand Down
2 changes: 1 addition & 1 deletion compute/metadata/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module cloud.google.com/go/compute/metadata

go 1.21
go 1.22

require (
github.com/google/go-cmp v0.6.0
Expand Down
Loading
Loading