Last updated by graemerocher 10 months ago

2.4.2 Release Notes

Grails is a dynamic web application framework built on Java and Groovy, leveraging best of breed APIs including Spring, Hibernate and SiteMesh. Grails brings to Java and Groovy developers the joys of convention-based rapid development while allowing them to leverage their existing knowledge and capitalize on the proven and performant APIs Java developers have been using for years.

Update Notes

Recommended plugin versions

If you are upgrading from Grails 2.4.2 and you use the hibernate4 plugin, you will need to update the version in BuildConfig:

runtime ':hibernate4:4.3.5.4' // or ':hibernate:3.6.10.16'

recommended tomcat, asset-pipeline, cache and scaffolding plugin versions for Grails 2.4.x :

build ':tomcat:7.0.54'
compile ':cache:1.1.7'
compile ':scaffolding:2.1.2'
compile ':asset-pipeline:1.8.11'

HibernateTestMixin is now available

There are more details about HibernateTestMixin in What's new in Grails 2.4 Guide guide and the updated guide about unit testing domains. There is now real Hibernate GORM available in unit tests when HibernateTestMixin is used. It's backed by Hibernate 4 and an in-memory H2 database.

Support for Maven-style Dependency Management

It is now possible to declare a management block which is equivalent to the dependencyManagement element in a pom.xml file. This allows you to enforce versions, scopes and exclusions for dependencies. Example

management {
        dependency "commons-logging:commons-logging:1.1.3"
    }

Release Information