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

Bump aws-lambda-powertools from 1.10.5 to 1.11.0 in /lambda/src #33

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 8, 2021

Bumps aws-lambda-powertools from 1.10.5 to 1.11.0.

Release notes

Sourced from aws-lambda-powertools's releases.

v1.11.0

Changes

This is our most special release this quarter, as we are happy to announce:

  1. Up to 75% performance improvement for customers not using Tracer utility due to lazy loading
  2. Up to 40% performance improvement for customers using Metrics as large operations are now <1ms
  3. Brand new Idempotency utility for safely retrying operations that have side-effects, one of the most awaited feature since we've gone GA

Performance improvements

Tracer effect on import time flame graph before and after initial round of optimizations

image

image

Warm execution logging, serializing, and validating 99 Metrics to CloudWatch asynchronously on the lowest Lambda fn memory (128) after all optimizations

image

New idempotency utility

Initially led by @​igorlg RFC on Idempotency, and its implementation that started in mid December by @​cakepietoast, with a gigantic effort by both @​cakepietoast and @​michaelbrewer on UX and correctness following Amazon Builder's Library and Stripe designs -- We now have it in Beta as part of this release.

Given the amount of serious work for this utility and its logic, we've decided it'd be best to launch as Beta as we'd like feedback on UX before we release as stable.

Key features at launch:

  • Use DynamoDB as a persistence layer for state including Bring Your Own Persistence Store Layer
  • Optional in-memory caching, idempotency state auto-expiration for cost reasons
  • JMESPath support to select a subset of your payload to serialize and hash as idempotency key
  • Payload validation in case we shouldn't return the previous result in case X parameter has changed in your request
  • Last but not least, the documentation is super comprehensive with over 600 lines of content.

We truly hope you enjoy it :-)

image

image

🌟New features and non-breaking changes

🌟 Minor Changes

  • refactor(idempotent): Change UX to use a config class for non-persistence related features (#306) by @​michaelbrewer

... (truncated)

Changelog

Sourced from aws-lambda-powertools's changelog.

[1.11.0] - 2021-03-05

Fixed

  • Tracer: Lazy loads X-Ray SDK to increase perf by 75% for those not instantiating Tracer
  • Metrics: Optimize validation and serialization to increase perf by nearly 50% for large operations (<1ms)

Added

  • Dataclass: Add new Amazon Connect contact flow event
  • Idempotency: New Idempotency utility
  • Docs: Add example on how to integrate Batch utility with Sentry.io
  • Internal: Added performance SLA tests for high level imports and Metrics validation/serialization
Commits
  • 696f93e chore: update changelog (#311)
  • 3b0bfdb chore: adjusts Metrics SLA for slow py36 interpreters
  • 17008f2 docs(dataclasses): new Connect Contact Flow (#310)
  • 7d2dabe docs(idempotency): tidy up doc before release (#309)
  • ae89970 fix(idempotency): PR feedback on config and kwargs
  • 9763bbe refactor(idempotent): Change UX to use a config class for non-persistence rel...
  • 153567e docs(batch): add example on how to integrate with sentry.io (#308)
  • 271f560 refactor(metrics): optimize validation and serialization (#307)
  • b4d0baa feat(idempotent): Add support for jmespath_options (#302)
  • dfc928f docs(idempotent): Fix typos and code formatting (#305)
  • 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 Mar 8, 2021
@mergify mergify bot merged commit c898195 into master Mar 8, 2021
@mergify mergify bot deleted the dependabot/pip/lambda/src/aws-lambda-powertools-1.11.0 branch March 8, 2021 08:32
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