Skip to content

Commit 9d8f573

Browse files
committed
Merge branch 'main' into spanner-lib-grpc-server
2 parents ff10e22 + 49e945e commit 9d8f573

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2365
-336
lines changed

.github/workflows/integration-tests-on-emulator.yml

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@ on:
22
push:
33
branches: [ main ]
44
pull_request:
5+
56
name: Integration tests on emulator
7+
68
jobs:
7-
test:
9+
# This is the original job, renamed for clarity
10+
test-go:
11+
name: Go Integration Tests
812
runs-on: ubuntu-latest
913
services:
1014
emulator:
@@ -18,11 +22,37 @@ jobs:
1822
with:
1923
go-version: 1.25.x
2024
- name: Checkout code
21-
uses: actions/checkout@v5
22-
- name: Run integration tests on emulator
25+
uses: actions/checkout@v4
26+
- name: Run Go integration tests on emulator
2327
run: go test -race
2428
env:
2529
JOB_TYPE: test
2630
SPANNER_EMULATOR_HOST: localhost:9010
2731
SPANNER_TEST_PROJECT: emulator-test-project
2832
SPANNER_TEST_INSTANCE: test-instance
33+
34+
test-ruby:
35+
name: Ruby Integration Tests
36+
runs-on: ubuntu-latest
37+
services:
38+
emulator:
39+
image: gcr.io/cloud-spanner-emulator/emulator:latest
40+
ports:
41+
- 9010:9010
42+
- 9020:9020
43+
steps:
44+
- name: Checkout code
45+
uses: actions/checkout@v5
46+
- name: Set up Ruby
47+
uses: ruby/setup-ruby@v1
48+
with:
49+
ruby-version: '3.3.1'
50+
working-directory: spannerlib/wrappers/spannerlib-ruby
51+
bundler-cache: true
52+
- name: Compile and Run Ruby Integration Tests
53+
working-directory: spannerlib/wrappers/spannerlib-ruby
54+
env:
55+
SPANNER_EMULATOR_HOST: localhost:9010
56+
run: |
57+
bundle exec rake compile
58+
bundle exec rspec spec/integration/

.github/workflows/spanner-lib-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
runs-on: ${{ matrix.os }}
1616
steps:
1717
- name: Install Go
18-
uses: actions/setup-go@v5
18+
uses: actions/setup-go@v6
1919
with:
2020
go-version: ${{ matrix.go-version }}
2121
- name: Checkout code
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323
- name: Run unit tests
2424
working-directory: spannerlib
2525
run: go test ./... -race -short
@@ -32,17 +32,17 @@ jobs:
3232
runs-on: ${{ matrix.os }}
3333
steps:
3434
- name: Install Java
35-
uses: actions/setup-java@v4
35+
uses: actions/setup-java@v5
3636
with:
3737
distribution: temurin
3838
java-version: 21
3939
- name: Checkout code
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v5
4141
- name: Check Java formatting
4242
run: mvn com.spotify.fmt:fmt-maven-plugin:check
4343
working-directory: spannerlib/wrappers/spannerlib-java
4444
- name: Install Go
45-
uses: actions/setup-go@v5
45+
uses: actions/setup-go@v6
4646
with:
4747
go-version: ${{ matrix.go-version }}
4848
- name: Build shared library

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.18.0"
2+
".": "1.19.0"
33
}

CHANGES.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# Changelog
22

