Skip to content

5.1.2

Choose a tag to compare

@royclarkson royclarkson released this 23 Oct 23:22
· 58 commits to 5.3.x since this release

Spring Cloud Open Service Broker 5.1.2

Spring Cloud Open Service Broker 5.1.2 is now GA. Version 5.1.2 is built against Spring Boot 4.1 and requires Java 17+. It is a maintenance release in the 5.1.x line that fixes a duplicated X-Broker-API-Request-Identity response header on Spring MVC brokers and picks up Spring Boot 4.1.2. The OSB API version is unchanged at v2.16.

Versions

Component Version
Spring Boot 4.1.2
Spring Framework 7.0.10
Java 17+
OSB API 2.16

Highlights

  • Fixed a duplicated X-Broker-API-Request-Identity response header on Spring MVC brokers (introduced when the header echo was enabled in 5.1.1)
  • Spring Boot 4.1.2 (Spring Framework 7.0.10)
  • Gradle 9.8.2 build infrastructure

Bug Fixes

  • Fixed the X-Broker-API-Request-Identity response header being sent twice (for example request-id, request-id) on Spring MVC brokers. Broker controllers return reactive types, so Spring MVC handles each request asynchronously and dispatches it a second time through the same interceptors, and RequestIdentityInterceptor added the header on both dispatches. It now sets the header, so the request identity is echoed exactly once, as the spec's Request Identity section describes. WebFlux brokers were not affected.

Build Improvements

  • Upgraded Gradle from 9.7.1 to 9.8.2.

Dependency Upgrades

  • Bumped Spring Boot from 4.1.1 to 4.1.2.
  • Bumped io.rest-assured:rest-assured from 6.0.1 to 6.2.0.
  • Bumped nl.jqno.equalsverifier:equalsverifier from 4.5.1 to 4.5.2.

Upgrade Notes

This is a drop-in upgrade from 5.1.1: the public API of this library and the OSB API version (v2.16) are unchanged. The one observable behavior change is on the Spring MVC stack: the X-Broker-API-Request-Identity response header now appears once instead of twice. This only matters to clients that read every value of the header, since a client that reads the first value is unaffected. Brokers on 5.1.1 that use Spring MVC saw the duplicate and will see it disappear.

Full Changelog: v5.1.1...v5.1.2