Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cap-js-community/event-queue

Package Overview
Dependencies
Maintainers
5
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cap-js-community/event-queue - npm Package Versions

1
7

1.4.7

Diff

smax
published 1.5.0 •

Changelog

Source

v1.5.0 - 2024-06-13

Added

  • Telemetry instrumentation for processing events. This can be enabled with the enableCAPTelemetry setting.
  • Additional types.
  • allow to use skipInsertEventsBeforeCommit in publishEvent function.

Fixed

  • cds.build.register may be undefined if @sap/cds-dk is not installed locally or globally.
  • Double release of locks for periodic event processing.
smax
published 1.4.6 •

Changelog

Source

v1.4.6 - 2024-05-28

Added

  • federate unsubscribe events via redis to all application instances and allow to register custom handler for unsubscribe events
  • types for event-queue config

Fixed

  • upgrade dependencies
smax
published 1.4.5 •

Changelog

Source

v1.4.5 - 2024-04-24

Fixed

  • add xssec authInfo to CDS user also for CAP outbox
smax
published 1.4.4 •

Changelog

Source

v1.4.4 - 2024-04-22

Fixed

  • insertEventsBeforeCommit did not commit all events in certain scenarios.
smax
published 1.4.3 •

Changelog

Source

v1.4.3 - 2024-04-17

Added

  • typescript types for the most common functions
  • add subdomain for logging of broadcasting events via redis

Changed

  • the getter of eventType cuts the periodic event suffix and returns the exact name of the event definition
smax
published 1.4.2 •

Changelog

Source

v1.4.2 - 2024-04-04

Added

  • [cds-outboxed] Add eventQueue processor, key, queueEntries, and payload to req (can be accessed via req.context._eventQueue)
  • Add option insertEventsBeforeCommit to improve performance for publishEvent.
  • Add cds shutdown handler to clear existing redis locks before shutdown of the instance.

Fixed

  • [cds-outboxed] Call cds.connect.to for open outboxed events
smax
published 1.4.1 •

Changelog

Source

v1.4.1 - 2024-03-27

Changed

  • Removed authInfo from context.http.req and moved to a full-fledged xssec/xsuaa authInfo attached to context.user.authInfo
  • [cds-plugin] return promise for init for cds to wait until plugin is fully initialized
smax
published 1.4.0 •

Changelog

Source

v1.4.0 - 2024-03-21

Added

  • add to supply custom redis options for create client.

Changed

  • Reworked periodic processing of all events to be more efficient and to reduce the load on the database and use less database connections.
  • Removed support for custom tables. The event-queue now uses always the provided tables.
smax
published 1.3.6 •

Changelog

Source

v1.3.6 - 2024-03-14

Fixed

  • Redis reconnects
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc