Spring Framework 4.1 GA 版本發布了!

發布 | Juergen Hoeller | 2014 年 9 月 4 日 | ...

親愛的 Spring 社群:

我很高興宣布,經過密集的候選版本階段後,Spring Framework 4.1 GA 版本現在已正式推出!

我們的 4.1 版本在多個主題上提供了主要的新功能:

  • 帶註解的 JMS 監聽器方法 (Annotated JMS listener methods)
  • 全面支援 JCache (JSR-107) 註解 (Comprehensive support for JCache (JSR-107) annotations)
  • 彈性的靜態 Web 資源解析和轉換 (Flexible resolution and transformation of static web resources)
  • MVC 視圖:宣告式解析、Groovy 標記範本、Jackson 的 JsonView (MVC views: declarative resolution, Groovy markup templates, Jackson's JsonView)
  • WebSocket 改進:WebSocket 範圍、SockJS 客戶端支援、WebSocket 統計數據 (WebSocket refinements: WebSocket scope, SockJS client support, WebSocket stats)
  • 效能:SpEL 編譯器模式、容器中的並行性微調 (Performance: SpEL compiler mode, concurrency fine-tuning across the container)

而且一如既往,4.1 還在細節方面進行了許多增強,例如

  • 具有自動增長的巢狀欄位的直接欄位綁定支援 (Direct field binding support with auto-growing for nested fields)
  • Java 8 的 Optional 用於注入點和 MVC 處理程序參數 (Java 8's Optional for injection points and MVC handler parameters)
  • 支援標準的 @Priority 註解,用於依賴項排序和選擇 (Support for the standard @Priority annotation for dependency ordering and selection)
  • 帶註解的 @Lookup 方法,支援提供的建構子引數 (Annotated @Lookup methods with support for provided constructor arguments)
  • TestContext 框架中的宣告式 SQL 腳本和程式化交易 (Declarative SQL scripts and programmatic transactions in the TestContext framework)
  • 增強的 Hibernate JPA 設定:隔離層級、受管理套件的探索 (Enhanced Hibernate JPA setup: isolation levels, discovery of managed packages)

許多這些主題已經在最近的部落格文章中介紹過,並且也將在我們下週於達拉斯舉行的 SpringOne2GX 2014 展覽中重點展示!

我們建議儘早升級,因為 4.1 系列現在是主要維護分支,立即取代 4.0.x 系列。 對於更保守的升級路徑,我們已經與 4.1 GA 一起共同發布了 4.0.7 - 作為您升級到 4.1 的中間步驟。

請注意,Spring Framework 4.1 並未提高基本系統需求:它仍然是Java 6+、Servlet 2.5+、JPA 2.0+,如原始 Spring Framework 4.0 版本所述,這意味著它甚至可以在 WebSphere 7 上順利運行!

祝您愉快!

Juergen

取得 Spring 電子報 (Get the Spring newsletter)

與 Spring 電子報保持聯繫 (Stay connected with the Spring newsletter)

訂閱 (Subscribe)

取得領先 (Get ahead)

VMware 提供培訓和認證,以加速您的進展。(VMware offers training and certification to turbo-charge your progress.)

了解更多 (Learn more)

取得支援 (Get support)

Tanzu Spring 在一個簡單的訂閱中提供 OpenJDK™、Spring 和 Apache Tomcat® 的支援和二進位檔案。(Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.)

了解更多 (Learn more)

即將舉行的活動 (Upcoming events)

查看 Spring 社群中所有即將舉行的活動。(Check out all the upcoming events in the Spring community.)

檢視全部 (View all)