Skip to content

Releases: amqp-node/amqplib

v2.0.1

10 May 15:42

Choose a tag to compare

  • Remove buffer-more-ints dependency; use Node.js built-in BigInt Buffer methods (readBigInt64BE, readBigUInt64BE, writeBigInt64BE, writeBigUInt64BE) which have been available since Node.js v10.4

v2.0.0

10 May 15:24

Choose a tag to compare

BREAKING CHANGE

heartbeat: 0 now correctly disables heartbeats, sending 0 in the ConnectionTuneOk frame regardless of the server's suggestion. This aligns with the AMQP 0-9-1 spec, which defines heartbeat=0 as "disabled".

Previously, 0 was passed through negotiate() which treated it as "no preference", causing the server's suggested value to be used instead.

Migration: if you are passing heartbeat: 0 and want to preserve the old behaviour of accepting the server's value, omit the option or pass null instead.

Fixes #467. Supersedes #469.

1.2.0

09 May 19:45

Choose a tag to compare

Add bundled TypeScript type definitions (fixes #843)

For full history see CHANGELOG.md.

v0.8.0

19 May 08:52
1b327eb

Choose a tag to compare

⚠️ This release drops support for NodeJS < v10 ⚠️. This version of amqplib still works with NodeJS v0.6 through v16, but future versions will not be tested for compatibility with NodeJS < v10.

This is to unlock other improvements that can now be made, like

  • using the built-in Promise object
  • updating or switching libraries that previously couldn't be updated, because they had dropped support for older NodeJS
  • removing code that is now covered in the standard library, e.g., checking whether a number is an integer

This release also includes an improvement to TLS connections for people using an AMQP server behind a load balancer. amqplib will now copy the hostname of the connection URL or object to the server name indication field.

v0.7.1

08 Mar 07:52
32aa202

Choose a tag to compare

Merge pull request #609 from squaremo/release-0.7.1

Bump version and changelog for v0.7.1

v0.7.0

22 Feb 14:23

Choose a tag to compare

This minor version release extends support to Node.js v15.

v0.5.6

14 May 07:03
6c266c8

Choose a tag to compare

  • Fix to muxing (#503)
  • Increase the encoding scratch buffer size (#545)