Commit cdc4ffd
authored
Upgrade: [dependabot] - bump @aws-lambda-powertools/logger from 2.24.1 to 2.25.0 (#519)
Bumps
[@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript)
from 2.24.1 to 2.25.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.25.0</h2>
<h2>Summary</h2>
<p>We have discontinued support for Node.js 18 with this release. All
users are strongly encouraged to upgrade to Node.js 20 or later to
ensure continued compatibility and security updates.</p>
<p>The <code>parse</code> function is now exported from the Parser
package. This addition enables manual parsing in scenarios such as
validating query string parameters, offering more flexibility in data
handling and validation.</p>
<p>We’ve also fixed a bug with the Zod schema for the Cognito Trigger
Event in the parser.</p>
<p>Furthermore, we have been working on the improvements in the overall
code quality and maintainability of the codebase.</p>
<p>⭐ Congratulations <a
href="https://github.com/dwrth"><code>@dwrth</code></a>, <a
href="https://github.com/bdellegrazie"><code>@bdellegrazie</code></a>,
<a
href="https://github.com/jaimellamasi"><code>@jaimellamasi</code></a>
for their first PRs merged in the project 🎉</p>
<h3>Parse Function</h3>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/features/parser/">Docs</a></p>
<pre lang="typescript"><code>import { parse } from
'@aws-lambda-powertools/parser';
<p>export const handler = async (event: APIGatewayEvent) => {<br />
try {<br />
const querySchema = z.object({<br />
id: z.string()<br />
});<br />
const params = parse(event.queryStringParameters, undefined,
querySchema);<br />
} catch(error) {<br />
console.error("Failed to parse the query string
parameters");<br />
}<br />
}<br />
</code></pre></p>
<p>Before this release, it was only possible to use the parser through
middleware or a decorator.
To use the <code>parse</code> function, simply pass the payload to be
parsed, the envelope (if required), the schema, and the optional safe
parse flag.</p>
<h2>Changes</h2>
<ul>
<li>feat(event-handler): add event handler registry (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4307">#4307</a>)
by <a href="https://github.com/svozza"><code>@svozza</code></a></li>
<li>feat(event-handler): add error classes for http errors (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4299">#4299</a>)
by <a href="https://github.com/svozza"><code>@svozza</code></a></li>
<li>feat(parser): Exported the parse function from the parser (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4300">#4300</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>feat(event-handler): implement route matching & resolution
system for rest handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4297">#4297</a>)
by <a href="https://github.com/svozza"><code>@svozza</code></a></li>
<li>refactor(idempotency): fix code quality issues (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4298">#4298</a>)
by <a href="https://github.com/dwrth"><code>@dwrth</code></a></li>
<li>improv(deps): Decrease the update schedule of aws-cdk and aws-sdk-v3
group in dependabot (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4290">#4290</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>refactor(commons): fix code quality issues (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4292">#4292</a>)
by <a href="https://github.com/dwrth"><code>@dwrth</code></a></li>
<li>refactor(jmespath): fix code quality issues (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4286">#4286</a>)
by <a href="https://github.com/dwrth"><code>@dwrth</code></a></li>
<li>refactor(batch): improve code quality in test handlers (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4281">#4281</a>)
by <a href="https://github.com/dwrth"><code>@dwrth</code></a></li>
<li>refactor(logger): replace EnvironmentVariablesService class with
helper functions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4251">#4251</a>)
by <a
href="https://github.com/jaimellamasi"><code>@jaimellamasi</code></a></li>
<li>test(event-handler): coverage 100% for AppSync GraphQL (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4261">#4261</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>refactor(kafka): improve tests & error handling (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4262">#4262</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>refactor(tracer): fix code quality issues (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4264">#4264</a>)
by <a href="https://github.com/dwrth"><code>@dwrth</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>
<h2><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.24.1...v2.25.0">2.25.0</a>
(2025-08-12)</h2>
<h3>Improvements</h3>
<ul>
<li><strong>commons</strong> fix code quality issues (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4292">#4292</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5ee419845f38754f57351be15c4d82ed912641dc">5ee4198</a>)</li>
<li><strong>jmespath</strong> fix code quality issues (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4286">#4286</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/787633deb573ecdccb8dd1610df68bc4e6e90949">787633d</a>)</li>
<li><strong>logger</strong> replace EnvironmentVariablesService class
with helper functions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4251">#4251</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b2fcd90834c417dec8c2d45743f2384df3541243">b2fcd90</a>)</li>
<li><strong>tracer</strong> fix code quality issues (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4264">#4264</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/081a514b6e1cb81513080352e5dbcadc89ac0574">081a514</a>)</li>
<li><strong>idempotency</strong> fix code quality issues (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4298">#4298</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/1fc86041f773bcaa1ea836b782d6b688d1e3636c">1fc8604</a>)</li>
<li><strong>batch</strong> improve code quality in test handlers (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4281">#4281</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/75e233f340acb27a4d31babbdd1a6d81f974f279">75e233f</a>)</li>
<li><strong>kafka</strong> improve tests & error handling (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4262">#4262</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/dab0be1b5be166f972dcd2152968999dc212a0a7">dab0be1</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>parser</strong> make <code>parse</code> function available
standalone (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4300">#4300</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/4998d6bffcb45710d96160dbb685145de3254f4a">4998d6b</a>)</li>
<li><strong>event-handler</strong> add event handler registry (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4307">#4307</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/aaac4295594bc4b9c241fcf7bd8589ebc8b68d68">aaac429</a>)</li>
<li><strong>event-handler</strong> add error classes for http errors (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4299">#4299</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c1c3dd50f5c335f2fd8a13cfd95340971d8840a1">c1c3dd5</a>)</li>
<li><strong>event-handler</strong> implement route matching &
resolution system for rest handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4297">#4297</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b8ca36841f710db062b726ca8d53876e2291e92d">b8ca368</a>)</li>
<li><strong>event-handler</strong> add support for AppSync GraphQL batch
resolvers (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4218">#4218</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/12ac2e40dfe63764f62670ea288e556f7302d2aa">12ac2e4</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>parser</strong> cognito schema <code>preferredRole</code>
may be null (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4259">#4259</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5ef5c85b1983617f64bce1410aeb9fd57859c04d">5ef5c85</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/deab7fc3a680add9612a1db8ac9720e9531c0414"><code>deab7fc</code></a>
chore(deps): Bumped the version to 2.25.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4310">#4310</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/60bf96e11417d96ae82a3b51a8d3949af773c18e"><code>60bf96e</code></a>
improv(ci): verify output of Layer deployment (Partitions) GitHub Action
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4308">#4308</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5d5c602a463442a236dd8f66118ed01c008c3ad4"><code>5d5c602</code></a>
chore(deps): bump actions/checkout from 4.2.2 to 5.0.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4301">#4301</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/95fcefecc24f3b2d9138c8b43b0f18810b8b9106"><code>95fcefe</code></a>
chore(deps): bump <code>@types/node</code> from 24.2.0 to 24.2.1 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4304">#4304</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/723df62791c5709998e36ead0bf9f8f2408a1b96"><code>723df62</code></a>
chore(deps): bump the aws-sdk-v3 group across 1 directory with 34
updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4">#4</a>...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/aaac4295594bc4b9c241fcf7bd8589ebc8b68d68"><code>aaac429</code></a>
feat(event-handler): add event handler registry (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4307">#4307</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/eba63de6f6062e59c27fb5dc25291418eafa9394"><code>eba63de</code></a>
chore(deps-dev): bump the typescript group across 1 directory with 2
updates ...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c1c3dd50f5c335f2fd8a13cfd95340971d8840a1"><code>c1c3dd5</code></a>
feat(event-handler): add error classes for http errors (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4299">#4299</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/dc59488e2af32fc7d550b1a37b25e9cf8c924b43"><code>dc59488</code></a>
chore(deps-dev): bump zod from 4.0.15 to 4.0.17 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4302">#4302</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/4998d6bffcb45710d96160dbb685145de3254f4a"><code>4998d6b</code></a>
feat(parser): make <code>parse</code> function available standalone (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4300">#4300</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.24.1...v2.25.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 39120b4 commit cdc4ffd
2 files changed
+10
-10
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