Commit 6e1e2d1
authored
Upgrade: [dependabot] - bump @aws-lambda-powertools/logger from 2.19.1 to 2.20.0 (#419)
Bumps
[@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript)
from 2.19.1 to 2.20.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/releases"><code>@aws-lambda-powertools/logger</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v2.20.0</h2>
<h2>Summary</h2>
<p>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.</p>
<p>⭐ A big thank you to <a
href="https://github.com/arnabrahman"><code>@arnabrahman</code></a> for
working on the Idempotency feature, and <a
href="https://github.com/kiitosu"><code>@kiitosu</code></a> for their
contributions!</p>
<h3>Using cache databases with Idempotency</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/features/idempotency/#cache-database">Docs</a></p>
</blockquote>
<p>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.</p>
<p>To get started, install the latest version of Idempotency along with
a cache client:</p>
<pre lang="sh"><code>npm i @aws-lambda-powertools/idempotency
@valkey/valkey-glide
</code></pre>
<p>Configure the client and pass it to the new
<code>CachePersistenceLayer</code> class:</p>
<p><img
src="https://github.com/user-attachments/assets/92358e0f-4361-48f4-96d6-1410afeca5c8"
alt="carbon-4" /></p>
<p>Pass the new persistence layer to any of the Idempotency methods, for
example:</p>
<p><img
src="https://github.com/user-attachments/assets/94642027-90bd-4a4a-bcde-2cc6a069c728"
alt="carbon-4" /></p>
<p>If you are currently using Idempotency with Amazon DynamoDB, you can
use the new <code>CachePersistenceLayer</code> as a drop-in replacement
in your functions.</p>
<h3>New and Improved Parser Schemas</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/features/parser/#built-in-schemas">Docs</a></p>
</blockquote>
<p>We’ve added two new schemas for AppSync Events APIs and updated two
existing ones for Amazon DynamoDB and Amazon Kinesis streams:</p>
<table>
<thead>
<tr>
<th>Schema Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>🆕 <code>AppSyncEventsPublishSchema</code></td>
<td>New schema to parse <code>PUBLISH</code> operation</td>
</tr>
<tr>
<td>🆕 <code>AppSyncEventsSubscribeSchema</code></td>
<td>New schema to parse <code>SUBSCRIBE</code> operation</td>
</tr>
<tr>
<td><code>DynamoDBStreamSchema</code></td>
<td>Added <code>window</code>, <code>state</code>,
<code>isFinalInvokeForWindow</code>,
<code>isWindowTerminatedEarly</code>, and <code>eventSourceArn</code>
fields</td>
</tr>
<tr>
<td><code>KinesisDataStreamSchema</code></td>
<td>Added <code>window</code>, <code>state</code>,
<code>isFinalInvokeForWindow</code>,
<code>isWindowTerminatedEarly</code>, and <code>eventSourceArn</code>
fields</td>
</tr>
</tbody>
</table>
<h2>Changes</h2>
<h2>🌟New features and non-breaking changes</h2>
<ul>
<li>feat(parser): add support for tumbling windows in Kinesis and
DynamoDB events (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3931">#3931</a>)
by <a href="https://github.com/kiitosu"><code>@kiitosu</code></a></li>
<li>feat(idempotency): support for <code>Redis</code> as idempotency
backend (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3896">#3896</a>)
by <a
href="https://github.com/arnabrahman"><code>@arnabrahman</code></a></li>
<li>feat(parser): add schemas for AppSync Events (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3907">#3907</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/CHANGELOG.md"><code>@aws-lambda-powertools/logger</code>'s
changelog</a>.</em></p>
<blockquote>
<h1><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.19.1...v2.20.0">2.20.0</a>
(2025-05-20)</h1>
<h3>Features</h3>
<ul>
<li><strong>idempotency:</strong> support for Valkey- and Redis
OSS-compatible cache (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3896">#3896</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3352b909cf06f435fe876adba8f2c9f6e5ba11b0">3352b90</a>)</li>
<li><strong>parser:</strong> add schemas for AppSync Events (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3907">#3907</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/2554800b6905811e1fb9ca254196a67138e765bc">2554800</a>)</li>
<li><strong>parser:</strong> add support for tumbling windows in Kinesis
and DynamoDB events (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3931">#3931</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/0205a87f6f4c8d597e27684b224c3b3a37887987">0205a87</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/23aa1d9cd55717659d1b49eca33d523cc8ae6385"><code>23aa1d9</code></a>
chore(ci): bump version to 2.20.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3943">#3943</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e2c7e871dbbf8310cbaef8f3a24d8f13aabd655a"><code>e2c7e87</code></a>
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions
from 3.0...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/0c189fd39af69971cf18428efabcc2f8fef8512b"><code>0c189fd</code></a>
chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3939">#3939</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/670324838188b6003d1a368ae11e223e0caf1640"><code>6703248</code></a>
chore(deps): bump <code>@types/node</code> from 22.15.18 to 22.15.19
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3941">#3941</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/63072eedd077a80a2eead71036d55cc08f31da23"><code>63072ee</code></a>
docs(idempotency): add idempotency doc for
<code>CachePersistenceLayer</code> (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3937">#3937</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/0205a87f6f4c8d597e27684b224c3b3a37887987"><code>0205a87</code></a>
feat(parser): add support for tumbling windows in Kinesis and DynamoDB
events...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a2cb47d88d5b2cb5b1eef556fc4bcacf9bdbd99e"><code>a2cb47d</code></a>
chore(deps): bump the aws-cdk group across 1 directory with 3 updates
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3935">#3935</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/afaa2435eddfc0b5f3ad306614df35007b514aa5"><code>afaa243</code></a>
chore(deps): bump github/codeql-action from 3.28.17 to 3.28.18 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3936">#3936</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/1ac4bdd13f2d9831a8d165b842c226e8a812ff28"><code>1ac4bdd</code></a>
chore(deps): bump aws-actions/configure-aws-credentials from 4.2.0 to
4.2.1 (...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/7ef16300298325f99123d365a3c2ad22efec6b51"><code>7ef1630</code></a>
chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3932">#3932</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.19.1...v2.20.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent d939be7 commit 6e1e2d1
2 files changed
+9
-9
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments