I'm very pleased to announce the release of GWT 2.8.1. This contains many bugfixes and a few enhancements to JsInterop.
Highlights from release notes:
Elemental1's JSON parser now correctly throws an exception when a string, object, or array is not correctly ended.
Support filtering JsInterop types for export, with whitelist/blacklist and wildcards. The
-generateJsInteropExportflag is still used to enable the feature, but
-excludeJsInteropExportnow exist to specify packages with optional
*wildcards. Later arguments and patterns override earlier ones.
*" (any) and "
?" (unknown) types as a JsType native name. The "Unknown" type can be preferred over Object if the type is unknown, while "any" is preferred supertype of any JS type, including primitives.
Additionally, this supports the recent beta release of jsinterop.base and elemental2, available from Maven Central.
Please check out the full release notes, then download the release zip or update your project to get version 2.8.1 from Maven Central.