5.0.1
Spring Cloud Open Service Broker 5.0.1
Spring Cloud Open Service Broker 5.0.1 is a patch release in the 5.0.x line. Version 5.0.1 is built against Spring Boot 4.0, and requires Java 17+. It includes support for OSB API v2.16. This release reduces third-party library dependencies in favor of Spring-provided utilities, includes a bug fix, and upgrades core dependencies.
Highlights
- Spring Boot 4.0.7 (upgraded from Spring Boot 4.0.3)
- Gradle 9.5.1 build infrastructure
- Replace third-party commons-beanutils and commons-collections with Spring equivalents
- Bug fix for null safety in ServiceInstanceBindingController operation equality check
Upgrade Notes
This release removes usage of Apache Commons libraries in favor of Spring Framework equivalents:
commons-beanutilsis no longer a dependency ofspring-cloud-open-service-broker-core. It was previously pulled in as a direct dependency;ParameterBeanMapperUtilsnow uses Spring'sBeanWrapperinstead ofBeanUtilsBean.
Action required: if your project relied on commons-beanutils being available on the classpath transitively through spring-cloud-open-service-broker-core, you will need to add it as an explicit dependency going forward.
See #971 for details.
Dependency Improvements
Remove Apache Commons Dependencies
- Replaced usage of commons-collections with Spring's
CollectionUtilsinEventFlowRegistry, eliminating the transitive dependency (#971). - Replaced usage of commons-beanutils with Spring's
BeanWrapperinParameterBeanMapperUtils, 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, which was previously required for a Logback classpath conflict resolved by the Spring Cloud Contract upgrade.
- Reduced scope of the findbugs dependency from
testImplementationtotestCompileOnly. - Removed the obsolete
junitPlatformLauncherVersionvariable.
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.
Full Changelog: v5.0.0...v5.0.1