Skip to content

Latest commit

 

History

History
61 lines (34 loc) · 1.2 KB

终于,Spring 5.0 正式发布了!.md

File metadata and controls

61 lines (34 loc) · 1.2 KB

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 5.0下载

Maven:

<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context</artifactId>
    <version>5.0.0.RELEASE</version>
</dependency>

Gradle:

compile group: 'org.springframework', name: 'spring-context', version: '5.0.0.RELEASE'

参考文献

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