First Grails Release Under the SpringSource Banner

Engineering | Graeme Rocher | November 14, 2008 | ...

I'm pleased to announce the first release of Grails since the acquisition of G2One by SpringSource. Grails 1.0.4 includes a number of improvements as well as upgrades to key libraries that underpin Grails and can be downloaded from the Grails download page. More specifically Grails 1.0.4 ships with the latest Spring 2.5.6 release that came out a week or so ago.

Beyond the improvements there are a couple of interesting new features in this release. The first is the addition of a feature that better supports mapping of Hibernate user type definitions in GORM. You can now map custom user types onto multiple columns, including the ability to customize the underlying SQL type:

static mapping =  {
     amount type: MonetaryUserType, {
         column name: "value"
         column name: "currency", sqlType: "char", length: 3

Other new features include the ability to define custom PropertyEditor instances used for data binding simply by specifying a PropertyEditorRegistrar instance as a Spring bean in grails-app/conf/spring/resources.groovy. Grails uses Spring's data binding and validation capabilities under the surface, so the mechanics are essentially the same as in Spring MVC.

Now we're shifting focus onto the Grails 1.1 release, which aims to dramatically improve  the unit testing features built into Grails, provide support for the Maven build system, add support for JSP tags in GSP, as well as provide incremental improvements to key existing features such as GORM and the plugin system.

Following the Grails 1.1 release a number of key plugins for Grails will be made possible due to improvements to the plugin system, including plugins for the Java Content Repository (JCR) API, the Java Persistence API (JPA) and the Portlet API. Some of these are already in an alpha state in the plugin repository for those willing live on the bleeding edge.

Overall we're extremely excited about the coming year and look forward to bringing you a number of significant releases in the short term, and some exciting possibilities with integration between Groovy, Grails and key Spring portfolio products such as Spring Batch, Spring Integration and Spring dm Server in the longer term.

Get the Spring newsletter

Thank you!

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all