Releases: GoogleCloudPlatform/spring-cloud-gcp
Releases · GoogleCloudPlatform/spring-cloud-gcp
v6.0.0
6.0.0 (2025-02-04)
⚠ BREAKING CHANGES
- pubsub: set default max ack extension period to 60 minutes (#3501)
- Spring Cloud 2024.0 and Spring Boot 3.4.2 (#3500)
- spring-cloud-gcp-secretmanager: We will introduce support for resolving values of the form
sm@secret_id
in addition to the already existingsm://secret_id
format. Users should move away fromsm://
and usesm@
instead. Usage ofsm://
will raise a warning about this being removed in the future. This has been tested usingspring-framework:6.2.2-SNAPSHOT
. - spring-cloud-gcp-config-sample (breaking change): removed autoconfiguration and sample code. This is to adjust to what's stated in the docs.
- spring-cloud-gcp-kotlin-sample (breaking change): Adjust to hibernate upgrade which introduced a change in default value handling (see tracker). (More info in SO)
- Internal changes
- spring-cloud-gcp-pubsub-stream: Adjust unit tests to prevent duplicate bean detection (example logs).
- spring-cloud-gcp-data-datastore: Upgrade deprecated
QueryMethodEvaluationContextProvider
toValueExpressionDelegate
- spring-cloud-gcp-data-spanner: Upgrade deprecated
QueryMethodEvaluationContextProvider
toValueExpressionDelegate
- spring-cloud-gcp-secretmanager: We will introduce support for resolving values of the form
Features
- pubsub: set default max ack extension period to 60 minutes (#3501) (9245031)
- Spring Cloud 2024.0 and Spring Boot 3.4.1 (a72a86b)
- Spring Cloud 2024.0 and Spring Boot 3.4.2 (#3500) (0108054)
Bug Fixes
Dependencies
v5.11.0
5.11.0 (2025-02-04)
Features
- Spring Cloud 2024.0 and Spring Boot 3.4.1 (a72a86b)
Dependencies
- bump cloud-sql-socket-factory.version from 1.21.2 to 1.23.0 (#3507) (002dcf8)
- bump com.google.cloud:libraries-bom from 26.53.0 to 26.54.0 (#3523) (509882e)
- bump org.springframework.boot:spring-boot-starter-parent (#3509) (8044d49)
- bump spring-boot-dependencies.version from 3.3.4 to 3.3.8 (#3508) (9a025be)
v4.10.16
v3.8.15
v4.10.15
4.10.15 (2025-01-16)
Dependencies
- bump cloud-sql-socket-factory.version from 1.21.0 to 1.21.2 (#3458) (d33a267)
- bump com.google.cloud:libraries-bom from 26.52.0 to 26.53.0 (#3474) (f457683)
- bump com.google.cloud.tools:appengine-maven-plugin (#3467) (2db6150)
- bump com.puppycrawl.tools:checkstyle from 10.21.0 to 10.21.1 (#3459) (cfd2560)
- bump commons-io:commons-io from 2.17.0 to 2.18.0 (#3388) (bf973f8)
- bump io.micrometer:micrometer-tracing-bom from 1.3.5 to 1.4.2 (#3445) (a415851)
- bump io.opentelemetry:opentelemetry-bom from 1.42.1 to 1.46.0 (#3443) (870d2b7)
- bump org.apache.maven.plugins:maven-javadoc-plugin (#3408) (8a54734)
- bump org.graalvm.buildtools:native-maven-plugin (#3460) (8fe3303)
- bump spring-cloud-config.version from 4.1.3 to 4.1.5 (#3469) (2d780da)
Documentation
v3.8.14
3.8.14 (2025-01-16)
Dependencies
- bump cloud-sql-socket-factory.version from 1.20.1 to 1.21.2 (#3465) (3c255f6)
- bump com.google.cloud:libraries-bom from 26.52.0 to 26.53.0 (#3475) (859cac1)
- bump com.google.cloud.tools:appengine-maven-plugin (#3466) (f0df564)
- bump commons-io:commons-io from 2.17.0 to 2.18.0 (#3399) (dfa30f5)
- bump org.projectlombok:lombok from 1.18.34 to 1.18.36 (#3428) (50305b2)
- bump org.testcontainers:testcontainers-bom from 1.20.3 to 1.20.4 (#3427) (59a4f61)
v5.10.0
5.10.0 (2025-01-15)
Features
Bug Fixes
- deps: update cloud-sql-socket-factory.version to v1.21.2 (#3451) (d227783)
- deps: update dependency com.google.cloud:libraries-bom to v26.52.0 (#3421) (5c74e41)
- deps: update dependency com.google.cloud:libraries-bom to v26.53.0 (#3471) (5d2615f)
- deps: update dependency commons-io:commons-io to v2.18.0 (#3455) (5371117)
- deps: update gapic-generator-java-bom.version to v2.51.0 (#3422) (aae9f99)
- deps: update gapic-generator-java-bom.version to v2.51.1 (#3452) (e653ab1)
- deps: update zipkin-gcp.version to v2.2.6 (#3453) (ce5d9eb)
- increase default pubsub health indicator timeout from 2000ms to 5000ms (#3400) (b67caa9)
Dependencies
- bump com.google.cloud:alloydb-jdbc-connector from 1.1.6 to 1.1.8 (#3414) (283b1fa)
- bump io.micrometer:micrometer-tracing-bom from 1.3.5 to 1.4.2 (#3446) (ce85135)
- bump io.opentelemetry:opentelemetry-api from 1.43.0 to 1.46.0 (#3442) (4e2b9bc)
- bump org.apache.maven.plugins:maven-checkstyle-plugin (#3344) (324efdf)
- bump org.apache.maven.plugins:maven-javadoc-plugin (#3409) (985031e)
- bump org.graalvm.buildtools:native-maven-plugin (#3464) (e3dee62)
- bump org.springframework.cloud:spring-cloud-dependencies (#3463) (86d61ad)
- bump spring-cloud-config.version from 4.1.3 to 4.2.0 (#3461) (9ee363e)
Documentation
v4.10.14
v3.8.13
v5.9.0
5.9.0 (2024-12-06)
Features
- Add all additional Cloud SQL Java Connector parameters to the spring configuration. (#3286) (f2212d3)
- add property to customize universe domain in Pub/Sub (#3348) (9cf2145)
Bug Fixes
- deps: update dependency com.google.cloud:libraries-bom to v26.51.0 (#3350) (a270a7d)
- include limit in query for findFirst and findTop support in Firestore (#3387) (9fe8e91)
- migrate logic to create tmpdir to build script (#3367) (a12638c)
- need to update to use new trampoline_release.py script as well as update to configure docker auth with new image (#3356) (b5ace26)
- sonar build 401 issue (#3381) (fa53707)
Notable Changes
Libraries-Bom was upgraded from v26.49.0 to v26.51.0. This upgrade bumps the Protobuf-Java Runtime major version (3.x -> 4.x) and Spring-Cloud-GCP now uses Protobuf-Java v4.28.3.
The Google Cloud Java SDK is compatible with both Protobuf-Java 3.25.x and 4.27.4+ runtimes. However, uses may still experience issues related to the Protobuf-Java upgrade. Issues may stem from older dependencies (not managed by libraries-bom) or user defined protos. See these release notes for more information on potential Protobuf-Java issues and how to resolve them.
If you do encounter issues and wish to use Protobuf-Java 3.x, you can revert the Protobuf-Java version:
i.e. In your Maven Pom file:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-bom</artifactId>
<version>3.25.5</version>
<type>pom</type>
<scope>import</scope>
</dependency>
...