Releases: manuel-lohmus/ws13
v1.1.0
✨ Highlights (v1.1.0)
- Small, well-tested core for WebSocket handshake, frame parsing/serialisation and basic client/server modes.
createRegistry()— lightweight connection registry with broadcast and auto-clean.attachServer(server, opts)— simple HTTP upgrade wiring.- Built-in support for
permessage-deflate(RFC 7692) provided as an optional extension instance. - Client-side reconnect helpers (configurable) and heartbeat primitives in core.
- TypeScript definitions included ('index.d.ts') for IDE support.
- Tests included for core registry and basic behaviour (see 'index.test.js').
Extensions (channels, events, history, admin, routing, message-meta, heartbeat) are available as separate modules in the repo but marked WIP.
v1.0.5
Release Notes
v1.0.5 - 2025-01-01
The main goal of this version is to create minimal functionality for the WebSocket protocol.
Excluding web server functions, so that this module can be used as a universal module in other projects.
The ability to write extension modules as separate independent modules has been added,
which allows extending the functionality of the WebSocket protocol.
Enabling easy extension and customization as needed, without having to change the core code.
By default, the permessage-deflate extension module is included,
which provides data compression functionality.
As an illustration, an example has been added on how to use the module.
The example is a simple chat application that demonstrates the use of the WebSocket protocol.
Selecting a sub-protocol and how the server can easily check sub-protocol options.
A reference is provided to indicate which extension module is used for this connection.
The project is seeking financial support
I am convinced that this project will benefit many developers and
contribute to the wider adoption of this module.
Thank you for considering my request.
Added
- WebSocket protocol features.
- WebSocket extension
permessage-deflatefeatures. - example chat application with sub-protocol selection.
Full Changelog: https://github.com/manuel-lohmus/ws13/commits/v1.0.5