Grails Diary - Week 44 in 2014

02 November 2014

This weeks biggest news is the release of Grails version 2.4.4. The release notes reveals that this is a bugfix version, with focus on testing. Unit tests for forward nolonger contains a leading '/grails' or a trailing '.dispatch' and grails-datastore-test-support is updated. One new feature has been introduced, the @DirtiesRuntime annotation, which on a single test can inform the framework, that the metaclass is contaminated in this test only. It is a nice supplement for the @FreshRuntime annotation.

Other releases include Ratpack version 0.9.10, and the Gaiden tool that makes it easy to create documentation with Markdown in version 1.0. Gaiden is available through GVM too. The Groovy Android plugin for Gradle in version 0.3.4 now supports product flavors.

I will join the large amount of people, who applause the look of the new Groovy documentation! It is almost a work of art: Groovy Language Documentation

Mr. Haki just release a pay-what-you-want book on the Spock testing framework: "Spocklight Notebook". Get it now from and don't forget that new tips will be included regularly!

Docker updated its base container for Grails

The grooscript index page has gotten a new look, and Jorge has included a new demo: a chat created in Groovy, running in node.js using dsl, with groovy templates and Grooscript is almost two years from version 0.1 by now!

The Grails Conf in India, taking place January 10th, has opened the Call for Paper


Podcasts and Videos of Presentations

Blogs, Articles, etc.

New Plugins

Updated Plugins

  • Jasypt Encryption Integration with Jasypt, allows easy encryption of information including Hibernate/GORM integration
  • j2ssh SSH Plugin Uses the j2ssh library to provide ssh access via web interface.You can either use default Websockets method which is a live interaction with your backend ssh connection(s) or use ajax polling which only supports 1 concurrent connection at any one time.
  • Websocket Chat Plugin Default WebSocket Multi-chat room plugin, supports Admin privilages, kicking banning users. Webcam support for chrome/firefox. WebRTC (audio/video) support 0.24+
  • Bulk Data Imports Plugin Bulk Data Imports Plugin simplifies importing of bulk data via file uploads Default support for CSV and domain classes
  • Plugin The Plugin allows your Grails application to use lets you send your analytics data to any service you want, without you having to integrate with each one individually.
  • Audit Logging Plugin Automatically log change events for domain objects.The Audit Logging plugin additionally adds an instance hook to domain objects that allows you to hangAudit events off of them. The events include onSave, onChange, and onDelete.When called, the event handlers have access to oldObj and newObj definitions that will allow you to take action on what has changed.
  • Bridges Weceem authentication to Spring Security Provides the glue needed to make Weceem plugin use Spring Security for authorisation and authentication. Your application still needs to configure Spring-Security however. The domain class is expected to include "email" property.
  • Grails JCaptcha Plugin Makes using JCaptcha within a Grails app simple
  • Cascade Validation Plugin Establishes a 'cascade' constraint property for validateable objects. If "cascade:true" is set on a nested object, the nested object's validate() method will be invoked and the results will be reported as part of the parent object's validation.Based on a blog post by Eric Kelm: with permission.
  • Plugin Bootstrap CSS framework resource files Provides Bootstrap CSS framework resour
  • camunda Grails Plugin This plugin integrates the camunda BPM platform with Grails. camunda BPM is a flexible framework for workflow and process automation. It's core is a native BPMN 2.0 process engine that runs inside the Java Virtual Machine. It is a perfect match for the Spring Framework - and therefore for Grails, too.
  • Stylus Asset Pipeline Plugin Provides Stylus support for the asset-pipeline static asset management plugin.
  • ElasticSearch Grails Plugin The revived Elasticsearch plugin for Grails.
  • Hibernate 3 for Grails Provides integration between Grails and Hibernate 3 through GORM
  • Hibernate 4 for Grails Provides integration between Grails and Hibernate 4 through GORM

Interesting Tweets


Conferences and meetups