Skip to content

Releases: GoogleCloudPlatform/spring-cloud-gcp

v8.0.1

09 Mar 22:16
0a98082

Choose a tag to compare

8.0.1 (2026-03-09)

Spring Boot 4.0 / Spring 7 Migration
This release marks a major architectural upgrade, moving the project baseline to Java 17 (with JDK 25 for Native Image) and Jakarta EE 11. This version focuses on achieving compatibility with the new modular architecture of Spring Boot 4.0, the refactored SpEL evaluation engine in Spring Data 2025.1, and enhanced AOT support for GraalVM. For a comprehensive overview of upstream changes, please refer to the official Spring Boot 4.0 Migration Guide.

⚠️ Breaking Changes

  • Spring Data 4.0 (SpEL Evaluation): Multiple constructors removed due to the removal of QueryMethodEvaluationContextProvider. Users must migrate to constructors accepting ValueExpressionDelegate.
    Affected Classes: DatastoreQueryLookupStrategy, GqlDatastoreQuery, SpannerQueryLookupStrategy, SqlSpannerQuery.
    User Action: If you manually instantiate these classes (e.g., in custom repository implementations), you must replace the QueryMethodEvaluationContextProvider parameter with ValueExpressionDelegate.

  • Mapping Exceptions: In Spring Data 4.0 (2025.1), metadata discovery and entity mapping failures are now uniformly wrapped in a top-level org.springframework.data.mapping.MappingException.
    Impact: Previously caught module-specific exceptions (e.g., SpannerDataException) may now be nested inside a MappingException.
    User Action: Update error handling logic to check for the underlying cause. "Use NestedExceptionUtils.getMostSpecificCause() to retrieve specific error message details.."

  • Nested Exceptions: Following Spring Framework 7.0's changes to NestedRuntimeException, nested exception messages are no longer automatically appended to the top-level getMessage() output.
    User Action: When constructing custom error messages, you must now explicitly access the cause. "Use NestedExceptionUtils.getMostSpecificCause() to retrieve specific error message details."

  • Actuator Health API: The Actuator Health API has been restructured to support better grouping through the org.springframework.boot.health.contributor package. PubSubHealthIndicator and SpannerHealthIndicator are now registered as HealthContributor beans.
    User Action: These indicators are now always wrapped into a CompositeHealthContributor by the framework's auto-configuration. Users who previously injected PubSubHealthIndicator or HealthIndicator directly must now inject HealthContributor and navigate the composite hierarchy if direct access is needed.

Dependencies

  • bump org.springframework.boot:spring-boot-dependencies from 3.5.3 to 4.0.0
  • bump org.springframework.cloud:spring-cloud-dependencies from 2025.0.0 to 2025.1.0
  • bump com.google.cloud:cloud-sql-socket-factory-bom from 1.25.0 to 1.28.0
  • bump io.r2dbc:r2dbc-postgresql from 1.0.7.RELEASE to 1.1.1.RELEASE
  • bump org.graalvm.buildtools:native-maven-plugin from 0.10.5 to 0.11.3
  • bump jakarta.annotation:jakarta.annotation-api from 1.3.5 to 2.1.1
  • bump com.fasterxml.jackson:jackson-bom from 2.18.2 to 3.0.2 (via tools.jackson)

v7.4.5

21 Feb 12:44
b50f1eb

Choose a tag to compare

7.4.5 (2026-02-21)

Bug Fixes

  • deps: update dependency com.google.cloud:libraries-bom to v26.76.0 (#4319) (929a693)
  • deps: update gapic-generator-java-bom.version to v2.67.0 (#4320) (77d48cf)
  • remove main from dependabot (#4323) (ac5d188)

Documentation

  • Add note about Postgres username truncation for IAM auth (#4315) (2458afb)

v6.5.5

20 Feb 22:10
2861b82

Choose a tag to compare

6.5.5 (2026-02-20)

Dependencies

  • bump com.google.cloud:libraries-bom from 26.75.0 to 26.76.0 (#4324) (288faeb)

v5.13.11

20 Feb 22:10
08df79f

Choose a tag to compare

5.13.11 (2026-02-20)

Dependencies

  • bump com.google.cloud:libraries-bom from 26.75.0 to 26.76.0 (#4325) (2c95bdd)

v3.9.17

20 Feb 21:28
61b83b6

Choose a tag to compare

3.9.17 (2026-02-20)

Dependencies

  • bump com.google.cloud:libraries-bom from 26.75.0 to 26.76.0 (#4326) (a8f5708)

v7.4.4

03 Feb 21:46
8077242

Choose a tag to compare

7.4.4 (2026-02-03)

Bug Fixes

  • deps: update dependency com.google.cloud:libraries-bom to v26.75.0 (#4296) (34e21e3). This version upgraded protobuf gen code to 4.33.2 in all client libraries. If you run into any compatibility issues regarding protobuf, please refer to the release notes of libraries-bom v26.75.0.
  • deps: update gapic-generator-java-bom.version to v2.66.0 (#4301) (64ab3b2)

v6.5.4

03 Feb 19:12
a58ca7e

Choose a tag to compare

6.5.4 (2026-02-03)

Dependencies

v5.13.10

03 Feb 19:49
94f4cb8

Choose a tag to compare

5.13.10 (2026-02-03)

Dependencies

v3.9.16

03 Feb 19:11
a4fec05

Choose a tag to compare

3.9.16 (2026-02-03)

Dependencies

v7.4.3

23 Jan 22:17
e456fec

Choose a tag to compare

7.4.3 (2026-01-22)

Bug Fixes

  • deps: update dependency com.google.cloud:libraries-bom to v26.74.0 (#4282) (f7f3d7f)
  • deps: update gapic-generator-java-bom.version to v2.65.1 (#4283) (150913d)
  • Use ADC in NativeTests (#4280) (c9b3a19)

Documentation