Just in time for the Google IO 2012, the GWT team released a first release candidate for the upcoming GWT version 2.5.
The download can be found in the GWT Â google code project downloads page.
The official Â release notes
are missing can be found here, but and there is a blog posting about Â the new and noteworthy features/ changes:
- Preview of Super Dev Mode
- Introducing Elemental
- Speed and Optimization Improvements
- UiBinder and CellWidget Enhancements
Citing Ray Cromwell from the GWT team about Elemental:
Just for the curious: if you donâ€™t know how bare â€žto the metalâ€œ elemental is, have a look here. In my opinion, Â it is nothing I would like to be building apps with, but it is the best we can get to build components with. And it is a change of course: this is something that is really leaving old browsers behind, meaning that we developers must start developing more defensively.
There recording of the session is not available yet, but the slides of the presentation can be found on google docs.
Taking GWT 2.5 RC1 to a ride on an existing project was not a problem at all. The compile settings did not change, and none of my code complained about the new version.
So nothing new? Not really! One of the big news to GWT 2.5 is that the closure compiler was integrated into GWT.
Compiling the app with a few optimizations turned on, I managed to reduce the size of the compile output by almost 50%!!!
â€žcompiler.stackModeâ€œ value=â€žstripâ€œ />
â€žcompiler.enum.name.obfuscateâ€œ value=â€žtrueâ€œ />-XenableClosureCompiler-XdisableClassMetadata-XdisableCastChecking-XfragmentMerge 20
Unfortunately I was not able to generate a SOYC report for those settings (why?), so I cannot provide hard numbers. As soon as I figured it out I will update the post.