Grails 2.4 发布,新的GORM MongoDB 和 Hibernate 支持
jopen 11年前
今天我们很高兴地宣布 Grails2.4 版本发布。这是 2.x 版本的最终版本,并包括了一些显著的更新。
最重要的是 Grails 2.4.x 搭载了Spring IO platform关键部分,包括 Groovy 2.3 和 Spring 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.