-
Notifications
You must be signed in to change notification settings - Fork 0
Spring Boot 1.3.0 M2 Release Notes
Please also see the upgrade instructions in the 1.3.0.M1
The following application.properties
keys have been renamed to improve consistency:
* spring.view.
to spring.mvc.view.
* spring.pidfile
to spring.pid.file
* server.session-timeout
to server.session.timeout
Spring Boot 1.2 supported native response compression for Tomcat users, or compression using Jetty’s GZipFilter for users of Jetty, Tomcat, and Undertow. Motivated by the Jetty team’s deprecation of their gzip filter, Spring Boot 1.3 replaces this with support for native response compression in all three embedded containers. As a result the server.tomcat.compression.
and spring.http.gzip.
properties are no longer supported. The new server.compression.*
properties should be used instead.
In order to prevent double initialization spring
specific log configuration files can now be used. It’s recommended (although not required) that you rename any default log configuration files to use a -spring
suffix. For example logback.xml
would change to logback-spring.xml
.
In Spring Boot 1.2, if you specified a custom logging configuration file using logging.config
and the file did not exist, it would silently fallback to using the default configuration. Spring Boot 1.3 fails due to the missing file. Similarly, if you provided a custom Logback configuration file which was malformed, Spring Boot 1.2 would fall back to its default configuration. Spring Boot 1.3 fails and reports the problems with the configuration to System.err
.
The GroovyTemplateProperties
class now extends AbstractTemplateViewResolverProperties
and provides additional configuration options. If you currently define a prefix.spring.groovy.template.prefix
property to define a custom resource location you should rename it to prefix.spring.groovy.resource-loader-location
.
The security settings for what information is visible on the actuator /health
endpoint have been tweaked a little to provide better consistency. See the HTTP health endpoint access restrictions section in the reference guide for complete details.
The following additional actuator endpoints have been added with Spring Boot 1.3:
Name | Description |
---|---|
|
Provides access to the log file (if one has been configured) |
|
Provides details of any Flyway database migrations that have been applied |
|
Provides details of any Liquibase database migrations that have been applied |
-
/logfile
actuator endpoint * -
ANSI colors in your
banner.txt
-
PID
fail-on-write-error
-
Support for jOOQ
-
Support for Artemis
-
Elasticsearch non local nodes
-
Driver name support for firebird, DB2 and Teradata
-
Extra DB Heath Queries for DB2 and Informix
-
useTestClasspath
in Maven -
matchers with OutputCapture
-
Apache AntLib
-
Spring HTTP Resource support
-
Logback
<springProperty>
and<springProfile>
-
OutputCapture matchers
-
hint meta-data support for properties
-
HAL + rest docs
-
-default
profile -
Flyway and Liquibase actuator endpoints
-
server.session config
-
ApplicationArguments and ApplicationRunner
The fully executable JAR support introduced in 1.3.0.M1 has been updated to allow .conf
files to be used for customization. See the updated customizing the startup script section of the reference documentation for details.
With Spring Session and Spring Data Redis on the classpath, web applications will now be auto-configured to store user sessions in Redis. See the accompanying sample for more information.
Spring Boot will now automatically infer the driver class name from the JDBC URL for the following databases:
-
DB2
-
Firebird
-
Teradata