Spring Boot 2.2.6 adds support for Java 14
Take a step forward and upgrade Spring Boot to 2.2.6. The new update includes 53 bug fixes, some new enhancements and features, documentation improvements, and upgrades. Notably, it also adds support for Java 14, the latest JDK version.
While spring is here outside (at least in the Northern Hemisphere), Spring Boot is also here!
Version 2.2.6 is now available. It includes a total of 53 bug fixes, some new enhancements and features, documentation improvements, and a long list of dependency upgrades.
Most notably, Spring Boot now adds support for Java 14, the latest version.
New in 2.2.6
Let’s have a look at some of the highlights this new edition introduces.
Java 14 support
This is perhaps the biggest new change for Spring Boot.
So before you jump in and download the new version of Spring Boot, take a moment and familiarize yourself with everything new in Java! Especially if you’re still rocking Java 8. A lot has changed since then!
View the original issue on GitHub.
There’s a lengthy list of dependency upgrades in the release notes on GitHub. Let’s focus on just a few of the notable ones here that may be of particular interest.
The following dependencies have been upgraded:
- Spring Integration 5.2.5
- Maven Dependency Plugin 3.1.2
- Postgresql 42.2.11
- Kotlin 1.3.71
- Apache Tomcat 9.0.33
- Groovy 2.5.10
- Spring Kafka 2.3.7
- Elasticsearch 6.8.7
Take note. The following have been deprecated as of v2.2.6.
View the release notes for v2.2.6 on GitHub and see all of the latest changes, including all of the bug fixes smoothed out in this version and what changes were made to the documentation.
Quick Spring Boot overview
New to Spring Boot? Let’s quickly get you caught up to speed.
Spring Boot is an open source framework based on Java. Originally developed by Pivotal, it helps users create stand-alone, production-grade Spring-based applications with a minimal amount of configuration.
According to the GitHub README, its main design goals are:
- Provide a radically faster and widely accessible getting started experience for all Spring development
- Be opinionated out of the box, but get out of the way quickly as requirements start to diverge from the defaults
- Provide a range of non-functional features that are common to large classes of projects (e.g. embedded servers, security, metrics, health checks, externalized configuration)
- Absolutely no code generation and no requirement for XML configuration
Newcomers should view the quick start guide and learn how to create a basic “Hello World” endpoint. But first, you will need a JDK (Java Development Kit) and some form of an IDE.
Have any questions? Ask them at Stack Overflow.
Take a step forward and upgrade Spring Boot to 2.2.6.
Enjoy the new release!