Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Considering our limited human resources and time constraints, it is hard to give definitive and accurate estimates of the milestones we are going to release.

Tentative Roadmap

Groovy

...

2.

...

3

Groovy 12.8 3 is the current latest stable branch version of Groovy. Ongoing maintenance with minor incremental improvements will be delivered throughout 2012.

Feature set

You can leanr more about the feature set by reading the Groovy 1.8 release notes.

Releases

  • Groovy 1.8-final: End of April 2011 (tick)
  • Groovy 1.8.1: End of July 2011 (tick)
  • Groovy 1.8.3: Early September 2011 (tick)
  • Groovy 1.8.4: Octobre 2011 (tick)
  • Groovy 1.8.5: End of December 2011 (tick)
  • Groovy 1.8.6: February 2012 (tick)
  • Groovy 1.8.7: April 2012 

Groovy 2.0

Groovy 2.0 was formerly known as Groovy 1.9, but considering the important new features, a 2.0 moniker was better representing the importance of that release.

Feature set

Release mainly geared towards the alignments with the upcoming but delayed JDK 7.

  • work related to JDK 7
    • usage of invokedynamic and annonymous classloader (JDK7 features)
    • updates for JDK 7 language features (aka Project Coin)
  • modularity of Groovy (splitting Groovy in smaller JARs on a per feature basis) and extension modules
  • static type checking AST transform
  • static compilation AST transform

Releases

  • Groovy 1.9-beta-1: July 2011 (tick)
  • Groovy 1.9-beta-3: September 2011 (tick)
  • Groovy 1.9-beta-4: October 2011 (tick)
  • Groovy 2.0-beta-1: November 2011 (tick)
  • Groovy 2.0-beta-2: December 2011 (tick)
  • Groovy 2.0-beta-3: May 2012 (tick)
  • Groovy 2.0-rc-1: end of May 2012 (tick)
  • Groovy 2.0-rc-2: early June 2012 (tick)
  • Groovy 2.0-rc-3: mid June 2012 (tick)
  • Groovy 2.0-rc-4: end of June 2012 (tick)
  • Groovy 2.0-final: end of June 2012

Groovy 3.0 (2013)

Feature set

  • New Meta-Object Protocol
  • Rewrite the Groovy grammar from scratch with Antlr 4 (moved to Groovy 4)
  • Retrofitting Groovy closures to accomodate JDK 8 upcoming closures for interoperability

Groovy 4.0 (2014)

Feature set

  • Rewrite the Groovy grammar from scratch with Antlr 4official support for running Groovy on JDK 8
  • traits, as a new object oriented way of composing behavior in your classes
  • new and improved AST transformations like @TailRecursive@Builder and @Sortable
  • a new NIO2 module with Path support
  • lightening fast JSON parsing and building
  • closure parameter type inference
  • a new markup template engine
  • Groovysh and GroovyConsole ease of use improvements
  • a new GroovyAssert test utility
  • more @BaseScript class capabilities, and more.

Releases

  • Groovy 2.3 beta: February-March 2014
  • Groovy 2.3 release candidates: April 2014
  • Groovy 2.3 finale: May 2014 

Groovy 3.0 (Q4 2014)

Feature set for consideration

  • New Meta-Object Protocol dedicated 
    • to fully leverage "invoke dynamic" (method handles, class values, etc)
    • make the sedimented dynamic features more coherent
    • to fix the private visibility conundrum 
    • to shield libraries from "monkey patching" with a notion of "realm"
  • Rewrite the Groovy grammar from scratch with Antlr 4
    • in particular adapt to the Java 8 language features
      • lambdas
      • method references
      • default methods in interfaces
      • annotations on types
      • repeated annotations
  • Java 8 / JDK 8 support
    • lambdas
    • method references
    • default methods in interfaces
    • annotations on types
    • repeated annotations
    • stream API
    • date / time API

Releases

  • Groovy 3.0 alpha: Q3 2014
  • Groovy 3.0 betas: Q4 2014 - Q1 21015
  • Groovy 3.0 release candidates: Q1 2015
  • Groovy 3.0 final: end of Q2 2015

Groovy 4.0 (Q4 2015)

Feature set for consideration

  • No concrete plans at the moment

Other topics we could consider for later Groovy

  • true named arguments
  • compiler related:
    • investigate the integration of the Eclipse joint compiler to replace the Groovy stub-based joint compilerinvestigate making the groovyc compiler multithreaded
  • a treturn keyword for tail calls for closures and methods
    • Incremental compiler
  • Improved runtime performance
  • ability to pass expression trees / AST nodes as parameters (see C# 4's own expression tree)
  • lexical categories
  • a symbol concept, a bit like Ruby's :symbol, or like Java interned strings
  • co-routines and/or generators
  • tail-call recursion
  • pattern matching
  • parser combinators
  • a native template engine compiling to AST (faster, correct line numbers for error reporting, optimized outputting, etc.)
  • ...