Groovy 1.6 is a very important milestone for the project, bringing tremendous performance improvements making Groovy the fastest dynamic language for the JVM, as well as several new powerful features adding more weapons to your dynamic language arsenal.
In particular, beyond the usual bug fixes and minor enhancements, let me mention the following novelties:
- multiple assignments
- optional return in if/else and try/catch blocks
- AST transformations and all the provided transformation annotations like @Bindable, @Vetoable, @Singleton, @Lazy, @Immutable, @Delegate, @Category, @Mixin and @Newify
- the Grape module and dependency system and its @Grab transformation
- various Swing builder improvements, thanks to the Swing / Griffon team
- as well as several Swing console improvements
- the integration of JMX builder
- JSR-223 scripting engine built-in
- various metaprogramming improvements, like the ExpandoMetaClass Domain-Specific Language, per-instance metaclasses even for POJOs, and runtime mixins
- OSGi readiness with the Groovy JAR being a full-blown OSGi bundle
A very detailed article on InfoQ, entitled “What’s new in Groovy 1.6?”, delves into all these new features and enhancements, with code samples and explanations.
You could also choose to attend the GR8 Conference, a conference dedicated to Groovy, Grails and Griffon, organized by the Danish JUG and SpringSource! You’ll learn more about the event on the conference website or by following its twitter account. The conference takes place in Copenhagen, Denmark, in May, and will provide several practical sessions and hands-on labs to get you up-to-speed on those great Groovy-based technologies.