Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 15, 2024

Bumps aws-lambda-powertools from 2.35.1 to 2.41.0.

Release notes

Sourced from aws-lambda-powertools's releases.

v2.41.0

Summary

This release enhances the Batch Processing feature, which you can now customize to not throw an error when the entire batch of items fails to process.

We have also added three new Pydantic models to our Parser feature to work with authorizers in Amazon API Gateway.

Thanks to @​adriantomas, customers can bring their own boto3 client when using Feature Flags feature.

🌟 ⭐ A big thank you to everyone who helped make this release.

Working with full batch failures

Docs

You can now set the raise_on_entire_batch_failure option to False to prevent the Batch Processing utility from throwing a BatchProcessingError, when all records in a batch fail to process. This is useful when working with functions that handle batches with a small number of records, or when you use errors as a flow control mechanism.

batch_process

New Parser models

Docs

You can now use the new Pydantic models to validate payloads originating from authorization events in REST and HTTP APIs.

parser

Here are all the modules we've added:

  • ApiGatewayAuthorizerToken - For REST API Authorizer events using Token
  • ApiGatewayAuthorizerRequest - For REST API Authorizer events using Request
  • ApiGatewayAuthorizerRequestV2 - For HTTP API Authorizer events using Request

Customizing boto3 client configuration for Feature Flags

Docs

You can now bring your own boto3 client instance when using Feature Flags. This is ideal when you want to reuse or customize the appconfigdata client.

appconfig

Last but not least, thanks to @​Wurstnase for helping us to fix a bug when using CORS in the Event Handler feature.

Changes

🌟New features and non-breaking changes

  • feat(feature_flags): allow customers to bring their own boto3 client and session (#4717) by @​adriantomas
  • feat(batch): add option to not raise BatchProcessingError exception when the entire batch fails (#4719) by @​leandrodamascena

... (truncated)

Changelog

Sourced from aws-lambda-powertools's changelog.

[v2.41.0] - 2024-07-11

Bug Fixes

  • event_handler: make the max_age attribute comply with RFC specification (#4731)
  • event_handler: disable allow-credentials header when origin allow_origin is * (#4638)
  • event_handler: convert null body to empty string in ALBResolver to avoid HTTP 502 (#4683)
  • event_handler: custom serializer recursive values when using data validation (#4664)

Documentation

  • i-made-this: Bedrock agents with Powertools for AWS Lambda (#4705)
  • public_reference: add BusPatrol as a public reference (#4713)

Features

  • batch: add option to not raise BatchProcessingError exception when the entire batch fails (#4719)
  • feature_flags: allow customers to bring their own boto3 client and session (#4717)
  • parser: add support for API Gateway Lambda authorizer events (#4718)

Maintenance

  • version bump
  • Add token to codecov action (#4682)
  • ci: new pre-release 2.40.2a5 (#4706)
  • ci: new pre-release 2.40.2a0 (#4665)
  • ci: new pre-release 2.40.2a8 (#4737)
  • ci: new pre-release 2.40.2a7 (#4726)
  • ci: new pre-release 2.40.2a1 (#4669)
  • ci: new pre-release 2.40.2a2 (#4679)
  • ci: new pre-release 2.40.2a3 (#4688)
  • ci: new pre-release 2.40.2a6 (#4715)
  • ci: new pre-release 2.40.2a4 (#4694)
  • deps: bump docker/setup-qemu-action from 3.0.0 to 3.1.0 (#4685)
  • deps: bump actions/setup-python from 5.1.0 to 5.1.1 (#4732)
  • deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4733)
  • deps: bump actions/upload-artifact from 4.3.3 to 4.3.4 (#4698)
  • deps: bump actions/download-artifact from 4.1.7 to 4.1.8 (#4699)
  • deps: bump actions/setup-node from 4.0.2 to 4.0.3 (#4725)
  • deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.9 to 3.0.10 (#4678)
  • deps: bump docker/setup-buildx-action from 3.3.0 to 3.4.0 (#4693)
  • deps: bump zipp from 3.17.0 to 3.19.1 in /docs (#4720)
  • deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4659)
  • deps: bump certifi from 2024.6.2 to 2024.7.4 (#4700)
  • deps: bump github.com/aws/aws-sdk-go-v2/config from 1.27.23 to 1.27.24 in /layer/scripts/layer-balancer in the layer-balancer group (#4684)
  • deps-dev: bump mkdocs-material from 9.5.27 to 9.5.28 (#4676)
  • deps-dev: bump cfn-lint from 1.4.2 to 1.5.0 (#4675)
  • deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.147.3a0 to 2.148.0a0 (#4722)
  • deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.200 to 0.1.201 (#4687)
  • deps-dev: bump aws-cdk-lib from 2.147.2 to 2.147.3 (#4674)
  • deps-dev: bump zipp from 3.17.0 to 3.19.1 in /layer (#4721)

... (truncated)

Commits
  • 3556fcd chore: version bump
  • 4e9a5fe chore(layers): downgrade aws cdk to 2.145.0 (#4739)
  • b5d6384 chore(ci): new pre-release 2.40.2a8 (#4737)
  • 3ae2eec fix(event_handler): make the max_age attribute comply with RFC specification ...
  • 599f6fe chore(deps-dev): bump sentry-sdk from 2.8.0 to 2.9.0 (#4735)
  • 96fd770 chore(deps-dev): bump cfn-lint from 1.5.2 to 1.5.3 (#4734)
  • 2f4b976 chore(deps): bump actions/setup-python from 5.1.0 to 5.1.1 (#4732)
  • 51de224 chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer w...
  • 10d551c feat(feature_flags): allow customers to bring their own boto3 client and sess...
  • 14b44ce feat(batch): add option to not raise BatchProcessingError exception when th...
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [aws-lambda-powertools](https://github.com/aws-powertools/powertools-lambda-python) from 2.35.1 to 2.41.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)
- [Commits](aws-powertools/powertools-lambda-python@v2.35.1...v2.41.0)

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

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 Jul 15, 2024
@sonarqubecloud
Copy link

@github-actions
Copy link

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

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 18, 2024

Superseded by #742.

@dependabot dependabot bot closed this Nov 18, 2024
@dependabot dependabot bot deleted the dependabot/pip/aws-lambda-powertools-2.41.0 branch November 18, 2024 01:15
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