Just in time for the Google IO 2012, the GWT team released a first release candidate for the upcoming GWT version 2.5.
The official release notes
can be found here
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” />
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.