Skip to content

Releases: cap-js-community/websocket

v1.5.2

10 Jan 16:40
Compare
Choose a tag to compare

Fixed:

  • Fix fallback to redis configuration cds.requires.redis
  • Check for authenticated user during websocket connection (no anonymous)
  • Improve start log using websocket including adapter information
  • Improve server shutdown redis client handling

v1.5.1

09 Jan 15:33
Compare
Choose a tag to compare

Fixed:

  • Improve redis connection check
  • Improve connection error handling (e.g. unauthorized)
  • Consolidate dependencies

v1.5.0

08 Jan 16:01
Compare
Choose a tag to compare

Fixed:

  • Redis lookup for websocket via CDS env cds.requires.redis-websocket
  • Reworked redis client connection logic
  • Document options

v1.4.1

02 Dec 08:49
Compare
Choose a tag to compare

Fixed:

  • Redis adapter error handling

v1.4.0

04 Nov 07:57
Compare
Choose a tag to compare

Changed:

  • Socket.IO implementation does not use server path option anymore, in alignment with kind ws
  • Use io("/ws/chat") instead of io("/chat", { path: "/ws" })

Fixed:

  • Support for http conform headers (x-ws and x-websocket)
  • Revise error handling for websocket events
  • Fix for operations without parameters
  • Fix support for absolute service paths
  • Update documentation

1.3.0

07 Oct 08:30
Compare
Choose a tag to compare

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

04 Sep 08:12
Compare
Choose a tag to compare

Added:

  • Support SAP Push Channel Protocol (PCP)
  • Option to include or exclude identifiers
  • Option to include or exclude current user
  • Better CDS context handling
  • CDS 8.2 compatibility

v1.1.1

01 Aug 06:54
Compare
Choose a tag to compare
  • CDS 8.1 compatibility

v1.1.0

16 Jul 06:38
Compare
Choose a tag to compare

Added

  • CDS 8 compatibility
  • CI Matrix Test Node 22

v1.0.2

24 Jun 06:44
Compare
Choose a tag to compare

Fixed:

  • Use cds.context instead of ws.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