4.5.2
Spring Cloud Open Service Broker 4.5.2
Spring Cloud Open Service Broker 4.5.2 is a patch release in the 4.5.x line. Version 4.5.2 is built against Spring Boot 3.5, 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 bug fixes, and upgrades core dependencies.
Highlights
- Spring Boot 3.5.16 (upgraded from Spring Boot 3.5.9)
- Gradle 9.5.1 build infrastructure
- Replace third-party commons-beanutils and commons-collections with Spring equivalents
- Bug fixes for log formatting and null safety in
ServiceInstanceBindingController
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 log formatting and output issues across
CatalogController,ServiceBrokerExceptionHandler,ServiceInstanceController, andServiceInstanceBindingController(#945). - 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: v4.5.1...v4.5.2