Releases: GoogleCloudPlatform/spring-cloud-gcp
Releases · GoogleCloudPlatform/spring-cloud-gcp
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!
2.0.5
2.0.4
2.0.4
General
- Updated
gcp-libraries-bom.version
to 20.9.0.
Datastore
- Added support for
Stream
return type in both GQL and method name-based queries (#551). - Made
DatastorePageable
compatible with Spring Data 2.5.x (#569).
Firestore
- Fixed: Unable to query by document ID. (#506).
- Fixed: Attempting to infer environment credentials when using emulator. (#555).
- Added support for
OrderBy
clause in method name. (#516).
Pub/Sub
- Fixed: bean factory propagation in consumer binding (#515).
- Removed workaround in
PubSubInboundChannelAdapter
ensuring error propagation during application shutdown.
This should be a no-op to users, as Spring Integration starting with v5.4.3 and Spring Cloud Stream starting with v3.1.1 userequireSubscribers=true
on the default error channels, causing any errors reaching error channels with no subscribers to propagate an exception. - Added IDE discovery for
management.health.pubsub.enabled
property (#543)
Secret Manager
- Fixed:
ByteString
value conversion compatibility with Spring Boot 2.5.x (#496).
Thanks to our community contributors, @artemptushkin, @garywg04 and @Alos!
2.0.3
2.0.2
2.0.1
2.0.0
2.0.0-RC2
RC2 upgrades to Spring Boot 2.4 and Spring Cloud Config 2020.0.0-M5.