Coming back to this Paul, I did see
https://github.com/apache/groovy/commit/d108274c11dda1f125e157d221fd0dcc27883fd8
And frankly, if these are considered breaking changes, then why are they
in 6.0.1? Considering "What counts as a breaking change" in the same
file I doubt that all the issues in that list should be considered
breaking. And if, then they do not belong in 6.0.1.
On 11/15/26 01:15, Paul King wrote:
Hi folks,
COMPATIBILITY.md has become a regular source of merge conflicts
(around 50 commits touching it since October), because concurrent PRs
add their behaviour-change entries at the same spot, and entries
rarely cherry-pick cleanly between master and GROOVY_6_0_X. The
wishful thinking part of my brain hopes that some of the AI churn we
are seeing will slow down once some of the exotic edge cases that are
being discovered are tackled. But the pragmatic part of my brain
thinks, let's develop a more scalable scheme.
I was thinking to keep the policy sections (stability tiers,
@GroovyABI, deprecation, etc.) in COMPATIBILITY.md, plus a short
index, and move each behaviour-change entry into its own file,
compatibility/changes/GROOVY-NNNNN.md, with a "since:" line giving the
first release that ships it. A small script could assemble the entries
into a per-version view for release notes and review. For humans,
recording a change means adding one small file instead of editing a
1,900-line one, and new entries should no longer conflict.
There are some details to work out, e.g. backporting could mean
setting "since:" to the backport release, so the file is identical on
both branches and cherry-picks cleanly. A partial backport could be
split into two files, one per release (e.g. GROOVY-NNNNN.md for 6.0.1
and GROOVY-NNNNN-7.md for the rest in 7.0). For AI agents, the
existing links to the policy sections keep working; only the "where to
record a behaviour change" guidance in AGENTS.md, CONTRIBUTING.md and
the fix-workflow skill changes. Small per-issue files are also easier
and cheaper for agents to find and read than one large page. The
existing entries could be migrated mechanically either in a single
commit on master at a quiet moment, or via some interim scheme
supporting both approaches.
We can work out the finer details in issue/PR comments but I wanted to
get any initial feedback before filing an issue. Thoughts?
Cheers, Paul.