Spring Framework 4.1 GA 发布

jopen 9年前
Spring框架4.1 GA版本现已推出!

 4.1 几个主题主要新特性:

  • 注释JMS侦听器方法
  • JCache(JSR-107)的注解全面支持
  • 灵活的分辨率和静态Web资源转换
  • MVC 视图: declarative resolution, Groovy 标记模板, Jackson的JsonView
  • WebSocket的改进: WebSocket scope, SockJS 客户端支持, WebSocket stats
  • 性能: SpEL compiler mode, concurrency fine-tuning across the container

和往常一样,4.1还附带了很多改进的细节,例如:

  • Direct field binding support with auto-growing for nested fields
  • Java 8's Optional for injection points and MVC handler parameters
  • Support for the standard @Priority annotation for dependency ordering and selection
  • Annotated @Lookup methods with support for provided constructor arguments
  • Declarative SQL scripts and programmatic transactions in the TestContext framework
  • Enhanced Hibernate JPA setup: isolation levels, discovery of managed packages

Many of those topics have been covered in recent blog posts already and will also be prominently featured at our SpringOne2GX 2014 show in Dallas next week!

We recommend an early upgrade since the 4.1 line is the primary maintenance branch now, immediately superseding the 4.0.x line. For a more conservative upgrade path, we have co-released 4.0.7 with 4.1 GA - as an intermediate step on your way to 4.1 proper.

Cheers,

Juergen

来自:https://spring.io/blog/2014/09/04/spring-framework-4-1-ga-is-here