First Grails Release Under the SpringSource Banner

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:
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.
Similar Posts
- Grails 1.1 Released
- Grails 1.1.1 released with Google AppEngine support
- Update on Groovy and Grails Tools
- Grails 1.2 Released
- SpringSource Tool Suite 2.1.0 Now Available











Domingo Suarez Torres says:
Added on November 14th, 2008 at 12:27 pmVery good news¡ Congrats
Dushan Hanuska says:
Added on November 14th, 2008 at 8:10 pmGood work! I started using Grails heavily two weeks ago and have already been bitten by two bugs that are fixed in this release. I am installing it right now.
Alex Wei says:
Added on November 15th, 2008 at 2:09 amGreat to know the enhanced Hibernate user type support, which is required in any serious domain driven design…
MOY says:
Added on November 15th, 2008 at 6:21 amGreat!I had used graiils 1.03 for a long time with pleasure!
Peter Strotmann says:
Added on November 15th, 2008 at 6:38 amjust tried to upgrade my application from 1.0.3 to 1.0.4.
according to the readMe I did it by
grails clean
grails upgrade
Everything looked ok, the application started, the welcome screen (a list) was filled with data from db2.
But most of the links from that screen lead to a java null pointer exception.
I just made a reset to 1.0.3 and everything is working fine again.
What activities other than clean, upgrade have to be performed to profit from 1.0.4 benefits.
Peter
Peter Strotmann says:
Added on November 15th, 2008 at 8:24 amobviously, everyone who is interested to figure out the problem is invited to discuss it with me by eMail, where I can give more specific details like sources etc.
But don't worry about me, as long as I have the fine working 1.0.3, I have no problem.
Peter
jl says:
Added on November 15th, 2008 at 10:49 am@Peter
Did you update GRAILS_HOME and PATH to point to the 1.04 directories?
Grails ExtJS says:
Added on November 15th, 2008 at 9:31 pmWhat a nightmare!! Tried to upgrade from 1.0.3 to 1.0.4, nothing but problems!!!! Going back to 1.0.3. but don't intend to stay there for very long before looking towards ruby.
BTW, I also have the same issues as Peter Strotmann, and many more!
Peter Strotmann says:
Added on November 16th, 2008 at 4:33 am@jl
yes I did, as you can see from .profile excerpt attached hereto:
————— cut ——————
JAVA_HOME=/opt/java6/jdk
GRAILS_HOME=/opt/grails/grails-1.0.4
PATH=$GRAILS_HOME/bin:$PATH
export PATH
export JAVA_HOME
export GRAILS_HOME
————— cut —————–
Peter
Graeme Rocher says:
Added on November 16th, 2008 at 5:13 am@Peter and @Grails ExtJS
Please report whatever issues you are having on the mailing lists at: http://grails.org/Mailing lists
I'm sure the problems you are having are isolated and can be diagnosed with more detailed error reports. The comments here are not really a forum for this kind of discussion.
Peter Strotmann says:
Added on November 16th, 2008 at 12:57 pm@graeme
because the solution to my issue is small, I present it here:
in most of my 1.0.3 controllers I used dynamic scaffolding and overwrote some of the actions. The overwroted actions are still working fine, because they still use the same name e.g. beanName for a bean Instance that is used in the corresponding .gsp – files. But the scaffolded actions do not, they use the name beanNameInstance, which cannot be found by the corresponding .gsp – files, still using just beanName. This results in nullPointer exceptions and other ugly things.
I think renaming instances in my .gsp files doesn't bother me too much so I can proceed with 1.0.4.
Peter
json says:
Added on November 16th, 2008 at 8:28 pmDear grocher:
In our application ,GSP and GROOVY file are encoded by GBK.Now ,the grails version we use is 1.0-rc2.When I upgrade it from 1.0-rc2 to 1.04,all Chinese characters display incorrectly.What should i do?
Thanks!
resmo says:
Added on November 18th, 2008 at 5:15 amThanks for this! Keep going, we all love Spring and Grails
Thomas says:
Added on November 19th, 2008 at 6:42 pmFunny to see Maven in the list
I remember your posts about Maven.
Hopefully Grails will continue being so great as it has been so far and will not become spoiled by SpringSource.
Andre Prasetya says:
Added on November 20th, 2008 at 12:52 amHi graeme, I don't see grails anywhere on spring source forum ? when will we get a space there ??
DR says:
Added on November 28th, 2008 at 2:43 pmCan't wait for spring-dm-server/Grails integration… Of course one can deploy a Grails war on spring-dm-server, but it would be interesting to be able to more closely integrate them, esp. deploy a grails app as a Web Module bundle (!). The possibilities are endless!
younghoe says:
Added on December 5th, 2008 at 1:24 amIn spite of my lack of English-skills, I write this post to share my inspiration triggered by Adrian's keynote. This is my first English post ever.)
http://younghoe.info/1028