Skip to content

chore(deps): bump aws-lambda-powertools from 2.15.0 to 2.16.1 in /lambda/src #482

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

Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps aws-lambda-powertools from 2.15.0 to 2.16.1.

Release notes

Sourced from aws-lambda-powertools's releases.

v2.16.1

Summary

We packed this release with a bunch of new features and performance improvements:

  • Support for multiple CORS origins in the event handler
  • New parser support for SQS events wrapped in Kinesis Firehose
  • Huge performance improvements when using the CodePipelineJobEvent event source
  • Tons of documentation enhancements on Feature Flags and Batch Processing

⭐ Huge thanks to new contributors: @​roger-zhangg and @​darnley!!

Support for multiple CORS origins in the event handler

Docs: Multiple CORS origins

We added support for multiple origins in CORS when defining an event handler. Supporting multiple CORS origins enables API calls from different domains and the integration of various sources. Your existing code will continue to work as it is.

image

New parser support for SQS events wrapped in Kinesis Firehose

Docs: Kinesis Firehose SQS events

SQS event notifications can sometimes be ingested into Lambda via an intermediary such as Kinesis Firehose (i.e. Lambda event source), for various architectural reasons - batching, retries, etc. However, from the Lambda function's perspective, the intermediary might not be too important; what's important is the SQS event notification itself. Now you can easily parse and access the inner payload for Kinesis Firehose-wrapped SQS events.

image

Huge performance improvements when using the CodePipelineJobEvent event source

Thanks to @​darnley, we found out that using the CodePipelineJobEvent came with a performance penalty, and we fixed it by optimizing the way we load dependencies.

Documentation enhancements on Feature Flags and Batch Processing

We've completely revamped and fine-tuned all the samples and snippets for our Feature Flags and Batch Processing utilities! We took the time to bring the examples closer to real-world usage and fixed any syntax errors. We can't wait for you to try them out!

Changes

🌟New features and non-breaking changes

📜 Documentation updates

  • fix(event_source): change the import location of boto3 in CodePipelineJobEvent data class (#2353) by @​darnley
  • docs(project): rename project to Powertools for AWS Lambda (Python) (#2313) by @​sthulb
  • feat(parser): add support for parsing SQS events wrapped in Kinesis Firehose (#2294) by @​leandrodamascena

... (truncated)

Changelog

Sourced from aws-lambda-powertools's changelog.

[v2.16.1] - 2023-06-02

Bug Fixes

  • shared: skip user agent on much older botocore versions (#2366)

Maintenance

  • version bump

[v2.16.0] - 2023-06-02

Bug Fixes

  • docs: use concrete secrets from settings (#2322)
  • event_source: change the import location of boto3 in CodePipelineJobEvent data class (#2353)
  • logger: add setLevel function to set level programmatically (#2320)

Code Refactoring

  • logger: remove subclassing and move unnecessary APIs (#2334)

Documentation

  • batch: add encryption at rest for SQS (#2290)
  • batch_processing: snippets split, improved, and lint (#2231)
  • feature_flags: snippets split, improved, and lint (#2222)
  • project: rename project to Powertools for AWS Lambda (Python) (#2313)

Features

  • docs: Move docs to S3 (#2277)
  • event_source: allow multiple CORS origins (#2279)
  • parser: add support for parsing SQS events wrapped in Kinesis Firehose (#2294)
  • user-agent: add custom header User-Agent to AWS SDK requests (#2267)

Maintenance

  • version bump
  • ci: remove auto-merge workflow (#2214)
  • ci: schedule changelog to rebuild daily at 8am, and on release only (#2216)
  • ci: create pull request on changelog update (#2224)
  • ci: skip analytics on forks (#2225)
  • ci: enforce zero trust for third party workflows (#2215)
  • ci: convert create-pr steps into composite action (#2238)
  • ci: bump package version after release via pull request (#2239)
  • ci: update layer ARN docs and create PR during release (#2240)
  • ci: fail create-pr when branch cannot be created or behind tip
  • ci: filter out bot commits from CHANGELOG
  • ci: add more permissions to analytics

... (truncated)

Commits
  • 4fa8fcb chore: version bump
  • 9ee3365 fix(shared): skip user agent on much older botocore versions (#2366)
  • 1656ed8 chore(ci): changelog rebuild (#2364)
  • 081ccc9 chore(ci): bump version to 2.16.0 (#2363)
  • 5aece71 chore(deps-dev): bump cfn-lint from 0.77.5 to 0.77.6 (#2360)
  • 0b4f866 refactor(logger): remove subclassing and move unnecessary APIs (#2334)
  • 719cdc0 fix(event_source): change the import location of boto3 in CodePipelineJobEven...
  • 5a36504 feat(user-agent): add custom header User-Agent to AWS SDK requests (#2267)
  • 03e64b1 chore(deps): bump aws-actions/configure-aws-credentials from 2.0.0 to 2.1.0 (...
  • 9e0f15c chore(deps): bump typing-extensions from 4.5.0 to 4.6.2 (#2345)
  • 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 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 Jun 5, 2023
mergify[bot]
mergify bot previously approved these changes Jun 5, 2023
Bumps [aws-lambda-powertools](https://github.com/awslabs/aws-lambda-powertools-python) from 2.15.0 to 2.16.1.
- [Release notes](https://github.com/awslabs/aws-lambda-powertools-python/releases)
- [Changelog](https://github.com/awslabs/aws-lambda-powertools-python/blob/develop/CHANGELOG.md)
- [Commits](aws-powertools/powertools-lambda-python@v2.15.0...v2.16.1)

---
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/lambda/src/aws-lambda-powertools-2.16.1 branch from 5597b17 to 13b39ca Compare June 5, 2023 11:11
@mergify mergify bot merged commit f2f929c into master Jun 5, 2023
@mergify mergify bot deleted the dependabot/pip/lambda/src/aws-lambda-powertools-2.16.1 branch June 5, 2023 11:20
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