Skip to content

Bump amqplib from 1.2.0 to 2.0.1#435

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/amqplib-2.0.1
May 12, 2026
Merged

Bump amqplib from 1.2.0 to 2.0.1#435
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/amqplib-2.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 12, 2026

Bumps amqplib from 1.2.0 to 2.0.1.

Release notes

Sourced from amqplib's releases.

v2.0.1

  • 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

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.

Changelog

Sourced from amqplib's changelog.

v2.0.1

  • 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

  • BREAKING: heartbeat: 0 now disables heartbeats, overriding any value suggested by the server. Previously, 0 was treated as "no preference" and the server's suggested value was used. If you are passing heartbeat: 0 and want to preserve the old behaviour, omit the option or pass null instead (fixes #467)
Commits
  • 7706d75 2.0.1
  • 658fd13 Prep for release
  • 4c15c08 Merge pull request #854 from amqp-node/feat/remove-buffer-more-ints
  • 3645d4f Remove buffer-more-ints dependency, use Node.js built-in BigInt Buffer methods
  • 7e4b002 2.0.0
  • 2dbdaee Prep for release
  • 97b9f26 Merge pull request #853 from amqp-node/feat/heartbeat-zero
  • de9e660 Make heartbeat:0 disable heartbeats rather than deferring to server
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [amqplib](https://github.com/amqp-node/amqplib) from 1.2.0 to 2.0.1.
- [Release notes](https://github.com/amqp-node/amqplib/releases)
- [Changelog](https://github.com/amqp-node/amqplib/blob/main/CHANGELOG.md)
- [Commits](amqp-node/amqplib@v1.2.0...v2.0.1)

---
updated-dependencies:
- dependency-name: amqplib
  dependency-version: 2.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code major labels May 12, 2026
@github-actions github-actions Bot merged commit 7ad4e5a into main May 12, 2026
12 checks passed
@github-actions github-actions Bot deleted the dependabot/npm_and_yarn/amqplib-2.0.1 branch May 12, 2026 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code major

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants