Skip to content

Spring Boot 1.3.0 M2 Release Notes

Phil Webb edited this page Jul 9, 2015 · 48 revisions

Spring Boot 1.3.0 M2 Release Notes

Upgrading from Spring Boot 1.3.0 M1

Please also see the upgrade instructions in the 1.3.0.M1

HTTP Gzip compression

You no longer need to use Jetty’s GzipFilter if you want HTTP compression; we now have native support for Tomcat, Undertow and Jetty. To upgrade you’ll need to change any spring.http.gzip. properties to server.compression.. For most users this should be as simple as replacing spring.http.gzip.enabled with server.compression.enabled.

Deprecations in Spring Boot 1.3.0 M2

  • The protected SpringApplication.afterRefresh method that takes a String[] has been deprecated in favor of a version that takes ApplicationArguments.

Other

  • Gzip

  • spring.view. to spring.mvc.view.

  • spring.pidfile to spring.pid.file

  • Security on /health

  • logback-spring.xml

  • GroovyTemplateProperties prefix → resource-loader-location gh-3374

  • server.session-timeout → server.session.timeout

Logging

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.

HTTP response compression

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.

New and Noteworthy

TBD

  • /logfile actuator endpoint

  • SpringVersion class

  • ANSI colors in your banner.txt

  • PID fail-on-write-error

  • Support for jOOQ

  • Support for Artemis

  • Elasticsearch non local nodes

  • Launch script conf file support

  • Support for Spring Session

  • 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

JDBC

Spring Boot will now automatically infer the driver class name from the JDBC URL for the following databases:

  • DB2

  • Firebird

  • Teradata

Spring Session

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.

Clone this wiki locally