Spring Framework 3.2 M1(Milestone 1)于2012年9月发布,是Spring 3.2版本的第一个里程碑版本。该版本引入了多项重要新特性与改进,主要包括:
- ✅对Java 8的早期支持准备(虽未完全适配,但为后续Java 8兼容性铺路)
- ✅增强的Web MVC支持:包括
@RestController注解的雏形(正式引入在3.2 RC1)、异步请求处理(基于Servlet 3.0的DeferredResult和Callable)、更灵活的@RequestMapping组合注解支持 - ✅改进的测试支持:
@WebAppConfiguration、MockMvc增强、支持测试中加载WebApplicationContext - ✅条件化Bean注册:初步引入
@Conditional机制(后在4.0中全面推广) - ✅性能与内存优化:如
ClassPathScanningCandidateComponentProvider缓存优化、减少反射调用开销
⚠️ 注意:M1为预览版,不建议用于生产环境;正式GA版(3.2.0.RELEASE)发布于2013年2月。
<!-- Maven 坐标示例(仅限测试/评估,非生产推荐) --><dependency><groupId>org.springframework</groupId><artifactId>spring-context</artifactId><version>3.2.0.M1</version></dependency>Spring Framework 3.2 M1 Released
Releases
Chris Beams
May 29, 2012
The first milestone release toward Spring 3.2 is now available from the SpringSource repository at http://repo.springsource.org. See here for a quick tutorial on resolving these artifacts via Maven.
This release includes:
initial support for asynchronous @Controller methods early support for JCache-based cache providers significant performance improvements in autowiring of non-singleton beans initial delay support for @Scheduled and <task:scheduled> ability to choose between multiple executuors with @Async enhanced bean profile selection using the not (!) operator 48 bugs fixed, 8 new features and 36 improvements implementedThis is also the first release since our move to GitHub and using our new Gradle build. A special thanks to the authors of the many pull requests submitted and merged during 3.2 M1! Keep them coming!
Download | Documentation | Javadoc API | Change Log | JIRA | Forum | Stack Overflow
comments powered by Disqus
Spring3.2的第一个里程碑版本现在可以从SpringSource存储库http://repo.SpringSource.org获得。有关通过Maven解决这些工件的快速教程,请参见此处。
此版本包括:
异步@Controller方法的初始支持
早期支持基于JCache的缓存提供程序
非单例bean自动连线的显著性能改进
@Scheduled和task:Scheduled的初始延迟支持
使用@Async在多个执行器之间进行选择的能力
使用not(!)增强bean配置文件选择操作人员
修复了48个错误,实现了8项新功能和36项改进
这也是我们迁移到GitHub并使用新的Gradle构建之后的第一个版本。特别感谢在3.2 M1期间提交并合并了许多pull请求的作者!让他们来!
下载|文档| Javadoc API |更改日志| JIRA |论坛|堆栈溢出