Skip to content

Releases: GoogleCloudPlatform/spring-cloud-gcp

v2.0.11

27 May 03:02
d6244bd
Compare
Choose a tag to compare

Maintenance release pulling in the last version of Spring Boot in the 2.5.x line.

General

  • Bump spring-boot-dependencies from 2.5.13 to 2.5.14 (#1126)
  • Bump cloud-sql-socket-factory.version from 1.5.0 to 1.6.0 (#1112)

v2.0.10

12 Apr 19:48
529e5f1
Compare
Choose a tag to compare

General

  • Spring Cloud GCP BOM (spring-cloud-gcp-dependencies) overrides spring-cloud-function dependencies to version 3.1.7 to address CVE-2022-22963 (#1061).
  • Updated cloud-sql-socket-factory.version to 1.5.0 (#1053)

v3.2.1

09 Apr 00:06
ed87b89
Compare
Choose a tag to compare

General

  • Spring Cloud GCP BOM (spring-cloud-gcp-dependencies) overrides spring-cloud-function dependencies to version 3.2.3 to address CVE-2022-22963 (#1059).
  • Updated cloud-sql-socket-factory.version to 1.5.0 (#1053)

v3.2.0

01 Apr 01:01
ce3f5e4
Compare
Choose a tag to compare

General

  • Version updates:
    • Spring Boot to 2.6.6 (transitively, Spring Framework 5.3.18). See Spring blog post for details.
    • guava-bom to 31.1-jre (#968).
    • cloud-sql-socket-factory.version to 1.4.4 (#971).
    • gcp-libraries-bom.version to 25.0.0 (#999)
  • 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 empty Iterable 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

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!