Releases: GoogleCloudPlatform/cloud-spanner-r2dbc
Releases · GoogleCloudPlatform/cloud-spanner-r2dbc
v1.3.0
v1.2.2
v1.2.1
v1.2.0
- 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
v1.0.0
v0.6.0
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
andreadonly
properties in connection string (#378). - Updated driver identifier to
cloudspanner
. The oldspanner
identifier is still supported but deprecated. - Added batch support for DML queries (#414).
- Implemented
getJavaType()
in theColumnMetadata
implementation (#416).
Dependency upgrades, notably:
com.google.cloud:libraries-bom
tov20.8.0
, bringing incom.google.cloud:google-cloud-spanner:6.9.1
- Spring Data R2DBC 1.3.3
- Reactor BOM 2020.0.9
v0.5.0
- 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
tov20.3.0
, bringing incom.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
Changes in this release
- Fixed NPE when committing an empty transaction with no statements (#304)
SpannerClientLibraryConnectionFactory
now implementsio.r2dbc.spi.Closeable
. Theclose()
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
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.