Skip to content

Spring Vault 4.0 Release Notes

Mark Paluch edited this page Jun 16, 2025 · 3 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 6.5.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

  • Apache HTTP Core 5.3.4

  • Jackson 3.0

  • Kotlin 2.2

  • Kotlin Coroutines 1.10.2

  • Netty 4.2.1.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.

Miscellaneous

Apart from the changes listed above, there have also been lots of minor tweaks and improvements, including:

*

Pages

Release Notes

Development Process

Clone this wiki locally