Saturday, January 13, 2024

Re: Announcing GWT 2.10.1 and 2.11 releases

Craig, you'll need to change to the -jakarta artifacts. That is, for RemoteServiceServlet, instead of gwt-servlet.jar, use gwt-servlet-jakarta.jar, and the class is in the .rpc.jakarta package to ensure there is no possibility of referencing the wrong type. Change both the jar and your imports to use it. 

Note that this is not compatible with running your jakarta-servlet app inside dev mode, but you will need to run your own server separately from dev mode. 

-- 
  Colin Alworth


On Sat, Jan 13, 2024, at 7:54 PM, Craig Mitchell wrote:
Awesome!  Thank you GWT team!

Regarding:

> Added release artifacts for jakarta.servlet packages for both RequestFactory and GWT-RPC.

When I look at com.google.gwt.user.server.rpc.RemoteServiceServlet, it's still using javax.servlet.http.HttpServlet.  So calls like getThreadLocalRequest() return javax.servlet.http.HttpServletRequest and not jakarta.servlet.http.HttpServletRequest.  Is there another version of RemoteServiceServlet I can use that uses the jakarta classes?

Thanks.
On Friday 12 January 2024 at 1:28:05 am UTC+11 Filipe Sousa wrote:
👍

On Tuesday, January 9, 2024 at 9:36:08 PM UTC Colin Alworth wrote:
I'm excited to announce the release of 2.10.1 and 2.11.0! This is our second release under the new groupId, be sure when you update to change away from "com.google.gwt", as it will not get more updates.

If you use GWT-RPC and JPA/JDO annotations in your project, we strongly suggest updating at least to 2.10.1 as soon as possible. To ensure that vulnerable projects are aware of any problem, compile warnings will be emitted if a problem is detected, and the server will default to not allowing any vulnerable RemoteService instances. See https://github.com/gwtproject/gwt/issues/9709 for information on the issue, how we're responding to it, and how any additional follow-up might look.

Other 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.
  • Updated JRE emulation to support Java 11 for Collections, streams, and more.

This release wouldn't have been possible without help from so many contributors, including developers, testers, and sponsors. A short list of the teams and individuals that directly brought us this release: Juan Pablo Gardella, Rocco De Angelis, Frank Hossfeld, Manfred Tremmel, Jim Douglas, Zbynek Konecny, Piotr Lewandowski, Axel Uhl, Thomas Broyer, Filipe Sousa, Sandra Parsick, Jens Nehlmeier, Schubec GmbH, Tom Sawyer Software, Insurance Insight Inc. Join us on the issue tracker or at our OpenCollective page to help make future releases possible.


--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.

No comments:

Post a Comment