Skip to content

Releases: sjakthol/python-aws-sqs-batchlib

v3.0.0 - 2024-01-31

31 Jan 17:43
Compare
Choose a tag to compare

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

16 Jan 12:29
Compare
Choose a tag to compare

Changed

  • Breaking: Replace the consume() method with a receive_message() method. Update your code from

    batch = 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(): Add session 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 new receive_message() method to receive an arbitrary number of messages from Amazon SQS.
  • receive_message(): Add session argument for providing a custom boto3 Sessions for the library.
  • receive_message(): Add support for FIFO queues.
  • send_message_batch(): Add new send_message_batch() method to send an arbitrary number of messages to Amazon SQS.
  • send_message_batch(): Add session 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 unique ReceiveRequestAttemptId parameter for each distinct ReceiveMessage API call
    if ReceiveRequestAttemptId is provided to receive_message().

All Changes: v1.1.0...v2.0.0

v1.2.0

01 Jan 18:11
Compare
Choose a tag to compare

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

01 Jan 16:30
Compare
Choose a tag to compare

Changed

  • Migrate from botocore to boto3

Fixed

  • Change package structure to fix type checking support

All Changes: v1.0.1...v1.1.0

v1.0.1

01 Jan 14:31
Compare
Choose a tag to compare

Fixed

  • Fix value of __version__ in aws_sqs_batchlib module

Full Changelog: v1.0.0...v1.0.1

v1.0.0

01 Jan 10:01
Compare
Choose a tag to compare

Changed

  • BREAKING: Drop support for Python 3.6

All Changes: v0.1.2...v1.0.0