-
Notifications
You must be signed in to change notification settings - Fork 0
Migrating to Spring Framework 5.x
Note that the 5.x generation is currently in the Milestone phase; please check out the Roadmap page on JIRA for more details on upcoming versions.
For a general overview of new features, refer to What's New in the Spring Framework.
Spring Framework 5.0 requires Java SE 8 or above, since its entire codebase is now based on Java 8 source code level. The project offers full compatibility with JDK 9 as of July 2016.
Java EE 7 API level is required in Spring's corresponding modules now:
- Servlet 3.1 (Servlet 2.5 runtime compatibility has been dropped)
- JMS 2.0
- JPA 2.1
- Bean Validation 1.1
- Tomcat 8.5+
- Jetty 9.3+
- WildFly 10+
- with the addition of Netty 4.1 and Undertow 1.4 for the Web Reactive module
- Package
mock.staticmock
removed fromspring-aspects
module.- No support for
AnnotationDrivenStaticEntityMockingControl
anymore.
- No support for
- Packages
web.view.tiles2
andorm.hibernate3/hibernate4
dropped.- Minimum requirement: Tiles 3 and Hibernate 5 now.
- Many deprecated classes and methods removed across the codebase.
- A few compromises made for commonly used methods in the ecosystem.
The Spring Framework no longer supports: Portlet, Velocity, JasperReports, XMLBeans, JDO, Guava (replaced by the Caffeine support). If those are critical to your project, you should stay on Spring Framework 4.3.x (supported until 2019).
- Jackson 2.6+
- EhCache 2.10+ / 3.0 GA
- Hibernate 5.0+
- JDBC 4.0+
- XmlUnit 2.x+
- OkHttp 2.x is deprecated, 3.x recommended
- Netty 4.1+
What's New in the Spring Framework
Building a distribution with dependencies
Migrating from earlier versions of the Spring Framework
Migrating to Spring Framework 5.x
Migrating to Spring Framework 4.x
Migrating to Spring Framework 3.x
Manually merging pull requests