Repository navigation
Update Groovy to 6.0.1 - #17231
Open
matrei wants to merge 1 commit into
Open
Update Groovy to 6.0.1#17231matrei wants to merge 1 commit into
matrei wants to merge 1 commit into
Conversation
Groovy 6.0.1 is a bug-fix release that also moves two dependencies the BOM manages: - groovy-groovysh moves to JLine 4.7.0. jline.version tracks the JLine version Groovy ships, so it follows. - groovy-yaml and groovy-toml move to Jackson 2.23.0, which would win over the 2.22.4 jackson-2-bom.version, so the BOM moves to 2.23.0 and jackson-annotations to 2.23. 2.23.0 carries the CVE-2026-110879 fix of 2.22.4.
This was referenced Nov 30, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates the managed Groovy version from 6.0.0 to 6.0.1, together with the two BOM entries that follow it.
Release notes: https://groovy-lang.org/changelogs/changelog-6.0.1.html
Groovy 6.0.1 is a large bug-fix release with 272 issues. It fixes the three 6.0.0 regressions reported from the Groovy 6 upgrade work (#16157):
@Delegategenerates no methods returning a nested class of a joint-compiled Java source.static abstract.TYPE_USEannotation.It also carries the fixes of 5.1.4 and many static compilation, trait and closure fixes. GROOVY-12789 (trait statics checked as overrides of instance getters, #17030) is still open.
Changes
groovy.versionmoves from 6.0.0 to 6.0.1.jline.versionmoves from 4.4.5 to 4.7.0.groovy-groovysh6.0.1 depends on JLine 4.7.0, and so does the optionaljansiofgroovy. This key tracks the JLine version Groovy ships.jackson-2-bom.versionmoves from 2.22.4 to 2.23.0, andjackson2-annotations.versionfrom 2.22 to 2.23.groovy-yamlandgroovy-toml6.0.1 depend on Jackson 2.23.0, which would otherwise win over the BOM. 2.23.0 was released after 2.22.4 and keeps its fix for CVE-2026-110879: the newPolymorphicTypeValidator.isArrayTypeAllowedExplicitly()from that fix is in the 2.23.0 jar.Groovy 6.0.1 also moves FlatLaf to 3.8, commonmark to 0.33.0 and
asm-utilto 9.11.1. The BOM manages none of those except ASM, which is already at 9.11.1. TheSbomPluginlicense correction for JLine matches every 4.x version, so it needs no change.Verification
./gradlew validateDependencyVersions validateBomProperties build -PskipTests --continuepasses for every module.grails-bootstrap,grails-spring,grails-core,grails-web-common,grails-databinding,grails-validation,grails-domain-class,grails-datamapping-core,grails-url-mappings,grails-controllers,grails-interceptors,grails-testing-support-core, the GSP modules, the views modules,grails-xml,grails-shell-cliandgrails-console.:grails-forge-cli:checkpasses (53 tests). ItsInteractiveShelldrives JLine directly and resolves 4.7.0../gradlew cleanViolationReports aggregateViolations --continuefinds no Checkstyle, CodeNarc, PMD, RAT or repository-convention violations. SpotBugs is enabled in no project.Merging
The change merges into 9.1.x and 10.0.x without conflicts. #17230 updates 8.0.x to Groovy 5.1.4, and its merge-up into 9.0.x conflicts on
groovy.version. Keep the 9.0.x side.Follow-ups
The workarounds whose Groovy defects 6.0.1 fixes are removed in two stacked PRs. #17232 targets 8.0.x and handles GROOVY-12427 and GROOVY-12434. #17233 targets 9.0.x and handles GROOVY-12426.