On behalf of the Spring Boot team and everyone that has contributed, I am pleased to announce that Spring Boot 2.3.0 has been released and is available now from repo.spring.io and Maven Central.
This release adds a significant number of new features and improvements. For full upgrade instructions and new and noteworthy features please see the release notes.
What’s new in 2.3
Spring Boot 2.3 moves to new versions of several Spring projects:
- Spring Data Neumann
- Spring HATEOAS 1.1
- Spring Integration 5.3
- Spring Kafka 2.5
- Spring Security 5.3
- Spring Session Dragonfruit
We’ve also upgraded to the latest stable releases of other third-party libraries wherever possible. Some of the more notable third-party dependency upgrades in this release include:
- Cassandra Driver 4.6
- Couchbase Client 3.0
- Elasticsearch 7.6
- Kafka 2.5
- Micrometer 1.5
- MongoDB 4.0
Java 14 support
Spring Boot 2.3 supports Java 14 while also remaining compatible with Java 11 and 8.
Spring Boot 2.3 adds some interesting new features that can help you package up your Spring Boot application into Docker images.
Support for building Docker images using Cloud Native Buildpacks and has been added to the Maven and Gradle plugins via the
spring-boot:build-image goal and the
bootBuildImage task. The Paketo Java buildpack is used by default to create images.
Also, support for building jar files with contents separated into layers has been added to the Maven and Gradle plugins.
Graceful shutdown is supported with all four embedded web servers (Jetty, Reactor Netty, Tomcat, and Undertow) and with both reactive and Servlet-based web applications. When a grace period is configured, upon shutdown, the web server will no longer permit new requests and will wait for up to the grace period for active requests to complete.
Liveness and Readiness probes
Spring Boot 2.3 has built-in knowledge of the availability of your application, tracking whether it is alive and whether it is ready to handle traffic. Check this blog post for more details.
Spring Data Neumann
Spring Boot 2.3 ships with Spring Data Neumann that contains numerous major version and driver upgrades. This release also adds GA support for R2DBC.
There’s a whole host of other changes and improvements that are documented in the release notes. You can also find a list of deprecated classes and methods that we plan to remove in the next version.