Grails 2.4 發布,新的GORM MongoDB 和 Hibernate 支持

jopen 10年前發布 | 14K 次閱讀 Grails

今天我們很高興地宣布 Grails2.4 版本發布。這是 2.x 版本的最終版本,并包括了一些顯著的更新。

最重要的是 Grails 2.4.x 搭載了Spring IO platform關鍵部分,包括 Groovy 2.3Spring 4.0.5

發布的亮點

除了列入Spring和Groovy的最新版本,還有一些關鍵的新功能在這個版本中,包括:

  • Standalone GORM & GSP - Yes, GORM for Hibernate 4 and GORM for MongoDB can both be used outside of Grails in a Spring Boot application or Groovy script.
  • Static Compilation - Using extensions to Groovy's static compilation features, it is now possible to statically compile many interactions with the Grails framework, including dynamic finders.
  • Asset Pipeline Plugin - Grails 2.4 replaces the previous Resources plugin with the new Asset Pipeline plugin for managing static assets (CSS, JavaScript etc.).
  • GORM Subqueries - GORM has been enhanced, with extensive support for correlated subqueries.
  • New Maven Plugin - The Maven plugin has been rewritten to use Aether for dependency resolution and now works with multiple versions of Grails.

There is a more comprehensive guide to all the new features available on the Grails website.

Grails 3.0

The focus of our work now shifts to Grails 3.0, which will be a reimagination of the framework you know and love.

Grails 3.0 will be based on Spring Boot, feature advanced Gradle support and the ability to build a range of application types from Micro services to traditional web applications.

We would love to hear your feedback on the release. To report issues head over to JIRA and to join the discussion checkout our new Google Group or post questions on Stack Overflow.

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!