3+
## [1.19.0](https://github.com/googleapis/go-sql-spanner/compare/v1.18.1...v1.19.0) (2025-10-07)
4+
5+
6+
### Features
7+
8+
* Add authority param support to DSN ([#546](https://github.com/googleapis/go-sql-spanner/issues/546)) ([002d386](https://github.com/googleapis/go-sql-spanner/commit/002d386b88d031ad4c8e8cb98153678ad5a74cba))
9+
* **ruby:** Add Ruby FFI wrapper for spannerlib ([#545](https://github.com/googleapis/go-sql-spanner/issues/545)) ([bb87d96](https://github.com/googleapis/go-sql-spanner/commit/bb87d9605f38cb875ec83a61a216d8697e60f490))
10+
11+
12+
### Bug Fixes
13+
14+
* Update all dependencies ([#542](https://github.com/googleapis/go-sql-spanner/issues/542)) ([fba2986](https://github.com/googleapis/go-sql-spanner/commit/fba2986be9416ba761285645644d9a5a8eb7180b))
15+
* Update dependency net.java.dev.jna:jna to v5.18.1 ([#544](https://github.com/googleapis/go-sql-spanner/issues/544)) ([98f2429](https://github.com/googleapis/go-sql-spanner/commit/98f24298fe58ef31ddf8a35923912e998e4d133b))
16+
* Update module github.com/googleapis/go-sql-spanner to v1.18.1 ([#540](https://github.com/googleapis/go-sql-spanner/issues/540)) ([1eca441](https://github.com/googleapis/go-sql-spanner/commit/1eca4414dfddef2c5e9e3642712317c3929738be))
17+
18+
## [1.18.1](https://github.com/googleapis/go-sql-spanner/compare/v1.18.0...v1.18.1) (2025-09-23)
19+
20+
21+
### Bug Fixes
22+
23+
* Do not return update count for queries ([#524](https://github.com/googleapis/go-sql-spanner/issues/524)) ([4403e52](https://github.com/googleapis/go-sql-spanner/commit/4403e5287515c83fb889f9e7f8a107f9cfdb1ea8))
24+
* Update all dependencies ([#536](https://github.com/googleapis/go-sql-spanner/issues/536)) ([13bda8d](https://github.com/googleapis/go-sql-spanner/commit/13bda8dae03e8af663450e21a888808521857c81))
25+
* Update dependency net.java.dev.jna:jna to v5.18.0 ([#538](https://github.com/googleapis/go-sql-spanner/issues/538)) ([61cc7e8](https://github.com/googleapis/go-sql-spanner/commit/61cc7e81908e9b5eef42ce2d1e6dec2ec7c044e9))
26+
* Update module github.com/googleapis/go-sql-spanner to v1.18.0 ([#528](https://github.com/googleapis/go-sql-spanner/issues/528)) ([f5100ce](https://github.com/googleapis/go-sql-spanner/commit/f5100cec9d99099b3a538e45688f27f0c3dd0376))
27+
* Update module github.com/testcontainers/testcontainers-go to v0.39.0 ([#535](https://github.com/googleapis/go-sql-spanner/issues/535)) ([c3a8109](https://github.com/googleapis/go-sql-spanner/commit/c3a8109084ee4a876ae5a57aec015d330e25b381))
28+
329
## [1.18.0](https://github.com/googleapis/go-sql-spanner/compare/v1.17.0...v1.18.0) (2025-09-12)
430

531

benchmarks/go.mod

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ toolchain go1.25.1
77
replace github.com/googleapis/go-sql-spanner => ../
88

99
require (
10-
cloud.google.com/go v0.122.0
11-
cloud.google.com/go/spanner v1.85.1
10+
cloud.google.com/go v0.123.0
11+
cloud.google.com/go/spanner v1.86.0
1212
github.com/google/uuid v1.6.0
13-
github.com/googleapis/go-sql-spanner v1.18.0
14-
google.golang.org/api v0.249.0
13+
github.com/googleapis/go-sql-spanner v1.18.1
14+
google.golang.org/api v0.251.0
1515
google.golang.org/grpc v1.75.1
16-
google.golang.org/protobuf v1.36.9
16+
google.golang.org/protobuf v1.36.10
1717
)
1818

1919
require (
2020
cel.dev/expr v0.24.0 // indirect
2121
cloud.google.com/go/auth v0.16.5 // indirect
2222
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
23-
cloud.google.com/go/compute/metadata v0.8.0 // indirect
23+
cloud.google.com/go/compute/metadata v0.9.0 // indirect
2424
cloud.google.com/go/iam v1.5.2 // indirect
2525
cloud.google.com/go/longrunning v0.6.7 // indirect
2626
cloud.google.com/go/monitoring v1.24.2 // indirect
@@ -52,14 +52,14 @@ require (
5252
go.opentelemetry.io/otel/sdk v1.37.0 // indirect
5353
go.opentelemetry.io/otel/sdk/metric v1.37.0 // indirect
5454
go.opentelemetry.io/otel/trace v1.37.0 // indirect
55-
golang.org/x/crypto v0.41.0 // indirect
56-
golang.org/x/net v0.43.0 // indirect
57-
golang.org/x/oauth2 v0.30.0 // indirect
58-
golang.org/x/sync v0.16.0 // indirect
59-
golang.org/x/sys v0.35.0 // indirect
60-
golang.org/x/text v0.28.0 // indirect
61-
golang.org/x/time v0.12.0 // indirect
55+
golang.org/x/crypto v0.42.0 // indirect
56+
golang.org/x/net v0.44.0 // indirect
57+
golang.org/x/oauth2 v0.31.0 // indirect
58+
golang.org/x/sync v0.17.0 // indirect
59+
golang.org/x/sys v0.36.0 // indirect
60+
golang.org/x/text v0.29.0 // indirect
61+
golang.org/x/time v0.13.0 // indirect
6262
google.golang.org/genproto v0.0.0-20250804133106-a7a43d27e69b // indirect
6363
google.golang.org/genproto/googleapis/api v0.0.0-20250818200422-3122310a409c // indirect
64-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250908214217-97024824d090 // indirect
64+
google.golang.org/genproto/googleapis/rpc v0.0.0-20251002232023-7c0ddcbb5797 // indirect
6565
)

0 commit comments

Comments
 (0)