Releases: cap-js-community/websocket
Releases · cap-js-community/websocket
v1.2.0
v1.1.1
v1.1.0
v1.0.2
Fixed:
- Use
cds.context
instead ofws.request
to derive user and tenant - Add
cds.requires.kinds
for websockets and merge config - Pass all
cds.env.websocket
config to adapter and redis implementation - Streamline
cds.env
access in socket and redis implementation - Refactor unit-tests to be grouped by implementation
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