Skip to content

4.5.2

Choose a tag to compare

@royclarkson royclarkson released this 29 Jun 18:49
· 108 commits to 5.1.x since this release

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-beanutils is no longer a dependency of spring-cloud-open-service-broker-core. It was previously pulled in as a direct dependency; ParameterBeanMapperUtils now uses Spring's BeanWrapper instead of BeanUtilsBean.

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 CollectionUtils in EventFlowRegistry, eliminating the transitive dependency (#971).
  • Replaced usage of commons-beanutils with Spring's BeanWrapper in ParameterBeanMapperUtils, 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 testImplementation to testCompileOnly.
  • Removed the obsolete junitPlatformLauncherVersion variable.

Bug Fixes

  • Fixed log formatting and output issues across CatalogController, ServiceBrokerExceptionHandler, ServiceInstanceController, and ServiceInstanceBindingController (#945).
  • Fixed a null pointer risk in the operation equality check in ServiceInstanceBindingController, making the logic consistent with the equivalent check in ServiceInstanceController.

Improvements

  • Simplified the service binding last operation response mapping in ServiceInstanceBindingController.

Full Changelog: v4.5.1...v4.5.2