This is with great pleasure that we are announcing the release of Groovy 2.4.0-beta-4.
The highlights for this release are:
a rewritten JsonBuilder for improved performance in JSON generation
a @SelfType annotation for traits
a new variant of GStringTemplateEngine capable of handling strings larger than 64k
improved support for overloaded setters
lots of bugfixes (some of which are backported in the upcoming 2.3.8 release)
a new naming convention for closures
The last point is important if your project somehow relies on the name of the closure classes as it is a potential breaking change. The reason for the new scheme is detailed here.
You can download Groovy in our download area:
You can consult the JIRA change log:
Thanks for your feedback and contributions!
Note that we are likely to change the scope of the 2.4 to exclude macros. There’s still a lot of work and discussion to be done on that topic, making it incompatible with our target for a 2.4 release. This feature is likely to be delayed to Groovy 2.5.
My favorite read of the week is definitely Ken Kousen’s tale about Groovy’s Plain Old Groovy Object! Note the releases of the new Groovy Eclipse support and the Eclipse Maven batch compiler. Last but not least, for those of you heading to the Groovy & Grails eXchange conference in London, notice the program of the conference unfolding before your eyes!
Let me also mention the Beaker notebook project, which offers Groovy support for data scientists who want to explore their data sets. And the Spoon.net team which features Groovy support for its Windows containers.
Final word, don’t miss Graeme’s tweets pointing at the Grails 3 scaffolding plugin and code generation APIs!
Groovy Eclipse 2.9.1 released
Groovy Eclipse Maven Batch comiler 2.3.7 release candidate available for testing
Gradle 2.2.1 released
An awesome tale about POGOs by Ken Kousen: "That Which We Call A POGO, By Any Other Name"
How to use Groovy traits by Rohan Jain
Tracking down not expected transitive dependencies in multi-project Gradle build by Marcin Zajączkowski
Craig Burke publishes the second part on advanced customization of the Angular.JS Grails template
MrHaki's Gradle goodness: Using and working with Gradle version
MrHaki's Gradle goodness: Using CopySpeck with Tasks
How to use custom tags in Grails controllers and services by Ankush Kocher
How to render JSON properly inside a GSP script tag by Angel Ruiz
Object based security using Spring Security ACL in Grails by Anil Agrawal
Ames Lorenzen shares an example using Grails promises
Cédric Champeau presented in French a quick introduction to Groovy and its powers, and the slides are quite self-explanatory even if you don't speak French!
A quick intro and comparison between Groovy and Apple Swift in the context of mobile development with Android, by Olexandr Leuschenko
Scalable Big Data stream processing with Apache Storm and Groovy by Eugene Dvorkin, at SpringOne2GX 2014
Dan Woods is preparing a webcast about Ratpack for O'Reilly
Jacob Aae Mikkelsen's Grails Diary week 47
The data scientist's laboratory, Beaker, offers support for Groovy for working with large and complex datasets
Guillaume Laforge mentions on twitter a telescope project using Groovy
Graeme Rocher worked on the first cut of the new Grails 3 scaffolding plugin with the new code generation APIs
Graeme Rocher shows how to implement a codegen script for Grails 3
Craig Burke is working on a Word and PDF Groovy builder
Luke Daley launches a rumor about Dan Woods working on a Ratpack book for O'Reilly
Rob Fletcher appreciates Groovy even more when forced to write Java code
Andrés Almiray releases v0.1 of the Clirr Gradle plugin for checking binary compatibility between different API versions
Dan Woods tells anyone excited by the idea of a Java REPL that there's already one available, Groovy's one!
Peter Ledbrook says Groovy Grails eXchange will feature a beginner track on the first day and a full day hacking session on the second
Jacek Laskowski notes that the Gremlin terminal is a Groovy shell
Etienne Studer releases a Gradle plugin to help plugin authors with bundling and publishing of Gradle plugins
Spring Boot 1.2-rc-2 is available on GVM
Ryan Vanderwerf is looking forward programming in Groovy on his Xmas Android smartwatch
Bruno Borges announces Groovy support for scripted Java FX on webservers
Erik Pragt is working on the IntelliJ IDEA support for Asciidoctor and shows a screenshot of the Groovy documentation as an example
Iván López spoke about Groovy on Android to a packed room at the CodeMotion conference
Burt Beckwith shares a tip for those who can't use Spock: add a static import on GroovyAssert#shouldFail to JUnit 4 tests to follow the same pattern as in JUnit 3
Spoon.net releases a Groovy image for its Windows container engine
Craig Burke says that reading on functional programming in Java 8 makes him appreciate Groovy closures even more
Schalk Cronjé is looking for feedback on smart techniques used within your Gradle plugins for contributions for a Gradle book
The December GR8 Ladies meetup is sponsored by BloomHealth and AgileOrbit
Object Partners becomes platinum sponsor of the GR8 Ladies December GR8 workshop
The Groovy & Grails eXchange conference agenda is uncovering
This week, coming back from the Devoxx conference in Belgium, I’ve gathered a bag of Groovy news for your consumption, for our usual Tuesday Groovy Weekly release!
Gradle 2.2.1-rc-1 released
Luke Daley explains Ratpack's execution model in practice
Custom collections in Groovy by Marcin Gryszko
MrHaki's Gradle Goodness: Check task dependencies with a dry run
Dan Tanner wrote about the differences between Groovy's collect and spread-dot operator
String templates in Groovy by Mike Hostetler
Craig Burke writes the first article of a series about the Angular.JS Grails template
Guillaume Laforge presented "Groovy in the light of Java 8"
Guillaume Laforge presented "Groovy in 2014 and beyond"
Cédric Champeau presented "Groovy and Android, the winning pair"
Jérôme Louvel from the Restlet and APISpark projects mentions a PayPal API platform presentation showing Groovy being used for API composition
New versions of the Groovy Eclipse compiler are coming along
Andrés Almiray found this old gem in honor of Dick Wall from the Javaposse fame as the podcast comes to its end, showing Dick loving the Groovy
Jacob Aae Mikkelsen's Grails Diary week 46
Lari Hotari is working on Grails 3 / Spring Boot startup time optimisations
Patrick Double published a Grails plugin to improve Grails / SauceLabs Geb integration
GrooScript chat application deployed on Heroku with Node.JS and Socket.IO
Ratpack features a URL builder utility
Hans Dockter showed declarative dependency replacement with Gradle at Devoxx 2014
Hans Dockter showed how to tell Gradle that you don't want to depend on beta dependencies
Gradle 2.2.1-rc-1 available on GVM
Álvaro Sánchez sparks a discussion about Spock labels indentation on twitter
Cédric Champeau is working on AST tree matching
Vladimir Orany shares a snippet showing how to enable DSL support in IntelliJ IDEA
Today is the celebration of the veteran day / remembrance day in various countries throughout the world. So I’ll start with a big thank you to our ancestors who fought for our freedom!
This week is also a busy week as a part of the Groovy core team is moving to Antwerpen in Belgium to speak about Groovy at the Devoxx conference.
My picks of the week, among the news below are: the release of Gradle 2.2, the release of ElasticSearch 1.4 which now standardizes on Groovy for its default scripting language, and the announcement of the dates of the Greach conference in Spain and its call for paper which is open.
ElasticSearch 1.4.0 released with Groovy as the default scripting language
Gradle 2.2 released
GORM for Cassandra released by Paras Lakhani
Roberto Guerra is showing how to test the Guava EventBus with Spock
Ted Naleid on debugging Grails forked mode
Søren Berg Glasius details the resurrection of GroovyBlogs, sponsored by the GR8Conf Europe team
A screencast of the Gradle asset pipeline in action
Jacob Aae Mikkelsen’s Grails Diary week 45
Cédric Champeau highlights the fact that both Groovy traits and Markup template engine use custom type checking extensions
Gradle 2.2 available on GVM
This Spring Boot class shows how to create your own template resolver for Groovy's markup template engine
The Greach conference will take place in Madrid on April 10th-11th, and its Call for Paper is open
Paul King will be speaking at Yow 2014 on the awesome parts of Groovy
Kaleidos is gold sponsor of the Greach conference (whose CfP is open)