2023 Release Notes
October 2023
Groovy version upgrade
We updated ScriptRunner for Confluence Cloud to Groovy 4 on October 4 2023!
The following are the most significant new features that have been added in Groovy 4:
- Switch expressions which, unlike switch statements, are optimized for branches that handle one case and break out rather than fall through to the next case.
- Sealed types
- Records
- Ranges have been enhanced with support for ranges open on the left, for example,
3<..5, or both sides, for example,0<..<3 - Support for annotating generic types, for example
List<@IntRange(min = 0, max = 10) Integer>
Please have a look at the Groovy 4 Release Notes for a complete list of new features.
CAUTION: Breaking changes that could affect your scripts
Visit Breaking Changes to learn how Groovy 4 could affect and break your scripts.