Skip to content

fix(deps)(deps): bump amqplib from 2.4.0 to 2.4.1 in /services/notification - #2332

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/services/notification/amqplib-2.4.1
Nov 25, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/services/notification/amqplib-2.4.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 25, 2026

Copy link
Copy Markdown
Contributor

Bumps amqplib from 2.4.0 to 2.4.1.

Changelog

Sourced from amqplib's changelog.

v2.4.1

  • Fix connection recovery when the connection is lost while the setup function is running. The new connection was only watched once setup had finished, so a socket error during setup crashed the process with an unhandled error event, and a close during setup left recovery holding the dead connection, never reconnecting, with every later createChannel failing. Such an attempt now counts as a failed connect: connect-failed is emitted and a reconnect is scheduled.
  • Keep connection recovery working when a listener for one of its events throws. Previously a throwing connect listener closed the new connection and reconnected in an endless loop, a throwing connect-failed listener caused an unhandled rejection and ended recovery, and a throwing disconnect or reconnect-scheduled listener ended recovery without a reconnect. The throw is now delivered to a handler-error listener on the recovering connection, or raised as an uncaught exception when there is none, and recovery carries on either way
  • Deliver a throw from a connection event listener to a handler-error listener registered on the connection, as documented. Previously the listener was only consulted for channels: on a connection returned by connect it was never called and the throw propagated into amqplib internals
  • Stop delivering an error event that has no error listener to a handler-error listener. handler-error only reports throws from your own event listeners; an error event that nothing listens for on a connection or channel is now raised as it would be without a handler-error listener
  • Close the underlying connection when close is called on a recovering connection while the setup function is running. Previously it was only closed once setup finished, and never if setup did not settle. Upgrade note: close now resolves (or calls back) once that connection has closed, and a setup function that is still running will see its connection closed
  • Report a reconnect delay of 0 rather than NaN in reconnect-scheduled when initialDelay is 0 and the exponential backoff overflows
  • Resolve a second close call on a recovering connection once the connection has closed, rather than immediately
  • Use the default for a recovery initialDelay, maxDelay, factor or jitter option given as null. Upgrade note: null was previously read as 0 (1 for factor), so initialDelay: null reconnected without a delay; it now waits the default 100 ms. Pass 0 explicitly to reconnect immediately
Commits
  • bc38e38 2.4.1
  • fd1c2b8 Update changelog
  • 60373c8 Remove the broken Snyk Advisor badge from the README
  • 8c6ff45 Document the error listener requirement for all connections and channels
  • 00aa15c Merge pull request #872 from amqp-node/fix/recovery-listener-throws-and-close
  • 9c7afaf Document that a recovering connection requires an error listener
  • fb3424f Release per-attempt state and keep reporting listener throws on closed models
  • ed25106 Share one close between concurrent callers and default null delay options
  • d35cc85 Never deliver an unhandled error event to handler-error
  • 76c93b3 Keep recovery working when listeners throw or close is called during setup
  • Additional commits viewable 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 2.4.0 to 2.4.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@v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: amqplib
  dependency-version: 2.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file security Security related issue labels Nov 25, 2026
@github-actions
github-actions Bot merged commit 28e6636 into main Nov 25, 2026
4 of 29 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/services/notification/amqplib-2.4.1 branch November 25, 2026 21:15
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 security Security related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants