Nsqjs Versions Save

NodeJS client library for NSQ

0.13.0

2 years ago

This release primarily removes old or unnecessary dependencies. Future releases will continue to replace dependencies that have more modern equivalents.

Fix

  • SnappyStream initialization race condition. (#353)
  • IPv6 address support (#352)
  • Support JavaScript String objects as messages (#341)
  • Removed debug.destroy

Deprecated

Versions older than node 12.13.0.

Changes

  • Debug is now a dev dependency
  • SnappyStream upgraded to 2.0 using new rust bindings for snappy
  • Replaced BigNumber.js with built-in BigInt
  • Replaced request.js with node-fetch
  • Removed async.js dependency.

0.12.1

4 years ago
  • Upgrade snappystream to support NodeJS 12
  • Upgrade other dependencies

0.11.0

5 years ago

New

  • Added "ready" and "not_ready" events for Reader.

Improved

  • Lazy deserialization of messages
  • Cached Backoff Timer calculations

Fix

  • Support NodeJS 10
  • Fix Snappy issues with NSQD 1.0 and 1.1
  • Fix close behavior for Readers
  • Fix short timeout for connection IDENTIFY requests. (Thanks @emaincourt)

0.10.1

6 years ago

Memory leak due to lookupd polling. A debug.js instance wasn't cleaned up when a new NSQDConnection instance was instantiated for discovered nsqd servers. The more frequent the polling, the worse the problem.

0.10.0

6 years ago
  • Fix maxAttempts behavior
  • Fix default requeueDelay

Both of these changes are subtle and might impact existing behavior. maxAttempts will allow an additional attempt before automatically finishing and discarding a message when set. requeueDelay by default will be the intended 90 seconds instead of 90 milliseconds.

0.9.2

6 years ago
  • Refactored Reader connect.
  • Cleanup intervals that prevented a clean exit of the NodeJS process.
  • Fix to ensure all connections were closed when close was called.

0.9.0

6 years ago
  • Breaking change: Node versions 6 and greater supported from now on.
  • Support for deferred message publishing! (thanks @spruce)
  • Added idleTimeout for Reader and Writer (thanks @abbshr)
  • Snappy support is now optional. (thanks @bcoe)
  • Snappy support is now fixed and working with 1.0.0-compat!
  • Fixed backoff behavior if mulitiple messages fail at the same time. Should recover much faster.
  • Use TCP NO_DELAY for nsqd connections.
  • Chores:
    • Replaced underscore with lodash
    • Move src to lib
    • Dropped Babel support
    • Use Standard JS style
    • Less flakey tests

0.8.0

7 years ago
  • De-dupe on broadcast address
  • Support the 1.0 compatible format for lookupd. This will break old versions of support for nsqd.

0.7.13

7 years ago
  • Fixes npm install warnings
  • Fixes security issues in dependencies

v0.7.2

9 years ago