Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

poetry: update aws-lambda-powertools requirement from ^2.26.0 to ^3.6.0 #492

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 12, 2025

Updates the requirements on aws-lambda-powertools to permit the latest version.

Release notes

Sourced from aws-lambda-powertools's releases.

v3.6.0

Summary

In this release, we are thrilled to announce new features and improvements:

  • Customizable masking capabilities with the erase method in Data Masking utility
  • Ability to disable metrics flush via environment variables
  • New Event Source Data Classes for API Gateway Authorizer Response WebSocket
  • New method to the Logger class to clear appended keys at any point during the execution of your Lambda invocation

Special thanks to @​philiptzou, for improving type annotations in our OpenAPI utility! ⭐

Custom masking support for Data Masking

Docs

You can now configure advanced masking options when using erase method in the Data Masking utility. This feature provides granular control to protect sensitive information while maintaining data readability and structure.

The new options to use with erase :

  • Dynamic Mask: Preserves text length and structure by replacing characters with *
  • Custom Mask: Apply simple pattern like "XX-XX"
  • Regex Mask: Advanced pattern-based masking for complex data formats
  • Field-specific Allows different masking rules for different data fields

data_masking_new

Disable flushing metrics using environment variables

Docs

You can now set the POWERTOOLS_METRICS_DISABLES environment variable to control the metrics output. This is useful when you want to silent metrics in a non-production environment. When POWERTOOLS_DEV is enabled, the metrics are also suppressed, but you can always override it by setting POWERTOOLS_METRICS_DISABLED=false when you want to continue emitting metrics while in dev mode.

image

Support for API Gateway Authorizer Response WebSocket

Docs

You can now use the new APIGatewayAuthorizerResponseWebSocket class to handle authorization policies for WebSocket APIs.

image

Clearing all appended keys with clear_state() method

Docs

... (truncated)

Changelog

Sourced from aws-lambda-powertools's changelog.

[v3.6.0] - 2025-02-11

Maintenance

  • version bump

[v3.5.0] - 2025-01-28

Bug Fixes

  • event_handler: fixes typo in variable name fronzen_openapi_extensions (#5929)
  • event_handler: add tests for PEP 563 compatibility with OpenAPI (#5886)
  • event_handler: fix forward references resolution in OpenAPI (#5885)
  • parser: make identitySource optional for ApiGatewayAuthorizerRequestV2 model (#5880)

Documentation

  • data_classes: improve Event Source Data Classes documentation (#5916)
  • event_handler: demonstrate handling optional security routes (#5895)
  • layer: update layer version number - v3.4.1 (#5869)
  • parser: improve documentation with Pydantic best practices (#5925)

Features

  • event_source: add AWS Transfer Family classes (#5912)
  • idempotency: add support for custom Idempotency key prefix (#5898)
  • logger: add context manager for logger keys (#5883)
  • parser: add AWS Transfer Family model (#5906)

Maintenance

  • version bump
  • ci: adding poetry export plugin to support v2 (#5941)
  • ci: adding poetry export plugin to support v2 (#5938)
  • ci: adjust token permission (#5867)
  • ci: new pre-release 3.4.2a0 (#5873)
  • ci: make pyproject.toml fully compatible with Poetryv2 (#5902)
  • ci: drop support for Python 3.8 (#5896)
  • ci: update poetry version to v2 (#5936)
  • ci: fix permissions for gh pages (#5866)
  • deps: bump pydantic from 2.10.5 to 2.10.6 (#5918)
  • deps: bump squidfunk/mkdocs-material from ba73db5 to 41942f7 in /docs (#5890)
  • deps-dev: bump boto3-stubs from 1.36.4 to 1.36.5 (#5919)
  • deps-dev: bump boto3-stubs from 1.36.4 to 1.36.6 (#5923)
  • deps-dev: bump cfn-lint from 1.22.6 to 1.22.7 (#5910)
  • deps-dev: bump testcontainers from 3.7.1 to 4.9.1 (#5907)
  • deps-dev: bump pytest-benchmark from 4.0.0 to 5.1.0 (#5909)
  • deps-dev: bump aws-cdk from 2.176.0 to 2.177.0 (#5930)
  • deps-dev: bump pytest-cov from 5.0.0 to 6.0.0 (#5908)
  • deps-dev: bump aws-cdk-lib from 2.176.0 to 2.177.0 (#5931)

... (truncated)

Commits
  • c5ccfc9 chore: version bump
  • 4e3af55 chore(ci): changelog rebuild (#6070)
  • 6ff9f11 feat(data-masking): add custom mask functionalities (#5837)
  • 8ff6cac chore(ci): new pre-release 3.5.1a9 (#6069)
  • 1fa4700 feat(metrics): disable metrics flush via environment variables (#6046)
  • 1ca05a2 chore(deps-dev): bump ruff from 0.9.5 to 0.9.6 (#6066)
  • aade153 chore(deps-dev): bump coverage from 7.6.10 to 7.6.11 (#6067)
  • e722bdb chore(deps-dev): bump mkdocs-material from 9.6.2 to 9.6.3 (#6065)
  • 416e34b chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0...
  • a4ec359 feat(event_source): add class APIGatewayAuthorizerResponseWebSocket (#6058)
  • Additional commits viewable in compare view

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)

@dependabot dependabot bot requested a review from a team as a code owner February 12, 2025 15:17
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 12, 2025
Updates the requirements on [aws-lambda-powertools](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.26.0...v3.6.0)

---
updated-dependencies:
- dependency-name: aws-lambda-powertools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/aws-lambda-powertools-tw-3.6.0 branch from bcc0fd7 to 80fbb43 Compare February 13, 2025 15:13
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