Spring Framework 3.2 于 2013 年 12 月 12 日正式发布(General Availability,GA)
Spring Framework 3.2 于 2013 年 12 月 12 日正式发布General AvailabilityGA标志着该版本完成全部测试与验证进入生产就绪状态。此版本引入了多项重要特性包括对 Java 8 的初步支持如 Lambda 表达式兼容性但核心仍基于 Java 6 编译WebSocket 支持集成 SockJS 和 STOMP 协议提供全双工通信能力需配合 Spring WebSocket 模块RestController 注解简化 REST 控制器开发隐式添加 ResponseBody改进的异步支持Async 增强、CompletableFuture 集成雏形增强的测试支持WebAppConfiguration、MockMvc 进一步完善弃用部分旧 API如 XmlWebApplicationContext 中某些过时方法注意Spring 3.2 是最后一个支持 JDK 5/6 的主版本后续 4.0 要求 JDK 6推荐 JDK 7且全面转向注解驱动与响应式演进前的基础架构。!-- Maven 依赖示例Spring 3.2.18.RELEASE最终维护版 --dependencygroupIdorg.springframework/groupIdartifactIdspring-context/artifactIdversion3.2.18.RELEASE/version/dependencySpring Framework 3.2 goes GAExactly one year after the Spring Framework 3.1 release, I’m pleased to announce that Spring Framework 3.2 is generally available now!We recommend an upgrade from all previous Spring releases, in particular from Spring Framework 3.1.x which this is a direct successor for.As previously discussed, key features in Spring Framework 3.2 include:Refined Java SE 7 support within the framework as well as through upgrades to CGLIB 3.0, ASM 4.0 (both of which we’re inlining now) and AspectJ 1.7 Concurrency refinements across the framework, avoiding the use of synchronization wherever possible - in particular for scoped/prototype beans Allowing for Autowired and Value to be used as meta-annotations, e.g. to build custom injection annotations in combination with specific qualifiers Support for custom Bean definition annotations in Configuration classes, e.g. in combination with specific qualifiers, Lazy, Primary, etc Asynchronous MVC processing on Servlet 3.0, with Spring MVC handler methods being able to return Callables and DeferredResults Inclusion of the formerly-standalone Spring MVC Test project, allowing for first-class testing of Spring MVC applications Support for loading WebApplicationContexts in the TestContext framework, and further improvements for web application testing Early support for JCache 0.5 (JSR-107) as a backend for Spring’s cache abstractionFor further details, in particular the many enhancements in Spring MVC, have a look at the New Features and Enhancements in Spring Framework 3.2 section in our documentation.This release incorporates a lot of community feedback, so let me take the opportunity to say thank you to all reporters and contributors! Keep it coming as we’re moving into 2013, working on the next generation of the framework…Cheers,