Skip to content

Releases: GoogleCloudPlatform/cloud-spanner-r2dbc

v1.3.0

30 Oct 16:19
145bd3f
Compare
Choose a tag to compare

1.3.0 (2023-10-30)

Features

v1.2.2

02 Jun 18:47
aa99ea6
Compare
Choose a tag to compare

1.2.2 (2023-06-02)

Bug Fixes

  • Context loss after applying com.google.cloud.spanner.r2dbc.v2.SpannerClientLibraryStatement (#690) (93a34e0)

v1.2.1

15 May 16:52
4eeea84
Compare
Choose a tag to compare

1.2.1 (2023-05-12)

Bug Fixes

  • row column indexing in SpannerClientLibraryRow (#615) (faca504), closes #609

v1.2.0

14 Dec 02:05
88e3dcc
Compare
Choose a tag to compare
  • Upgraded SPI to 0.9.0 and fixed blocking errors #489
  • Added support for binding arrays and lists to Spanner native arrays #495
  • Added Google Java types to the Spring Data's SimpleType collection in the SpannerR2dbcDialect #517
  • Upgraded to Spring Boot 2.7 and Spring Data R2DBC 1.5.6 #558 #600
  • Upgraded to Project Reactor 2020.0.26 #611
  • Upgraded to Google Cloud Java Client Libraries BOM 26.1.5 #602

v1.1.0

08 Dec 19:39
0db773c
Compare
Choose a tag to compare
  • Adding Spanner JSON Type support (#456)
  • Dependency upgrades.

v1.0.0

30 Sep 22:48
a71cc9e
Compare
Choose a tag to compare
  • Promoting v0.6.0 to a v1.0.0 release.
  • Dependency upgrades.

v0.6.0

22 Jul 15:33
d4450c4
Compare
Choose a tag to compare

The implementation based on the official Cloud Spanner client library is now primary. The experimental gRPC-based implementation was removed in this release.

Other changes in this release:

  • Added backpressure support on SELECT queries (#374).
  • Added support for setting autocommit and readonly properties in connection string (#378).
  • Updated driver identifier to cloudspanner. The old spanner identifier is still supported but deprecated.
  • Added batch support for DML queries (#414).
  • Implemented getJavaType() in the ColumnMetadata implementation (#416).

Dependency upgrades, notably:

  • com.google.cloud:libraries-bom to v20.8.0, bringing in com.google.cloud:google-cloud-spanner:6.9.1
  • Spring Data R2DBC 1.3.3
  • Reactor BOM 2020.0.9

v0.5.0

11 May 20:53
162f392
Compare
Choose a tag to compare
  • Spring Data dialect upgraded for compatibility with Spring Data R2DBC 1.3.0
  • Enhancements to driver V2:
    • Reduced memory usage
    • Avoiding disconnected publisher on DML when used from Spring Data (#351)
  • Dependency upgrades, notably:
    • R2DBC SPI to 0.8.5.RELEASE (Arabba-SR10)
    • com.google.cloud:libraries-bom to v20.3.0, bringing in com.google.cloud:google-cloud-spanner:6.3.3

This will be the last version, in which driver V1 (gRPC-based) is default. Client Library-based (V2) implementation will become primary shortly.

v0.4.0

18 Mar 23:06
403156d
Compare
Choose a tag to compare

Changes in this release

  • Fixed NPE when committing an empty transaction with no statements (#304)
  • SpannerClientLibraryConnectionFactory now implements io.r2dbc.spi.Closeable. The close() method needs to be called to avoid server-side session leaks (#315).
  • Style fixes.
  • Dependency upgrades, notably:
    • R2DBC SPI to 0.8.4.RELEASE (Arabba-SR9)
    • Project Reactor to Dysprosium-SR18
    • com.google.cloud:libraries-bom to v19.0.0, bringing in com.google.cloud:google-cloud-spanner:5.1.0

v0.3.0

30 Nov 18:43
19a1e37
Compare
Choose a tag to compare

This release contains a preview of the Cloud Spanner R2DBC driver based on the official client library, allowing for consistent behavior with the existing JDBC driver.

To activate the new version, provide an option named client-implementation with the value of client-library.

With URL connection string:

ConnectionFactory urlBasedConnectionFactory = ConnectionFactories.get(
    "r2dbc:spanner://spanner.googleapis.com:443/projects/<PROJECT>/instances/<INSTANCE/databases/<DATABASE>?client-implementation=client-library");

Or programmatically:

ConnectionFactories.get(
          ConnectionFactoryOptions.builder()
              ...
              .option(Option.valueOf("client-implementation"), "client-library")
              .build());

Other changes

  • Upgrade to R2DBC SPI v0.8.3
  • Upgrade to Reactor Dysprosium-SR12
  • Fix URL connection to correctly parse the database option containing fully-qualified project/instance/database identifier.