First Grails Release Under the SpringSource Banner

grocher

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.

Similar Posts

Share this Post
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • DZone
  • LinkedIn
  • Slashdot
  • Technorati
  • TwitThis
 

17 responses


  1. Very good news¡ Congrats


  2. Good 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.


  3. Great to know the enhanced Hibernate user type support, which is required in any serious domain driven design…


  4. Great!I had used graiils 1.03 for a long time with pleasure!


  5. just 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


  6. obviously, 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


  7. @Peter
    Did you update GRAILS_HOME and PATH to point to the 1.04 directories?


  8. What 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!


  9. @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


  10. @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.


  11. @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


  12. Dear 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!


  13. Thanks for this! Keep going, we all love Spring and Grails :)


  14. Funny 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.


  15. Hi graeme, I don't see grails anywhere on spring source forum ? when will we get a space there ??


  16. Can'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!


  17. In 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

5 trackbacks

Leave a Reply