Releases: dudleycarr/nsqjs
Releases · dudleycarr/nsqjs
v0.13.0
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 dependencySnappyStream
upgraded to 2.0 using new rust bindings for snappy- Replaced
BigNumber.js
with built-inBigInt
- Replaced
request.js
withnode-fetch
- Removed
async.js
dependency.
0.12.1 Node 12 support
- Upgrade snappystream to support NodeJS 12
- Upgrade other dependencies
NodeJS 10 support and performance improvements
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
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
- 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
- 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
- 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!
- De-dupe on broadcast address
- Support the 1.0 compatible format for lookupd. This will break old versions of support for nsqd.
Dependency bump
- Fixes npm install warnings
- Fixes security issues in dependencies
Fix install for iojs and node v0.12
Merge pull request #59 from dudleycarr/fix-build-new-node-versions Fix Node v0.12 and iojs install