fix(deps): update dependency sqs-consumer to v15#967
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
3d33918 to
813d51f
Compare
813d51f to
ea75b00
Compare
ea75b00 to
1b98e81
Compare
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:
^7.0.0→^15.0.0Release Notes
bbc/sqs-consumer (sqs-consumer)
v15.0.2Compare Source
Bug Fixes
Chores
v15.0.1Compare Source
Chores
v15.0.0Compare Source
Chores
v14.2.8Compare Source
Chores
v14.2.7Compare Source
Bug Fixes
Chores
v14.2.6Compare Source
Chores
v14.2.5Compare Source
Chores
v14.2.4Compare Source
Chores
v14.2.3Compare Source
Chores
v14.2.2Compare Source
Chores
v14.2.1Compare Source
Chores
v14.2.0Compare Source
Features
Chores
v14.1.0Compare Source
Features
Dependency Updates
Dev Dependency Updates
v14.0.1Compare Source
This release adds on changes to start the deprecation of void, this should have been part of the v14 release and that is why it has been considered a patch change / a bug fix. This is an attempt to reduce the likelihood of users not noticing the move to explicit returns in v14.
In a future minor release a new
strictReturnsflag will be added (#604), this will not be enabled by default initially. We will gather feedback on if this setting makes sense. If it does,strictReturnswill be turned on by default.Bug Fixes
Chores
Updated some dependencies and adjusted Dependabot workflow
v14.0.0Compare Source
SQS Consumer v14.0.0 Migration Guide
Overview
Version 14.0.0 introduces a breaking change to how message acknowledgment works. This change makes acknowledgment behavior more explicit and predictable, addressing user confusion about when messages are acknowledged.
What Changed
Previous Behavior (<=v13.x)
void(nothing) from handlers had implicit acknowledgment behaviorNew Behavior (>=v14.0)
void(nothing) means no acknowledgment by defaultBenefits of the New Approach
Migration Steps
handleMessage()
Step 1: Identify Your Current Handler Pattern
First, determine which pattern your current message handlers follow:
Step 2: Update Your Handlers
For Pattern A (Implicit Acknowledgment)
Option 1: Explicit Return
Option 2: Use alwaysAcknowledge
For Pattern B and C (Conditional Acknowledgment)
handleMessageBatch()
This is largely similar to the above recommendations, you just need to adjust to build up an array of the messages that you want to acknowledge and then return that array.