Skip to content

Commit 92fb8e4

Browse files
authored
Merge branch 'dev' into dev
2 parents 548a22d + 8775cc8 commit 92fb8e4

File tree

11 files changed

+280
-207
lines changed

11 files changed

+280
-207
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
go: ['1.21', '1.22', '1.23']
11+
go: ['1.23', '1.24']
1212

1313
steps:
1414
- name: Check out code

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Set up Go
3737
uses: actions/setup-go@v5
3838
with:
39-
go-version: '1.21'
39+
go-version: '1.23'
4040

4141
- name: Install golint
4242
run: go install golang.org/x/lint/golint@latest

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Set up Go
4848
uses: actions/setup-go@v5
4949
with:
50-
go-version: '1.21'
50+
go-version: '1.23'
5151

5252
- name: Install golint
5353
run: go install golang.org/x/lint/golint@latest

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ requests, code review feedback, and also pull requests.
4444

4545
## Supported Go Versions
4646

47-
The Admin Go SDK is compatible with at least the three most recent, major Go releases.
48-
We currently support Go v1.21 and higher.
47+
The Admin Go SDK is compatible with the two most-recent major Go releases.
48+
We currently support Go v1.23 and 1.24.
4949
[Continuous integration](https://github.com/firebase/firebase-admin-go/actions) system
50-
tests the code on Go v1.21 through v1.23.
50+
tests the code on Go v1.23 and v1.24.
5151

5252
## Documentation
5353

db/db_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func TestNewClient(t *testing.T) {
108108
t.Run(tc.Name, func(t *testing.T) {
109109
t.Setenv(emulatorDatabaseEnvVar, tc.EnvURL)
110110
fromEnv := os.Getenv(emulatorDatabaseEnvVar)
111-
fmt.Printf(fromEnv)
111+
fmt.Printf("%s", fromEnv)
112112
c, err := NewClient(context.Background(), &internal.DatabaseConfig{
113113
Opts: testOpts,
114114
URL: tc.URL,

db/ref_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ func TestTransactionError(t *testing.T) {
711711
mock.Header = map[string]string{"ETag": "mock-etag2"}
712712
mock.Resp = &person{"Peter Parker", 19}
713713
} else if cnt == 1 {
714-
return nil, fmt.Errorf(want)
714+
return nil, fmt.Errorf("%s", want)
715715
}
716716
cnt++
717717
var p person

firebase.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import (
3939
var defaultAuthOverrides = make(map[string]interface{})
4040

4141
// Version of the Firebase Go Admin SDK.
42-
const Version = "4.15.1"
42+
const Version = "4.15.2"
4343

4444
// firebaseEnvName is the name of the environment variable with the Config.
4545
const firebaseEnvName = "FIREBASE_CONFIG"

go.mod

Lines changed: 53 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,66 @@
11
module firebase.google.com/go/v4
22

3-
go 1.21
3+
go 1.24
4+
5+
toolchain go1.24.1
46

57
require (
6-
cloud.google.com/go/firestore v1.15.0
7-
cloud.google.com/go/storage v1.40.0
8+
cloud.google.com/go/firestore v1.18.0
9+
cloud.google.com/go/storage v1.53.0
810
github.com/MicahParks/keyfunc v1.9.0
9-
github.com/golang-jwt/jwt/v4 v4.5.1
10-
github.com/google/go-cmp v0.6.0
11-
golang.org/x/oauth2 v0.18.0
12-
google.golang.org/api v0.170.0
13-
google.golang.org/appengine/v2 v2.0.2
11+
github.com/golang-jwt/jwt/v4 v4.5.2
12+
github.com/google/go-cmp v0.7.0
13+
golang.org/x/oauth2 v0.30.0
14+
google.golang.org/api v0.231.0
15+
google.golang.org/appengine/v2 v2.0.6
1416
)
1517

1618
require (
17-
cloud.google.com/go v0.112.1 // indirect
18-
cloud.google.com/go/compute v1.24.0 // indirect
19-
cloud.google.com/go/compute/metadata v0.2.3 // indirect
20-
cloud.google.com/go/iam v1.1.7 // indirect
21-
cloud.google.com/go/longrunning v0.5.5 // indirect
19+
cel.dev/expr v0.23.1 // indirect
20+
cloud.google.com/go v0.121.0 // indirect
21+
cloud.google.com/go/auth v0.16.1 // indirect
22+
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
23+
cloud.google.com/go/compute/metadata v0.6.0 // indirect
24+
cloud.google.com/go/iam v1.5.2 // indirect
25+
cloud.google.com/go/longrunning v0.6.7 // indirect
26+
cloud.google.com/go/monitoring v1.24.2 // indirect
27+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.27.0 // indirect
28+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.51.0 // indirect
29+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.51.0 // indirect
30+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
31+
github.com/cncf/xds/go v0.0.0-20250501225837-2ac532fd4443 // indirect
32+
github.com/envoyproxy/go-control-plane/envoy v1.32.4 // indirect
33+
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
2234
github.com/felixge/httpsnoop v1.0.4 // indirect
23-
github.com/go-logr/logr v1.4.1 // indirect
35+
github.com/go-jose/go-jose/v4 v4.1.0 // indirect
36+
github.com/go-logr/logr v1.4.2 // indirect
2437
github.com/go-logr/stdr v1.2.2 // indirect
25-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
2638
github.com/golang/protobuf v1.5.4 // indirect
27-
github.com/google/s2a-go v0.1.7 // indirect
39+
github.com/google/s2a-go v0.1.9 // indirect
2840
github.com/google/uuid v1.6.0 // indirect
29-
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
30-
github.com/googleapis/gax-go/v2 v2.12.3 // indirect
31-
go.opencensus.io v0.24.0 // indirect
32-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
33-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
34-
go.opentelemetry.io/otel v1.24.0 // indirect
35-
go.opentelemetry.io/otel/metric v1.24.0 // indirect
36-
go.opentelemetry.io/otel/trace v1.24.0 // indirect
37-
golang.org/x/crypto v0.21.0 // indirect
38-
golang.org/x/net v0.23.0 // indirect
39-
golang.org/x/sync v0.6.0 // indirect
40-
golang.org/x/sys v0.18.0 // indirect
41-
golang.org/x/text v0.14.0 // indirect
42-
golang.org/x/time v0.5.0 // indirect
43-
google.golang.org/appengine v1.6.8 // indirect
44-
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
45-
google.golang.org/genproto/googleapis/api v0.0.0-20240314234333-6e1732d8331c // indirect
46-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240311132316-a219d84964c2 // indirect
47-
google.golang.org/grpc v1.62.1 // indirect
48-
google.golang.org/protobuf v1.33.0 // indirect
41+
github.com/googleapis/enterprise-certificate-proxy v0.3.6 // indirect
42+
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
43+
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
44+
github.com/spiffe/go-spiffe/v2 v2.5.0 // indirect
45+
github.com/zeebo/errs v1.4.0 // indirect
46+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
47+
go.opentelemetry.io/contrib/detectors/gcp v1.35.0 // indirect
48+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.60.0 // indirect
49+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect
50+
go.opentelemetry.io/otel v1.35.0 // indirect
51+
go.opentelemetry.io/otel/metric v1.35.0 // indirect
52+
go.opentelemetry.io/otel/sdk v1.35.0 // indirect
53+
go.opentelemetry.io/otel/sdk/metric v1.35.0 // indirect
54+
go.opentelemetry.io/otel/trace v1.35.0 // indirect
55+
golang.org/x/crypto v0.38.0 // indirect
56+
golang.org/x/net v0.40.0 // indirect
57+
golang.org/x/sync v0.14.0 // indirect
58+
golang.org/x/sys v0.33.0 // indirect
59+
golang.org/x/text v0.25.0 // indirect
60+
golang.org/x/time v0.11.0 // indirect
61+
google.golang.org/genproto v0.0.0-20250505200425-f936aa4a68b2 // indirect
62+
google.golang.org/genproto/googleapis/api v0.0.0-20250505200425-f936aa4a68b2 // indirect
63+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250505200425-f936aa4a68b2 // indirect
64+
google.golang.org/grpc v1.72.0 // indirect
65+
google.golang.org/protobuf v1.36.6 // indirect
4966
)

0 commit comments

Comments
 (0)