Micronaut Framework 4.0 supports Apache Groovy 4
by Sergio Del Amo CaballeroMicronaut Framework 4.0, to be released in 2023, supports Apache Groovy 4.0. Apache Groovy 4.0 adds new features such as:
- Switch expressions
- Supports using a
sealed
keyword or a@Sealed
annotation when writing a sealed type. - Records and record-like classes
- Built-in type checkers
- Built-in macro methods
- JavaShell
- POJO Annotation
- Groovy Contracts
- GINQ
- TOML Support
- GString performance improvements
- Enhanced Ranges
- JSR308 improvements