Repository navigation
chore(deps): ⬆️ update dependency amqplib to ^2.4.3 - #127
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.4.2→^2.4.3Release Notes
amqp-node/amqplib (amqplib)
v2.4.3Compare Source
closethat is waiting for the server's CloseOk when the connection ends first. Previously the promise returned bychannel.close()orconnection.close()never settled, and the callback of the callback API was never called, if the socket closed, the heartbeat timed out or the server closed the connection before the close was acknowledged. The same happened tochannel.close()whenconnection.close()was called before the channel's CloseOk arrived, and a recovering connection could stop reconnecting when the connection it was closing after a failedsetupwas lost. The close now resolves (or calls back without an error) once the channel or connection has closed, however that came about. How the connection ended is reported as before, by the connection'serrorandcloseeventserrorfor a channel the client closed because of a fault, such as a delivery handler that threw, when the connection ends before the server acknowledges the close. Previously the error was dropped and the channel only emittedcloseerrorhas no listener, while the connection is closing its channels. Previously the remaining channels could be left open, later callbacks on the same channel were never called and the connection might never emitclose. Every channel is now closed and the connection emitsclose. Upgrade note: such a throw is emitted as anerroron the connection just before itsclose, where it could previously be an uncaught exceptionchannel.getwhose message has not fully arrived when the channel or connection closes. Previously the promise never settled, and the callback of the callback API was never called, if the channel closed after the server'sBasicGetOkbut before the message content, because thegetwas no longer the channel's outstanding operation. Thegetnow stays outstanding until its content has arrived, so it fails like any other interrupted operation, with the server's reason when the server closed the channel. A later operation queued on the same channel is now sent once the message is complete rather than while its content is still arrivingstream.push() after EOF. Such a call now throwsIllegalOperationError: Channel closed, as any other call on a closed channel does (#878)Configuration
📅 Schedule: (in timezone Europe/Madrid)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.