boxlang-express 0.2.15
Released .
- STOMP: protocol versions 1.0 and 1.1 are now served alongside 1.2
(negotiated at
CONNECT); binary WebSocket frames are accepted inbound; new lifecycle hooksonConnect/onDisconnect/onSubscribe/onUnsubscribe; newstomp.sendToUser(),sendToConnection()(both cluster-aware),disconnect()andgetClusterPresence(); a publish now writes to its subscribers concurrently and drops any whose connection is found closed; heartbeats run on virtual threads instead of one platform thread per connection; and a secondCONNECTon a connected socket is rejected. - Bug fix:
connection.onClose()never fired when the server closed the connection (connection.close(), including STOMP's fatalERRORs and a clientDISCONNECT), so the STOMP registry entries for those connections were never cleaned up. It now fires exactly once per connection however it closes. A write that fails or times out now also closes the connection and fires it, instead of leaving a zombie. - New
connection.onBinary(callback)onapp.ws()connections.libs/boxexpress-ws-shim-1.0.0.jarrebuilt. Full suite: 310/310.