Skip to content

Releases: cap-js-community/websocket

v0.6.1

31 Jan 07:31

Choose a tag to compare

Fixed

  • Correct version confusion

v0.5.1

31 Jan 07:20

Choose a tag to compare

Fixed

  • Fix message wrapping for Redis distribution

v0.5.0

29 Jan 15:28

Choose a tag to compare

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

26 Jan 07:00

Choose a tag to compare

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 from cds.requires.websocket to cds.websocket accessible via cds.env.websocket

v0.3.0

22 Jan 08:31

Choose a tag to compare

Added

  • Add overview graphic
  • Disable Redis per default locally, option to enable it
  • Option to broadcast CRUD post-events to all sockets via @websocket.broadcast.all or @ws.broadcast.all

Fixed

  • Remove Redis broadcast for kind ws on message receiving

v0.2.0

11 Jan 08:28

Choose a tag to compare

Fixed

  • Broadcast service events without connected sockets via Redis
  • Document base websocket server class

v0.1.2

08 Jan 13:29

Choose a tag to compare

Fixed

  • Set websocket default kind to ws
  • Mock request response more complete
  • More robust setup and error handling
  • Redis off per default
  • Refactoring

v0.1.1

22 Dec 14:33

Choose a tag to compare

Added

  • Websocket events in non-websocket services
  • Support multiple endpoints

v0.1.0

21 Dec 12:54

Choose a tag to compare

Added

Initial release