Groovy 2.3 Released

Releases | Guillaume Laforge | May 07, 2014 | ...

The Groovy development team is pleased to announce the release of Groovy 2.3.0!

Groovy 2.3 is the new major release of the Groovy programming language for the JVM, featuring:

  • official support for running Groovy on JDK 8
  • a new trait keyword to define new units of code for composing behaviors
  • new and improved compile-time code transformations like:
    • @TailRecursive: for transforming methods with tail recursion to avoid blowing the stack,
    • @Builder: to easily implement fluent builders, generated by the Groovy compiler itself
    • @Sortable: to transform a class to implement Comparable using the various properties of the class
  • a new NIO2 module with Path support
  • lightening fast JSON parsing and building as covered in the recent article on InfoQ
  • closure parameter type inference, to infer the type of parameters in closures when using the static type checker and static compiler
  • a markup template engine
  • Groovysh and GroovyConsole ease of use improvements
  • a new GroovyAssert test utility
  • more @BaseScript class capabilities, and more.

If you want to learn more about the new features of Groovy 2.3, please reader the detailed release notes, and if you want to get some regular fresh news of the Groovy ecosystem, you can subscribe to the Groovy Weekly newsletter, delivering fresh news every Tuesday.

For more information about the issues closed, you can have a look at our changelog.

In addition to the Groovy library in Bintray JCenter and Maven Central, you can download also download a binary distribution of Groovy.

SpringOne 2GX 2014 is around the corner

Also, if you want to dive in depth into all the goodness provided by this new version of Groovy, I invite you to join us at the SpringOne 2GX conference!

Book your place at SpringOne 2GX in Dallas, TX for Sept 8-11 soon. It's simply the best opportunity to find out first hand all that's going on and to provide direct feedback. Expect a number of significant new announcements this year. We are anticipating that several in-depth Spring-Integration sessions will be presented.

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all