I'm very pleased to report here the very recent release of Groovy 1.6, which happened under the SpringSource umbrella, since the acquisition of G2One by SpringSource.
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.
If you wish to learn more about Groovy, and in particular Groovy 1.6, you should definitely consider attending SpringOne Europe, in April, where sessions on Groovy and Graills…