Changelog
Release notes and breaking changes for the React SDK.
0.1.1
Bug Fixes
- Fixed WebSocket subscriptions being overridden when multiple hooks subscribe to different topics.
- Fixed duplicate WebSocket connections when multiple hooks trigger connect in the same render.
- Fixed manual disconnect causing reconnect loop from hooks with
autoconnection mode.
Features
- Added pluggable storage layer via
BridgesProviderpersistenceprop. See Custom Storage. - Added
persistenceStatus("idle"|"loading"|"error") andpersistenceErrortouseBridges()for tracking custom storage layer state. - Added
isCustomStorageboolean touseBridges()to detect whether a custom storage layer is active. - Unified error handling:
onErrorcallback now receivesSdkError— a discriminated union (BridgeWsError | PersistenceOperationError) with asourcefield. See Error Types.
0.1.0
Initial release.
- React hooks for real-time system stats, media control, process management, and power control.
- WebSocket-first architecture with automatic reconnection and exponential backoff.
- Zustand store with localStorage persistence.
- Multi-bridge support with per-bridge WebSocket connections.
- TanStack Query integration for caching and deduplication.
- Connection modes:
auto,passive,eager. - Low-level
BridgeClientfor non-React usage.