Releases: cap-js-community/websocket
Releases · cap-js-community/websocket
v1.0.1
v1.0.0
v0.9.0
v0.8.1
v0.8.0
Added
- Introduce optional
user
concept to broadcast event, except to current context user via annotation@websocket.user
or@ws.user
- Allow to suppress CRUD event broadcast via
@websocket.broadcast = 'none'
or@ws.broadcast = 'none'
- Match CRUD broadcast event with CDS service event to filter broadcast data
Fixed
- Fix leakage of internal processing information to websocket clients
v0.7.0
Added
- Allow custom server implementations via
cds.websocket.impl
- Allow custom adapter implementations via
cds.websocket.adapter.impl
(kindws
only) - Allow processing of multiple event contexts by annotating event type elements of
many
orarray of
type - Support for type
date
event contexts as ISO string representation - Support for type
object
event contexts as JSON stringified representation
v0.6.1
v0.5.1
v0.5.0
Added
- Provide user context in examples and tests, to verify authorization flow
- Introduce optional context concept to broadcast to a client subset via annotation @websocket.context or @websocket.ws
Fixed
- Respect tenant isolation for event broadcasting
- Fix maxListeners issue for ws implementation
- Refactor middlewares and authorization check
- Change cds.ws to point to CDS websocket server (not the native implementation, use cds.wss or cds.io for that)
v0.4.0
Added
- Option to disable websockets via env configuration
cds.websocket: false
- Add configuration schema for websocket environment via
cds.schema
for CDS plugin
Fixed
- Change
cds
websocket env fromcds.requires.websocket
tocds.websocket
accessible viacds.env.websocket