Dear community, The Apache Groovy team is pleased to announce version 5.0.0 of Apache Groovy. Apache Groovy is a multi-faceted programming language for the JVM. Further details can be found at the https://groovy.apache.org website.
We are sure you'll enjoy the features in this new version of Groovy. Your feedback on any unintentional glitches is welcome. You can find out more details in the Groovy 5 release notes: https://groovy-lang.org/releasenotes/groovy-5.0.html Some highlights: Broader JDK Support * Full compatibility with JDK 11–25. * Many JDK 17–25 language features available for use on earlier JDKs. Substantial Extension Method Expansion * 350+ new and improved methods to boost productivity. * Up to 10× faster array operations. * Lazy iterator methods offering stream-like behavior without the overhead. * New utilities beyond the standard JDK for richer out-of-the-box functionality. Enhanced AST Transforms * New @OperatorRename transform for seamless operator overloading in third-party libraries. Revamped REPL (groovysh) * Built on JLine 3 with cross-platform terminal support. * Colorized syntax highlighting, intelligent output, history, and completion. Improved Java Interoperability * Pattern matching for instanceof. * Support for JEP-512 compact source files and instance main methods. Modern Web Standards * Enhanced web content creation with both Jakarta and legacy Javax support. Type Checking Enhancements * Stronger-than-Java format string checking. Additional Language Goodies * Infinite iterator generation. * Index variables in loops. This release includes 4 bug fixes/improvements since RC-1 as outlined in the changelog: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12318123&version=12356185 There are over 600 fixes/improvements since Groovy 4. Sources, convenience binaries, downloadable documentation and an SDK bundle can be found at: https://groovy.apache.org/download.html We recommend you verify your installation using the information on that page. Jars are also available within the major binary repositories. We welcome your help and feedback and in particular want to thank everyone who contributed to this release. For more information on how to report problems, and to get involved, visit the project website at https://groovy.apache.org/ Best regards, The Apache Groovy team.