Spring Cloud Open Service Broker 5.1.0
Spring Cloud Open Service Broker 5.1.0 is now GA. Version 5.1.0 is built against Spring Boot 4.1 and requires Java 17+. It includes continued support for OSB API v2.16. This release upgrades core dependencies, replaces third-party utility libraries with Spring equivalents, and modernizes the Gradle build infrastructure.
Versions
| Component | Version |
|---|---|
| Spring Boot | 4.1.0 |
| Spring Framework | 7.0.8 |
| Java | 17+ |
| OSB API | 2.16 |
Highlights
- Spring Boot 4.1.0 (upgraded from Spring Boot 4.0.x)
- Gradle 9.6.1 build infrastructure (upgraded from Gradle 9.4.x)
- Replaced third-party
commons-beanutilsandcommons-collectionswith Spring equivalents - Bug fix for null safety in
ServiceInstanceBindingControlleroperation equality check - CI now builds and tests the 5.1.x branch, with Dependabot enabled and the unsupported 4.5.x branch retired
Dependency Improvements
Remove Apache Commons Dependencies
- Replaced usage of
commons-collectionswith Spring'sCollectionUtilsinEventFlowRegistry, eliminating the transitive dependency. - Replaced usage of
commons-beanutilswith Spring'sBeanWrapperinParameterBeanMapperUtils, eliminating the transitive dependency.
Build Dependency Cleanup
- Use the Spring Boot managed version of Hamcrest rather than a manually pinned version.
- Removed the Wiremock Gradle constraint, previously required for a Logback classpath conflict resolved by the Spring Cloud Contract upgrade.
- Reduced scope of the
findbugsdependency fromtestImplementationtotestCompileOnly. - Pinned
spring-mock-mvcto support Groovy 5, then extracted therest-assuredversion to a Gradle property and bumpedrest-assured:spring-mock-mvcfrom 6.0.0 to 6.0.1. - Bumped
spring-cloud-contractfrom 5.0.2 to 5.0.3 andblockhound-junit-platformfrom 1.0.16 to 1.0.17.
Bug Fixes
- Fixed a null pointer risk in the operation equality check in
ServiceInstanceBindingController, making the logic consistent with the equivalent check inServiceInstanceController.
Improvements
- Simplified the service binding last operation response mapping in
ServiceInstanceBindingController.
Build Improvements
- Upgraded Gradle from 9.4.0 through 9.6.1 over the course of the release.
- Removed deprecated Gradle APIs:
getProperties, implicit parent property lookup, and theoptionalApifeature variant. - Removed unnecessary Gradle
eclipse/ideaplugins and old Java version guards for Java 11/13. - Fixed eager task configuration by using the modern Gradle
configureEachblock. - Suppressed a spurious JDK IO subsystem warning from AsciidoctorJ's JRuby engine during the docs build.
- Added support for retrieving build dependencies from an alternative artifactory.
- Enabled Dependabot and CI pipelines for the 5.1.x branch; fixed the documentation workflow (javadoc JAR generation, apidocs path, shell issues).
- Removed the unsupported 4.5.x branch from CI pipelines and Dependabot configuration.
- Updated the README version compatibility matrix.
Upgrade Notes
The spring-cloud-open-service-broker-webmvc and spring-cloud-open-service-broker-webflux dependencies are no longer marked as optional in the published Maven POMs. Consumers that relied on this hint to see the dependency suggested transitively will no longer see it listed; this has no functional effect, and projects must continue to explicitly declare a Spring MVC or Spring WebFlux dependency as before.
Full Changelog: v5.0.0...v5.1.0