Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]¶
[0.2.0] - 2026-05-29¶
Added¶
CustomChannelclass for broadcasting to any named group (project rooms, shared feeds) without user-scopinguseChannelReact hook for subscribing to aCustomChannelfrom frontend components — multiple components share one underlying WebSocket subscription, cleaned up when the last unmountscustomCentrifugo namespace support — the SDK now emits channels under thecustom:prefix and documents the required Centrifugo namespace config
Changed¶
- React peer dependency now requires React 19 (
>=19.0.0)
[0.1.2] - 2026-01-01¶
Added¶
JaduSpineBackendsingleton for server-side usage — initialize once at startup and callJaduSpineBackend.publish()/broadcast()from anywhereJaduSpineProviderReact context anduseJaduSpinehook for sharing a single WebSocket connection across the app- JWT authentication support with playground auth flow
FrontendChannel,BackendChanneltyped channel classes withFrontendChannels/BackendChannelsenums- Restructured playground (backend + frontend) for local development
Changed¶
- Renamed source files to camelCase; extracted shared
debugLogger - Flattened workspace structure
[0.1.0] - 2026-01-01¶
Added¶
- Initial release of
@scenarix/jaduspine-sdk JaduSpineclass for WebSocket-based realtime messaging (frontend/bidirectional)- Connection management with automatic reconnection
- Channel subscription/unsubscription
- Message publishing and receiving
- Event-driven architecture with typed events
JaduSpineHttpclass for HTTP-based message publishing (backend/server-side)- Publish to single channel
- Broadcast to multiple channels
- Configurable retry logic with exponential backoff
SpineErrorcustom error class with error codesSpineErrorCodeenum for programmatic error handlingSpineUtilsutility class for message creation and validationEmittergeneric event emitter with type safetyVERSIONandSDK_NAMEexports for version tracking- Full TypeScript type definitions included
- Comprehensive JSDoc documentation