Socket
Socket
Sign inDemoInstall

mongochangestream

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongochangestream - npm Package Versions

1
6

0.34.0

Diff

Changelog

Source

0.34.0

  • Bump default maxSyncDelay to 5 minutes.
sp-dev
published 0.33.0 •

Changelog

Source

0.33.0

  • Fixed cursor exhausted bug with initial scan.
  • Simplified change stream cursor consumption.
  • Resync flag via detectResync.
  • Changed health check options for both initial scan and change stream.
  • Change stream health checker requires a date field to determine if syncing has stopped.
sp-dev
published 0.32.0 •

Changelog

Source

0.32.0

  • Better handling of state transitions.
sp-dev
published 0.31.0 •

Changelog

Source

0.31.0

  • Explicit types for health check failure.
  • Emit the following field to differentiate failure types: failureType with values initialScan and changeStream.
sp-dev
published 0.30.0 •

Changelog

Source

0.30.0

  • Fixed bug preventing a previously completed initial scan from being stopped once restarted.
  • Renamed maintainHealth to enableHealthCheck.
  • Health check only emits now. You must call restart manually to reproduce the previous behavior.
sp-dev
published 0.29.0 •

Changelog

Source

0.29.0

  • Make schema change event more specific - change is now schemaChange.
sp-dev
published 0.28.0 •

Changelog

Source

0.28.0

  • Don't type event emitter so that it can be reused by downstream libraries like mongo2crate and mongo2elastic.
sp-dev
published 0.27.0 •

Changelog

Source

0.27.0

  • BREAKING CHANGE: Moved emitter to top level.
  • Emit event healthCheckFail if a health check fails.
sp-dev
published 0.26.1 •

Changelog

Source

0.26.1

  • Document type should refer to type from mongodb not DOM.
sp-dev
published 0.26.0 •

Changelog

Source

0.26.0

  • BREAKING CHANGE: processChangeStream now takes an option object instead of a pipeline for the second argument.
  • Added restart fn to runInitialScan and processChangeStream.
  • Added the following options to runInitialScan and processChangeStream: maintainHealth and healthCheckInterval. When maintainHealth is set to true a failure to write a record when performing an initial scan within healthCheckInterval will cause runInitialScan to restart. When maintainHealth is set to true a failure to process the latest insert within healthCheckInterval when processing a change stream will cause processChangeStream to restart.
  • Use more generic Record<string, any> for type JSONSchema.
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