-
Notifications
You must be signed in to change notification settings - Fork 191
Spring Vault 4.0 Release Notes
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.
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
According to Spring Framework, Spring Vault has migrated to JSpecify to indicate API nullness.
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
.
Read more on Spring Framework 7 Jackson compatibility.
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.
Following Spring’s removal of OkHttp support, we’ve removed configuration code to configure the OkHttp client.