Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreSpring Boot 1.1.1 has been released and is available now from repo.spring.io and maven central. This release will form part of the Spring IO Platform and offers a number of new features and improvements over 1.0. For upgrade instructions and "new and noteworthy" features please see the release notes.
NOTE: Please use v1.1.1 as there was a minor issue with the initial v1.1.0 release
Here are some of the highlights:
Alongside the existing Thymeleaf and JSP support, Additional templating options have been added for Freemarker, Velocity and Groovy. Groovy templates are particularly cool, with a beautifully concise markup:
html(lang:'en') {
head {
meta('http-equiv':'"Content-Type" content="text/html; charset=utf-8"')
title('My page')
}
body {
p('This is an example of HTML contents')
}
}
For more information check out the "Using the innovative Groovy template engine" blog post by Cédric Champeau.
The /metrics
actuator endpoint now includes more information, including heap details, class load count, thread information and garbage collection statistics. The HealthIndicator
interface has been improved to allow for multiple indicator beans, and to support returning specific HTTP status codes when there is a problem. Out of the box support for JDBC, Redis, Mongo and RabbitMQ is provided.
Support is now provided for Flyway or Liquibase database migrations. Using either project provides a simple way to dynamically evolve your database schema as your product develops.
Additional auto-configurations and starter POMs are now included for GemFire, HornetQ, Elasticsearch, Solr, Spring Social, Spring Integration, Spring Mobile and Spring HATEOAS. If you're upgrading a project that previously defined configuration for any of these products, you should check to see if you can delete some code!
This is one of my favorite little improvements and should be familiar to any DropWizard users. You can now define a custom banner by adding a file called banner.txt
to your classpath.
The reference documentation has been updated to reflect the new features and several additional How-to's have been added. We are now also publishing a generated Maven site for the spring-boot-maven-plugin
.
Thanks to everyone that has contributed to this release, we have had lots of community involvement and many new features and improvements were developed by external contributors. Please keep up the good work and continue to raise those issues and pull requests!