Blog

Blog from Feb 04, 2011

The Groovy development team is pleased to announce the joint release of Groovy 1.7.7 and Groovy 1.8-beta-4, the latest releases of the popular dynamic language for the JVM.

Groovy 1.7.7 is a maintenance release of our official stable 1.7.x branch, whereas 1.8-beta-4 is the last beta version before the release candidates of the upcoming major version of Groovy.

The key highlights of the latest beta are:

  • our ongoing performance improvement work on primitive integer calculations,
  • the bundling of GPars in the libraries of the binary distribution,
  • and built-in JSON support with a JSON slurper and a JSON parser

If you wish to learn more about the JSON support, you can have a look at the JSON Groovy Extension Proposal and the unit tests for the slurper and the builder.

Here's an example for the JSON slurper, fetching tweets from Twitter about the #groovy hashtag:

And another example showing how you can create JSON payloads with the JSON builder:

You can download and read about the JIRA release notes here:

Groovy 1.7.7

Groovy 1.8-beta-4

You may wish to have a look at the recent features introduced in previous betas by reading the following release notes:

  • Groovy 1.7.6 and 1.8-beta-3 : new AST transformations, closure memoization and trampolining, etc.
  • Groovy 1.7.5 and 1.8-beta-2 : closure composition, new Domain-Specific Language syntax, etc.
  • Groovy 1.7.4 and 1.8-beta-1 : new AST transformations, annotation closure parameters, etc.
    We'd be glad of you could test the Groovy 1.8 beta to give us as much feedback as you can on this release, before it becomes the new official stable branch of Groovy. Thanks a lot for your help making the 1.8 release a success and for your invaluable feedback. We'd love that everybody try the latest beta in their respective applications, so we can find any regression or potential issue that may arise.

Thanks a lot to all involved in this pair of releases, and for the support of our friendly community!