pypi aws-lambda-powertools 1.25.10
v1.25.10

latest releases: 3.2.1a9, 3.2.1a8, 3.2.1a7...
2 years ago

Summary

This patch release addresses the following main issues:

  • Event Handler: Previously, Lambda handlers decorated with event source data class that also use Event Handler were incompatible
  • Event Handler: Raising a ServiceError like NotFound as part of an exception handler ended up propagating a ServiceError instead of converting into a non-successful response (e.g., 4xx)
  • Event Source Data Classes: Missing date field type annotation in SESEvent to string instead of list, and missing fields like cc, bcc, sender, and reply_to, and dkim related fields
  • Parameters: Previously, customers couldn't easily clear parameters (SSM, Secrets Manager, AppConfig, DynamoDB) cache as part of their automated tests

image

Changes

🌟 New features and non-breaking changes

🐛 Bug and hot fixes

  • fix(data-classes): fix SES date field typing and add missing fields (#1045) by @michaelbrewer
  • fix(deps-dev): remove jmespath due to dev deps conflict (#1148) by @sthulb
  • fix(deps): ignore boto3 updates until needed (#1151) by @sthulb
  • fix(event_handler): allow event source data class events (#1159) by @michaelbrewer
  • fix(event_handler): exception_handler to handle ServiceError exceptions (#1160) by @michaelbrewer

🔧 Maintenance

  • chore(deps-dev): bump flake8-bugbear from 22.1.11 to 22.4.25 (#1156) by @dependabot
  • chore(deps-dev): bump mypy from 0.942 to 0.950 (#1162) by @dependabot
  • chore(deps-dev): bump flake8-eradicate from 1.2.0 to 1.2.1 (#1158) by @dependabot
  • chore(deps): bump github/codeql-action from 1 to 2 (#1154) by @dependabot
  • chore(ci): disable mergify configuration after breaking changes (#1188) by @heitorlessa
  • fix(deps): ignore boto3 updates until needed (#1151) by @sthulb
  • chore(deps-dev): bump mkdocs-git-revision-date-plugin from 0.3.1 to 0.3.2 (#1146) by @dependabot
  • chore(deps): bump codecov/codecov-action from 3.0.0 to 3.1.0 (#1143) by @dependabot
  • chore(deps-dev): bump xenon from 0.8.0 to 0.9.0 (#1145) by @dependabot
  • chore(deps-dev): bump mypy from 0.931 to 0.942 (#1133) by @dependabot
  • fix(deps-dev): remove jmespath due to dev deps conflict (#1148) by @sthulb

This release was made possible by the following contributors:

@dependabot, @dependabot[bot], @heitorlessa, @huonw, @michaelbrewer, and @sthulb

Don't miss a new aws-lambda-powertools release

NewReleases is sending notifications on new releases.