
Spring 5.0都有什么新功能?
1、最低要求支持JDK8+, J2EE 7+。
2、移除了一些包、类及方法。
3、核心功能加强:全面应用jdk8并兼容jdk9等。
4、SpringMVC:支持servlet4.0、Reactor 3.1等。
5、支持响应式堆栈web框架Spring WebFlux。
6、支持kotlin。
7、加强了测试:完美支持Junit5等。
参考文献
Spring首页:
http://projects.spring.io/spring-framework/
新功能详情:
https://github.com/spring-projects/spring-framework/wiki/What's-New-in-the-Spring-Framework#whats-new-in-spring-framework-5x
最新的参考文档:
https://docs.spring.io/spring/docs/current/spring-framework-reference/
发布说明
https://spring.io/blog/2017/09/28/spring-framework-5-0-goes-ga
如何迁移
https://github.com/spring-projects/spring-framework/wiki/Migrating-to-Spring-Framework-5.x
源码:
https://github.com/spring-projects/spring-framework
推荐阅读
看完有没有收获?分享到朋友圈给更多的人吧。

网友评论