Summary
This release contains a new feature on Batch Processing, along with enhancements and bug fixes to Logger and Feature Flags utilities.
⭐ Huge welcome to the new contributors: @royygael, @iago1460
SQS FIFO Batch Processing
You can now use SQS FIFO queues with the Batch Processing utility. We stop processing messages after the first failure and return all failed and unprocessed messages natively. This helps preserve the ordering of messages in your queue.
⭐ Thanks to @whoDoneItAgain for reporting this feature gap.
Logger improvements
We now allow exception
and exception_name
attributes as extra fields in all logging levels. Previously, we dropped those attributes in non-error logging levels (e.g: INFO
).
⭐ Thanks to @iago1460 for reporting this bug and submitting the fix!
New community content
Finally, we have two new community posts on Feature Flags from @ran-isenberg:
- How CyberArk uses Powertools to implement Feature Flags with AWS AppConfig: link
- A talk about the added value of using feature flags as part of your CI/CD process and how AWS Lambda Powertools can help: link
Changes
🌟New features and non-breaking changes
- feat(batch): add support to SQS FIFO queues (SqsFifoPartialProcessor) (#1934) by @rubenfonseca
📜 Documentation updates
- docs(we-made-this): add CI/CD using Feature Flags video (#1940) by @leandrodamascena
- feat(batch): add support to SQS FIFO queues (SqsFifoPartialProcessor) (#1934) by @rubenfonseca
- docs(event-handler): Fix REST API - HTTP Methods documentation (#1936) by @leandrodamascena
- docs(we-made-this): add Feature Flags post (#1939) by @leandrodamascena
🐛 Bug and hot fixes
- fix(metrics): clarify no-metrics user warning (#1935) by @rubenfonseca
- fix(logger): support exception and exception_name fields at any log level (#1930) by @iago1460
- fix(feature-flags): revert RuleAction Enum inheritance on str (#1910) by @royygael
🔧 Maintenance
- chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 2.0.5 to 2.1.0 (#1943) by @dependabot
- chore(deps-dev): bump mkdocs-material from 9.0.12 to 9.0.13 (#1944) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.64.0 to 2.65.0 (#1938) by @dependabot
- chore(deps-dev): bump types-python-dateutil from 2.8.19.6 to 2.8.19.7 (#1932) by @dependabot
- chore(deps-dev): bump types-requests from 2.28.11.12 to 2.28.11.13 (#1933) by @dependabot
- chore(deps): bump pydantic from 1.10.4 to 1.10.5 (#1931) by @dependabot
- chore(deps-dev): bump mypy-boto3-appconfig from 1.26.63 to 1.26.71 (#1928) by @dependabot
- chore(deps-dev): bump flake8-bugbear from 23.1.20 to 23.2.13 (#1924) by @dependabot
- chore(deps-dev): bump mypy-boto3-appconfigdata from 1.26.0.post1 to 1.26.70 (#1925) by @dependabot
This release was made possible by the following contributors:
@dependabot, @dependabot[bot], @heitorlessa, @iago1460, @leandrodamascena, @royygael, @rubenfonseca and Release bot