Changelog for Groovy 3.0.3
Bug
- [GROOVY-9194] - Groovy fails when a script starts with a #
- [GROOVY-9310] - Groovy does not ignore second bash directive
- [GROOVY-9439] - GroovyDocs HTML page for groovy.json.JsonGenerator mostly empty
- [GROOVY-9441] - Fix binary incompatibility between 2.5/3
- [GROOVY-9448] - Missing throws clause of constructor declaration in java stubs
- [GROOVY-9449] - Mutliple methods with the same name now fail before AST transformations can fix it
- [GROOVY-9450] - DefaultGroovyMethods findIndexOf method can't use startIndex
- [GROOVY-9451] - Unable to access static getter method as field
- [GROOVY-9452] - Multiple Repeatable Annotations Container generated if an explicit container is present and an implicit one required
- [GROOVY-9454] - STC: regression for instanceof on generic field/property
- [GROOVY-9455] - STC: no error for if (!(x instanceof T)) x.methodFromT()
- [GROOVY-9459] - Line number information for automatically inserted return statements quirky
- [GROOVY-9462] - Groovy 3 BUG! exception in phase 'conversion' in source unit Caused by NullPointerException
- [GROOVY-9469] - Original exception during global AST transformation no longer preserved in error message
- [GROOVY-9480] - New v9 ClassFinder throws NoSuchFileException/UnsupportedOperationException and writes it to stderr
- [GROOVY-9483] - Console exits when Cancel is clicked on the "Save changes" dialog
- [GROOVY-9485] - metaclass is not initialized
- [GROOVY-9489] - package.html files being ignored during javadoc generation when building on JDK9+
Dependency upgrade
- [GROOVY-9444] - update versions plugin to 0.28.0
- [GROOVY-9445] - Update jackson version to 2.10.3
- [GROOVY-9446] - Bump japicmp-gradle-plugin to 0.2.9
- [GROOVY-9453] - Upgrade picocli to 4.2.0
- [GROOVY-9457] - Upgrade checkstyle to 8.30
- [GROOVY-9466] - Bump javaparser to 3.15.15
- [GROOVY-9467] - Bump Gradle Spotbugs plugin to 4.0.2
- [GROOVY-9474] - Bump Spock version to 2.0-M2-groovy-3.0
- [GROOVY-9476] - Bump spotbugs to 4.0.1
- [GROOVY-9479] - Bump Gradle to 6.3
- [GROOVY-9488] - Bump javaparser to 3.15.17
- [GROOVY-9490] - Bump ASM to 8.0
- [GROOVY-9497] - Bump asm to 8.0.1
Documentation
- [GROOVY-9495] - groovy.transform.NullCheck not mentioned in release notes or language documentation
Improvement
- [GROOVY-9377] - Support JDK15
- [GROOVY-9447] - Add a parse tree viewer to groovy console
- [GROOVY-9475] - Groovy Ant task has an option to specify the output file but not the file encoding
- [GROOVY-9478] - Groovy Ant task could support Ant resources
- [GROOVY-9486] - Remove redundant code `Sentinel`
- [GROOVY-9487] - Update and check if initialized via same field of metaclass
- [GROOVY-9492] - Relax groovy.test.NotYetImplemented dependency on JUnit 4's AssertionFailedError *
New Feature
- [GROOVY-9442] - GEP: Support for the new JDK14 string escape sequence (\s for single space)
Sub-task
- [GROOVY-5357] - The accessor pair can't be provided from different sources
* potentially breaking change (read issue for details - even minor differences are sometimes flagged as potentially breaking changes)