Skip to content

v2.27.1

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Nov 16:18
· 1044 commits to refs/heads/develop since this release

Summary

This patch release addresses the following issues:

  • Static typing. Mypy/Pyright no longer complains about Logger.addFilter/removeFilter
  • Documentation. Add note in Event Handler that Amazon API Gateway doesn't handle catch all (*/*) binary types when CORS is configured
  • Logger Correlation ID. You can now use Powertools custom JMESPath Functions to extract correlation ID from data serialized in JSON string, Base64, and GZIP -- @logger.inject_lambda_context("powertools_json(body).my_field")

🌟 Big thanks to @rafrafek and @martinber for their critical eye in spotting some of these issues

Changes

🌟New features and non-breaking changes

  • feat(logger): implement addFilter/removeFilter to address static typing errors (#3380) by @heitorlessa

📜 Documentation updates

  • docs(event_handlers): note that CORS and / binary mime type don't work in API Gateway (#3383) by @heitorlessa
  • fix(logger): allow custom JMESPath functions to extract correlation ID (#3382) by @heitorlessa
  • chore(deps): bump squidfunk/mkdocs-material from 2c57e4d to fc42bac in /docs (#3375) by @dependabot
  • chore(deps): bump squidfunk/mkdocs-material from f486dc9 to 2c57e4d in /docs (#3366) by @dependabot
  • docs(logger): improve ALC messaging in the PT context (#3359) by @heitorlessa
  • docs(logger): Fix ALC link (#3352) by @leandrodamascena

🐛 Bug and hot fixes

  • fix(logger): allow custom JMESPath functions to extract correlation ID (#3382) by @heitorlessa

🔧 Maintenance

  • chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3374) by @dependabot
  • chore(deps): bump actions/github-script from 7.0.0 to 7.0.1 (#3377) by @dependabot
  • chore(deps-dev): bump the boto-typing group with 2 updates (#3376) by @dependabot
  • chore(deps): bump squidfunk/mkdocs-material from 2c57e4d to fc42bac in /docs (#3375) by @dependabot
  • chore(deps-dev): bump cfn-lint from 0.83.2 to 0.83.3 (#3363) by @dependabot
  • chore(deps-dev): bump aws-cdk-lib from 2.108.1 to 2.110.0 (#3365) by @dependabot
  • chore(deps-dev): bump ruff from 0.1.5 to 0.1.6 (#3364) by @dependabot
  • chore(deps-dev): bump aws-cdk from 2.109.0 to 2.110.0 (#3361) by @dependabot
  • chore(deps): bump squidfunk/mkdocs-material from f486dc9 to 2c57e4d in /docs (#3366) by @dependabot
  • chore(deps-dev): bump the boto-typing group with 11 updates (#3362) by @dependabot
  • chore(ci): lint and type checking removal in Pydantic v2 quality check (#3360) by @leandrodamascena
  • chore(deps-dev): bump aws-cdk from 2.108.1 to 2.109.0 (#3354) by @dependabot
  • chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#3353) by @dependabot

This release was made possible by the following contributors:

@dependabot, @dependabot[bot], @github-actions, @github-actions[bot], @heitorlessa and @leandrodamascena