(Posted on behalf of Guillaume Laforge. For those of you who haven't=20
encountered Groovy before, it's a dynamic language which runs on the=20
Java platform. It's sometimes used as a scripting language, although=20
it's much more than that.)
This is with great pleasure that I'm announcing the release of the=20
first release candidate of Groovy.
Groovy RC-1 is a very im****tant milestone in the life of the project.
It also means 1.0 will be released very shortly thereafter.
The plan is to release the final version before the end of the month.
This release contains a re-implemented and reworked Meta-Object=20
Protocol, which is the core of Groovy's runtime system which decides=20
how the dispatch of method calls, property and attribute access works.
This new MOP brings more flexibility and a finer-grained control of=20
those mechanisms. But unless you need tweaking that advanced=20
dispatching logic, those changes won't affect you.
Groovy RC-1 contains a lot of bug fixes and improvements -- about a=20
hundred have been worked out in this release. Among the interesting=20
improvements, you'll note that coercion mechanisms are improved and now=20
customizable for your own POGOs through the asType(Class) method. You=20
can even coerce Maps to interfaces, as well as Closures to single-
method interfaces. The 'in' keyword now becomes a fully sup****ted=20
boolean operator, not only in the for loop. Last but not least in the=20
dynamicity of the language, you can decide which method to call with=20
GStrings, like in: foo."$methodName"(*args).
So far, the old closure notation with the vertical pipe was still=20
allowed, and the @[EMAIL PROTECTED]
syntax was silently ignored in the latest=20
release. Now that the transition period is over, in RC-1 both are=20
definitely illegal. I hope you will all have already updated your=20
codebase.
For a mode detailed list of the bug fixes and improvements, please=20
refer to JIRA. You can download Groovy RC-1 at the usual place .
Thanks goes to all the team for its efforts, and particularly Jochen=20
Theodorou for his hard work.
Big bravos to John Wilson for the XML sup****t and the MOP, Guillaume=20
All=E9on for patches and Groovy SOAP, Dierk Koenig and it co-authors
for=20
the great Groovy in Action book, and the Eclipse plugin team as well.
And also thanks to the brand new commiters who are bringing some fresh=20
blood to the team, for instance Paul King who helped us improve some=20
im****tant error messages! The list is too long to name everybody!
Happy Groovying!
- Guillaume Laforge
--=20
Jon Skeet - <skeet@[EMAIL PROTECTED]
>
http://www.pobox.com/~skeet
Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too


|