Skip to content

Releases: dudleycarr/nsqjs

v0.13.0

27 Jul 19:57
Compare
Choose a tag to compare

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 Node 12 support

28 Aug 22:59
8676001
Compare
Choose a tag to compare
  • Upgrade snappystream to support NodeJS 12
  • Upgrade other dependencies

NodeJS 10 support and performance improvements

09 Sep 13:15
a0f1ab1
Compare
Choose a tag to compare

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 Memory leak fix

17 Feb 18:27
94bdfa7
Compare
Choose a tag to compare

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.

Bug fix release

21 Nov 16:56
7f82466
Compare
Choose a tag to compare
  • 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

05 Oct 02:29
Compare
Choose a tag to compare
  • 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

05 Sep 04:50
Compare
Choose a tag to compare
  • 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: Prepare for nsqd 1.0!

11 Apr 21:11
Compare
Choose a tag to compare
  • De-dupe on broadcast address
  • Support the 1.0 compatible format for lookupd. This will break old versions of support for nsqd.

Dependency bump

02 Jan 23:11
Compare
Choose a tag to compare
  • Fixes npm install warnings
  • Fixes security issues in dependencies

Fix install for iojs and node v0.12

01 Mar 21:11
Compare
Choose a tag to compare
Merge pull request #59 from dudleycarr/fix-build-new-node-versions

Fix Node v0.12 and iojs install