Skip to content

Bump amqplib from 2.4.0 to 2.4.1 in /tests/acceptance/integration in the npm group - #163

Merged
flamble merged 1 commit into
mainfrom
dependabot/npm_and_yarn/tests/acceptance/integration/npm-259e237455
Dec 2, 2026
Merged

flamble merged 1 commit into
mainfrom
dependabot/npm_and_yarn/tests/acceptance/integration/npm-259e237455

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps the npm group in /tests/acceptance/integration with 1 update: amqplib.

Updates 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 1, 2026
@flamble

flamble commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

I can't perform the requested action because I don't have any knowledge about this pull request.

Bumps the npm group in /tests/acceptance/integration with 1 update: [amqplib](https://github.com/amqp-node/amqplib).


Updates `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
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
@flamble
flamble force-pushed the dependabot/npm_and_yarn/tests/acceptance/integration/npm-259e237455 branch from 5bd669f to 640fd05 Compare December 2, 2026 12:56
@flamble
flamble merged commit 57dcba4 into main Dec 2, 2026
9 checks passed
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant