Skip to content

5.0.0

Choose a tag to compare

@royclarkson royclarkson released this 27 Feb 19:57
· 34 commits to 5.0.x since this release

Spring Cloud Open Service Broker v5.0.0

Spring Cloud Open Service Broker 5.0.0 is now GA. Version 5.0.0 is built against Spring Boot 4.0, Spring Framework 7.0, Jackson 3, and requires Java 17+. It includes support for OSB API v2.16. This release includes significant upgrades to core dependencies and introduces null safety annotations across the API.

Highlights

  • Spring Boot 4.0.3 (upgraded from Spring Boot 3.5.x in the 4.x line)
  • Jackson 3 (tools.jackson.core:jackson-databind)
  • Null safety with JSpecify across all public API packages
  • Gradle 9.3.1 build infrastructure (upgraded from Gradle 8.x)
  • Java 25 CI now verifies and tests against Java 17, 21, and 25

Breaking Changes

Spring Boot 4 Upgrade

  • All Spring Boot dependencies and starters have been migrated to the 4.0.x line.
  • Package, class, and method name changes from Spring Boot 4 are reflected throughout the codebase.

Jackson 3 Migration

  • The core module now depends on tools.jackson.core:jackson-databind (Jackson 3) instead of com.fasterxml.jackson.core:jackson-databind (Jackson 2).
  • Jackson 2 is retained only in test scope for JsonPath support.
  • Model classes have been updated to apply Jackson 3 best practices:
    • @JsonCreator and @JsonProperty annotations added to model constructors.
    • Removed usage of builderWithJackson2Defaults().
    • Reviewed and updated @JsonProperty usage on private members.

New Features

Null Safety with JSpecify

  • Comprehensive null safety annotations have been added across all packages using JSpecify.
  • package-info.java files added to all packages to declare null safety at the package level.
  • JSpecify is declared as an api dependency, making null safety information available to consumers.
  • This enables better static analysis and IDE support for service broker implementations.

Full Changelog: v4.5.1...v5.0.0