Releases: aws-powertools/powertools-lambda-python
v3.20.0
Summary
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 build recipes documentation
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:
- Build tools: pip, Poetry, SAM, CDK, Pants
- Cross-platform deployment for macOS/Windows → Linux Lambda
- GLIBC compatibility across Amazon Linux runtime versions
- Troubleshooting common issues
- Performance tips to reduce cold starts and package size
- CI/CD examples with GitHub Actions and CodeBuild

Changes
- refactor(event_handler): allow to pass dict as argument to exception classes (#7341) by @shrivarshapoojari
- refactor(parser): improves S3 models with examples and descriptions (#7292) by @ivica-k
- refactor(parser): Improve Transfer Family models with examples and descriptions (#7294) by @dcabib
- refactor(parser): Improve Kafka models with examples and descriptions (#7293) by @dcabib
- refactor(parser): Improve SQS models with examples and descriptions (#7286) by @dcabib
- refactor(parser): Improve SNS models with examples and descriptions (#7287) by @dcabib
- refactor(parser): Improve VPC Lattice with examples and descriptions (#7234) by @anafalcao
- refactor(parser): Improve DynamoDB models with examples and descriptions (#7146) by @sreejaaryahi18
🌟New features and non-breaking changes
- feat(parser): add support for sourceIp with ipv6 and port (#7351) by @leandrodamascena
- feat(parser): add support for sourceIp with port (#7315) by @leandrodamascena
📜 Documentation updates
- docs(index): remove customer names (#7318) by @leandrodamascena
- docs: fix SSM recursive parameter highlighting (#7316) by @dcabib
- docs: Add AWS copyright footer. (#7313) by @phipag
- docs: Add installation snippet for uv package manager (#7272) by @ConnorKirk
- docs: Fix copy to clipboard button (#7270) by @ConnorKirk
- docs(public_reference): add QuasiScience as a public reference (#7228) by @leandrodamascena
- docs(mkdocs): fix docs warnings (#7211) by @leandrodamascena
- docs(build_recipes): add build tools page (#7201) by @leandrodamascena
- docs(build_recipes): add cross build page (#7199) by @leandrodamascena
- docs(build_recipes): add performance optimization page (#7197) by @leandrodamascena
- docs(build_recipes): add troubleshooting page (#7195) by @leandrodamascena
- docs(build_recipes): add cicd page (#7176) by @leandrodamascena
- docs(build_recipes): add initial build recipes structure (#7163) by @leandrodamascena
🐛 Bug and hot fixes
- fix(shared/functions): fix
slice_dictionary
implementation (#7246) by @Liam-DeVoe
🔧 Maintenance
- chore(deps): bump codecov/codecov-action from 5.5.0 to 5.5.1 (#7345) by @dependabot[bot]
- chore(deps): bump squidfunk/mkdocs-material from
1a4e939
to209b62d
in /docs (#7344) by @dependabot[bot] - chore(deps): bump mkdocs-material from 9.6.18 to 9.6.19 (#7346) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.25 to 1.40.26 (#7348) by @dependabot[bot]
- chore(deps-dev): bump pytest-cov from 6.2.1 to 6.3.0 (#7349) by @dependabot[bot]
- chore(deps): bump actions/setup-go from 5.5.0 to 6.0.0 (#7323) by @dependabot[bot]
- chore(deps): bump actions/setup-python from 5.6.0 to 6.0.0 (#7321) by @dependabot[bot]
- chore(deps): bump actions/github-script from 7.0.1 to 8.0.0 (#7320) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.12.11 to 0.12.12 (#7324) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1028.0 to 2.1029.0 (#7332) by @dependabot[bot]
- chore(deps-dev): bump pytest from 8.4.1 to 8.4.2 (#7325) by @dependabot[bot]
- chore(deps): bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 (#7322) by @dependabot[bot]
- chore(deps-dev): bump pytest-mock from 3.14.1 to 3.15.0 (#7333) by @dependabot[bot]
- chore(deps): bump actions/setup-node from 4.4.0 to 5.0.0 (#7319) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.23 to 1.40.25 (#7334) by @dependabot[bot]
- chore(deps-dev): bump sentry-sdk from 2.35.2 to 2.37.0 (#7335) by @dependabot[bot]
- chore(deps): bump aws-encryption-sdk from 4.0.2 to 4.0.3 (#7305) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.213.0a0 to 2.214.0a0 (#7303) by @dependabot[bot]
- chore(deps-dev): bump sentry-sdk from 2.35.1 to 2.35.2 (#7297) by @dependabot[bot]
- chore(deps): bump aws-actions/configure-aws-credentials from 1b2b73eb6a459c3a91fde76ba4c255e5b4b8e94e to a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 (#7307) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.213.0 to 2.214.0 (#7302) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1027.0 to 2.1028.0 (#7308) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.21 to 1.40.23 (#7309) by @dependabot[bot]
- chore(deps-dev): bump coverage from 7.10.5 to 7.10.6 (#7282) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.19 to 1.40.21 (#7283) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.12.10 to 0.12.11 (#7275) by @dependabot[bot]
- chore(deps): bump mkdocstrings-python from 1.18.0 to 1.18.2 (#7277) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.212.0a0 to 2.213.0a0 (#7274) by @dependabot[bot]
- chore(deps): bump mkdocstrings-python from 1.18.0 to 1.18.2 in /docs (#7273) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.18 to 1.40.19 (#7267) by @dependabot[bot]
- chore(deps): bump mkdocstrings-python from 1.17.0 to 1.18.0 (#7268) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1026.0 to 2.1027.0 (#7265) by @dependabot[bot]
- chore(deps): bump aws-actions/configure-aws-credentials from 241c954d319becef88d2022775301737d5eb5e24 to 1b2b73eb6a459c3a91fde76ba4c255e5b4b8e94e (#7266) by @dependabot[bot]
- chore(deps): bump aws-actions/configure-aws-credentials from 0eb446ecb2e3f0e1a19f106e12e76c6a98b6bdb2 to 241c954d319becef88d2022775301737d5eb5e24 (#7260) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.17 to 1.40.18 (#7264) by @dependabot[bot]
- chore(deps-dev): bump cfn-lint from 1.39.0 to 1.39.1 (#7259) by @dependabot[bot]
- chore(deps-dev): bump sentry-sdk from 2.35.0 to 2.35.1 (#7258) by @dependabot[bot]
- chore(deps): bump actions/dependency-review-action from 4.7.2 to 4.7.3 (#7255) by @dependabot[bot]
- chore(deps): bump mkdocstrings-python from 1.17.0 to 1.18.0 (#7254) by @dependabot[bot]
- chore(deps): bump typing-extensions from 4.14.1 to 4.15.0 (#7251) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.16 to 1.40.17 (#7250) by @dependabot[bot]
- chore(deps-dev): bump coverage from 7.10.4 to 7.10.5 (#7249) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.15 to 1.40.16 (#7240) by @dependabot[bot]
- chore(deps): bump mkdocs-material from 9.6.17 to 9.6.18 (#7237) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1025.0 to 2.1026.0 (#7239) by @dependabot[bot]
- chore(deps-dev): bump types-python-dateutil from 2.9.0.20250809 to 2.9.0.20250822 (#7238) by @dependabot[bot]
- chore(deps-dev): bump types-protobuf from 6.30.2.20250809 to 6.30.2.20250822 (#7241) by @dependabot[bot]
- chore(deps): bump squidfunk/mkdocs-...
v3.19.0
Summary
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!
Fetching multiple secrets
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.

Working with Data Validation and Middleware
We have split OpenAPI validation into two phases, so you now benefit from:
- Request validation runs before any business logic, checking only incoming requests.
- Response validation runs only on actual endpoint responses.
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
Changes
- refactor(parser): Improve ALB models with examples and descriptions (#7100) by @leandrodamascena
- refactor(parser): Improve Kinesis models with examples and descriptions (#7092) by @leandrodamascena
- refactor(parser): Improve EventBridge models with examples and descriptions (#7090) by @leandrodamascena
🌟New features and non-breaking changes
- feat(parameters): add support for retrieving batch of secrets (#7058) by @leandrodamascena
📜 Documentation updates
- docs(logger): fix typo in sampling examples (#7133) by @trevmt
- docs(maintainers): improve release process documentation (#7088) by @leandrodamascena
- docs(event_handler): improve routing rules syntax documentation (#7094) by @dap0am
🐛 Bug and hot fixes
- fix(parameters): fix _transform_and_cache_get_parameters_response (#7083) by @ericbn
- fix(event_handler): split OpenAPI validation to respect middleware returns (#7050) by @leandrodamascena
🔧 Maintenance
- chore(deps-dev): bump boto3-stubs from 1.40.7 to 1.40.8 (#7159) by @dependabot[bot]
- chore(deps): bump aws-actions/configure-aws-credentials from aa1f74b81b53cb3adb28afcdb21d7b9f3fceea98 to 209f2a4450bb4b277e1dedaff40ad2fd8d4d0a4c (#7160) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.6 to 1.40.7 (#7153) by @dependabot[bot]
- chore(deps-dev): bump types-python-dateutil from 2.9.0.20250708 to 2.9.0.20250809 (#7151) by @dependabot[bot]
- chore(deps-dev): bump coverage from 7.10.2 to 7.10.3 (#7152) by @dependabot[bot]
- chore(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#7154) by @dependabot[bot]
- chore(deps-dev): bump types-protobuf from 6.30.2.20250703 to 6.30.2.20250809 (#7150) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.5 to 1.40.6 (#7143) by @dependabot[bot]
- chore(deps): bump redis from 6.3.0 to 6.4.0 (#7140) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.4 to 1.40.5 (#7139) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.12.7 to 0.12.8 (#7138) by @dependabot[bot]
- chore(git): add LLM tools to .gitignore file (#7137) by @leandrodamascena
- chore(deps-dev): bump boto3-stubs from 1.40.3 to 1.40.4 (#7128) by @dependabot[bot]
- chore(deps): bump mkdocs-llmstxt from 0.3.0 to 0.3.1 (#7130) by @dependabot[bot]
- chore(deps): bump actions/download-artifact from 4.3.0 to 5.0.0 (#7126) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1023.0 to 2.1024.0 (#7125) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.208.0a0 to 2.210.0a0 (#7127) by @dependabot[bot]
- chore(deps-dev): bump cfn-lint from 1.38.1 to 1.38.2 (#7109) by @dependabot[bot]
- chore(deps): bump mkdocs-llmstxt from 0.3.0 to 0.3.1 (#7112) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.2 to 1.40.3 (#7111) by @dependabot[bot]
- chore(deps): bump aws-actions/configure-aws-credentials from 59b441846ad109fa4a1549b73ef4e149c4bfb53b to aa1f74b81b53cb3adb28afcdb21d7b9f3fceea98 (#7113) by @dependabot[bot]
- chore(deps): bump redis from 6.2.0 to 6.3.0 (#7108) by @dependabot[bot]
- chore(deps-dev): bump coverage from 7.10.1 to 7.10.2 (#7107) by @dependabot[bot]
- chore(deps): bump aws-actions/configure-aws-credentials from 4.2.1 to 4.3.0 (#7103) by @dependabot[bot]
- chore(deps): bump aws-powertools/actions from 1.3.0 to 1.4.0 (#7104) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.1 to 1.40.2 (#7102) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.40.0 to 1.40.1 (#7093) by @dependabot[bot]
- chore(deps-dev): bump mypy from 1.17.0 to 1.17.1 (#7081) by @dependabot[bot]
- chore(deps-dev): bump cfn-lint from 1.38.0 to 1.38.1 (#7080) by @dependabot[bot]
- chore(deps-dev): bump mypy-boto3-appconfigdata from 1.39.0 to 1.40.0 in the boto-typing group (#7079) by @dependabot[bot]
- chore(deps-dev): bump sentry-sdk from 2.34.0 to 2.34.1 (#7075) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.12.5 to 0.12.7 (#7073) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.39.16 to 1.39.17 (#7072) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1022.0 to 2.1023.0 (#7067) by @dependabot[bot]
- chore(deps): bump mkdocs-material from 9.6.15 to 9.6.16 (#7065) by @dependabot[bot]
- chore(deps-dev): bump sentry-sdk from 2.33.2 to 2.34.0 (#7064) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.39.14 to 1.39.16 (#7066) by @dependabot[bot]
- chore(deps-dev): bump coverage from 7.10.0 to 7.10.1 (#7063) by @dependabot[bot]
- chore(deps): bump aws-powertools/actions from 1.1.0 to 1.3.0 (#7061) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.207.0a0 to 2.208.0a0 (#7062) by @dependabot[bot]
- chore(deps): bump mkdocs-material from 9.6.15 to 9.6.16 in /docs (#7060) by @dependabot[bot]
- chore(deps): bump squidfunk/mkdocs-material from
0bfdba4
tobb7b015
in /docs (#7059) by @dependabot[bot]
This release was made possible by the following contributors:
@dap0am, @dependabot[bot], @ericbn, @github-actions[bot], @leandrodamascena, @trevmt, dependabot[bot] and github-actions[bot]
v3.18.0
Summary
This release adds support for files media types in our OpenAPI utility. We also improved our Parser utility by adding new models for AppSync Events.
⭐️ Congrats to @oyiz-michael and @sdangol for contributing to this project for the first time!
Working with form data
You can use the Form
type to tell the Event Handler that a parameter expects form data. This automatically sets the correct OpenAPI schema for application/x-www-form-urlencoded
requests.

Changes
🌟New features and non-breaking changes
- feat(event_handler): add support for form data in OpenAPI utility (#7028) by @oyiz-michael
- feat(metrics): add runtime validations for the metric name (#7026) by @sdangol
- feat(parser): add AppSync Events models (#6999) by @leandrodamascena
- feat(typing): add tenant_id property (#6985) by @leandrodamascena
📜 Documentation updates
- docs(parser): fix a a typo in SqsEnvelope (#7052) by @DustinAlandzes
- docs(event_handler): add section about Pydantic serialization (#7049) by @leandrodamascena
- docs(parameters): fix typo in transform auto instruction (#7017) by @kattakaha
- docs(event_handler): enhance documentation on query/header parameters behavior (#7000) by @leandrodamascena
🔧 Maintenance
- chore(ci): improve feature flags UA (#7051) by @leandrodamascena
- chore(deps-dev): bump boto3-stubs from 1.39.13 to 1.39.14 (#7042) by @dependabot[bot]
- chore(ci): remove closed-issue and opened-pr workflows (#7047) by @leandrodamascena
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.206.0a0 to 2.207.0a0 (#7037) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.12.4 to 0.12.5 (#7032) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.39.12 to 1.39.13 (#7036) by @dependabot[bot]
- chore(deps-dev): bump coverage from 7.9.2 to 7.10.0 (#7033) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.206.0 to 2.207.0 (#7035) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1021.0 to 2.1022.0 (#7031) by @dependabot[bot]
- chore(deps): update aws-powertools/actions requirement to 5ae7c190d6b51491bb14f593c3509c1bcbf7a3c1 (#7034) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.39.11 to 1.39.12 (#7027) by @dependabot[bot]
- chore(deps-dev): bump testcontainers from 4.10.0 to 4.12.0 (#7021) by @dependabot[bot]
- chore(deps-dev): bump sentry-sdk from 2.33.0 to 2.33.2 (#7023) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.39.9 to 1.39.11 (#7022) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.39.8 to 1.39.9 (#7011) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.39.7 to 1.39.8 (#7006) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.12.3 to 0.12.4 (#7005) by @dependabot[bot]
- chore(ci): add a new workflow to build docs in new PRs (#7002) by @leandrodamascena
- chore(deps-dev): bump pytest-asyncio from 0.26.0 to 1.1.0 (#6995) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.205.0 to 2.206.0 (#6996) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.39.4 to 1.39.7 (#6994) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.205.0a0 to 2.206.0a0 (#6993) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1020.2 to 2.1021.0 (#6992) by @dependabot[bot]
- chore(deps-dev): bump sentry-sdk from 2.32.0 to 2.33.0 (#6988) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.204.0a0 to 2.205.0a0 (#6986) by @dependabot[bot]
This release was made possible by the following contributors:
@DustinAlandzes, @dependabot[bot], @github-actions[bot], @kattakaha, @leandrodamascena, @oyiz-michael, @sdangol, dependabot[bot] and github-actions[bot]
v3.17.0
Summary
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!
New Cognito Trigger Schemas
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:
CognitoCreateAuthChallengeTriggerModel
CognitoCustomEmailSenderTriggerModel
CognitoCustomMessageTriggerModel
CognitoCustomSMSSenderTriggerModel
CognitoDefineAuthChallengeTriggerModel
CognitoMigrateUserTriggerModel
CognitoPostAuthenticationTriggerModel
CognitoPostConfirmationTriggerModel
CognitoPreAuthenticationTriggerModel
CognitoPreSignupTriggerModel
CognitoPreTokenGenerationTriggerModelV1
CognitoPreTokenGenerationTriggerModelV2AndV3
CognitoVerifyAuthChallengeTriggerModel
For more information, refer to the Amazon Cognito User Pools documentation.
Changes
🌟New features and non-breaking changes
- feat(parser): Added Cognito trigger schemas (#6737) by @VatsalGoel3
- feat(event_handler): add support for externalDocs attribute in OpenAPI schema (#6945) by @mhindery
📜 Documentation updates
- docs(we_made_this): add MCP server template (#6851) by @ran-isenberg
- docs(roadmap): update roadmap items (#6955) by @leandrodamascena
- docs(event_handler): revert deleted file (#6947) by @leandrodamascena
- docs(event-handler): remove Amplify transformers section (#6937) by @dreamorosi
🐛 Bug and hot fixes
🔧 Maintenance
- chore(ci): fix ssm workflow (#6980) by @leandrodamascena
- chore(deps-dev): bump cfn-lint from 1.37.2 to 1.38.0 (#6976) by @dependabot[bot]
- chore(deps-dev): bump mypy from 1.16.1 to 1.17.0 (#6977) by @dependabot[bot]
- chore(deps): bump mkdocs-llmstxt from 0.2.0 to 0.3.0 (#6978) by @dependabot[bot]
- chore(deps): bump mkdocs-llmstxt from 0.2.0 to 0.3.0 in /docs (#6979) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.12.2 to 0.12.3 (#6971) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.39.3 to 1.39.4 (#6966) by @dependabot[bot]
- chore(deps-dev): bump cfn-lint from 1.37.1 to 1.37.2 (#6963) by @dependabot[bot]
- chore(deps-dev): bump types-python-dateutil from 2.9.0.20250516 to 2.9.0.20250708 (#6962) by @dependabot[bot]
- chore(deps-dev): bump cfn-lint from 1.37.0 to 1.37.1 (#6958) by @dependabot[bot]
- chore(deps-dev): bump bandit from 1.8.5 to 1.8.6 (#6957) by @dependabot[bot]
- chore(deps): bump typing-extensions from 4.14.0 to 4.14.1 (#6951) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.203.1a0 to 2.204.0a0 (#6950) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.203.1 to 2.204.0 (#6949) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.39.2 to 1.39.3 (#6940) by @dependabot[bot]
- chore(deps-dev): bump coverage from 7.9.1 to 7.9.2 (#6941) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1020.1 to 2.1020.2 (#6942) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.12.1 to 0.12.2 (#6938) by @dependabot[bot]
- chore(deps-dev): bump types-protobuf from 6.30.2.20250516 to 6.30.2.20250703 (#6939) by @dependabot[bot]
- chore(deps): bump aws-encryption-sdk from 4.0.1 to 4.0.2 (#6932) by @dependabot[bot]
- chore(deps): bump mkdocs-material from 9.6.14 to 9.6.15 (#6931) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.203.0a0 to 2.203.1a0 (#6929) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.203.0 to 2.203.1 (#6928) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.39.1 to 1.39.2 (#6930) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1020.0 to 2.1020.1 (#6927) by @dependabot[bot]
This release was made possible by the following contributors:
@VatsalGoel3, @dependabot[bot], @dreamorosi, @github-actions[bot], @kimsappi, @leandrodamascena, @mhindery, @ran-isenberg, dependabot[bot] and github-actions[bot]
v3.16.0
Summary
We are thrilled to announce that Powertools for AWS Lambda (Python) now offers AWS Lambda layers in the AWS China region cn-north-1.
New AWS China Lambda Layer ARNs
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} |
Changes
🌟New features and non-breaking changes
- feat(ci): Partition workflow scripts updated to work (#6900) by @sthulb
- feat(ci): Deploy to AWS China partitions (#6867) by @sthulb
📜 Documentation updates
- docs(event-handler): remove Amplify transformers section (#6937) by @dreamorosi
- docs(kafka): refactor kafka documentation (#6854) by @leandrodamascena
🐛 Bug and hot fixes
- fix(logger): caplog working with parent Logger (#6847) by @amin-farjadi
- fix(event_source): fix decode headers with signed bytes (#6878) by @leandrodamascena
- fix(logger): fix exception on flush without buffer (#6794) by @tonnico
🔧 Maintenance
- chore(deps-dev): bump boto3-stubs from 1.39.2 to 1.39.3 (#6940) by @dependabot[bot]
- chore(deps-dev): bump coverage from 7.9.1 to 7.9.2 (#6941) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1020.1 to 2.1020.2 (#6942) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.12.1 to 0.12.2 (#6938) by @dependabot[bot]
- chore(deps-dev): bump types-protobuf from 6.30.2.20250516 to 6.30.2.20250703 (#6939) by @dependabot[bot]
- chore(deps): bump aws-encryption-sdk from 4.0.1 to 4.0.2 (#6932) by @dependabot[bot]
- chore(deps): bump mkdocs-material from 9.6.14 to 9.6.15 (#6931) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.203.0a0 to 2.203.1a0 (#6929) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.203.0 to 2.203.1 (#6928) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.39.1 to 1.39.2 (#6930) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1020.0 to 2.1020.1 (#6927) by @dependabot[bot]
- chore(ci): incorporate SSM update workflow into release pipeline (#6914) by @leandrodamascena
- chore(deps-dev): bump cfn-lint from 1.36.1 to 1.37.0 (#6918) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1019.2 to 2.1020.0 (#6917) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.39.0 to 1.39.1 (#6916) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.202.0a0 to 2.203.0a0 (#6919) by @dependabot[bot]
- chore(deps-dev): bump pytest-xdist from 3.7.0 to 3.8.0 (#6921) by @dependabot[bot]
- chore(deps): bump mkdocs-material from 9.6.14 to 9.6.15 in /docs (#6920) by @dependabot[bot]
- chore(deps): bump squidfunk/mkdocs-material from
eb04b60
to0bfdba4
in /docs (#6915) by @dependabot[bot] - chore(deps-dev): bump mypy-boto3-appconfigdata from 1.38.0 to 1.39.0 in the boto-typing group (#6905) by @dependabot[bot]
- chore(deps): bump mkdocs-material from 9.5.50 to 9.6.14 in /docs (#6908) by @dependabot[bot]
- chore(ci): pinning versions in actions + refactor tests (#6904) by @leandrodamascena
- chore(ci): stop publishing to gh-pages branch (#6903) by @leandrodamascena
- chore(ci): stop publishing to gh-pages branch (#6902) by @leandrodamascena
- chore(ci): stop publishing to gh-pages branch (#6901) by @leandrodamascena
- chore(ci): stop publishing to gh-pages branch (#6899) by @leandrodamascena
- chore(ci): remove v2 deployment files (#6895) by @leandrodamascena
- chore(ci): bump urllib3 version (#6893) by @leandrodamascena
- chore(deps-dev): bump ruff from 0.11.8 to 0.12.1 (#6879) by @dependabot[bot]
- chore(deps-dev): bump sentry-sdk from 2.31.0 to 2.32.0 (#6885) by @dependabot[bot]
- chore(ci): refactor thread safe tests (#6889) by @leandrodamascena
- chore(deps-dev): bump boto3-stubs from 1.38.45 to 1.38.46 (#6884) by @dependabot[bot]
- fix(logger): caplog working with parent Logger (#6847) by @amin-farjadi
- chore(deps-dev): bump boto3-stubs from 1.38.44 to 1.38.45 (#6880) by @dependabot[bot]
- chore(deps): bump pydantic-settings from 2.9.1 to 2.10.1 (#6872) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.43 to 1.38.44 (#6873) by @dependabot[bot]
- chore(deps): bump valkey-glide from 1.3.5 to 2.0.1 (#6871) by @dependabot[bot]
- chore(deps-dev): bump pytest from 8.4.0 to 8.4.1 (#6874) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1019.1 to 2.1019.2 (#6875) by @dependabot[bot]
- chore(deps-dev): bump sentry-sdk from 2.29.1 to 2.31.0 (#6870) by @dependabot[bot]
- chore(ci): fix command to replace layer number (#6868) by @leandrodamascena
- chore(deps-dev): bump cfn-lint from 1.35.4 to 1.36.1 (#6855) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.42 to 1.38.43 (#6864) by @dependabot[bot]
- chore(deps-dev): bump bandit from 1.8.3 to 1.8.5 (#6856) by @dependabot[bot]
- chore(deps): bump datadog-lambda from 6.110.0 to 6.111.0 (#6857) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.41 to 1.38.42 (#6858) by @dependabot[bot]
- chore(deps): bump docker/setup-buildx-action from 3.10.0 to 3.11.1 (#6823) by @dependabot[bot]
- chore(deps): bump pydantic from 2.11.5 to 2.11.7 (#6844) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1018.1 to 2.1019.1 (#6837) by @dependabot[bot]
- chore(deps-dev): bump mypy from 1.16.0 to 1.16.1 (#6828) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.34 to 1.38.41 (#6845) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.200.1a0 to 2.202.0a0 (#6846) by @dependabot[bot]
- chore(deps): bump redis from 5.3.0 to 6.2.0 (#6827) by @dependabot[bot]
This release was made possible by the following contributors:
@amin-farjadi, @dependabot[bot], @dreamorosi, @github-actions[bot], @kimsappi, @leandrodamascena, @sthulb, @tonnico, dependabot[bot] and github-actions[bot]
v3.15.1
Summary
In this release we fixed a problem when deserializing protobuf records with complex schemas.
Changes
🌟New features and non-breaking changes
📜 Documentation updates
🐛 Bug and hot fixes
- fix(kafka): add logic to handle protobuf deserialization (#6841) by @leandrodamascena
🔧 Maintenance
This release was made possible by the following contributors:
v3.15.0
Summary
We're excited to announce the Kafka Consumer utility, which transparently handles message deserialization, provides an intuitive developer experience, and integrates seamlessly with the rest of the Powertools for AWS Lambda ecosystem.
Key features
- Automatic deserialization of Kafka messages (JSON, Avro, and Protocol Buffers)
- Simplified event record handling with intuitive interface
- Support for key and value deserialization
- Support for Pydantic models and Dataclass output
- Support for Event Source Mapping (ESM) with and without Schema Registry integration
- Out of the box error handling for deserialization issues
Getting Started
To get started, depending on the schema types you want to use, install the library and the corresponding libraries:
For JSON schemas:
pip install aws-lambda-powertools
For Avro schemas:
pip install 'aws-lambda-powertools[kafka-consumer-avro]'
For Protobuf schemas:
pip install 'aws-lambda-powertools[kafka-consumer-protobuf]'
Additionally, if you want to use output serialization with Pydantic Models or Dataclases
Processing Kafka events
You can use Kafka consumer utility to transform raw Kafka events into an intuitive format for processing.
The @kafka_consumer
decorator can deserialize both keys and values independently based on your schema configuration. This flexibility allows you to work with different data formats in the same message.
Custom output serializers
You can transform deserialized data into your preferred object types using output serializers. This can help you integrate Kafka data with your domain models and application architecture, providing type hints, validation, and structured data access.
Error handling
You can handle errors when processing Kafka messages to ensure your application maintains resilience and provides clear diagnostic information.
We lazily decode fields like value
, key
, and headers
only when accessed. This allows you to handle deserialization errors at the point of access rather than when the record is first processed.
Changes
🌟New features and non-breaking changes
- feat(kafka): add logic to handle protobuf deserialization (#6841) by @leandrodamascena
- feat(kafka): add support for Confluence Producers (#6833) by @leandrodamascena
- feat(kafka): New Kafka utility (#6821) by @leandrodamascena
📜 Documentation updates
- docs(kafka): add kafka documentation (#6834) by @leandrodamascena
- docs(public_reference): add Instil as a public reference (#6763) by @leandrodamascena
🐛 Bug and hot fixes
- fix(bedrock_agent): fix querystring field resolution (#6777) by @matteofigus
🔧 Maintenance
- chore(deps-dev): bump pytest-cov from 6.1.1 to 6.2.1 (#6800) by @dependabot[bot]
- feat(kafka): New Kafka utility (#6821) by @leandrodamascena
- chore(deps): bump protobuf from 6.31.0 to 6.31.1 (#6815) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1018.0 to 2.1018.1 (#6803) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.33 to 1.38.35 (#6796) by @dependabot[bot]
- chore(deps-dev): bump requests from 2.32.3 to 2.32.4 (#6789) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.31 to 1.38.33 (#6786) by @dependabot[bot]
- chore(deps-dev): bump requests from 2.32.3 to 2.32.4 (#6787) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.11.12 to 0.11.13 (#6780) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.30 to 1.38.31 (#6776) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1017.1 to 2.1018.0 (#6775) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.29 to 1.38.30 (#6772) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.28 to 1.38.29 (#6764) by @dependabot[bot]
- chore(deps): bump mkdocstrings-python from 1.16.11 to 1.16.12 (#6765) by @dependabot[bot]
- chore(deps): bump mkdocstrings-python from 1.16.11 to 1.16.12 in /docs (#6768) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.200.0a0 to 2.200.1a0 (#6766) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.200.0 to 2.200.1 (#6767) by @dependabot[bot]
This release was made possible by the following contributors:
@dependabot[bot], @github-actions[bot], @leandrodamascena, @matteofigus, dependabot[bot] and github-actions[bot]
v3.14.0
Summary
This release introduces a new BedrockAgentFunctionResolver
to Event Handler that simplifies connecting AWS Lambda functions to Amazon Bedrock Agents. This feature eliminates the need to write boilerplate code for parsing requests and formatting responses, allowing you to focus on your agent's business logic.
We would also like to extend a huge thank you to our new contributor @LucasCMFBraga ⭐
Creating Amazon Bedrock Agents
You can now use the new BedrockAgentFunctionResolver
to register tools and handle requests in your Lambda functions. The resolver will automatically parse the request, route it to the appropriate function, and return a well-formed response that includes the tool's output and any existing session attributes.
By default, errors are handled gracefully and returned to the agent with error type and message information, allowing the conversation to continue. This is useful when you want to let the LLM handle errors and reduce boilerplate error-handling code.
If you need more control over error scenarios, you can use BedrockFunctionResponse
to customize the response and determine if the conversation should continue:
You can also use the BedrockFunctionResponse
when you want to enrich the response with session attributes or knowledge base configurations, or when you want the agent to re-prompt the user to provide additional information.
Changes
🌟New features and non-breaking changes
- feat(bedrock_agent): add new Amazon Bedrock Agents Functions Resolver (#6564) by @anafalcao
- feat(event_handler): enable support for custom deserializer to parse the request body (#6601) by @LucasCMFBraga
📜 Documentation updates
- docs(public_reference): add Instil as a public reference (#6763) by @leandrodamascena
🐛 Bug and hot fixes
- fix(event_handler): fix OpenAPI schema response for disabled validation (#6720) by @leandrodamascena
🔧 Maintenance
- chore(deps-dev): bump boto3-stubs from 1.38.28 to 1.38.29 (#6764) by @dependabot[bot]
- chore(deps): bump mkdocstrings-python from 1.16.11 to 1.16.12 (#6765) by @dependabot[bot]
- chore(deps): bump mkdocstrings-python from 1.16.11 to 1.16.12 in /docs (#6768) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.200.0a0 to 2.200.1a0 (#6766) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.200.0 to 2.200.1 (#6767) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.199.0a0 to 2.200.0a0 (#6758) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.27 to 1.38.28 (#6756) by @dependabot[bot]
- chore(deps-dev): bump cfn-lint from 1.35.3 to 1.35.4 (#6755) by @dependabot[bot]
- chore(deps-dev): bump pytest from 8.3.5 to 8.4.0 (#6757) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.26 to 1.38.27 (#6747) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1017.0 to 2.1017.1 (#6748) by @dependabot[bot]
- chore(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#6746) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.25 to 1.38.26 (#6742) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.11.11 to 0.11.12 (#6741) by @dependabot[bot]
- chore(deps): bump redis from 6.1.0 to 6.2.0 (#6736) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.23 to 1.38.25 (#6735) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1016.1 to 2.1017.0 (#6734) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.198.0a0 to 2.199.0a0 (#6729) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.198.0 to 2.199.0 (#6731) by @dependabot[bot]
- chore(deps): bump mkdocstrings-python from 1.16.10 to 1.16.11 (#6724) by @dependabot[bot]
- chore(deps-dev): bump pytest-xdist from 3.6.1 to 3.7.0 (#6730) by @dependabot[bot]
- chore(deps): bump mkdocstrings-python from 1.16.10 to 1.16.11 in /docs (#6722) by @dependabot[bot]
- chore(deps-dev): bump pytest-mock from 3.14.0 to 3.14.1 (#6723) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.197.0a0 to 2.198.0a0 (#6715) by @dependabot[bot]
- chore(deps): bump datadog-lambda from 6.109.0 to 6.110.0 (#6714) by @dependabot[bot]
- chore(deps-dev): bump coverage from 7.8.1 to 7.8.2 (#6713) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.22 to 1.38.23 (#6712) by @dependabot[bot]
- chore(deps): bump pydantic from 2.11.4 to 2.11.5 (#6711) by @dependabot[bot]
- chore(ci): add missing dependency to build docs (#6717) by @leandrodamascena
- chore(docs): Add llms.txt to documentation (#6693) by @hjgraca
- chore(deps-dev): bump cfn-lint from 1.35.1 to 1.35.3 (#6708) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.11.10 to 0.11.11 (#6706) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.21 to 1.38.22 (#6707) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1016.0 to 2.1016.1 (#6703) by @dependabot[bot]
- chore(deps-dev): bump coverage from 7.8.0 to 7.8.1 (#6701) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.196.1a0 to 2.197.0a0 (#6700) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.196.1 to 2.197.0 (#6699) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.19 to 1.38.21 (#6698) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.196.0 to 2.196.1 (#6695) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.196.0a0 to 2.196.1a0 (#6694) by @dependabot[bot]
This release was made possible by the following contributors:
@LucasCMFBraga, @anafalcao, @dependabot[bot], @github-actions[bot], @hjgraca, @leandrodamascena, dependabot[bot] and github-actions[bot]
v3.13.0
Summary
In this release, we renamed the Redis
class to Cache
in our Idempotency utility and added support for the valkey-glide library.
Thanks to our new contributors @AlisonVilela, @Artur-T-Malas, and @kiitosu, we also fixed bugs in our Event Source Data Class utility. ⭐🏅
Working with the new CachePersistenceLayer
class
You can now use our CachePersistenceLayer
classes, which are more generically named, in place of the previous Redis-specific classes when using the Idempotency feature.
For backward compatibility, we've maintained the old Redis class names. However, these are now marked as deprecated and will be removed in the next major version.
We've also added support for valkey-glide, providing more flexibility for your caching implementation needs.
If you are using the RedisPersistenceLayer
class in your codebase, you can use the new CachePersistenceLayer
as a drop-in replacement.
Changes
🌟New features and non-breaking changes
- feat(parser): add support to decompress Kinesis CloudWatch logs in Kinesis envelope (#6656) by @Artur-T-Malas
- feat(event_source): add support for tumbling windows in Kinesis and DynamoDB events (#6658) by @kiitosu
- feat(event_source): export SQSRecord in data_classes module (#6639) by @AlisonVilela
🔧 Maintenance
- chore(deps-dev): bump boto3-stubs from 1.38.18 to 1.38.19 (#6687) by @dependabot[bot]
- chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.24 to 3.0.25 (#6686) by @dependabot[bot]
- refactor(idempotency): replace Redis name with Cache and add valkey-glide support (#6685) by @leandrodamascena
- chore(ci): include allowed licenses file in dependency review workflow (#6618) by @leandrodamascena
- chore(deps-dev): bump aws-cdk from 2.1015.0 to 2.1016.0 (#6680) by @dependabot[bot]
- chore(deps-dev): bump types-python-dateutil from 2.9.0.20241206 to 2.9.0.20250516 (#6678) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.195.0a0 to 2.196.0a0 (#6677) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.16 to 1.38.17 (#6674) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.11.9 to 0.11.10 (#6673) by @dependabot[bot]
- chore(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3 (#6672) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1014.0 to 2.1015.0 (#6668) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.15 to 1.38.16 (#6669) by @dependabot[bot]
- chore(deps): bump aws-actions/configure-aws-credentials from 4.2.0 to 4.2.1 (#6667) by @dependabot[bot]
- chore(deps-dev): bump mkdocs-material from 9.6.13 to 9.6.14 (#6661) by @dependabot[bot]
- chore(deps): bump redis from 5.2.1 to 6.1.0 (#6662) by @dependabot[bot]
- chore(deps): bump actions/dependency-review-action from 4.7.0 to 4.7.1 (#6663) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.14 to 1.38.15 (#6660) by @dependabot[bot]
- chore(deps): bump squidfunk/mkdocs-material from
f6c81d5
toeb04b60
in /docs (#6659) by @dependabot[bot] - chore(deps-dev): bump mkdocs-material from 9.6.12 to 9.6.13 (#6654) by @dependabot[bot]
- chore(deps-dev): bump sentry-sdk from 2.27.0 to 2.28.0 (#6652) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.13 to 1.38.14 (#6653) by @dependabot[bot]
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.308 to 0.1.309 (#6651) by @dependabot[bot]
- chore(deps): bump squidfunk/mkdocs-material from
95f2ff4
tof6c81d5
in /docs (#6650) by @dependabot[bot] - chore(deps-dev): bump ruff from 0.11.8 to 0.11.9 (#6643) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.12 to 1.38.13 (#6644) by @dependabot[bot]
- chore(deps-dev): bump cfn-lint from 1.35.0 to 1.35.1 (#6642) by @dependabot[bot]
- chore(deps): bump datadog-lambda from 6.108.0 to 6.109.0 (#6641) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.194.0a0 to 2.195.0a0 (#6635) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1013.0 to 2.1014.0 (#6636) by @dependabot[bot]
- chore(deps): bump datadog-lambda from 6.107.0 to 6.108.0 (#6634) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.11 to 1.38.12 (#6633) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.194.0 to 2.195.0 (#6632) by @dependabot[bot]
- chore(deps): bump actions/setup-go from 5.4.0 to 5.5.0 (#6630) by @dependabot[bot]
- chore(deps-dev): bump ijson from 3.3.0 to 3.4.0 (#6631) by @dependabot[bot]
- chore(deps): bump actions/dependency-review-action from 4.6.0 to 4.7.0 (#6629) by @dependabot[bot]
- chore(deps-dev): bump cfn-lint from 1.34.2 to 1.35.0 (#6623) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.10 to 1.38.11 (#6624) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.9 to 1.38.10 (#6620) by @dependabot[bot]
- chore(deps): bump aws-actions/configure-aws-credentials from 4.1.0 to 4.2.0 (#6619) by @dependabot[bot]
This release was made possible by the following contributors:
@AlisonVilela, @Artur-T-Malas, @dependabot[bot], @github-actions[bot], @kiitosu, @leandrodamascena, dependabot[bot] and github-actions[bot]
v3.12.0
Summary
Thanks to @anafalcao, in this release we added support for additional response fields supported by Bedrock Agents when using the BedrockAgentResolver.
Additional response fields with BedrockAgentResolver
You can use the BedrockResponse
class to add additional fields as needed, such as session attributes, prompt session attributes, and knowledge base configurations. These fields are useful when you want to persist attributes across multiple sessions, for example
Changes
🌟New features and non-breaking changes
- feat(bedrock_agents): add optional fields to response payload (#6336) by @anafalcao
📜 Documentation updates
- docs(community): add Ran Isenberg blog post (#6610) by @ran-isenberg
- docs(i-made-this): adding Michael's MCP server (#6591) by @leandrodamascena
- docs(appsync_events): improve AppSync events documentation (#6572) by @leandrodamascena
🔧 Maintenance
- chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.23 to 3.0.24 (#6611) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.7 to 1.38.9 (#6612) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.193.0 to 2.194.0 (#6603) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.193.0a0 to 2.194.0a0 (#6602) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.11.7 to 0.11.8 (#6595) by @dependabot[bot]
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.307 to 0.1.308 (#6597) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.6 to 1.38.7 (#6594) by @dependabot[bot]
- chore(docs): fix youtube embed link in we made this (#6593) by @dreamorosi
- chore(deps): bump pydantic from 2.11.3 to 2.11.4 (#6585) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.1012.0 to 2.1013.0 (#6588) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.5 to 1.38.6 (#6587) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.192.0a0 to 2.193.0a0 (#6586) by @dependabot[bot]
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.306 to 0.1.307 (#6580) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.4 to 1.38.5 (#6581) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.3 to 1.38.4 (#6577) by @dependabot[bot]
- chore(deps-dev): bump h11 from 0.14.0 to 0.16.0 (#6575) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.38.2 to 1.38.3 (#6569) by @dependabot[bot]
- chore(deps-dev): bump cfn-lint from 1.34.1 to 1.34.2 (#6568) by @dependabot[bot]
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.305 to 0.1.306 (#6567) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.191.0a0 to 2.192.0a0 (#6566) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.191.0 to 2.192.0 (#6565) by @dependabot[bot]
This release was made possible by the following contributors:
@anafalcao, @dependabot[bot], @dreamorosi, @github-actions[bot], @leandrodamascena, @ran-isenberg, dependabot[bot] and github-actions[bot]