From d9ffb645ae863db2e5a9828cc51b26100df683a5 Mon Sep 17 00:00:00 2001 From: Carl Oscar Aaro Date: Fri, 14 Feb 2025 13:29:59 +0100 Subject: [PATCH] added changelog entry for bug fix and bumped version --- CHANGELOG.md | 6 ++++-- tomodachi/__version__.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d02d410..20779c95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,10 @@ # Changes -## 0.28.2 (2024-xx-xx) +## 0.28.2 (2025-02-14) -- ... +- Fixes a bug for AWS SQS queues with dead-letter queue configured which would trigger if SQS.DeleteMessage calls would unexpectedly fail or fail all retries for a message and the same message would be received again to the same consumer over and over again, where it would be ignored as a duplicated SQS message, until it would be sent to the DLQ. Even if the message was redrived to the queue and the same consumer would keep receiving it, it would still ignore the message as a duplicate. This would cause the message to be stuck in a loop. + + Note that this change will run the handler function of the consumer after 60 seconds has passed and it receives the message again, which in a setup where a service has a single receiving consumer leaves responsibility of the handler to handle idempotency more strictly, in the same way as in setups with multiple consumers. ## 0.28.1 (2024-10-29) diff --git a/tomodachi/__version__.py b/tomodachi/__version__.py index 16a462f3..1b8e1b08 100644 --- a/tomodachi/__version__.py +++ b/tomodachi/__version__.py @@ -1,6 +1,6 @@ from typing import Tuple, Union -__version_info__: Tuple[Union[int, str], ...] = (0, 28, 2, "dev0") +__version_info__: Tuple[Union[int, str], ...] = (0, 28, 2) __version__: str = "".join([".{}".format(str(n)) if type(n) is int else str(n) for n in __version_info__]).replace( ".", "", 1 if type(__version_info__[0]) is int else 0 )