Groovy 1.8 final is released
Following four betas and four release candidates, the Groovy development team has announced the arrival of the latest and current stable branch of Groovy, version 1.8. Groovy is an open source dynamic scripting language for the Java Virtual Machine (JVM).
In the release announcement, Groovy project manager Guillaume Laforge says that Groovy 1.8 is "packed with tons of new features and enhancements". These new features include Domain-Specific Language authoring capabilities such as easier command chaining. There are also additional compile-time meta-programming features such as new AST transformations, which add annotations designed to reduce the amount of common code that needs to be written. These annotations include @Log, @Field, @AutoClone, @AutoExternalizable, @ThreadInterrupt, @TimedInterrupt, @ConditionalInterrupt, @ToString, @EqualsAndHandCode, @TupleConstructor (and @Canonical which combines the last three annotations), @InheritConstructors, @WithReadLock and @WithWriteLock.
List<List<String>> myList=new ArrayList<>();
This avoids the programmer having to specify the
<List<String>> definition on either side of the definition. The developers say that the Groovy 1.9 will be more aligned with JDK 7 features such as the Project Coin enhancements.
Other changes include runtime performance improvements (faster integer operations and direct method calls), closure enhancements (the ability to use closures as parameters for annotations), the bundling of the GPars parallel and concurrency library with the Groovy distribution and numerous enhancements throughout the language.
According to the project's roadmap, the first beta for version 1.9 of Groovy is expected to arrive in May, followed by two more betas in June and September. Two release candidates will follow in October, after which the final version is scheduled to be released in November.
- Groovy++ goes fully open source, a report from The H.
- Groovy 1.7 goes final, a report from The H.
- Grails and Groovy - The Dynamic Duo for Java, a feature from The H.