Skip to content

Releases: GoogleCloudPlatform/spring-cloud-gcp

v3.0.0

13 Jan 21:31
5c31c81
Compare
Choose a tag to compare

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 supports findBy() with fluent query semantics (#836)

Logging

  • Renamed methods (#865) ⚠️ breaking change
    • Renamed XCloudTraceIdExtractor to CloudTraceIdExtractor
    • Renamed methods in StackdriverJsonLayout. Make sure to update Logback XML configuration with custom layout and rename traceIdMDCField and spanIdMDCField to traceIdMdcField and spanIdMdcField respectively.
      • getTraceIdMDCField() -> getTraceIdMdcField()
      • setTraceIdMDCField() -> setTraceIdMdcField()
      • getSpanIdMDCField() -> getSpanIdMdcField()
      • setSpanIdMDCField() -> setSpanIdMdcField().

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

23 Dec 22:07
fd7387c
Compare
Choose a tag to compare

This is a maintenance release upgrading dependency versions.

General

  • Switched to explicitly defining Spring Boot version as 2.5.x train (#804).
    • Upgraded Spring Boot dependencies to 2.5.8, which includes log4j-api upgrade to 2.17.0 (#812).
  • Updated gcp-libraries-bom.version to 24.1.1 (#816).
  • Updated cloud-sql-socket-factory.version to 1.4.1 (#773)

2.0.6

02 Dec 14:49
3ffeb6d
Compare
Choose a tag to compare

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.
  • 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

  • Added support for JSON Spanner type [#635]
  • Added Spanner health indicator. [#643]

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

26 Oct 18:15
Compare
Choose a tag to compare

This is a patch release with one new feature relative to 2.0.4:

  • Pub/Sub pull retryable codes are now configurable through a property (#672)

2.0.4

11 Aug 16:09
197a8c3
Compare
Choose a tag to compare

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 use requireSubscribers=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

09 Jun 15:59
04bc3e9
Compare
Choose a tag to compare

Bug fixes and feature updates.

See changelog for details.

2.0.2

25 Mar 20:44
8b4b714
Compare
Choose a tag to compare

Bug fixes and minor feature updates.
See changelog.

2.0.1

04 Feb 23:56
0fe8d71
Compare
Choose a tag to compare

Bug fixes and minor feature updates.
See changelog.

2.0.0

06 Jan 18:26
Compare
Choose a tag to compare

Upgrades to GA version of Spring Cloud (2020.0.0, aka Ilford) and Spring Boot 2.4.x.

2.0.0-RC2

24 Nov 15:45
8dcaf25
Compare
Choose a tag to compare
2.0.0-RC2 Pre-release
Pre-release

RC2 upgrades to Spring Boot 2.4 and Spring Cloud Config 2020.0.0-M5.