Skip to content

Spring Vault 4.0 Release Notes

Mark Paluch edited this page Nov 18, 2025 · 5 revisions

Upgrading from Spring Vault 3.x

Migrating from Spring Vault 3.x to 4.0 is a major upgrade that can require attention when previously using OkHttp. Also, Spring Vault raises its baseline to Spring Framework 7.

New and Noteworthy

Third-party Library Upgrades

Spring Vault 4.0 builds on and requires Spring Framework 7.0.

Other Spring projects upgraded in this release include:

  • Spring Data 2025.1

  • Spring Security 7.0.0

Numerous third-party dependencies have also been updated, some of the more noteworthy of which are the following:

  • Reactor 2025.0.0

  • Apache HTTP Client 5.5.1

  • Apache HTTP Core 5.3.6

  • Jackson 3.0

  • Kotlin 2.2

  • Kotlin Coroutines 1.10.2

  • Netty 4.2.7.Final

JSpecify

According to Spring Framework, Spring Vault has migrated to JSpecify to indicate API nullness.

Jackson 3 Upgrade

Spring Vault 4 supports both, Jackson 2 and Jackson 3 preferring Jackson 3 if both are on the class path. Note that RestTemplate/WebClient must be configured correctly when using an instance that was not configured using Spring Vault’s RestTemplateBuilder/WebClientBuilder.

Support for imperative Reactor, Jetty, and JDK HTTP Clients

We now support additionally configuration of a ClientHttpRequestFactory based on Reactor, Jetty, or the JDK HTTP client based on class path-presence. We also fall back to the JDK HTTP client if no other library is present lifting the SSL configuration limitations that would have been otherwise in place with the HttpURLConnection-based client.

OkHttp removal

Following Spring’s removal of OkHttp support, we’ve removed configuration code to configure the OkHttp client.

Pages

Release Notes

Development Process

Clone this wiki locally