-
Notifications
You must be signed in to change notification settings - Fork 0
Spring Boot 1.1 Release Notes
The spring-boot-starter-test POM is no longer automatically included in the spring-boot-starter-parent. Adding default test dependencies to the parent POM seemed like a good idea, unfortunately they couldn’t easily be changed or removed.
When upgrading from 1.0 be sure to add a dependency to spring-boot-starter-test.
Spring Boot 1.0 used the Lettuce Redis driver. Spring Boot 1.1 instead uses the Jedis driver. This change should be transparent for most users.
The HealthIndicator interface has changed to support a richer set of status codes, so it now always returns a Status. The default implementation also aggregates any other HealthIndicators it finds in the application context, and the HealthEndpoint returns an HttpStatus that matches the Status (e.g. 503 for unavailable). The SimpleHealthIndicator class has been renamed to SimpleDataSourceHealthIndicator.
Several third-party dependencies have been upgraded to align versions with those defined in the upcoming Spring IO Platform release. It is now also possible to use a custom version meta-data file with the Spring Boot Gradle plugin.
There is now support for Freemarker, Groovy and Velocity templates alongside the existing Thymeleaf and JSP support.
The /metrics actuator endpoint now include more information, including heap details, class load count, thread information and garbage collection statistics.
The HealthIndicator interface has been improved so that you can register multiple beans. We’ve also added out of the box support for Redis, Mongo and RabbitMQ indicators (alongside the existing JDBC indicator).
The Spring Boot Maven plugin now supports excludes which can be used to filter the libraries that bundled as part of your ``fat'' jar. Plugin documentation is now also published as a maven site.
You can now add a custom banner by adding a banner.txt file to your classpath or by setting a banner.location property.
Mongo auto-configuration has been improved so that you can now inject Mongo, MongoDbFactory or MongoTemplate beans. GridFS support has also been added via an auto-configured GridFsTemplate bean.
Auto-configuration support is now available for GemFire, along with a new spring-boot-starter-data-gemfire starter POM.
Auto-configuration classes for Spring HATEOAS'' and Spring Data Rest MVC'' have now been added to Spring Boot. Multi-part file upload support has been changed to be enabled by default.
Support has been added for the Hikari Connection Pool library. Simply ensure that the HikariCP library is on your classpath and that the Tomcat DBCP is not.