Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Updates the requirements on aws-lambda-powertools[tracer,validation] to permit the latest version.

Release notes

Sourced from aws-lambda-powertools[tracer,validation]'s releases.

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

Docs

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.

bedrock_agent1

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:

bedrock_error_response

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

🐛 Bug and hot fixes

🔧 Maintenance

... (truncated)

Changelog

Sourced from aws-lambda-powertools[tracer,validation]'s changelog.

[v3.14.0] - 2025-06-03

Bug Fixes

  • event_handler: fix OpenAPI schema response for disabled validation (#6720)

Features

  • bedrock_agent: add new Amazon Bedrock Agents Functions Resolver (#6564)
  • event_handler: enable support for custom deserializer to parse the request body (#6601)

Maintenance

  • version bump
  • ci: new pre-release 3.13.1a7 (#6759)
  • ci: new pre-release 3.13.1a0 (#6696)
  • ci: new pre-release 3.13.1a6 (#6751)
  • ci: new pre-release 3.13.1a1 (#6704)
  • ci: new pre-release 3.13.1a2 (#6709)
  • ci: new pre-release 3.13.1a5 (#6744)
  • ci: new pre-release 3.13.1a4 (#6738)
  • ci: add missing dependency to build docs (#6717)
  • ci: new pre-release 3.13.1a3 (#6732)
  • deps: bump pydantic from 2.11.4 to 2.11.5 (#6711)
  • deps: bump mkdocstrings-python from 1.16.10 to 1.16.11 (#6724)
  • deps: bump redis from 6.1.0 to 6.2.0 (#6736)
  • deps: bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#6746)
  • deps: bump mkdocstrings-python from 1.16.10 to 1.16.11 in /docs (#6722)
  • deps: bump datadog-lambda from 6.109.0 to 6.110.0 (#6714)
  • deps-dev: bump pytest-mock from 3.14.0 to 3.14.1 (#6723)
  • deps-dev: bump pytest-xdist from 3.6.1 to 3.7.0 (#6730)
  • deps-dev: bump aws-cdk-lib from 2.198.0 to 2.199.0 (#6731)
  • deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.197.0a0 to 2.198.0a0 (#6715)
  • deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.198.0a0 to 2.199.0a0 (#6729)
  • deps-dev: bump coverage from 7.8.1 to 7.8.2 (#6713)
  • deps-dev: bump boto3-stubs from 1.38.22 to 1.38.23 (#6712)
  • deps-dev: bump aws-cdk from 2.1016.1 to 2.1017.0 (#6734)
  • deps-dev: bump boto3-stubs from 1.38.23 to 1.38.25 (#6735)
  • deps-dev: bump ruff from 0.11.11 to 0.11.12 (#6741)
  • deps-dev: bump boto3-stubs from 1.38.25 to 1.38.26 (#6742)
  • deps-dev: bump cfn-lint from 1.35.1 to 1.35.3 (#6708)
  • deps-dev: bump ruff from 0.11.10 to 0.11.11 (#6706)
  • deps-dev: bump boto3-stubs from 1.38.21 to 1.38.22 (#6707)
  • deps-dev: bump aws-cdk from 2.1016.0 to 2.1016.1 (#6703)
  • deps-dev: bump aws-cdk from 2.1017.0 to 2.1017.1 (#6748)
  • deps-dev: bump boto3-stubs from 1.38.26 to 1.38.27 (#6747)
  • deps-dev: bump coverage from 7.8.0 to 7.8.1 (#6701)
  • deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.196.1a0 to 2.197.0a0 (#6700)
  • deps-dev: bump aws-cdk-lib from 2.196.1 to 2.197.0 (#6699)
  • deps-dev: bump pytest from 8.3.5 to 8.4.0 (#6757)
  • deps-dev: bump cfn-lint from 1.35.3 to 1.35.4 (#6755)

... (truncated)

Commits
  • d1e668a chore: version bump
  • 1a1f7df chore(ci): changelog rebuild (#6760)
  • b66665c feat(bedrock_agent): add new Amazon Bedrock Agents Functions Resolver (#6564)
  • 9c16b81 chore(ci): new pre-release 3.13.1a7 (#6759)
  • 69e5e0f chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.199.0a0 to 2.200...
  • b584739 chore(deps-dev): bump boto3-stubs from 1.38.27 to 1.38.28 (#6756)
  • 10bfa5f chore(deps-dev): bump cfn-lint from 1.35.3 to 1.35.4 (#6755)
  • 85ca2cb chore(deps-dev): bump pytest from 8.3.5 to 8.4.0 (#6757)
  • 3077eba chore(ci): changelog rebuild (#6752)
  • 68a0482 chore(ci): new pre-release 3.13.1a6 (#6751)
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
aws-lambda-powertools[tracer,validation] [< 3, > 2.0.0]

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)

Updates the requirements on [aws-lambda-powertools[tracer,validation]](https://github.com/aws-powertools/powertools-lambda-python) to permit the latest version.
- [Release notes](https://github.com/aws-powertools/powertools-lambda-python/releases)
- [Changelog](https://github.com/aws-powertools/powertools-lambda-python/blob/develop/CHANGELOG.md)
- [Commits](aws-powertools/powertools-lambda-python@v2.43.0...v3.14.0)

---
updated-dependencies:
- dependency-name: aws-lambda-powertools[tracer,validation]
  dependency-version: 3.14.0
  dependency-type: direct:production
...

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 5, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 1, 2025

Superseded by #1075.

@dependabot dependabot bot closed this Jul 1, 2025
@dependabot dependabot bot deleted the dependabot/pip/application/develop/aws-lambda-powertools-tracervalidation--approx-eq-3.14.0 branch July 1, 2025 05:31
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