v3.3.0
Summary
In this release we added support for the newly released Python 3.13 AWS Lambda managed runtime 🚀.
We’ve also revamped the Parser documentation, and added MutualTLS scheme support when working with OpenAPI schemas and Event handler.
Oh hey, please welcome Ana as our new full-time maintainer - @anafalcao 🎉
🌟 ⭐ Congrats to our new contributor @Sector95 for getting their first PR merged.
Python 3.13 support
You can now use Powertools for AWS Lambda (Python) with the new Python 3.13 runtime in AWS Lambda.
We’ve partnered with the AWS Lambda team for this launch and have been testing our toolkit for the past few weeks to ensure compatibility with no changes from your side.
To start using Powertools for AWS with the new runtime, you can upgrade to this version via PyPi or use the latest version (v4) of our Lambda layers.
Parser documentation
In this release, we have improved the Parser documentation to include comprehensive examples of using this feature.
Kudos to @anafalcao for this work and for her first merged PR 👏
Using MutualTLS in the OpenAPI schema
Customers now can use MutualTLS security scheme when defining their OpenAPI schema with Event Handler.
Last but not least, thanks to @xkortex for catching a bug in the Parser utility.
Changes
🌟New features and non-breaking changes
- feat(runtime): add Python 3.13 support (#5527) by @leandrodamascena
- feat(layers): introduce new CDK Python constructor for Powertools Lambda Layer (#5320) by @leandrodamascena
- feat(event_handler): mutualTLS Security Scheme for OpenAPI (#5484) by @Sector95
📜 Documentation updates
- docs(layer): update layer version number - v3.3.0 (#5562) by @leandrodamascena
- docs(parser): change parser documentation (#5262) by @anafalcao
- docs(layer): update layer version number - v3.2.0 (#5426) by @leandrodamascena
🐛 Bug and hot fixes
- fix(metrics): add warning for invalid dimension values; prevent their addition to EMF blobs (#5542) by @leandrodamascena
- fix(parser): support TypeAdapter instances as models (#5535) by @leandrodamascena
- fix(parameters): fix force_fetch feature when working with get_parameters (#5515) by @leandrodamascena
- fix(appsync): make contextual data accessible for async functions (#5317) by @leandrodamascena
- fix(ci): Update output to something easily copy/pasteable (#5435) by @sthulb
- fix(ci): remove space (#5433) by @sthulb
🔧 Maintenance
- chore(ci): fix imports to build Lambda layer (#5557) by @leandrodamascena
- chore(ci): Bump CDK version to build layers and fix imports (#5555) by @leandrodamascena
- feat(runtime): add Python 3.13 support (#5527) by @leandrodamascena
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.279 to 0.1.281 (#5548) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.58 to 1.35.59 (#5549) by @dependabot
- chore(deps-dev): bump cfn-lint from 1.18.4 to 1.19.0 (#5544) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.56 to 1.35.58 (#5540) by @dependabot
- chore(deps-dev): bump ruff from 0.7.2 to 0.7.3 (#5532) by @dependabot
- chore(deps): bump actions/setup-python from 5.2.0 to 5.3.0 (#5529) by @dependabot
- chore(deps): bump actions/checkout from 4.2.0 to 4.2.2 (#5531) by @dependabot
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.165.0a0 to 2.166.0a0 (#5533) by @dependabot
- chore(deps): bump docker/setup-buildx-action from 2.4.1 to 3.7.1 (#5530) by @dependabot
- chore(deps): bump docker/setup-qemu-action from 2.1.0 to 3.2.0 (#5528) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.54 to 1.35.56 (#5523) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.165.0 to 2.166.0 (#5522) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.165.0 to 2.166.0 (#5520) by @dependabot
- chore(deps): bump pypa/gh-action-pypi-publish from 1.12.1 to 1.12.2 (#5519) by @dependabot
- chore(deps): bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.1 (#5514) by @dependabot
- chore(deps): bump datadog-lambda from 6.100.0 to 6.101.0 (#5513) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.278 to 0.1.279 (#5512) by @dependabot
- chore(layers): add pydantic-settings package to v3 Layer (#5516) by @tkasuz
- chore(deps): bump squidfunk/mkdocs-material from
2c2802b
toce587cb
in /docs (#5507) by @dependabot - chore(deps-dev): bump mkdocs-material from 9.5.43 to 9.5.44 (#5506) by @dependabot
- chore(deps-dev): bump cfn-lint from 1.18.3 to 1.18.4 (#5501) by @dependabot
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.164.1a0 to 2.165.0a0 (#5500) by @dependabot
- chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.15 to 3.0.16 (#5499) by @dependabot
- chore(deps-dev): bump sentry-sdk from 2.17.0 to 2.18.0 (#5502) by @dependabot
- chore(deps-dev): bump ruff from 0.7.1 to 0.7.2 (#5492) by @dependabot
- chore(deps): bump datadog-lambda from 6.99.0 to 6.100.0 (#5491) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.164.1 to 2.165.0 (#5494) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.53 to 1.35.54 (#5493) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.164.1 to 2.165.0 (#5490) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
31eb7f7
to2c2802b
in /docs (#5487) by @dependabot - chore(deps-dev): bump mkdocs-material from 9.5.42 to 9.5.43 (#5486) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.52 to 1.35.53 (#5485) by @dependabot
- chore(deps-dev): bump cfn-lint from 1.18.2 to 1.18.3 (#5479) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.51 to 1.35.52 (#5478) by @dependabot
- chore(deps): bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 (#5477) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.49 to 1.35.51 (#5472) by @dependabot
- chore(deps): bump actions/dependency-review-action from 4.3.5 to 4.4.0 (#5469) by @dependabot
- chore(deps-dev): bump cfn-lint from 1.18.1 to 1.18.2 (#5468) by @dependabot
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.163.1a0 to 2.164.1a0 (#5467) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.164.0 to 2.164.1 (#5462) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.46 to 1.35.49 (#5460) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.164.0 to 2.164.1 (#5459) by @dependabot
- chore(deps-dev): bump ruff from 0.7.0 to 0.7.1 (#5451) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.163.1 to 2.164.0 (#5453) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.163.1 to 2.164.0 (#5452) by @dependabot
- chore(deps): bump redis from 5.1.1 to 5.2.0 (#5454) by @dependabot
- chore(deps): bump actions/setup-python from 5.2.0 to 5.3.0 (#5449) by @dependabot
- chore(deps): bump actions/setup-node from 4.0.4 to 4.1.0 (#5450) by @dependabot
- chore(ci): bump minimum required pydantic version (#5446) by @leandrodamascena
- chore(deps-dev): bump mypy from 1.11.2 to 1.13.0 (#5440) by @dependabot
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.162.1a0 to 2.163.1a0 (#5441) by @dependabot
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.277 to 0.1.278 (#5439) by @dependabot
- chore(deps): bump actions/checkout from 4.2.1 to 4.2.2 (#5438) by @dependabot
- chore(deps-dev): bump aws-cdk-lib from 2.162.1 to 2.163.1 (#5429) by @dependabot
- chore(deps-dev): bump boto3-stubs from 1.35.45 to 1.35.46 (#5430) by @dependabot
- chore(deps-dev): bump aws-cdk from 2.162.1 to 2.163.1 (#5432) by @dependabot
- chore(deps): bump actions/dependency-review-action from 4.3.4 to 4.3.5 (#5431) by @dependabot
- chore(deps-dev): bump xenon from 0.9.1 to 0.9.3 (#5428) by @dependabot
This release was made possible by the following contributors:
@Sector95, @anafalcao, @dependabot, @dependabot[bot], @github-actions, @github-actions[bot], @leandrodamascena, @sthulb and @tkasuz