Spring Boot pulls on size 2.2.0

Spring Boot pulls on size 2.2.0

Spring Boot 2.2.0 stepped blinking into the Autumn Sunshine this week, with support for Java 13 top of the “noteworthy” changes to the Java application framework.

But don’t worry. As well as the just released Java 13, Java 8 and 11 are also supported.

The Spring team also flagged up a range of performance improvements. These include shorter startup time and reduced memory usage, through proxyBeanMethods=false in Spring Boot’s @Configuration classes. proxyBeanMethods is a new attribute on @Configuration introduced in Spring Framework 5.2 M1

The more idle will be pleased that they can now reduce startup time by enabling global lazy initialization, via a spring.main.lazy-initialization property, though this has knockon effects including a slowdown in the handling of HTTP requests during any delayed initialisation, while failures that would normally occur at startup, will now just occur later.

The latest release also gets a new Spring Boot starter for RSocket Support, which brings the required dependencies for building an application that uses RSocket 

Health indicators can now be organised into groups, which can be configured via configuration properties, for example database indicators, or separate groups for Kubernetes liveness and readiness probes.

Meanwhile, you can now configure behaviour for the auto-configured TaskExecutor and TaskScheduler.

And of course, the upgrade brings support for new versions of no less than nine other Spring projects, including Spring Security 5.2, Spring Kafka 2.3, and Spring Framework 5.2. It also upgrades to stable releases of third-party libraries “wherever possible” including Elasticsearch 6.7.

Spring Boot is available now from repo.spring.io, Maven Central and Bintray