Secretly and silently, GWT 2.8 was released recently. The new version is not linked on the official website yet and there is also no updated change log yet. But the tag for the new version and the associated release can be found on the website of the official GitHub repository since the 4th of October.
The official Maven repository also provides GWT 2.8 already: Link.
There are no official release notes for the 2.8. final build yet, but they did not change a lot in comparison to the last release candidate. So let me summarize what has changed.
The biggest highlight is that Java 8 syntax is finally supported. So you can use all the new features of Java 8 now, including Lambdas, which will help a lot. On the other hand, the static and default methods in Java 8 interfaces are not visible to generators, but you can use an annotation processor.
The third big change is that GSS is no longer in experimental stadium, and the old CssResource syntax is therefore marked as deprecated now. So you should start thinking about transitioning to GSS.
Other changes are:
- The compiler has been optimized to speed up the compilation process of big applications by far a bit. The new version will only recompile the part of the AST that was impacted by changes since the last run.
The second improvement comes with saving the MinimalRebuildCache to the disk, so your application will be compiled much faster after a restart of the process.
- The old (Non-Super-) Dev Mode is now deprecated.
- There is now a generic accessor for GWT Properties via System.getProperty() to get the value of a configuration or binding property at compile time.
- Configurable Checks were introduced for GWT.
- The general logging and the stack traces for the superdev mode were optimized.
- The Bean Validation support (JSR303) has been deprecated. It was not really supported for a long time and therefore had many bugs in it.
- You are no longer allowed to do method references to Double, String, Boolean from JSNI (https://github.com/gwtproject/gwt/issues/9356).
- GIN needs a workaround now.
Smaller changes are:
- Switch to new long emulation –> Better performance for smaller numbers
- Double/Boolean are not boxed anymore.
All changes can be found here, as soon as the changelog becomes available.