Spring Framework

Spring version

  1. New version release frequency
    • minor verion every year
    • major version – every 4 years

Spring VersionRelease DateMajor Featurescomments
1.0Mar 2004Initial Release
2.0Jan 2007Annotation-based configuration, Java 5 support, introduced Spring MVC
2.5Nov 2007JPA support, Java 6 support, introduced annotations like @Autowired
3.0Dec 2009Comprehensive Java 5+ support, introduced Spring Expression Language (SpEL)
3.1Dec 2011Environments, caching abstraction, Servlet 3.0 support
3.2Dec 2012WebSocket support, REST improvements, introduction of the “c” namespace
4.0Dec 2013Java 8 support, Groovy bean definition DSL, WebSocket refinements
4.1Sep 2014JCache support, WebSocket messaging updates
4.2Jul 2015Comprehensive WebSocket updates, including SockJS
4.3Jun 2016JDK 9, JUnit 5, and HTTP/2 support, and various improvements
5.0Jul 2017Java 8 baseline, reactive programming with Project Reactorused in consumer project [5.0.1/5.0.2]
5.1Oct 2018JDK 11 support, Kotlin support
5.2Jun 2019R2DBC support, Micrometer integration for metrics
5.3Nov 2020JDK 17 support, introduction of the Record data type for Kotlin

Springboot versions and corresponding spring version support:

Spring Boot VersionSupported Spring Framework Versions
1.x4.x
2.0.x – 2.3.x5.x
2.4.x5.x, 6.x
3.0.x – 3.2.x6.x
  1. 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>

Published by

Unknown's avatar

sevanand yadav

software engineer working as web developer having specialization in spring MVC with mysql,hibernate

Leave a comment