Skip to content

Releases: GoogleCloudPlatform/spring-cloud-gcp

v2.0.9

01 Apr 00:41
80ffc27
Compare
Choose a tag to compare

General

  • Version updates:
    • Spring Boot to 2.5.12 (transitively, Spring Framework 5.3.18). See Spring blog post for details.
    • guava-bom to 31.1-jre (#969).
    • cloud-sql-socket-factory.version to 1.4.4 (#972).
    • gcp-libraries-bom.version to 24.4.0 (#973)
  • 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

  • Fixed a spec bug for SimpleSpannerRepository.findAllById(): on an empty Iterable input, it used to return all rows. New behavior is to return empty output on an empty input (#940). ⚠ behavior change
  • Allowed Pageable parameter appear in any position in query method argument list (#1030).

v3.1.0

28 Jan 22:37
44e8e7a
Compare
Choose a tag to compare

Cloud SQL

  • Added starters for accessing Cloud SQL with Spring Data R2DBC (#772):
    • spring-cloud-gcp-starter-sql-mysql-r2dbc for MySQL
    • spring-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 to Publisher object being constructed by providing PublisherCustomizer beans (#900).

Spanner

  • Fixed session leak in Spanner actuator healthcheck (#902).

v2.0.8

28 Jan 20:33
f360ad5
Compare
Choose a tag to compare

General

  • Updated gcp-libraries-bom.version to 24.2.0 (#863).
  • Updated cloud-sql-socket-factory.version 1.4.2 (#852).

Pub/Sub

  • Exclude googclient_ prefixed attributes from outbound Pub/Sub messages in Spring Cloud Stream (#919).

Spanner

  • Fixed session leak in Spanner actuator healthcheck (#918).
  • Reduced visibility and renamed SpannerQueryMethod.getMethod() (#815). ⚠️ breaking change

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.