-
Notifications
You must be signed in to change notification settings - Fork 40.6k
Spring Boot 2.7.0 M2 Release Notes
As OkHttp 3 is no longer being maintained, Spring Boot 2.7 has upgraded to OkHTTP 4.
As part of this upgrade, the property used to control OkHttp’s version has changed from okhttp3.version
to okhttp.version
.
OkHttp 4 is intended to be backwards compatible with OkHttp 3.
If this is not the case in your application or wish to continue using OkHttp 3 for another reason, configure the okttp.version
property in your build.
Tip
|
Check the configuration changelog for a complete overview of the changes in configuration. |
If you are using opaque token introspection in your OAuth2 resource server, the auto-configured introspector no longer requires a dependency on com.nimbusds:oauth2-oidc-sdk
.
Depending on other usages of the SDK, you may be able to remove the dependency from your application.
If you have created your own auto-configurations, you should move the registration from spring.factories
to the new place under META-INF/spring-boot/org.springframework.boot.autoconfigure.AutoConfiguration
. Each line contains the fully qualified name of the auto-configuration. See the included auto-configurations for an example.
The new @AutoConfiguration
annotation can be used to annotate your auto-configurations.
Spring Boot 2.7.0-M2 moves to new versions of several Spring projects:
*
Numerous third-party dependencies have also been updated, some of the more noteworthy of which are the following:
-
OkHTTP 4.9