Release notes for Groovy 6.0
Groovy 6 builds upon existing features of earlier versions of Groovy. In addition, it incorporates numerous new features and streamlines various legacy aspects of the Groovy codebase.
|
Highlights
TBD
Under exploration
-
Annotations in more places (source only), e.g. @Parallel, @Invariant on for loops
-
Grapes/Grab users can choose Maven Resolver or Ivy
-
Java compatibility: Module import declarations, additional destructuring
-
Improve REPL further (think nushell)
-
Performance
-
Spec improvements
-
Further subprojects, e.g. maybe GPars
-
async/await like functionality
JDK requirements
Groovy 6 requires JDK17+ to build and JDK17 is the minimum version of the JRE that we support. Groovy 6 has been tested on JDK versions 17 through 25.
More information
You can browse all the tickets closed for Groovy 6.0 in JIRA.