Releases: GoogleCloudPlatform/spring-cloud-gcp
Releases · GoogleCloudPlatform/spring-cloud-gcp
v2.0.11
v2.0.10
v3.2.1
v3.2.0
General
- Version updates:
- Overrode <url> field in maven POM files to point to the same root URL, preventing maven from generating invalid URLs by concatenating root URL with module name (#1007).
Cloud SQL
- R2DBC autoconfiguration now allows external credentials to be provided to Cloud SQL (#775).
Pub/Sub
- Removed a forced startup-time validation for Pub/Sub Actuator Health Indicator that could prevent application startup [#1018].
Spanner
- Fixed a spec bug for
SimpleSpannerRepository.findAllById()
: on an emptyIterable
input, it used to return all rows. New behavior is to return empty output on an empty input. ⚠ behavior change (#934) - Allow user override of Gson object used for JSON field conversion (#937).
- Allowed
Pageable
parameter appear in any position in query method argument list (#958).
Vision
- Added support for Vision BatchAnnotateFiles endpoint (#966).
Thanks to our community contributor: @florian-3ap
v2.0.9
General
- Version updates:
- Overrode <url> field in maven POM files to point to the same root URL, preventing maven from generating invalid URLs by concatenating root URL with module name (#1029).
Pub/Sub
- Removed a forced startup-time validation for Pub/Sub Actuator Health Indicator that could prevent application startup [#1025].
Spanner
v3.1.0
Cloud SQL
- Added starters for accessing Cloud SQL with Spring Data R2DBC (#772):
spring-cloud-gcp-starter-sql-mysql-r2dbc
for MySQLspring-cloud-gcp-starter-sql-postgres-r2dbc
for PostgreSQL
- Added property
spring.cloud.gcp.sql.jdbc.enabled
to turn off JDBC Cloud SQL autoconfiguration (#903)
Pub/Sub
- Added ability to change
Publisher.Builder
settings prior toPublisher
object being constructed by providingPublisherCustomizer
beans (#900).
Spanner
- Fixed session leak in Spanner actuator healthcheck (#902).
v2.0.8
v3.0.0
This release introduces Spring Boot 2.6 and Spring Cloud 2021.0 Compatibility.
General
- Updated
gcp-libraries-bom.version
to 24.2.0 (#861).
Datastore
SimpleDatastoreRepository
now supportsfindBy()
with fluent query semantics (#836)
Logging
- Renamed methods (#865)
⚠️ breaking change- Renamed
XCloudTraceIdExtractor
toCloudTraceIdExtractor
- Renamed methods in
StackdriverJsonLayout
. Make sure to update Logback XML configuration with custom layout and renametraceIdMDCField
andspanIdMDCField
totraceIdMdcField
andspanIdMdcField
respectively.- getTraceIdMDCField() -> getTraceIdMdcField()
- setTraceIdMDCField() -> setTraceIdMdcField()
- getSpanIdMDCField() -> getSpanIdMdcField()
- setSpanIdMDCField() -> setSpanIdMdcField().
- Renamed
Pub/Sub
- Spring Integration and Spring Cloud Stream outgoing adapters will now exclude headers with
googclient_
prefix from being propagated to Cloud Pub/Sub (#845).
Spanner
- Reduced visibility and renamed
SpannerQueryMethod.getMethod()
(#815)⚠️ breaking change
2.0.7
This is a maintenance release upgrading dependency versions.
General
2.0.6
General
- Updated
gcp-libraries-bom.version
to 24.0.0.
Datastore
- Added Blob to byte[] conversion on read. [#729]
- Removed unused array input handling logic in
TwoStepsConversions
. [#733]
Logging
- Fixed potential NPE for a null message in
StackdriverJsonLayout
. [#694]
Pub/Sub
- Added support for per-subscription configurations for Subscriber settings. [#418]
- A global custom bean for a setting takes precedence over any property-based auto-configuration.
In order to use per-subscription configuration for a Subscriber setting, the custom bean for that setting needs to be removed.
When using auto-configuration, per-subscription configuration takes precedence over global configuration.
- A global custom bean for a setting takes precedence over any property-based auto-configuration.
- Added a health indicator validating for each subscription that there was a recent successfully processed message or that the backlog is under threshold. [#613]
Spanner
Trace
- Exposed
spring.cloud.gcp.trace.server-response-timeout-ms
property. [#698]
Thanks to our community contributors: @gkatzioura, @ikeyat, @mirehasfun and @mvpzone!