Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 21, 2025

Bumps @aws-lambda-powertools/logger from 2.19.1 to 2.20.0.

Release notes

Sourced from @​aws-lambda-powertools/logger's releases.

v2.20.0

Summary

This release enhances Idempotency to support Valkey- and Redis OSS-compatible databases as a persistence layer. We’ve also added new schemas for AppSync Events APIs and updated existing ones for Amazon DynamoDB and Amazon Kinesis streams.

⭐ A big thank you to @​arnabrahman for working on the Idempotency feature, and @​kiitosu for their contributions!

Using cache databases with Idempotency

Docs

You can now use Valkey- and Redis OSS-compatible databases as a persistence layer for your applications with the Idempotency utility. This allows you to leverage managed services like ElastiCache Serverless, which can scale to hundreds of millions of operations per second with microsecond latency.

To get started, install the latest version of Idempotency along with a cache client:

npm i @aws-lambda-powertools/idempotency @valkey/valkey-glide

Configure the client and pass it to the new CachePersistenceLayer class:

carbon-4

Pass the new persistence layer to any of the Idempotency methods, for example:

carbon-4

If you are currently using Idempotency with Amazon DynamoDB, you can use the new CachePersistenceLayer as a drop-in replacement in your functions.

New and Improved Parser Schemas

Docs

We’ve added two new schemas for AppSync Events APIs and updated two existing ones for Amazon DynamoDB and Amazon Kinesis streams:

Schema Name Description
🆕 AppSyncEventsPublishSchema New schema to parse PUBLISH operation
🆕 AppSyncEventsSubscribeSchema New schema to parse SUBSCRIBE operation
DynamoDBStreamSchema Added window, state, isFinalInvokeForWindow, isWindowTerminatedEarly, and eventSourceArn fields
KinesisDataStreamSchema Added window, state, isFinalInvokeForWindow, isWindowTerminatedEarly, and eventSourceArn fields

Changes

🌟New features and non-breaking changes

... (truncated)

Changelog

Sourced from @​aws-lambda-powertools/logger's changelog.

2.20.0 (2025-05-20)

Features

  • idempotency: support for Valkey- and Redis OSS-compatible cache (#3896) (3352b90)
  • parser: add schemas for AppSync Events (#3907) (2554800)
  • parser: add support for tumbling windows in Kinesis and DynamoDB events (#3931) (0205a87)
Commits
  • 23aa1d9 chore(ci): bump version to 2.20.0 (#3943)
  • e2c7e87 chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0...
  • 0c189fd chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates (#3939)
  • 6703248 chore(deps): bump @​types/node from 22.15.18 to 22.15.19 (#3941)
  • 63072ee docs(idempotency): add idempotency doc for CachePersistenceLayer (#3937)
  • 0205a87 feat(parser): add support for tumbling windows in Kinesis and DynamoDB events...
  • a2cb47d chore(deps): bump the aws-cdk group across 1 directory with 3 updates (#3935)
  • afaa243 chore(deps): bump github/codeql-action from 3.28.17 to 3.28.18 (#3936)
  • 1ac4bdd chore(deps): bump aws-actions/configure-aws-credentials from 4.2.0 to 4.2.1 (...
  • 7ef1630 chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates (#3932)
  • 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 javascript Pull requests that update Javascript code labels May 21, 2025
Copy link

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this pull request because it includes a patch or minor update

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot enabled auto-merge (squash) May 21, 2025 01:11
Bumps [@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript) from 2.19.1 to 2.20.0.
- [Release notes](https://github.com/aws-powertools/powertools-lambda-typescript/releases)
- [Changelog](https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/CHANGELOG.md)
- [Commits](aws-powertools/powertools-lambda-typescript@v2.19.1...v2.20.0)

---
updated-dependencies:
- dependency-name: "@aws-lambda-powertools/logger"
  dependency-version: 2.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/aws-lambda-powertools/logger-2.20.0 branch from 8ca5135 to aede507 Compare May 21, 2025 01:12
@eps-autoapprove-dependabot eps-autoapprove-dependabot bot merged commit 6e1e2d1 into main May 21, 2025
2 checks passed
Copy link

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/aws-lambda-powertools/logger-2.20.0 branch May 21, 2025 01: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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants