Changelog for Groovy 2.5.0-beta-2

Bug

  • [GROOVY-7573] - Groovyc ant task does not release file handles
  • [GROOVY-7721] - Static type checking fails when compiling against a Java8 interface with inherited methods
  • [GROOVY-8163] - Groovy scripts can disable java security manager and escape sandbox
  • [GROOVY-8186] - Builder ExternalStrategy constructors have trouble with private fields
  • [GROOVY-8200] - Shorthand |= results in NPE
  • [GROOVY-8205] - Static type checking failure for enums
  • [GROOVY-8230] - Deadlock in GroovyClassLoader
  • [GROOVY-8251] - Implement withCloseable on AutoCloseable
  • [GROOVY-8288] - [Sql] withBatch fails when batchSize == number of addBatch call
  • [GROOVY-8303] - VerifyError for nested class this call to static method
  • [GROOVY-8316] - Project sourceSet for antlr seems wrong
  • [GROOVY-8319] - Improve smart type on list expresions
  • [GROOVY-8330] - Wrong 'Inconvertible types' error on casting interface
  • [GROOVY-8356] - Use javax.validation 2.0 API results in GroovyBugError

Dependency upgrade

Improvement

  • [GROOVY-7569] - PowerAsserts should print results more verbosely and safer *
  • [GROOVY-8197] - Make JUnit3/4 GroovyRunners
  • [GROOVY-8218] - Allow to specify reverse order for @Sortable
  • [GROOVY-8259] - add suppressed exceptions for with[Auto]Closeable methods

New Feature

  • [GROOVY-8095] - Provide logging for bytecode generation
  • [GROOVY-8234] - Add @Repeatable java8 annotation support
  • [GROOVY-8300] - Groovy should have an @AutoFinal annotation

Sub-task

Task

  • [GROOVY-6780] - Provide an improved FileNameCompleter inheriting functionality from the latest class where possible

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