Groovy Changelog

New in version 2.2.1

December 5th, 2013
  • Bug:
  • [GROOVY-5014] - Syntax highlighting problem in groovy.ui.Console text editor on empty string expression entering
  • [GROOVY-5385] - StackOverflow Exception when calling super.method, which returns an instance of the corresponding class.
  • [GROOVY-5740] - Cannot use ASTTransformationCustomizer with TimedInterrupt
  • [GROOVY-6186] - Cannot invoke method next() on varible, which is initialized by default, in each\eachWithIndex
  • [GROOVY-6191] - Memory leak in GroovyScriptEngineImpl
  • [GROOVY-6374] - Verify error when coercing Map for a final class
  • [GROOVY-6385] - groovy.bat: Can't use question mark in script parameters
  • [GROOVY-6387] - groovysh completion vulnerable to map types with 'class' entry
  • [GROOVY-6389] - groovysh flawed display of collections
  • [GROOVY-6391] - groovysh: broken alias and register commands
  • [GROOVY-6392] - Groovysh: filename completion of save command broken
  • [GROOVY-6400] - Constructor call with @CompileStatic causes ArrayIndexOutOfBoundsException during compilation
  • [GROOVY-6405] - AccessControlException with Google App Engine and indy version of the Groovy
  • [GROOVY-6411] - Incorrect exception behavior when class has @CompileStatic
  • [GROOVY-6419] - Groovy java.lang.VerifyError
  • [GROOVY-6421] - Newify fails for local variable assignment
  • [GROOVY-6424] - @GrabExclude's group element is documented as optional but the implementation requires it
  • [GROOVY-6426] - groovysh not running using the groovy-all jar
  • [GROOVY-6428] - AutoCloneStyle.SIMPLE doesn't play well with generics
  • [GROOVY-6431] - method resolution with parameter BigInteger fails for argument extending BigInteger
  • [GROOVY-6432] - ASTTransformationCustomizer should support raw Expressions for parameters
  • [GROOVY-6434] - @Newify AST transformation doesn't work for closure
  • [GROOVY-6435] - Static type checking error when assigning BigInteger child to BigInteger var from static context
  • [GROOVY-6436] - Log annotations broken for Turkish locale
  • [GROOVY-6444] - Closures are incorrectly coerced if a method call is done inside a closure
  • Improvement:
  • [GROOVY-6427] - The @Singleton transform should complain if other constructors are found

New in version 2.2.0 (November 22nd, 2013)

  • implicit closure coercion to single-method interfaces and abstract classes
  • a @Memoized transformation to cache the result of side-effect-free method invocations
  • a @BaseScript annotation to define the base script class used by a Groovy script
  • a new DelegatingBaseScript class for easily delegating property access and method calls to a custom object
  • a new log transformation for Log4J2
  • precompiled custom type checking extensions
  • various enhancements to Groovysh, the Groovy command-line shell
  • and various other enhancements and minor improvements, as well as performance improvements

New in version 2.1.0 (January 28th, 2013)

  • offers full support for the JDK 7 “invoke dynamic” bytecode instruction and API,
  • goes beyond conventional static type checking capabilities with a special annotation to assist with documentation and type safety of DSLs and adds static type checker extensions,
  • provides additional compilation customization options,
  • features a meta-annotation facility for combining annotations elegantly,
  • and provides various other enhancements and minor improvements.