NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #997 most downloaded on PyPI
Powertools for AWS Lambda (Python) is a developer toolkit to implement Serverless best practices and increase developer velocity.
Last release 2 days ago
15 Sep 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 58 of the last 60 stable releases
3 versions withdrawn
withdrawn after publishing
7 years old
530 releases · first in 2019
Nothing published for this version
Nothing published for this version
Nothing published for this version
In this release we are excited to announce the new build recipes documentation for Powertools for AWS Lambda Python, which explains how to handle Rust
One column per quarter.
In this release we are excited to announce the new build recipes documentation for Powertools for AWS Lambda Python, which explains how to handle Rust and C bindings libraries, GLIBC compatibility, cross-platform builds, and architecture-specific dependencies.
We also improved the Parser utility models by adding detailed descriptions and examples illustrating AWS Lambda event structures.
⭐️ Congrats to @dcabib, @sreejaaryahi18, @Liam-DeVoe and @shrivarshapoojari for contributing to this project for the first time!
The Python ecosystem is evolving with more Rust and C bindings for better performance, introducing new Lambda deployment challenges like GLIBC compatibility and cross-platform builds.
We've published updated Powertools build recipes that cover:
<img width="1939" height="933" alt="image" src="https://github.com/user-attachments/assets/2963354b-1057-47e2-ae9b-dc8cf200536d" />
slice_dictionary implementation (#7246) by @Liam-DeVoe1a4e939 to 209b62d in /docs (#7344) by @dependabot[bot]405aeb6 to 1a4e939 in /docs (#7236) by @dependabot[bot]bb7b015 to 405aeb6 in /docs (#7185) by @dependabot[bot]@ConnorKirk, @Liam-DeVoe, @anafalcao, @dcabib, @dependabot[bot], @dreamorosi, @github-actions[bot], @ivica-k, @leandrodamascena, @phipag, @shrivarshapoojari, @sreejaaryahi18, dependabot[bot] and github-actions[bot]
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release adds support for fetching multiple secrets from AWS Secrets Manager in a single API call.
This release adds support for fetching multiple secrets from AWS Secrets Manager in a single API call.
We also fixed a critical bug when working with Data validation and Middleware in our Event Handler utility.
⭐️ Congrats to @dap0am and @trevmt for contributing to this project for the first time!
You can fetch multiple secrets from Secrets Manager in a single API call using get_secrets_by_name. This reduces the number of API calls and improves performance when you need to retrieve several secrets at once. This new method allows you to retrieve up to 20 secrets per call with filtering, lower AWS costs, and improved error resilience.
<img width="1856" height="1272" alt="secrets" src="https://github.com/user-attachments/assets/d78a72d7-0fb6-4d8a-ba3a-8f53a5b00115" />
We have split OpenAPI validation into two phases, so you now benefit from:
This change ensures that only real endpoint responses go through schema validation, preventing errors from control flow responses (401, 403, 429) returned by other middlewares.
Read more about this change here
0bfdba4 to bb7b015 in /docs (#7059) by @dependabot[bot]@dap0am, @dependabot[bot], @ericbn, @github-actions[bot], @leandrodamascena, @trevmt, dependabot[bot] and github-actions[bot]
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release enhances the Parser experience with new schemas for Amazon Cognito User Pool triggers. We also added support for externalDocs parameter i
This release enhances the Parser experience with new schemas for Amazon Cognito User Pool triggers. We also added support for externalDocs parameter in our OpenAPI utility.
⭐️ Thanks to @VatsalGoel3 for working on all the new schemas added in this release, as well as @mhindery and @kimsappi for their first contributions!
You can now use one of the new built-in schemas from Parser to easily work with events coming from Amazon Cognito to your Lambda function. With Amazon Cognito User Pools, you can configure triggers to invoke AWS Lambda functions, modifying the authentication behavior.
Below is a list of schemas we’ve added:
CognitoCreateAuthChallengeTriggerModelCognitoCustomEmailSenderTriggerModelCognitoCustomMessageTriggerModelCognitoCustomSMSSenderTriggerModelCognitoDefineAuthChallengeTriggerModelCognitoMigrateUserTriggerModelCognitoPostAuthenticationTriggerModelCognitoPostConfirmationTriggerModelCognitoPreAuthenticationTriggerModelCognitoPreSignupTriggerModelCognitoPreTokenGenerationTriggerModelV1CognitoPreTokenGenerationTriggerModelV2AndV3CognitoVerifyAuthChallengeTriggerModelFor more information, refer to the Amazon Cognito User Pools documentation.
@VatsalGoel3, @dependabot[bot], @dreamorosi, @github-actions[bot], @kimsappi, @leandrodamascena, @mhindery, @ran-isenberg, dependabot[bot] and github-actions[bot]
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
We are thrilled to announce that Powertools for AWS Lambda (Python) now offers AWS Lambda layers in the AWS China region cn-north-1.
We are thrilled to announce that Powertools for AWS Lambda (Python) now offers AWS Lambda layers in the AWS China region cn-north-1.
You can now use Powertools for AWS Lambda (Python) Lambda layers in the AWS China regions, enhancing customer experience by making our pre-packaged Lambda layers available in this AWS partition.
To take advantage of the new layers, you need to update your functions or deployment setup to include one of the new Lambda layer ARN from the table below:
AWS China (cn-north-1)
| Architecture | Layer ARN |
|---|---|
| x86_64 | arn:aws-cn:lambda:cn-north-1:498634801083:layer:AWSLambdaPowertoolsPythonV3-{python_version}-x86_64:{version} |
| ARM | arn:aws-cn:lambda:cn-north-1:498634801083:layer:AWSLambdaPowertoolsPythonV3-{python_version}-arm64:{version} |
eb04b60 to 0bfdba4 in /docs (#6915) by @dependabot[bot]@amin-farjadi, @dependabot[bot], @dreamorosi, @github-actions[bot], @kimsappi, @leandrodamascena, @sthulb, @tonnico, dependabot[bot] and github-actions[bot]
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →