Apache Groovy 2.5.12 and 3.0.4 Released with Improvements and Bugfixes

Apache Groovy versions 2.5.12 and 3.0.4 have been released, with 3.0.4 as the maintenance release for the 3_0_X branch, offering 45 bugfixes and enhancements—including new slurper path support, Stream toArray(Class) extension, updated dependencies, and documentation improvements.

Laravel Tech Community
Laravel Tech Community
Laravel Tech Community
Apache Groovy 2.5.12 and 3.0.4 Released with Improvements and Bugfixes

Apache Groovy 2.5.12 and 3.0.4 have been released. Version 3.0.4 is the maintenance release for the 3_0_X branch, and the project recommends that all users of this branch upgrade to the latest version.

The releases contain a total of 45 bug fixes and improvements.

Improvements (3.0.4)

[GROOVY-9504] - Add path support for the slurper class.

[GROOVY-9512] - Use a different switch to control the indy callback fixed threshold.

[GROOVY-9545] - DGM: Add a toArray(Class) extension method for java.util.stream.Stream.

[GROOVY-9549] - groovydoc: Interfaces that were not displayed in class descriptions are now shown.

Bugfixes (3.0.4)

[GROOVY-4554] - JavaStubGenerator incompatibility with package-info.groovy files.

[GROOVY-8774] - Stub generator cannot handle package-info.

[GROOVY-9398] - GroovyScriptEngine cannot recompile classes that use generic parameters.

[GROOVY-9405] - JUnit 5 IncompatibleClassChangeError.

[GROOVY-9432] - ClassNotFoundException when using Grapes with Picocli.

[GROOVY-9465] - GroovyDoc: class header not always displayed.

[GROOVY-9501] - MissingPropertyException when a subclass accesses a private static field of an inner class.

[GROOVY-9505] - UnsupportedOperationException: feature requires ASM8 on JDK 14 in Spock tests.

[GROOVY-9506] - Joint compilation broken.

Bugfixes (2.5.12)

[GROOVY-8966] - NumberRange in exclusive state is converted to inclusive when used with List.getAt(range).

[GROOVY-9501] - MissingPropertyException when a subclass accesses a private static field of an inner class.

[GROOVY-9506] - Joint compilation broken.

[GROOVY-9517] - Runtime type‑casting error from Class Array to Class List under @CompileStatic.

[GROOVY-9518] - Cannot infer closure parameter type when calling a constructor.

[GROOVY-9519] - CLIBuilder: option type: Integer, defaultValue '0' produces a boolean when a default value is applied.

[GROOVY-9528] - CLIBuilder: "error: Missing required options" when an unknown option is provided.

Dependency Upgrades

[GROOVY-9552] - Bump Apache Ant versions to address CVE‑2020‑1945 (insecure temporary file vulnerability).

[GROOVY-9553] - Upgrade Picocli to version 4.3.2.

Documentation

[GROOVY-9531] - Improve documentation for Groovy 3.0's CliBuilder.

For full details, see the official release notes.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

javareleaseGroovyImprovements
Laravel Tech Community
Written by

Laravel Tech Community

Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.