Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 22, 2024

Bumps aws-lambda-powertools from 2.35.1 to 2.37.0.

Release notes

Sourced from aws-lambda-powertools's releases.

v2.37.0

Summary

This release adds Security Schemes support for generated OpenAPI / Swagger UI, and a new feature to manipulate idempotent responses. 🚀🚀 And of course, you know it, fixes in typing and documentation. 🎉

🌟 Tons of things in this release was only possible because of our community. 🌟 A huge thank you to @​walmsles, @​Wurstnase, @​SZubarev, @​Emerson-MM-Filho, @​nlykkei, @​amyc92 and many others for your support and collaboration!

OpenAPI Security Schemes

Docs

You can now add security scheme annotations to your generated OpenAPI documentation (HTTP headers, API keys, OAuth 2 and OpenID connect). Additionally, you can configure the built-in Swagger UI to use OAuth 2 when generating requests.

carbon (21) (1) image (26)

🌟 Huge thanks to @​nlykkei for helping us shape this feature!

Manipulating Idempotent Responses

Docs

You can now set up a response_hook in the IdempotentConfig class to manipulate the returned data when an operation is idempotent. The hook function will be called with the current deserialized response object and the idempotency record.

This can be used for changing something in the response, inject headers, emit custom metrics, and many other use cases.

carbon (23)

🌟 Thank you @​walmsles for leading the design and implementation of this!

Changes

🌟New features and non-breaking changes

📜 Documentation updates

  • docs(we-made-this): new article on how to stream data with AWS Lambda & Powertools for AWS Lambda (#4068) by @​leandrodamascena

🐛 Bug and hot fixes

  • fix(typing): make the case_sensitive field a boolean only (#4128) by @​Wurstnase
  • fix(typing): improve overloads to ensure the return type follows the default_value type (#4114) by @​Wurstnase
  • fix(docs): clarified usage of validation with fine grained responses (#4101) by @​rubenfonseca
  • fix(event_source): fix typo in physicalname attribute for AmazonMQ events (#4053) by @​SZubarev

... (truncated)

Changelog

Sourced from aws-lambda-powertools's changelog.

[v2.37.0] - 2024-04-18

Bug Fixes

  • docs: clarified usage of validation with fine grained responses (#4101)
  • event_source: fix typo in physicalname attribute for AmazonMQ events (#4053)
  • typing: make the case_sensitive field a boolean only (#4128)
  • typing: improve overloads to ensure the return type follows the default_value type (#4114)

Documentation

  • we-made-this: new article on how to stream data with AWS Lambda & Powertools for AWS Lambda (#4068)

Features

  • Idempotency: add feature for manipulating idempotent responses (#4037)
  • event_handler: add support for OpenAPI security schemes (#4103)
  • logger: add method to return currently configured keys (#4033)

Maintenance

  • version bump
  • ci: add monthly roadmap reminder workflow (#4075)
  • ci: prevent deprecated custom runner from being used (#4061)
  • deps: bump squidfunk/mkdocs-material from 065f3af to 6b124e1 in /docs (#4055)
  • deps: bump squidfunk/mkdocs-material from 3307665 to 065f3af in /docs (#4052)
  • deps: bump idna from 3.6 to 3.7 (#4121)
  • deps: bump sqlparse from 0.4.4 to 0.5.0 (#4138)
  • deps: bump squidfunk/mkdocs-material from 6b124e1 to 521644b in /docs (#4141)
  • deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#4066)
  • deps: bump pydantic from 1.10.14 to 1.10.15 (#4064)
  • deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4042)
  • deps: bump golang.org/x/sync from 0.6.0 to 0.7.0 in /layer/scripts/layer-balancer in the layer-balancer group (#4071)
  • deps: bump codecov/codecov-action from 4.1.1 to 4.2.0 (#4072)
  • deps: bump datadog-lambda from 5.91.0 to 5.92.0 (#4038)
  • deps: bump github.com/aws/aws-sdk-go-v2/config from 1.27.10 to 1.27.11 in /layer/scripts/layer-balancer in the layer-balancer group (#4079)
  • deps: bump typing-extensions from 4.10.0 to 4.11.0 (#4080)
  • deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.3 to 3.0.4 (#4099)
  • deps: bump codecov/codecov-action from 4.2.0 to 4.3.0 (#4098)
  • deps: bump docker/setup-buildx-action from 3.2.0 to 3.3.0 (#4091)
  • deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.112 to 0.1.113 (#4136)
  • deps-dev: bump aws-cdk from 2.135.0 to 2.136.0 (#4090)
  • deps-dev: bump types-redis from 4.6.0.20240311 to 4.6.0.20240409 (#4094)
  • deps-dev: bump aws-cdk-lib from 2.135.0 to 2.136.0 (#4092)
  • deps-dev: bump cfn-lint from 0.86.1 to 0.86.2 (#4081)
  • deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.135.0a0 to 2.136.0a0 (#4095)
  • deps-dev: bump filelock from 3.13.3 to 3.13.4 (#4096)
  • deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.106 to 0.1.107 (#4082)
  • deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.107 to 0.1.110 (#4097)
  • deps-dev: bump aws-cdk from 2.136.0 to 2.136.1 (#4106)
  • deps-dev: bump aws-cdk-lib from 2.136.0 to 2.136.1 (#4107)

... (truncated)

Commits
  • 444dbaa chore: version bump
  • bb8675c chore(ci): changelog rebuild (#4149)
  • 4f27133 chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.115 to 0....
  • 113eb07 chore(deps-dev): bump types-redis from 4.6.0.20240409 to 4.6.0.20240417 (#4145)
  • 55713ce feat(event_handler): add support for OpenAPI security schemes (#4103)
  • 1e7b3ab chore(deps-dev): bump mkdocs-material from 9.5.17 to 9.5.18 (#4143)
  • 446a706 chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.113 to 0....
  • 9244a35 chore(deps): bump squidfunk/mkdocs-material from 6b124e1 to 521644b in /d...
  • f114a8e chore(deps-dev): bump cfn-lint from 0.86.2 to 0.86.3 (#4137)
  • 7f88384 chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.112 to 0....
  • 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 2.37.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.37.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 Apr 22, 2024
@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@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 May 20, 2024

Superseded by #623.

@dependabot dependabot bot closed this May 20, 2024
@dependabot dependabot bot deleted the dependabot/pip/aws-lambda-powertools-2.37.0 branch May 20, 2024 01:29
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