Skip to content

Commit fe866a0

Browse files
Merge dev into master
2 parents 570427a + 68eb517 commit fe866a0

File tree

11 files changed

+277
-147
lines changed

11 files changed

+277
-147
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: 3 additions & 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
@@ -76,6 +76,8 @@ jobs:
7676
startsWith(github.event.pull_request.title, '[chore] Release ')
7777

7878
runs-on: ubuntu-latest
79+
permissions:
80+
contents: write
7981

8082
steps:
8183
- name: Checkout source for publish

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.2"
42+
const Version = "4.16.0"
4343

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

go.mod

Lines changed: 46 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +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 (
68
cloud.google.com/go/firestore v1.18.0
7-
cloud.google.com/go/storage v1.49.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.25.0
12-
google.golang.org/api v0.215.0
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
1315
google.golang.org/appengine/v2 v2.0.6
1416
)
1517

1618
require (
17-
cel.dev/expr v0.16.1 // indirect
18-
cloud.google.com/go v0.117.0 // indirect
19-
cloud.google.com/go/auth v0.13.0 // indirect
20-
cloud.google.com/go/auth/oauth2adapt v0.2.6 // 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
2123
cloud.google.com/go/compute/metadata v0.6.0 // indirect
22-
cloud.google.com/go/iam v1.2.2 // indirect
23-
cloud.google.com/go/longrunning v0.6.2 // indirect
24-
cloud.google.com/go/monitoring v1.21.2 // indirect
25-
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.25.0 // indirect
26-
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.48.1 // indirect
27-
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.1 // indirect
28-
github.com/census-instrumentation/opencensus-proto v0.4.1 // 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
2930
github.com/cespare/xxhash/v2 v2.3.0 // indirect
30-
github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78 // indirect
31-
github.com/envoyproxy/go-control-plane v0.13.1 // indirect
32-
github.com/envoyproxy/protoc-gen-validate v1.1.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
3334
github.com/felixge/httpsnoop v1.0.4 // indirect
35+
github.com/go-jose/go-jose/v4 v4.1.0 // indirect
3436
github.com/go-logr/logr v1.4.2 // indirect
3537
github.com/go-logr/stdr v1.2.2 // indirect
3638
github.com/golang/protobuf v1.5.4 // indirect
37-
github.com/google/s2a-go v0.1.8 // indirect
39+
github.com/google/s2a-go v0.1.9 // indirect
3840
github.com/google/uuid v1.6.0 // indirect
39-
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
41+
github.com/googleapis/enterprise-certificate-proxy v0.3.6 // indirect
4042
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
4143
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
42-
go.opentelemetry.io/contrib/detectors/gcp v1.29.0 // indirect
43-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0 // indirect
44-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 // indirect
45-
go.opentelemetry.io/otel v1.29.0 // indirect
46-
go.opentelemetry.io/otel/metric v1.29.0 // indirect
47-
go.opentelemetry.io/otel/sdk v1.29.0 // indirect
48-
go.opentelemetry.io/otel/sdk/metric v1.29.0 // indirect
49-
go.opentelemetry.io/otel/trace v1.29.0 // indirect
50-
golang.org/x/crypto v0.31.0 // indirect
51-
golang.org/x/net v0.33.0 // indirect
52-
golang.org/x/sync v0.10.0 // indirect
53-
golang.org/x/sys v0.28.0 // indirect
54-
golang.org/x/text v0.21.0 // indirect
55-
golang.org/x/time v0.8.0 // indirect
56-
google.golang.org/genproto v0.0.0-20241118233622-e639e219e697 // indirect
57-
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect
58-
google.golang.org/genproto/googleapis/rpc v0.0.0-20241223144023-3abc09e42ca8 // indirect
59-
google.golang.org/grpc v1.67.3 // indirect
60-
google.golang.org/protobuf v1.36.1 // 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
6166
)

0 commit comments

Comments
 (0)