Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 15, 2025

Bumps aws-lambda-powertools from 2.35.1 to 3.20.0.

Release notes

Sourced from aws-lambda-powertools's releases.

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

Docs

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

📜 Documentation updates

... (truncated)

Changelog

Sourced from aws-lambda-powertools's changelog.

[v3.20.0] - 2025-09-09

Code Refactoring

  • event_handler: allow to pass dict as argument to exception classes (#7341)
  • parser: improves S3 models with examples and descriptions (#7292)
  • parser: Improve Transfer Family models with examples and descriptions (#7294)
  • parser: Improve Kafka models with examples and descriptions (#7293)
  • parser: Improve SQS models with examples and descriptions (#7286)
  • parser: Improve SNS models with examples and descriptions (#7287)
  • parser: Improve VPC Lattice with examples and descriptions (#7234)
  • parser: Improve DynamoDB models with examples and descriptions (#7146)

Documentation

  • fix SSM recursive parameter highlighting (#7316)
  • Add AWS copyright footer. (#7313)
  • Add installation snippet for uv package manager (#7272)
  • Fix copy to clipboard button (#7270)
  • build_recipes: add troubleshooting page (#7195)
  • build_recipes: add cicd page (#7176)
  • build_recipes: add initial build recipes structure (#7163)
  • build_recipes: add build tools page (#7201)
  • build_recipes: add cross build page (#7199)
  • build_recipes: add performance optimization page (#7197)
  • index: remove customer names (#7318)
  • mkdocs: fix docs warnings (#7211)
  • public_reference: add QuasiScience as a public reference (#7228)

Features

  • parser: add support for sourceIp with ipv6 and port (#7351)
  • parser: add support for sourceIp with port (#7315)

Maintenance

  • version bump
  • automation: update PR template to include closes command (#7173)
  • ci: new pre-release 3.19.1a11 (#7278)
  • ci: new pre-release 3.19.1a0 (#7161)
  • ci: new pre-release 3.19.1a16 (#7350)
  • ci: new pre-release 3.19.1a1 (#7172)
  • ci: new pre-release 3.19.1a2 (#7192)
  • ci: new pre-release 3.19.1a3 (#7207)
  • ci: new pre-release 3.19.1a4 (#7217)
  • ci: new pre-release 3.19.1a6 (#7232)
  • ci: new pre-release 3.19.1a7 (#7244)
  • ci: new pre-release 3.19.1a14 (#7306)
  • ci: new pre-release 3.19.1a5 (#7226)
  • ci: new pre-release 3.19.1a8 (#7247)
  • ci: new pre-release 3.19.1a9 (#7256)

... (truncated)

Upgrade guide

Sourced from aws-lambda-powertools's upgrade guide.


title: Upgrade guide description: Guide to update between major Powertools for AWS Lambda (Python) versions

End of support v2

!!! warning "On March 25st, 2025, Powertools for AWS Lambda (Python) v2 reached end of support and will no longer receive updates or releases. If you are still using v2, we strongly recommend you to read our upgrade guide and update to the latest version."

Given our commitment to all of our customers using Powertools for AWS Lambda (Python), we will keep Pypi{target="_blank"} v2 releases and documentation 2.x versions to prevent any disruption.

Migrate to v3 from v2

!!! info "We strongly encourage you to migrate to v3. However, if you still need to upgrade from v1 to v2, you can find the upgrade guide."

We've made minimal breaking changes to make your transition to v3 as smooth as possible.

Quick summary

Area Change Code change required
Pydantic We have removed support for Pydantic v1 No
Parser We have replaced DynamoDBStreamModel AttributeValue with native Python types Yes
Parser We no longer export Pydantic objects from parser.pydantic. Yes
Lambda layer Lambda layers are now compiled according to the specific Python version and architecture No
Event Handler We have deprecated the get_header_value function. Yes
Batch Processor @batch_processor and @async_batch_processor decorators are now deprecated Yes
Event Source Data Classes We have updated default values for optional fields. Yes
Parameters The default cache TTL is now set to 5 minutes No
Parameters The config parameter is deprecated in favor of boto_config Yes
JMESPath Functions The extract_data_from_envelope function is deprecated in favor of query Yes
Types file We have removed the type imports from the shared/types.py file Yes

First Steps

Before you start, we suggest making a copy of your current working project or create a new branch with git.

  1. Upgrade Python to at least v3.9.
  2. Ensure you have the latest version via Lambda Layer or PyPi{target="_blank"}.
  3. Review the following sections to confirm if you need to make changes to your code.

Drop support for Pydantic v1

!!! note "No code changes required"

As of June 30, 2024, Pydantic v1 has reached its end-of-life, and we have discontinued support for this version. We now exclusively support Pydantic v2.

Use Pydantic v2 Migration Guide{target="_blank"} to migrate your custom Pydantic models to v2.

... (truncated)

Commits
  • 87e8f62 chore: version bump
  • 1c05061 chore(deps): bump codecov/codecov-action from 5.5.0 to 5.5.1 (#7345)
  • b42d7cc chore(deps): bump squidfunk/mkdocs-material from 1a4e939 to 209b62d in /d...
  • 118a3e8 feat(parser): add support for sourceIp with ipv6 and port (#7351)
  • f93d3cc chore(deps): bump mkdocs-material from 9.6.18 to 9.6.19 (#7346)
  • 0eb5cb8 chore(deps-dev): bump boto3-stubs from 1.40.25 to 1.40.26 (#7348)
  • 682e051 chore(deps-dev): bump pytest-cov from 6.2.1 to 6.3.0 (#7349)
  • e36b138 chore(ci): new pre-release 3.19.1a16 (#7350)
  • 14c0aa8 chore(ci): changelog rebuild (#7340)
  • a186759 refactor(event_handler): allow to pass dict as argument to exception classes ...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [aws-lambda-powertools](https://github.com/aws-powertools/powertools-lambda-python) from 2.35.1 to 3.20.0.
- [Release notes](https://github.com/aws-powertools/powertools-lambda-python/releases)
- [Changelog](https://github.com/aws-powertools/powertools-lambda-python/blob/develop/CHANGELOG.md)
- [Upgrade guide](https://github.com/aws-powertools/powertools-lambda-python/blob/develop/docs/upgrade.md)
- [Commits](aws-powertools/powertools-lambda-python@v2.35.1...v3.20.0)

---
updated-dependencies:
- dependency-name: aws-lambda-powertools
  dependency-version: 3.20.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 15, 2025
@dependabot dependabot bot requested a review from a team as a code owner September 15, 2025 01:06
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 15, 2025
@sonarqubecloud
Copy link

@github-actions
Copy link

💥 Something went wrong while deploying the pull request environment.
Check Output Logs

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 13, 2025

Superseded by #1063.

@dependabot dependabot bot closed this Oct 13, 2025
@dependabot dependabot bot deleted the dependabot/pip/aws-lambda-powertools-3.20.0 branch October 13, 2025 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants