Changelog for Groovy 2.3.0-beta-2

Bug

  • [GROOVY-6471] - AccessControlException when compiling scripts on the fly with Google App Engine dev server
  • [GROOVY-6621] - groovy.util.Node#text incorrect when value is a NodeList *
  • [GROOVY-6666] - Unexpected NullPointerException
  • [GROOVY-6670] - Cannot coerce closure to SAM type when calling method of generic type
  • [GROOVY-6672] - ClassFormatError if trait (accidentally) "extends" interface
  • [GROOVY-6676] - Closure parameter type inference error if the receiver is a delegate type
  • [GROOVY-6683] - XmlParser trims text by default *
  • [GROOVY-6686] - Initial expressions are not transformed in traits
  • [GROOVY-6687] - Traits aren't detected as implementing abstract methods
  • [GROOVY-6688] - Traits cannot modify their internal variables
  • [GROOVY-6691] - Cannot extend trait with generic parameter

Improvement

  • [GROOVY-6544] - SourceAwareCustomizer should combine SourceUnit+ClassNode
  • [GROOVY-6553] - jarjar should be used with the "normal" groovy.jar too
  • [GROOVY-6665] - maxRows in Groovy.sql.Sql goes one too far
  • [GROOVY-6678] - XmlParser should provide a trimIgnorableWhitespace setting *
  • [GROOVY-6682] - DOMCategory should not trim whitespace by default *
  • [GROOVY-6685] - Align naming for XmlParser/XmlSlurper/DOMCategory whitespace handling *

New Feature

  • [GROOVY-2115] - text() method on NodeChild with XmlSlurper returns composite. Need just local text.
  • [GROOVY-6673] - Reflection API for Traits

Task

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