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: bump aws-lambda-powertools from 2.35.1 to 2.36.0 #572

Closed

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps aws-lambda-powertools from 2.35.1 to 2.36.0.

Release notes

Sourced from aws-lambda-powertools's releases.

v2.36.0

Summary

We're excited to introduce some significant new features and improvements in this release:

  • Support for creating and updating Parameters and Secrets
  • Custom timestamps are now available with the EMF Metrics Provider for creating metrics
  • New flag for optimized batch processing with SQS Fifo queues
  • Introducing the new CloudWatchAlarmEvent data class

We also made enhancements to our OpenAPI and type checking, and fixed some bugs!

⭐ Huge thanks to our new contributors: @​rafrafek, @​xquek, and @​par6n!

Creating and updating Parameters and Secrets

Docs

In response to our customer requests, Powertools now provides an enhanced experience for effortlessly creating and updating Parameters and Secrets. Recognizing the critical importance of parameters and secrets management, we created this new feature to empower customers with a seamless experience in managing their sensitive information.

parameters

secrets

A big thank you to @​stephenbawks for their dedicated effort in implementing this new feature.

EMF Metrics with custom timestamp

Docs

Some customers may need to create metrics with specific timestamps, to address this use case we've added the capability set custom metrics with specific timestamps to improve customer flexibility. Previously, this was not possible and all metrics were generated with the current timestamp.

timestamp

New flag for optimized batch processing with SQS Fifo queues

Docs

We've created a new flag to enable seamless processing of messages from different group IDs. Activating this flag ensures that messages from a failed group ID are returned to SQS, allowing uninterrupted processing of messages from subsequent group IDs.

batch

Thank you @​duc00, for highlighting such an important matter and contributing to the improvement of this utility.

New CloudWatchAlarmEvent data class

Docs

Customers now have the ability to utilize CloudWatchAlarmEvent, which provides Type hinting and code completion support for this event, enhancing the development experience.

... (truncated)

Changelog

Sourced from aws-lambda-powertools's changelog.

[v2.36.0] - 2024-03-27

