CometD 5.0.10, 6.0.5, 7.0.5 Released

Skip to first unread message

Simone Bordet

Dec 2, 2021, 6:14:14 AM12/2/21
to cometd-users, cometd-dev
Hi all,

CometD 5.0.10, 6.0.5 and 7.0.5 have been released.

After a few "refresh" releases with nothing outstanding, these
releases incorporate a few bug fixes and new features.

In particular:

* Fixed an issue with the WebSocket transports where browser refreshes
may lose messages more than necessary (#1097).
Losing messages when the browser refreshes is normal, as the WebSocket
connection is closed by the client, possibly exactly when the server
is sending a message.
CometD has the acknowledgment extension to avoid this problem.
After the fix, there are less chances to lose messages.

* Added the TypeScript type definitions for the client JavaScript
library (#1058).
If you use TypeScript with CometD, you'll find this useful.
Please suggest any type definition improvement we can make.

* It is now possible to configure (for the Jetty JSON library) how
JSON arrays are represented, either as an Object[] or a List.
Historically, there was a mismatch, but now it's possible to configure
the same behavior for both synchronous JSON parsing and asynchronous
JSON parsing (#1065).

Along with the above, the usual slew of dependency updates for Spring,
Jetty, OkHttp and Jackson.

See the release notes:


Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.
Reply all
Reply to author
0 new messages