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 hooks onConnect/onDisconnect/onSubscribe/ onUnsubscribe; new stomp.sendToUser(), sendToConnection() (both cluster-aware), disconnect() and getClusterPresence(); 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 second CONNECT on a connected socket is rejected.
  • Bug fix: connection.onClose() never fired when the server closed the connection (connection.close(), including STOMP's fatal ERRORs and a client DISCONNECT), 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) on app.ws() connections. libs/boxexpress-ws-shim-1.0.0.jar rebuilt. Full suite: 310/310.