Releases: cap-js-community/websocket
Releases · cap-js-community/websocket
v1.5.2
v1.5.1
v1.5.0
v1.4.1
v1.4.0
Changed:
- Socket.IO implementation does not use server
path
option anymore, in alignment with kindws
- Use
io("/ws/chat")
instead ofio("/chat", { path: "/ws" })
Fixed:
- Support for http conform headers (
x-ws
andx-websocket
) - Revise error handling for websocket events
- Fix for operations without parameters
- Fix support for absolute service paths
- Update documentation
1.3.0
Added:
- Provide event headers to formatter
- Support exclusion of event contexts
- Include or exclude defined list of users
- Add support for Cloud Events with format
cloudevent
resp.cloudevents
- Overrule path of websocket event via
@websocket.path
or@ws.path
for non-websocket services - Overrule format of websocket event via
@websocket.format
or@ws.format
for non-websocket services - Ignore event elements or operation parameters with
@websocket.ignore
or@ws.ignore
Fixed:
- Improve documentation and examples
- Allow empty PCP message in event definition
- Optimization of client determination for kind
ws
- Ignore not modeled PCP fields in payload serialization
- Fix annotations value derivation for non-websocket service events
- Fix annotations
wsCurrentUserInclude
,currentUserInclude
,wsCurrentUserExclude
,currentUserExclude
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