JDK 9, JUnit 5, and HTTP/2 support, and various improvements
5.0
Jul 2017
Java 8 baseline, reactive programming with Project Reactor
used in consumer project [5.0.1/5.0.2]
5.1
Oct 2018
JDK 11 support, Kotlin support
5.2
Jun 2019
R2DBC support, Micrometer integration for metrics
5.3
Nov 2020
JDK 17 support, introduction of the Record data type for Kotlin
Springboot versions and corresponding spring version support:
Spring Boot Version
Supported Spring Framework Versions
1.x
4.x
2.0.x – 2.3.x
5.x
2.4.x
5.x, 6.x
3.0.x – 3.2.x
6.x
Is the spring version automatically inferred from spring-boot starter parent?
Yes, in a Spring Boot project, the version of the Spring Framework is often inferred from the version of the spring-boot-starter-parent.
By using the spring-boot-starter-parent, you delegate the management of dependencies, including the Spring Framework version, to Spring Boot. The parent POM (Project Object Model) file of the starter contains properties that specify the versions of various libraries, including the Spring Framework.
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.0</version>
</parent>
<dependencies>
<!-- Other dependencies specified here will inherit the version from the parent -->
</dependencies>
<build>
<plugins>
<!-- Maven plugins with default configurations -->
</plugins>
</build>