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.
* 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.
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:
Developer advice, training, services and support
from the Jetty & CometD experts.