Skip to content

Releases: cap-js-community/websocket

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

v1.0.1

03 Jun 16:14
Compare
Choose a tag to compare

Fixed

  • Fix access to undefined request user for unauthenticated requests
  • Redis lookup via custom vcap environment configuration

v1.0.0

03 May 05:45
Compare
Choose a tag to compare

Added

  • First major release
  • Exclude a client socket instance via a consumer-defined identifier

Fixed

  • Clear existing redis clients before shutdown
  • Call unknown adapter implementations for Socket.IO
  • Normalize logging layer

v0.9.0

02 Apr 06:57
Compare
Choose a tag to compare

Fixed

  • Add option to activate Redis adapter in other (non-local) environments (e.g. Kyma)
  • Fix Redis re-connect behavior to prevent Redis overload
  • Pass adapter configurations to Redis client creation

v0.8.1

04 Mar 07:23
Compare
Choose a tag to compare

Added

  • Allows to provide event emit headers to dynamically control websocket processing without annotations

Fixed

  • Describe the usage of CDS persistent outbox for websocket events

v0.8.0

15 Feb 08:10
Compare
Choose a tag to compare

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

09 Feb 07:48
Compare
Choose a tag to compare

Added

  • Allow custom server implementations via cds.websocket.impl
  • Allow custom adapter implementations via cds.websocket.adapter.impl (kind ws only)
  • Allow processing of multiple event contexts by annotating event type elements of many or array of type
  • Support for type date event contexts as ISO string representation
  • Support for type object event contexts as JSON stringified representation