Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 23, 2025

Bumps aws-lambda-powertools from 2.35.1 to 3.15.1.

Release notes

Sourced from aws-lambda-powertools's releases.

v3.15.0

Summary

In this release, we fixed a bug in the Bedrock Agent utility when working with multi-valued query string parameters.

Changes

🌟New features and non-breaking changes

📜 Documentation updates

🐛 Bug and hot fixes

🔧 Maintenance

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.

... (truncated)

Changelog

Sourced from aws-lambda-powertools's changelog.

[v3.15.1] - 2025-06-20

Features

  • kafka: add logic to handle protobuf deserialization (#6841)

Maintenance

  • version bump
  • ci: new pre-release 3.15.1a0 (#6839)

[v3.15.0] - 2025-06-19

Bug Fixes

  • bedrock_agent: fix querystring field resolution (#6777)

Documentation

  • kafka: add kafka documentation (#6834)
  • public_reference: add Instil as a public reference (#6763)

Features

  • kafka: add support for Confluence Producers (#6833)
  • kafka: New Kafka utility (#6821)

Maintenance

  • version bump
  • ci: new pre-release 3.14.1a6 (#6830)
  • ci: new pre-release 3.14.1a5 (#6820)
  • ci: new pre-release 3.14.1a0 (#6773)
  • ci: new pre-release 3.14.1a4 (#6812)
  • ci: new pre-release 3.14.1a3 (#6797)
  • ci: new pre-release 3.14.1a1 (#6778)
  • ci: new pre-release 3.14.1a2 (#6788)
  • deps: bump mkdocstrings-python from 1.16.11 to 1.16.12 in /docs (#6768)
  • deps: bump mkdocstrings-python from 1.16.11 to 1.16.12 (#6765)
  • deps: bump protobuf from 6.31.0 to 6.31.1 (#6815)
  • deps-dev: bump boto3-stubs from 1.38.29 to 1.38.30 (#6772)
  • deps-dev: bump aws-cdk from 2.1017.1 to 2.1018.0 (#6775)
  • deps-dev: bump boto3-stubs from 1.38.33 to 1.38.35 (#6796)
  • deps-dev: bump aws-cdk from 2.1018.0 to 2.1018.1 (#6803)
  • deps-dev: bump boto3-stubs from 1.38.30 to 1.38.31 (#6776)
  • deps-dev: bump requests from 2.32.3 to 2.32.4 (#6789)
  • deps-dev: bump boto3-stubs from 1.38.28 to 1.38.29 (#6764)
  • deps-dev: bump ruff from 0.11.12 to 0.11.13 (#6780)
  • deps-dev: bump boto3-stubs from 1.38.31 to 1.38.33 (#6786)
  • deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.200.0a0 to 2.200.1a0 (#6766)

... (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

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.15.1.
- [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.15.1)

---
updated-dependencies:
- dependency-name: aws-lambda-powertools
  dependency-version: 3.15.1
  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 Jun 23, 2025
@dependabot dependabot bot temporarily deployed to pull-request June 23, 2025 02:04 Inactive
@dependabot dependabot bot temporarily deployed to pull-request June 23, 2025 02:04 Inactive
@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 Jul 7, 2025

Superseded by #963.

@dependabot dependabot bot closed this Jul 7, 2025
@dependabot dependabot bot deleted the dependabot/pip/aws-lambda-powertools-3.15.1 branch July 7, 2025 01:12
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