Changelog for Groovy 2.4.0-beta-1

Bug

  • [GROOVY-3971] - adding method to class in ASTBuilder not working
  • [GROOVY-6755] - Bad type resolution causing bad classes and TypeNotPresentExceptions with joint compilation, deep generics and star imports
  • [GROOVY-6762] - Groovy won't run in OSGI Java 7 environment
  • [GROOVY-6770] - The method NioGroovyMethods#write does not truncate the content of a file
  • [GROOVY-6793] - Module descriptors should be read in UTF-8

Improvement

  • [GROOVY-2900] - Allow Ant targets declaration by AntBuilder without immediate execution.
  • [GROOVY-6563] - groovysh: completion candidates could use ANSI styles
  • [GROOVY-6622] - groovysh: completion: static members should only be shown for static context
  • [GROOVY-6623] - Groovysh: improve interpreter_mode likeness
  • [GROOVY-6739] - Allow to implement and register a type checking extension as a subclass of TypeCheckingExtension
  • [GROOVY-6752] - groovysh Main not customizable and buggy w.r.t. AnsiConsole *
  • [GROOVY-6753] - groovysh file commands provide ambiguous output
  • [GROOVY-6754] - groovysh positional argument terminates groovysh after evaluation
  • [GROOVY-6839] - @PackageScope could be also allowed for constructors
  • [GROOVY-6861] - Make Groovy run on Android
  • [GROOVY-6943] - Support for custom .rc and .profile scripts to be loaded by groovysh

Task

* potentially breaking change (read issue for details - even minor differences are sometimes flagged as potentially breaking changes)