-
Notifications
You must be signed in to change notification settings - Fork 0
Spring Boot 1.4.0 M3 Release Notes
See instructions in the 1.4.0.M2 release notes for upgrading from v1.4.0.M2 and earlier.
The default spring.mvc.dispatch-options-request property has changed from false to true to align with Spring Framework’s preferred default. If you don’t want OPTIONS requests to be dispatched to FrameworkServlet.doService you should explicitly set spring.mvc.dispatch-options-request to false.
The CRaSH properties have moved from the shell. namespace to the management.shell. namespace. Also, the authentication type should now be defined via management.shell.auth.type.
The multipart properties have moved from the multipart. namespace to the spring.http.multipart. namespace.
spring-boot-starter-integration has been streamlined by removing four modules that are not necessarily used by a typical Spring Integration application. The four modules are:
-
spring-integration-file -
spring-integration-http -
spring-integration-ip -
spring-integration-stream
If your application relies on any of these four modules, you should add an explicit dependency to your pom or build.gradle.
Additionally, spring-integration-java-dsl has been added to the starter. Using the DSL is the recommended way to configure Spring Integration in your application.
Spring Boot supports more backend stores for Spring Session: alongside Redis, JDBC, MongoDB, Hazelcast and in memory concurrent hash maps are also supported. A new spring.session.store-type mandatory property has been introduced to select the store Spring Session should be using. If you were using Spring Session with the redis store previously, you’ll need to set the following to you configuration now:
spring.session.store-type=redisWhen the launch script is determining the application’s default identity, the canonical name of the directory containing the jar will now be used. Previously, if the directory containing the jar was a symlink, the name of the symlink was used. If you require more control over the application’s identity, the APP_NAME environment variable should be used.
The TestRestTemplate class no longer directly extends RestTemplate (although it continues to offer the same methods). This allows TestRestTemplate to be configured as a bean without it being accidentally injected. If you need access to the actual underlying RestTemplate use the getRestTemplate() method.
|
Tip
|
Check the configuration changelog for a complete overview of the changes in configuration. |
-
PropertiesConfigurationFactory.setProperties(Properties)is deprecated in favor of usingPropertySources.