Bug Fixes

  • event_handler: always add 422 response to the schema (#3995)
  • event_handler: make decoded_body field optional in ApiGateway resolver (#3937)
  • tracer: add name sanitization for X-Ray subsegments (#4005)

Code Refactoring

  • logger: add type annotation for append_keys method (#3988)
  • parameters: improve typing for get_secret method (#3910)

Documentation

  • batch: improved the example demonstrating how to create a custom partial processor. (#4024)
  • bedrock-agents: fix type in Bedrock operation example (#3948)
  • tutorial: fix "Simplifying with Tracer" section in the tutorial (#3962)

Features

  • batch: add flag in SqsFifoProcessor to enable continuous message processing (#3954)
  • data_classes: Add CloudWatchAlarmEvent data class (#3868)
  • event-handler: add compress option when serving Swagger HTML (#3946)
  • event_handler: define exception_handler directly from the router (#3979)
  • metrics: allow custom timestamps for metrics (#4006)
  • parameters: add feature for creating and updating Parameters and Secrets (#2858)
  • tracer: auto-disable tracer when for AWS SAM and Chalice environments (#3949)

Maintenance

  • version bump
  • deps: bump squidfunk/mkdocs-material from 3678304 to 6c81a89 in /docs (#3973)
  • deps: bump datadog-lambda from 5.89.0 to 5.90.0 (#3941)
  • deps: bump actions/checkout from 4.1.1 to 4.1.2 (#3939)
  • deps: bump redis from 5.0.2 to 5.0.3 (#3929)
  • deps: bump slsa-framework/slsa-github-generator from 1.9.0 to 1.10.0 (#3997)
  • deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#4001)
  • deps: bump actions/dependency-review-action from 4.2.3 to 4.2.4 (#4012)
  • deps: bump docker/setup-buildx-action from 3.1.0 to 3.2.0 (#3955)
  • deps: bump actions/dependency-review-action from 4.1.3 to 4.2.3 (#3993)
  • deps: bump datadog-lambda from 5.90.0 to 5.91.0 (#3958)
  • deps: bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 (#3918)
  • deps: bump squidfunk/mkdocs-material from 6c81a89 to 3307665 in /docs (#4017)
  • deps: bump actions/dependency-review-action from 4.2.4 to 4.2.5 (#4023)
  • deps: bump aws-encryption-sdk from 3.1.1 to 3.2.0 (#3983)
  • deps: bump actions/setup-python from 5.0.0 to 5.1.0 (#4022)
  • deps: bump codecov/codecov-action from 4.1.0 to 4.1.1 (#4021)
  • deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3972)
  • deps-dev: bump filelock from 3.13.1 to 3.13.3 (#4014)
  • deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.90 to 0.1.91 (#3975)

... (truncated)

Commits
  • 636cc48 chore: version bump
  • 17a7ac5 feat(metrics): allow custom timestamps for metrics (#4006)
  • fd9f882 docs(batch): improved the example demonstrating how to create a custom partia...
  • cea4af6 chore(ci): changelog rebuild (#4025)
  • 4b91ebd chore(deps): bump codecov/codecov-action from 4.1.0 to 4.1.1 (#4021)
  • d64c52a chore(deps): bump actions/setup-python from 5.0.0 to 5.1.0 (#4022)
  • fde9029 chore(deps): bump actions/dependency-review-action from 4.2.4 to 4.2.5 (#4023)
  • 44179c9 chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.101 to 0....
  • b9c1e98 chore(ci): changelog rebuild (#4018)
  • bd1b183 chore(deps): bump squidfunk/mkdocs-material from 6c81a89 to 3307665 in /d...
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 12, 2024
Copy link

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

Copy link

🚀 PR environment successfully deployed.
Commit Hash: eee7143e178cafaf08d79c1b9b07111cb29e093f
URL: https://818c53.api.record-locator.dev.national.nhs.uk/

@dependabot dependabot bot force-pushed the dependabot/pip/aws-lambda-powertools-2.36.0 branch from eee7143 to 84225c3 Compare April 15, 2024 12:36
Copy link

🚀 PR environment successfully deployed.
Commit Hash: 84225c3ea6217561e989abb7215e8e89dca32ffe
URL: https://818c53.api.record-locator.dev.national.nhs.uk/

@dependabot dependabot bot force-pushed the dependabot/pip/aws-lambda-powertools-2.36.0 branch 4 times, most recently from 52c3be2 to 902b8cf Compare April 15, 2024 12:48
Copy link

🚀 PR environment successfully deployed.
Commit Hash: b6061c97a035437800c16fda297a8de3b034ec5c
URL: https://818c53.api.record-locator.dev.national.nhs.uk/

Copy link

🚀 PR environment successfully deployed.
Commit Hash: 902b8cf3d8ca28f7ef4d9a52b4afb91b0032b095
URL: https://818c53.api.record-locator.dev.national.nhs.uk/

@dependabot dependabot bot force-pushed the dependabot/pip/aws-lambda-powertools-2.36.0 branch from 902b8cf to 213aee2 Compare April 18, 2024 09:24
Bumps [aws-lambda-powertools](https://github.com/aws-powertools/powertools-lambda-python) from 2.35.1 to 2.36.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.36.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/aws-lambda-powertools-2.36.0 branch from 213aee2 to 9e51785 Compare April 18, 2024 09:26
Copy link

sonarcloud bot commented Apr 18, 2024

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

Copy link

🚀 PR environment successfully deployed.
Commit Hash: 213aee2a657f1c67cd96f89a08c344833fc3a433
URL: https://818c53.api.record-locator.dev.national.nhs.uk/

Copy link

🚀 PR environment successfully deployed.
Commit Hash: 9e517851cc22623a475b437b565559b548d4c592
URL: https://818c53.api.record-locator.dev.national.nhs.uk/

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 22, 2024

Superseded by #593.

@dependabot dependabot bot closed this Apr 22, 2024
@dependabot dependabot bot deleted the dependabot/pip/aws-lambda-powertools-2.36.0 branch April 22, 2024 01:48
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