One of the main additions in 1.5 is support for JDK 5. While Groovy still supports JDK 1.4, it can take advantage of Java 5 features such as:
- Variable Arguments
- Annotations
- Enums
- Static Imports
- Generics
In addition to the Java 5 related features a number of syntax additions have also been made including support for classical for loops, named parameters without parenthesis, and elvis operators. Performance benchmarks place Groovy 1.5 at 15-45% faster than earlier betas. Tooling support now adds a "joint" Java/groovy compiler contributed by Jetbrains. Jetbrains will also soon be releasing the final 1.0 version of their JetGroovy plugin for IntelliJ 7.