unstale

npm / amqplib

amqplib

What changed in amqplib 1 to 2, from its official release notes, upgrade guides and advisories. Also covers @types/amqplib. Sources checked 2026-10-27.

2 breaking2 tooling

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

amqplib 21 changes

Breaking changes 1

  • Setting heartbeat to 0 now disables heartbeats and sends 0 in ConnectionTuneOk, regardless of the server's suggestion. Omit the option or pass null to retain the previous behavior.

    2.0.0release notes

amqplib 13 changes

Breaking changes 1

  • The minimum Node.js requirement is now v18, so developers must use Node.js 18 or later.

    1.0.0release notes

Tooling 2

  • Type definitions are now bundled with the package, so TypeScript users can use its types without separate definitions.

    1.2.0release notes

  • TypeScript type definitions are now bundled with the package.

    1.2.0release notes