GWT 2.11
Highlights:
- Transitioned to GitHub pull requests for new contributions, with nightly builds running on GitHub Actions.
- Added release artifacts for
jakarta.servlet
packages for both RequestFactory and GWT-RPC. - Tested support for running on Java 21. This is likely to be the final minor release series to support running on Java 8.
- Disabled JPA/JDO "enhanced classes" serializable by default for GWT-RPC, and added a warning when it is in use.
- Updated JRE emulation to support Java 11 for Collections, streams, and more.
Bug fixes:
- Make custom field serializers ready for Java 17 (#9791)
- Correctly write Long.toBinaryString as an unsigned value (#9769)
- Fix gzip encoding of responses in the CodeServer (#9766)
- Avoid EmptyStackException in SOYC (#9808)
- Fix error reporting for System.getProperty magic method nodes (#9812)
- Fix ClassNotFoundException when running JettyLauncher with Java 9+ (#9822)
- Avoid StackOverflowError in TypeUtils#resolveGenerics (#9858)
- Avoid document.write in Chrome with iframe linker (#9836)
- Avoid document write in single script linker loading (#9847)
- Handle ternary intersection types (#9799)
- Fix for namespace="" names that clash with variable names (#9867)
JRE Emulation:
- Added new Optional methods: or(), stream(), ifPresentOrElse(), empty(), and orElseThrow()
- Added List/Set/Map of() methods
- Added Predicate not() method
- Added Collectors methods: flatMapping(), filtering(), toUnmodifiableList(), toUnmodifiableSet(), and toUnmodifiableMap()
- Added Stream methods: dropWhile, takeWhile, and iterate(seed, hasNext, next)
- Added Enumeration.asIterator()
Deprecations:
- Using DevMode as an application server is deprecated, and may be removed or changed in a future release. Please migrate local development workflows to using a general purpose server, or a custom ServletContainerLauncher.
- The webAppCreator tool is deprecated, please refer to https://www.gwtproject.org/gettingstarted.html.
Miscellaneous:
- Update chrome/firefox globals to latest
- Updated Javadoc to run on Java 9+, support search
- Removed unused scripts from old build wiring
For more detail, see the commit log.