Skip to content

5.1.0

Latest

Choose a tag to compare

@royclarkson royclarkson released this 30 Jul 21:09
· 24 commits to 5.1.x since this release

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-beanutils and commons-collections with Spring equivalents
  • Bug fix for null safety in ServiceInstanceBindingController operation 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-collections with Spring's CollectionUtils in EventFlowRegistry, eliminating the transitive dependency.
  • 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, previously required for a Logback classpath conflict resolved by the Spring Cloud Contract upgrade.
  • Reduced scope of the findbugs dependency from testImplementation to testCompileOnly.
  • Pinned spring-mock-mvc to support Groovy 5, then extracted the rest-assured version to a Gradle property and bumped rest-assured:spring-mock-mvc from 6.0.0 to 6.0.1.
  • Bumped spring-cloud-contract from 5.0.2 to 5.0.3 and blockhound-junit-platform from 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 in ServiceInstanceController.

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 the optionalApi feature variant.
  • Removed unnecessary Gradle eclipse/idea plugins and old Java version guards for Java 11/13.
  • Fixed eager task configuration by using the modern Gradle configureEach block.
  • 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