Releases: sjakthol/python-aws-sqs-batchlib
Releases · sjakthol/python-aws-sqs-batchlib
v3.0.0 - 2024-01-31
Changed
- Breaking: Drop Python 3.7 support. Minimum supported Python version is Python 3.8
All Changes: v2.0.0...v3.0.0
v2.0.0 - 2022-01-16
Changed
-
Breaking: Replace the
consume()
method with areceive_message()
method. Update your code frombatch = aws_sqs_batchlib.consume( queue_url, batch_size=100, maximum_batching_window_in_seconds=15 )
to
batch = aws_sqs_batchlib.receive_message( QueueUrl=queue_url, MaxNumberOfMessages=100, WaitTimeSeconds=15 )
-
Use modern Amazon SQS service endpoints by default to support VPC endpoints.
Added
delete_message_batch()
: Addsession
argument for providing a custom boto3 Sessions for the library.delete_message_batch()
: Add support for FIFO queues.delete_message_batch()
: Automatically retry failed delete operations if the failure is retryable.receive_message()
: Add newreceive_message()
method to receive an arbitrary number of messages from Amazon SQS.receive_message()
: Addsession
argument for providing a custom boto3 Sessions for the library.receive_message()
: Add support for FIFO queues.send_message_batch()
: Add newsend_message_batch()
method to send an arbitrary number of messages to Amazon SQS.send_message_batch()
: Addsession
argument for providing a custom boto3 Sessions for the library.send_message_batch()
: Add support for FIFO queues.send_message_batch()
: Automatically retry failed send operations if the failure is retryable.
Fixed
receive_message()
: Generate uniqueReceiveRequestAttemptId
parameter for each distinctReceiveMessage
API call
ifReceiveRequestAttemptId
is provided toreceive_message()
.
All Changes: v1.1.0...v2.0.0
v1.2.0
Added
- Add
delete_message_batch()
method to delete an arbitrary number of messages from an Amazon SQS queue
Fixed
- Prevent
receive_message()
from consuming more than requested amount of messages from an Amazon SQS queue
All Changes: v1.1.0...v1.2.0
v1.1.0
Changed
- Migrate from botocore to boto3
Fixed
- Change package structure to fix type checking support
All Changes: v1.0.1...v1.1.0