Skip to content

Commit 8c76e12

Browse files
fix(lambda): bump the aws-powertools group in /lambdas with 4 updates (#4865)
Bumps the aws-powertools group in /lambdas with 4 updates: [@aws-lambda-powertools/parameters](https://github.com/aws-powertools/powertools-lambda-typescript), [@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript), [@aws-lambda-powertools/metrics](https://github.com/aws-powertools/powertools-lambda-typescript) and [@aws-lambda-powertools/tracer](https://github.com/aws-powertools/powertools-lambda-typescript). Updates `@aws-lambda-powertools/parameters` from 2.27.0 to 2.28.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/aws-powertools/powertools-lambda-typescript/releases"><code>@​aws-lambda-powertools/parameters</code>'s releases</a>.</em></p> <blockquote> <h2>v2.28.1</h2> <h2>Summary</h2> <p>This patch release addresses an issue in the Commons package utility <a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/pull/4658">introduced</a> in v2.28.0 that caused a runtime error.</p> <p>This issue affects only those who have lambda code that depends directly or indirectly on the <code>getXrayTraceDataFromEnv</code> function in the Commons package and who are bundling that lambda with ESBuild to an ES module.</p> <p>We recommend updating to the latest version to avoid the issue.</p> <h2>Changes</h2> <h2>📜 Documentation updates</h2> <ul> <li>chore(ci): bumped the layer verison from 39 to 40 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4683">#4683</a>) by <a href="https://github.com/svozza"><code>@​svozza</code></a></li> <li>chore(deps): bump <code>@​types/node</code> from 24.8.1 to 24.9.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4673">#4673</a>) by @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(ci): bumped the layer verison from 38 to 39 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4671">#4671</a>) by <a href="https://github.com/sdangol"><code>@​sdangol</code></a></li> </ul> <h2>🔧 Maintenance</h2> <ul> <li>fix(logger): fix esbuild ESM bundler error (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4678">#4678</a>) by <a href="https://github.com/svozza"><code>@​svozza</code></a></li> <li>chore(deps): bump <code>@​types/node</code> from 24.8.1 to 24.9.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4673">#4673</a>) by @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps-dev): bump lint-staged from 16.2.4 to 16.2.5 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4672">#4672</a>) by @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> </ul> <h2>This release was made possible by the following contributors:</h2> <p><a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot], <a href="https://github.com/github-actions"><code>@​github-actions</code></a>[bot], <a href="https://github.com/sdangol"><code>@​sdangol</code></a>, <a href="https://github.com/svozza"><code>@​svozza</code></a>, <a href="https://github.com/apps/dependabot">dependabot[bot]</a> and <a href="https://github.com/apps/github-actions">github-actions[bot]</a></p> <h2>v2.28.0</h2> <h2>Summary</h2> <p>We are excited to announce that the REST API Event Handler now supports catch-all routes, allowing you to use regex patterns directly when defining route paths. We've also added the ability to split routers using <code>includeRouter</code> for both REST API and AppSync GraphQL Event Handlers.</p> <p>We’ve also reverted the <code>SQSRecordSchema</code> change that caused failed parsing of records when <code>md5OfMessageAttributes</code> was null.</p> <p>📜 Announcement: You can now find our documentation on the official AWS documentation domain at <a href="https://docs.aws.amazon.com/powertools/typescript/latest/">https://docs.aws.amazon.com/powertools/typescript/latest/</a></p> <p>⭐ Congratulations <a href="https://github.com/mdesousa"><code>@​mdesousa</code></a>, <a href="https://github.com/thiagomeireless"><code>@​thiagomeireless</code></a>, <a href="https://github.com/alex-karo"><code>@​alex-karo</code></a> for their first PR merged in the project 🎉</p> <h3>Catch-all route</h3> <p>You can now use regex patterns in your routes to handle arbitrary or deeply nested paths.</p> <pre lang="typescript"><code>import { Router } from '@aws-lambda-powertools/event-handler/experimental-rest'; <p>const app = new Router();</p> <p>// Instead of defining every possible path app.get('/files/:folder/:subfolder/:filename');</p> <p>&lt;/tr&gt;&lt;/table&gt; </code></pre></p> </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/parameters</code>'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.28.0...v2.28.1">2.28.1</a> (2025-10-23)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>logger</strong> fix esbuild ESM bundler error (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4678">#4678</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8a13e8ee2b2c2715f584f762b63c495ac849979f">8a13e8e</a>)</li> </ul> <h2><a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.27.0...v2.28.0">2.28.0</a> (2025-10-21)</h2> <h3>Improvements</h3> <ul> <li><strong>commons</strong> Make X-rRay trace ID access more robust (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4658">#4658</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5199d3e3a5000d3b3b5f2906f3d62da5fc1c96ec">5199d3e</a>)</li> <li><strong>event-handler</strong> ended response stream when body is null (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4651">#4651</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a37a3173023439ee67cc328753cb2d292dc3854f">a37a317</a>)</li> <li><strong>event-handler</strong> rename ServiceError class to HttpError (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4610">#4610</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/33f733471a54d528514e7bebcd863edc4e3781a9">33f7334</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>logger</strong> correct persistentLogAttributes warning behavior (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4627">#4627</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5cb6797b66c18ddf8a266fce50b8c1dab4c25b29">5cb6797</a>)</li> <li><strong>idempotency</strong> add null check for idempotencyHandler before calling handleMiddyOnError (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4643">#4643</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5dab224fa5a341ff6e00b819690090594dbcd811">5dab224</a>)</li> <li><strong>parser</strong> updated the SQSRecordSchema to make the md5OfMessageAttributes nullable (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4632">#4632</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/adc8f60bf3ffedbbb502aaf90b44bec9bea310dd">adc8f60</a>)</li> <li><strong>event-handler</strong> allow http handlers to return duplex streams (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4629">#4629</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/f46ae7c4b73a428b3a9aeb7e8858adede73637ed">f46ae7c</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>metrics</strong> use async local storage for metrics (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4663">#4663</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3886af3a275020ddae8d67cc9c5efaa74464db9c">3886af3</a>)</li> <li><strong>event-handler</strong> Add <code>includeRouter</code> support to AppSync GraphQL resolver (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4457">#4457</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/ada48bbc20b61454586bbd853ee330800b6000d2">ada48bb</a>)</li> <li><strong>event-handler</strong> added support for catch all route (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4582">#4582</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/19786bf82019eaf29f35830c029f60f8c5e9573d">19786bf</a>)</li> <li><strong>event-handler</strong> add streaming functionality (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4586">#4586</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e3215263e369acb581e113f08aa3893a170d0cb9">e321526</a>)</li> <li><strong>event-handler</strong> added <code>includeRouter</code> method to split routes (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4573">#4573</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/38b6e82a0d9f4f46bb5253ba5157487bbbb884df">38b6e82</a>)</li> </ul> <h3>Maintenance</h3> <ul> <li><strong>tracer</strong> bump aws-xray-sdk-core from 3.10.3 to 3.11.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4656">#4656</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/f00f7edcfd27788f8909d62a1519b317ee465a48">f00f7ed</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e2ce3250df328b61aede6b038ea90814044ea240"><code>e2ce325</code></a> chore(ci): bump version to 2.28.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4681">#4681</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8a13e8ee2b2c2715f584f762b63c495ac849979f"><code>8a13e8e</code></a> fix(logger): fix esbuild ESM bundler error (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4678">#4678</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/6c65c246fb4042939722c2f6a8ca46cfdda7d7c6"><code>6c65c24</code></a> chore(deps): bump <code>@​types/node</code> from 24.8.1 to 24.9.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4673">#4673</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/f3adc3e5f2c774ca97cbaa490b2169e2a8cd2b64"><code>f3adc3e</code></a> chore(deps-dev): bump lint-staged from 16.2.4 to 16.2.5 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4672">#4672</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/cb58f38ef4cbec1c7830fee4fbac767770c6f06c"><code>cb58f38</code></a> chore(ci): bumped the layer verison from 38 to 39 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4671">#4671</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5ea879976feafbc488e5ee7882548421387a4f0e"><code>5ea8799</code></a> chore(ci): bump version to 2.28.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4670">#4670</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/10511d9cf0d2cbe79cf6d787b425ccf847938dcb"><code>10511d9</code></a> chore(deps): bump aws-cdk-lib from 2.219.0 to 2.220.0 in the aws-cdk group ac...</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8c664a31a8464f2ba2543c48b43098133588c8fc"><code>8c664a3</code></a> chore(deps): bump github/codeql-action from 4.30.8 to 4.30.9 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4666">#4666</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3886af3a275020ddae8d67cc9c5efaa74464db9c"><code>3886af3</code></a> feat(metrics): use async local storage for metrics (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4663">#4663</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a0be142c415522fec4f987b3c91b53706ba62f46"><code>a0be142</code></a> chore(deps): bump the aws-sdk-v3 group across 1 directory with 88 updates (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4">#4</a>...</li> <li>Additional commits viewable in <a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.27.0...v2.28.1">compare view</a></li> </ul> </details> <br /> Updates `@aws-lambda-powertools/logger` from 2.27.0 to 2.28.1 <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.28.1</h2> <h2>Summary</h2> <p>This patch release addresses an issue in the Commons package utility <a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/pull/4658">introduced</a> in v2.28.0 that caused a runtime error.</p> <p>This issue affects only those who have lambda code that depends directly or indirectly on the <code>getXrayTraceDataFromEnv</code> function in the Commons package and who are bundling that lambda with ESBuild to an ES module.</p> <p>We recommend updating to the latest version to avoid the issue.</p> <h2>Changes</h2> <h2>📜 Documentation updates</h2> <ul> <li>chore(ci): bumped the layer verison from 39 to 40 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4683">#4683</a>) by <a href="https://github.com/svozza"><code>@​svozza</code></a></li> <li>chore(deps): bump <code>@​types/node</code> from 24.8.1 to 24.9.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4673">#4673</a>) by @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(ci): bumped the layer verison from 38 to 39 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4671">#4671</a>) by <a href="https://github.com/sdangol"><code>@​sdangol</code></a></li> </ul> <h2>🔧 Maintenance</h2> <ul> <li>fix(logger): fix esbuild ESM bundler error (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4678">#4678</a>) by <a href="https://github.com/svozza"><code>@​svozza</code></a></li> <li>chore(deps): bump <code>@​types/node</code> from 24.8.1 to 24.9.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4673">#4673</a>) by @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps-dev): bump lint-staged from 16.2.4 to 16.2.5 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4672">#4672</a>) by @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> </ul> <h2>This release was made possible by the following contributors:</h2> <p><a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot], <a href="https://github.com/github-actions"><code>@​github-actions</code></a>[bot], <a href="https://github.com/sdangol"><code>@​sdangol</code></a>, <a href="https://github.com/svozza"><code>@​svozza</code></a>, <a href="https://github.com/apps/dependabot">dependabot[bot]</a> and <a href="https://github.com/apps/github-actions">github-actions[bot]</a></p> <h2>v2.28.0</h2> <h2>Summary</h2> <p>We are excited to announce that the REST API Event Handler now supports catch-all routes, allowing you to use regex patterns directly when defining route paths. We've also added the ability to split routers using <code>includeRouter</code> for both REST API and AppSync GraphQL Event Handlers.</p> <p>We’ve also reverted the <code>SQSRecordSchema</code> change that caused failed parsing of records when <code>md5OfMessageAttributes</code> was null.</p> <p>📜 Announcement: You can now find our documentation on the official AWS documentation domain at <a href="https://docs.aws.amazon.com/powertools/typescript/latest/">https://docs.aws.amazon.com/powertools/typescript/latest/</a></p> <p>⭐ Congratulations <a href="https://github.com/mdesousa"><code>@​mdesousa</code></a>, <a href="https://github.com/thiagomeireless"><code>@​thiagomeireless</code></a>, <a href="https://github.com/alex-karo"><code>@​alex-karo</code></a> for their first PR merged in the project 🎉</p> <h3>Catch-all route</h3> <p>You can now use regex patterns in your routes to handle arbitrary or deeply nested paths.</p> <pre lang="typescript"><code>import { Router } from '@aws-lambda-powertools/event-handler/experimental-rest'; <p>const app = new Router();</p> <p>// Instead of defining every possible path app.get('/files/:folder/:subfolder/:filename');</p> <p>&lt;/tr&gt;&lt;/table&gt; </code></pre></p> </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.28.0...v2.28.1">2.28.1</a> (2025-10-23)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>logger</strong> fix esbuild ESM bundler error (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4678">#4678</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8a13e8ee2b2c2715f584f762b63c495ac849979f">8a13e8e</a>)</li> </ul> <h2><a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.27.0...v2.28.0">2.28.0</a> (2025-10-21)</h2> <h3>Improvements</h3> <ul> <li><strong>commons</strong> Make X-rRay trace ID access more robust (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4658">#4658</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5199d3e3a5000d3b3b5f2906f3d62da5fc1c96ec">5199d3e</a>)</li> <li><strong>event-handler</strong> ended response stream when body is null (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4651">#4651</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a37a3173023439ee67cc328753cb2d292dc3854f">a37a317</a>)</li> <li><strong>event-handler</strong> rename ServiceError class to HttpError (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4610">#4610</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/33f733471a54d528514e7bebcd863edc4e3781a9">33f7334</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>logger</strong> correct persistentLogAttributes warning behavior (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4627">#4627</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5cb6797b66c18ddf8a266fce50b8c1dab4c25b29">5cb6797</a>)</li> <li><strong>idempotency</strong> add null check for idempotencyHandler before calling handleMiddyOnError (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4643">#4643</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5dab224fa5a341ff6e00b819690090594dbcd811">5dab224</a>)</li> <li><strong>parser</strong> updated the SQSRecordSchema to make the md5OfMessageAttributes nullable (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4632">#4632</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/adc8f60bf3ffedbbb502aaf90b44bec9bea310dd">adc8f60</a>)</li> <li><strong>event-handler</strong> allow http handlers to return duplex streams (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4629">#4629</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/f46ae7c4b73a428b3a9aeb7e8858adede73637ed">f46ae7c</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>metrics</strong> use async local storage for metrics (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4663">#4663</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3886af3a275020ddae8d67cc9c5efaa74464db9c">3886af3</a>)</li> <li><strong>event-handler</strong> Add <code>includeRouter</code> support to AppSync GraphQL resolver (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4457">#4457</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/ada48bbc20b61454586bbd853ee330800b6000d2">ada48bb</a>)</li> <li><strong>event-handler</strong> added support for catch all route (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4582">#4582</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/19786bf82019eaf29f35830c029f60f8c5e9573d">19786bf</a>)</li> <li><strong>event-handler</strong> add streaming functionality (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4586">#4586</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e3215263e369acb581e113f08aa3893a170d0cb9">e321526</a>)</li> <li><strong>event-handler</strong> added <code>includeRouter</code> method to split routes (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4573">#4573</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/38b6e82a0d9f4f46bb5253ba5157487bbbb884df">38b6e82</a>)</li> </ul> <h3>Maintenance</h3> <ul> <li><strong>tracer</strong> bump aws-xray-sdk-core from 3.10.3 to 3.11.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4656">#4656</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/f00f7edcfd27788f8909d62a1519b317ee465a48">f00f7ed</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e2ce3250df328b61aede6b038ea90814044ea240"><code>e2ce325</code></a> chore(ci): bump version to 2.28.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4681">#4681</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8a13e8ee2b2c2715f584f762b63c495ac849979f"><code>8a13e8e</code></a> fix(logger): fix esbuild ESM bundler error (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4678">#4678</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/6c65c246fb4042939722c2f6a8ca46cfdda7d7c6"><code>6c65c24</code></a> chore(deps): bump <code>@​types/node</code> from 24.8.1 to 24.9.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4673">#4673</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/f3adc3e5f2c774ca97cbaa490b2169e2a8cd2b64"><code>f3adc3e</code></a> chore(deps-dev): bump lint-staged from 16.2.4 to 16.2.5 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4672">#4672</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/cb58f38ef4cbec1c7830fee4fbac767770c6f06c"><code>cb58f38</code></a> chore(ci): bumped the layer verison from 38 to 39 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4671">#4671</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5ea879976feafbc488e5ee7882548421387a4f0e"><code>5ea8799</code></a> chore(ci): bump version to 2.28.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4670">#4670</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/10511d9cf0d2cbe79cf6d787b425ccf847938dcb"><code>10511d9</code></a> chore(deps): bump aws-cdk-lib from 2.219.0 to 2.220.0 in the aws-cdk group ac...</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8c664a31a8464f2ba2543c48b43098133588c8fc"><code>8c664a3</code></a> chore(deps): bump github/codeql-action from 4.30.8 to 4.30.9 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4666">#4666</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3886af3a275020ddae8d67cc9c5efaa74464db9c"><code>3886af3</code></a> feat(metrics): use async local storage for metrics (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4663">#4663</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a0be142c415522fec4f987b3c91b53706ba62f46"><code>a0be142</code></a> chore(deps): bump the aws-sdk-v3 group across 1 directory with 88 updates (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4">#4</a>...</li> <li>Additional commits viewable in <a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.27.0...v2.28.1">compare view</a></li> </ul> </details> <br /> Updates `@aws-lambda-powertools/metrics` from 2.27.0 to 2.28.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/aws-powertools/powertools-lambda-typescript/releases"><code>@​aws-lambda-powertools/metrics</code>'s releases</a>.</em></p> <blockquote> <h2>v2.28.1</h2> <h2>Summary</h2> <p>This patch release addresses an issue in the Commons package utility <a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/pull/4658">introduced</a> in v2.28.0 that caused a runtime error.</p> <p>This issue affects only those who have lambda code that depends directly or indirectly on the <code>getXrayTraceDataFromEnv</code> function in the Commons package and who are bundling that lambda with ESBuild to an ES module.</p> <p>We recommend updating to the latest version to avoid the issue.</p> <h2>Changes</h2> <h2>📜 Documentation updates</h2> <ul> <li>chore(ci): bumped the layer verison from 39 to 40 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4683">#4683</a>) by <a href="https://github.com/svozza"><code>@​svozza</code></a></li> <li>chore(deps): bump <code>@​types/node</code> from 24.8.1 to 24.9.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4673">#4673</a>) by @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(ci): bumped the layer verison from 38 to 39 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4671">#4671</a>) by <a href="https://github.com/sdangol"><code>@​sdangol</code></a></li> </ul> <h2>🔧 Maintenance</h2> <ul> <li>fix(logger): fix esbuild ESM bundler error (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4678">#4678</a>) by <a href="https://github.com/svozza"><code>@​svozza</code></a></li> <li>chore(deps): bump <code>@​types/node</code> from 24.8.1 to 24.9.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4673">#4673</a>) by @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps-dev): bump lint-staged from 16.2.4 to 16.2.5 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4672">#4672</a>) by @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> </ul> <h2>This release was made possible by the following contributors:</h2> <p><a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot], <a href="https://github.com/github-actions"><code>@​github-actions</code></a>[bot], <a href="https://github.com/sdangol"><code>@​sdangol</code></a>, <a href="https://github.com/svozza"><code>@​svozza</code></a>, <a href="https://github.com/apps/dependabot">dependabot[bot]</a> and <a href="https://github.com/apps/github-actions">github-actions[bot]</a></p> <h2>v2.28.0</h2> <h2>Summary</h2> <p>We are excited to announce that the REST API Event Handler now supports catch-all routes, allowing you to use regex patterns directly when defining route paths. We've also added the ability to split routers using <code>includeRouter</code> for both REST API and AppSync GraphQL Event Handlers.</p> <p>We’ve also reverted the <code>SQSRecordSchema</code> change that caused failed parsing of records when <code>md5OfMessageAttributes</code> was null.</p> <p>📜 Announcement: You can now find our documentation on the official AWS documentation domain at <a href="https://docs.aws.amazon.com/powertools/typescript/latest/">https://docs.aws.amazon.com/powertools/typescript/latest/</a></p> <p>⭐ Congratulations <a href="https://github.com/mdesousa"><code>@​mdesousa</code></a>, <a href="https://github.com/thiagomeireless"><code>@​thiagomeireless</code></a>, <a href="https://github.com/alex-karo"><code>@​alex-karo</code></a> for their first PR merged in the project 🎉</p> <h3>Catch-all route</h3> <p>You can now use regex patterns in your routes to handle arbitrary or deeply nested paths.</p> <pre lang="typescript"><code>import { Router } from '@aws-lambda-powertools/event-handler/experimental-rest'; <p>const app = new Router();</p> <p>// Instead of defining every possible path app.get('/files/:folder/:subfolder/:filename');</p> <p>&lt;/tr&gt;&lt;/table&gt; </code></pre></p> </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/metrics</code>'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.28.0...v2.28.1">2.28.1</a> (2025-10-23)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>logger</strong> fix esbuild ESM bundler error (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4678">#4678</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8a13e8ee2b2c2715f584f762b63c495ac849979f">8a13e8e</a>)</li> </ul> <h2><a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.27.0...v2.28.0">2.28.0</a> (2025-10-21)</h2> <h3>Improvements</h3> <ul> <li><strong>commons</strong> Make X-rRay trace ID access more robust (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4658">#4658</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5199d3e3a5000d3b3b5f2906f3d62da5fc1c96ec">5199d3e</a>)</li> <li><strong>event-handler</strong> ended response stream when body is null (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4651">#4651</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a37a3173023439ee67cc328753cb2d292dc3854f">a37a317</a>)</li> <li><strong>event-handler</strong> rename ServiceError class to HttpError (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4610">#4610</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/33f733471a54d528514e7bebcd863edc4e3781a9">33f7334</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>logger</strong> correct persistentLogAttributes warning behavior (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4627">#4627</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5cb6797b66c18ddf8a266fce50b8c1dab4c25b29">5cb6797</a>)</li> <li><strong>idempotency</strong> add null check for idempotencyHandler before calling handleMiddyOnError (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4643">#4643</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5dab224fa5a341ff6e00b819690090594dbcd811">5dab224</a>)</li> <li><strong>parser</strong> updated the SQSRecordSchema to make the md5OfMessageAttributes nullable (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4632">#4632</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/adc8f60bf3ffedbbb502aaf90b44bec9bea310dd">adc8f60</a>)</li> <li><strong>event-handler</strong> allow http handlers to return duplex streams (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4629">#4629</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/f46ae7c4b73a428b3a9aeb7e8858adede73637ed">f46ae7c</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>metrics</strong> use async local storage for metrics (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4663">#4663</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3886af3a275020ddae8d67cc9c5efaa74464db9c">3886af3</a>)</li> <li><strong>event-handler</strong> Add <code>includeRouter</code> support to AppSync GraphQL resolver (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4457">#4457</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/ada48bbc20b61454586bbd853ee330800b6000d2">ada48bb</a>)</li> <li><strong>event-handler</strong> added support for catch all route (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4582">#4582</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/19786bf82019eaf29f35830c029f60f8c5e9573d">19786bf</a>)</li> <li><strong>event-handler</strong> add streaming functionality (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4586">#4586</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e3215263e369acb581e113f08aa3893a170d0cb9">e321526</a>)</li> <li><strong>event-handler</strong> added <code>includeRouter</code> method to split routes (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4573">#4573</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/38b6e82a0d9f4f46bb5253ba5157487bbbb884df">38b6e82</a>)</li> </ul> <h3>Maintenance</h3> <ul> <li><strong>tracer</strong> bump aws-xray-sdk-core from 3.10.3 to 3.11.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4656">#4656</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/f00f7edcfd27788f8909d62a1519b317ee465a48">f00f7ed</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e2ce3250df328b61aede6b038ea90814044ea240"><code>e2ce325</code></a> chore(ci): bump version to 2.28.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4681">#4681</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8a13e8ee2b2c2715f584f762b63c495ac849979f"><code>8a13e8e</code></a> fix(logger): fix esbuild ESM bundler error (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4678">#4678</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/6c65c246fb4042939722c2f6a8ca46cfdda7d7c6"><code>6c65c24</code></a> chore(deps): bump <code>@​types/node</code> from 24.8.1 to 24.9.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4673">#4673</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/f3adc3e5f2c774ca97cbaa490b2169e2a8cd2b64"><code>f3adc3e</code></a> chore(deps-dev): bump lint-staged from 16.2.4 to 16.2.5 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4672">#4672</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/cb58f38ef4cbec1c7830fee4fbac767770c6f06c"><code>cb58f38</code></a> chore(ci): bumped the layer verison from 38 to 39 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4671">#4671</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5ea879976feafbc488e5ee7882548421387a4f0e"><code>5ea8799</code></a> chore(ci): bump version to 2.28.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4670">#4670</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/10511d9cf0d2cbe79cf6d787b425ccf847938dcb"><code>10511d9</code></a> chore(deps): bump aws-cdk-lib from 2.219.0 to 2.220.0 in the aws-cdk group ac...</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8c664a31a8464f2ba2543c48b43098133588c8fc"><code>8c664a3</code></a> chore(deps): bump github/codeql-action from 4.30.8 to 4.30.9 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4666">#4666</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3886af3a275020ddae8d67cc9c5efaa74464db9c"><code>3886af3</code></a> feat(metrics): use async local storage for metrics (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4663">#4663</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a0be142c415522fec4f987b3c91b53706ba62f46"><code>a0be142</code></a> chore(deps): bump the aws-sdk-v3 group across 1 directory with 88 updates (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4">#4</a>...</li> <li>Additional commits viewable in <a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.27.0...v2.28.1">compare view</a></li> </ul> </details> <br /> Updates `@aws-lambda-powertools/tracer` from 2.27.0 to 2.28.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/aws-powertools/powertools-lambda-typescript/releases"><code>@​aws-lambda-powertools/tracer</code>'s releases</a>.</em></p> <blockquote> <h2>v2.28.1</h2> <h2>Summary</h2> <p>This patch release addresses an issue in the Commons package utility <a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/pull/4658">introduced</a> in v2.28.0 that caused a runtime error.</p> <p>This issue affects only those who have lambda code that depends directly or indirectly on the <code>getXrayTraceDataFromEnv</code> function in the Commons package and who are bundling that lambda with ESBuild to an ES module.</p> <p>We recommend updating to the latest version to avoid the issue.</p> <h2>Changes</h2> <h2>📜 Documentation updates</h2> <ul> <li>chore(ci): bumped the layer verison from 39 to 40 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4683">#4683</a>) by <a href="https://github.com/svozza"><code>@​svozza</code></a></li> <li>chore(deps): bump <code>@​types/node</code> from 24.8.1 to 24.9.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4673">#4673</a>) by @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(ci): bumped the layer verison from 38 to 39 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4671">#4671</a>) by <a href="https://github.com/sdangol"><code>@​sdangol</code></a></li> </ul> <h2>🔧 Maintenance</h2> <ul> <li>fix(logger): fix esbuild ESM bundler error (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4678">#4678</a>) by <a href="https://github.com/svozza"><code>@​svozza</code></a></li> <li>chore(deps): bump <code>@​types/node</code> from 24.8.1 to 24.9.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4673">#4673</a>) by @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps-dev): bump lint-staged from 16.2.4 to 16.2.5 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4672">#4672</a>) by @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> </ul> <h2>This release was made possible by the following contributors:</h2> <p><a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot], <a href="https://github.com/github-actions"><code>@​github-actions</code></a>[bot], <a href="https://github.com/sdangol"><code>@​sdangol</code></a>, <a href="https://github.com/svozza"><code>@​svozza</code></a>, <a href="https://github.com/apps/dependabot">dependabot[bot]</a> and <a href="https://github.com/apps/github-actions">github-actions[bot]</a></p> <h2>v2.28.0</h2> <h2>Summary</h2> <p>We are excited to announce that the REST API Event Handler now supports catch-all routes, allowing you to use regex patterns directly when defining route paths. We've also added the ability to split routers using <code>includeRouter</code> for both REST API and AppSync GraphQL Event Handlers.</p> <p>We’ve also reverted the <code>SQSRecordSchema</code> change that caused failed parsing of records when <code>md5OfMessageAttributes</code> was null.</p> <p>📜 Announcement: You can now find our documentation on the official AWS documentation domain at <a href="https://docs.aws.amazon.com/powertools/typescript/latest/">https://docs.aws.amazon.com/powertools/typescript/latest/</a></p> <p>⭐ Congratulations <a href="https://github.com/mdesousa"><code>@​mdesousa</code></a>, <a href="https://github.com/thiagomeireless"><code>@​thiagomeireless</code></a>, <a href="https://github.com/alex-karo"><code>@​alex-karo</code></a> for their first PR merged in the project 🎉</p> <h3>Catch-all route</h3> <p>You can now use regex patterns in your routes to handle arbitrary or deeply nested paths.</p> <pre lang="typescript"><code>import { Router } from '@aws-lambda-powertools/event-handler/experimental-rest'; <p>const app = new Router();</p> <p>// Instead of defining every possible path app.get('/files/:folder/:subfolder/:filename');</p> <p>&lt;/tr&gt;&lt;/table&gt; </code></pre></p> </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/tracer</code>'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.28.0...v2.28.1">2.28.1</a> (2025-10-23)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>logger</strong> fix esbuild ESM bundler error (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4678">#4678</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8a13e8ee2b2c2715f584f762b63c495ac849979f">8a13e8e</a>)</li> </ul> <h2><a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.27.0...v2.28.0">2.28.0</a> (2025-10-21)</h2> <h3>Improvements</h3> <ul> <li><strong>commons</strong> Make X-rRay trace ID access more robust (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4658">#4658</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5199d3e3a5000d3b3b5f2906f3d62da5fc1c96ec">5199d3e</a>)</li> <li><strong>event-handler</strong> ended response stream when body is null (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4651">#4651</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a37a3173023439ee67cc328753cb2d292dc3854f">a37a317</a>)</li> <li><strong>event-handler</strong> rename ServiceError class to HttpError (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4610">#4610</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/33f733471a54d528514e7bebcd863edc4e3781a9">33f7334</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>logger</strong> correct persistentLogAttributes warning behavior (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4627">#4627</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5cb6797b66c18ddf8a266fce50b8c1dab4c25b29">5cb6797</a>)</li> <li><strong>idempotency</strong> add null check for idempotencyHandler before calling handleMiddyOnError (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4643">#4643</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5dab224fa5a341ff6e00b819690090594dbcd811">5dab224</a>)</li> <li><strong>parser</strong> updated the SQSRecordSchema to make the md5OfMessageAttributes nullable (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4632">#4632</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/adc8f60bf3ffedbbb502aaf90b44bec9bea310dd">adc8f60</a>)</li> <li><strong>event-handler</strong> allow http handlers to return duplex streams (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4629">#4629</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/f46ae7c4b73a428b3a9aeb7e8858adede73637ed">f46ae7c</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>metrics</strong> use async local storage for metrics (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4663">#4663</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3886af3a275020ddae8d67cc9c5efaa74464db9c">3886af3</a>)</li> <li><strong>event-handler</strong> Add <code>includeRouter</code> support to AppSync GraphQL resolver (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4457">#4457</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/ada48bbc20b61454586bbd853ee330800b6000d2">ada48bb</a>)</li> <li><strong>event-handler</strong> added support for catch all route (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4582">#4582</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/19786bf82019eaf29f35830c029f60f8c5e9573d">19786bf</a>)</li> <li><strong>event-handler</strong> add streaming functionality (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4586">#4586</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e3215263e369acb581e113f08aa3893a170d0cb9">e321526</a>)</li> <li><strong>event-handler</strong> added <code>includeRouter</code> method to split routes (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4573">#4573</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/38b6e82a0d9f4f46bb5253ba5157487bbbb884df">38b6e82</a>)</li> </ul> <h3>Maintenance</h3> <ul> <li><strong>tracer</strong> bump aws-xray-sdk-core from 3.10.3 to 3.11.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4656">#4656</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/f00f7edcfd27788f8909d62a1519b317ee465a48">f00f7ed</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e2ce3250df328b61aede6b038ea90814044ea240"><code>e2ce325</code></a> chore(ci): bump version to 2.28.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4681">#4681</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8a13e8ee2b2c2715f584f762b63c495ac849979f"><code>8a13e8e</code></a> fix(logger): fix esbuild ESM bundler error (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4678">#4678</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/6c65c246fb4042939722c2f6a8ca46cfdda7d7c6"><code>6c65c24</code></a> chore(deps): bump <code>@​types/node</code> from 24.8.1 to 24.9.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4673">#4673</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/f3adc3e5f2c774ca97cbaa490b2169e2a8cd2b64"><code>f3adc3e</code></a> chore(deps-dev): bump lint-staged from 16.2.4 to 16.2.5 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4672">#4672</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/cb58f38ef4cbec1c7830fee4fbac767770c6f06c"><code>cb58f38</code></a> chore(ci): bumped the layer verison from 38 to 39 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4671">#4671</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5ea879976feafbc488e5ee7882548421387a4f0e"><code>5ea8799</code></a> chore(ci): bump version to 2.28.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4670">#4670</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/10511d9cf0d2cbe79cf6d787b425ccf847938dcb"><code>10511d9</code></a> chore(deps): bump aws-cdk-lib from 2.219.0 to 2.220.0 in the aws-cdk group ac...</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8c664a31a8464f2ba2543c48b43098133588c8fc"><code>8c664a3</code></a> chore(deps): bump github/codeql-action from 4.30.8 to 4.30.9 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4666">#4666</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3886af3a275020ddae8d67cc9c5efaa74464db9c"><code>3886af3</code></a> feat(metrics): use async local storage for metrics (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4663">#4663</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a0be142c415522fec4f987b3c91b53706ba62f46"><code>a0be142</code></a> chore(deps): bump the aws-sdk-v3 group across 1 directory with 88 updates (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4">#4</a>...</li> <li>Additional commits viewable in <a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.27.0...v2.28.1">compare view</a></li> </ul> </details> <br /> 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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 09d2be1 commit 8c76e12

File tree

3 files changed

+46
-38
lines changed

3 files changed

+46
-38
lines changed

lambdas/functions/control-plane/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"dependencies": {
3333
"@aws-github-runner/aws-powertools-util": "*",
3434
"@aws-github-runner/aws-ssm-util": "*",
35-
"@aws-lambda-powertools/parameters": "^2.27.0",
35+
"@aws-lambda-powertools/parameters": "^2.28.1",
3636
"@aws-sdk/client-ec2": "^3.921.0",
3737
"@aws-sdk/client-sqs": "^3.921.0",
3838
"@middy/core": "^6.4.5",

lambdas/libs/aws-powertools-util/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"body-parser": "^2.2.0"
2121
},
2222
"dependencies": {
23-
"@aws-lambda-powertools/logger": "^2.27.0",
24-
"@aws-lambda-powertools/metrics": "^2.27.0",
25-
"@aws-lambda-powertools/tracer": "^2.27.0",
23+
"@aws-lambda-powertools/logger": "^2.28.1",
24+
"@aws-lambda-powertools/metrics": "^2.28.1",
25+
"@aws-lambda-powertools/tracer": "^2.28.1",
2626
"aws-lambda": "^1.0.7"
2727
},
2828
"nx": {

lambdas/yarn.lock

Lines changed: 42 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ __metadata:
118118
version: 0.0.0-use.local
119119
resolution: "@aws-github-runner/aws-powertools-util@workspace:libs/aws-powertools-util"
120120
dependencies:
121-
"@aws-lambda-powertools/logger": "npm:^2.27.0"
122-
"@aws-lambda-powertools/metrics": "npm:^2.27.0"
123-
"@aws-lambda-powertools/tracer": "npm:^2.27.0"
121+
"@aws-lambda-powertools/logger": "npm:^2.28.1"
122+
"@aws-lambda-powertools/metrics": "npm:^2.28.1"
123+
"@aws-lambda-powertools/tracer": "npm:^2.28.1"
124124
"@types/aws-lambda": "npm:^8.10.155"
125125
"@types/node": "npm:^22.18.8"
126126
aws-lambda: "npm:^1.0.7"
@@ -148,7 +148,7 @@ __metadata:
148148
dependencies:
149149
"@aws-github-runner/aws-powertools-util": "npm:*"
150150
"@aws-github-runner/aws-ssm-util": "npm:*"
151-
"@aws-lambda-powertools/parameters": "npm:^2.27.0"
151+
"@aws-lambda-powertools/parameters": "npm:^2.28.1"
152152
"@aws-sdk/client-ec2": "npm:^3.921.0"
153153
"@aws-sdk/client-sqs": "npm:^3.921.0"
154154
"@aws-sdk/types": "npm:^3.921.0"
@@ -232,50 +232,50 @@ __metadata:
232232
languageName: unknown
233233
linkType: soft
234234

235-
"@aws-lambda-powertools/commons@npm:2.27.0":
236-
version: 2.27.0
237-
resolution: "@aws-lambda-powertools/commons@npm:2.27.0"
238-
checksum: 10c0/b0e3ff68c10b1f33caa86e784bcf10aad53f74e5c68399b3cb037862b7b2f5f11c2c464b8f6fbd0245bdfe18daf099be0b9836382549cb5b36cfb0a2ea99e7e2
235+
"@aws-lambda-powertools/commons@npm:2.28.1":
236+
version: 2.28.1
237+
resolution: "@aws-lambda-powertools/commons@npm:2.28.1"
238+
checksum: 10c0/edc6f6f1fb07c56108ef2af7904c9f8c58d08be8328ecdb04a58e33563c325c618e21abc0e3e639edd1b823eb5596df706f95d72b4d816d8dc7e6f633af3f78f
239239
languageName: node
240240
linkType: hard
241241

242-
"@aws-lambda-powertools/logger@npm:^2.27.0":
243-
version: 2.27.0
244-
resolution: "@aws-lambda-powertools/logger@npm:2.27.0"
242+
"@aws-lambda-powertools/logger@npm:^2.28.1":
243+
version: 2.28.1
244+
resolution: "@aws-lambda-powertools/logger@npm:2.28.1"
245245
dependencies:
246-
"@aws-lambda-powertools/commons": "npm:2.27.0"
246+
"@aws-lambda-powertools/commons": "npm:2.28.1"
247247
lodash.merge: "npm:^4.6.2"
248248
peerDependencies:
249-
"@aws-lambda-powertools/jmespath": 2.27.0
249+
"@aws-lambda-powertools/jmespath": 2.28.1
250250
"@middy/core": 4.x || 5.x || 6.x
251251
peerDependenciesMeta:
252252
"@aws-lambda-powertools/jmespath":
253253
optional: true
254254
"@middy/core":
255255
optional: true
256-
checksum: 10c0/841dee5ca70d48c2af8fa76b5e1d0388b9b2c328b60221122959299606c4bea6ad6ade4a062baced22a32c7d51c5b02de69755c349826c59421d3a82706bcbba
256+
checksum: 10c0/2be2860f8be1094486c5eb537c1a26816fbb710179b24cd152bcf66a35788ab09e47ecf8f862ec6bab4ab2bf3c05058f713b48f2f1f86a27cd71d0918b57288b
257257
languageName: node
258258
linkType: hard
259259

260-
"@aws-lambda-powertools/metrics@npm:^2.27.0":
261-
version: 2.27.0
262-
resolution: "@aws-lambda-powertools/metrics@npm:2.27.0"
260+
"@aws-lambda-powertools/metrics@npm:^2.28.1":
261+
version: 2.28.1
262+
resolution: "@aws-lambda-powertools/metrics@npm:2.28.1"
263263
dependencies:
264-
"@aws-lambda-powertools/commons": "npm:2.27.0"
264+
"@aws-lambda-powertools/commons": "npm:2.28.1"
265265
peerDependencies:
266266
"@middy/core": 4.x || 5.x || 6.x
267267
peerDependenciesMeta:
268268
"@middy/core":
269269
optional: true
270-
checksum: 10c0/6d657731e1264056558544cdf2b7decb59caf9147bab11cbe0ee9167759f950fb53c2d3d782de6b377c3a821e5fabbf1ec4ab499d761d8b9f990c64da445d9ef
270+
checksum: 10c0/eb0a7deed897be7cce335a309e7af59a83398e4f4e5b30e4c9aaf550e8adf0f2d4969db24766711e41938e4bf5ce9d6a3e42213b91d5dbb4fb9a3fa318583a91
271271
languageName: node
272272
linkType: hard
273273

274-
"@aws-lambda-powertools/parameters@npm:^2.27.0":
275-
version: 2.27.0
276-
resolution: "@aws-lambda-powertools/parameters@npm:2.27.0"
274+
"@aws-lambda-powertools/parameters@npm:^2.28.1":
275+
version: 2.28.1
276+
resolution: "@aws-lambda-powertools/parameters@npm:2.28.1"
277277
dependencies:
278-
"@aws-lambda-powertools/commons": "npm:2.27.0"
278+
"@aws-lambda-powertools/commons": "npm:2.28.1"
279279
peerDependencies:
280280
"@aws-sdk/client-appconfigdata": ">=3.x"
281281
"@aws-sdk/client-dynamodb": ">=3.x"
@@ -296,22 +296,22 @@ __metadata:
296296
optional: true
297297
"@middy/core":
298298
optional: true
299-
checksum: 10c0/cac56a20bd2b7c00a11540cee7d985474dc344b7b89170921f4273d84904414be272890a87e5c640b2b0c6d86dd30579f243fd38cccd557a1b1dc86df3e8cdc7
299+
checksum: 10c0/c5b123a9d8a58e50d82c3b923ec769bded4557af55f431a8a609c2d0545812300543e3fab574bb9f10552eff2cbd1b8ed4873c2e3e47783a00668af2f6a98fbe
300300
languageName: node
301301
linkType: hard
302302

303-
"@aws-lambda-powertools/tracer@npm:^2.27.0":
304-
version: 2.27.0
305-
resolution: "@aws-lambda-powertools/tracer@npm:2.27.0"
303+
"@aws-lambda-powertools/tracer@npm:^2.28.1":
304+
version: 2.28.1
305+
resolution: "@aws-lambda-powertools/tracer@npm:2.28.1"
306306
dependencies:
307-
"@aws-lambda-powertools/commons": "npm:2.27.0"
308-
aws-xray-sdk-core: "npm:^3.10.3"
307+
"@aws-lambda-powertools/commons": "npm:2.28.1"
308+
aws-xray-sdk-core: "npm:^3.11.0"
309309
peerDependencies:
310310
"@middy/core": 4.x || 5.x || 6.x
311311
peerDependenciesMeta:
312312
"@middy/core":
313313
optional: true
314-
checksum: 10c0/850b5bbfda802c99bddf3b701640bc8d3c92f817fcdbaed4b296d838b5e8022f596bde4ed5520dbf61630d715940e6f0bb1bd233088919287ad339d5be4b3cb0
314+
checksum: 10c0/6cd975ddf36942810850689756d7a21ddff0ea90e599cf22795e34041b4731f641a921cc5537dbc9c5c8e611e73d9e2a7396fecb4d1c95cc718b81947b412494
315315
languageName: node
316316
linkType: hard
317317

@@ -1142,6 +1142,13 @@ __metadata:
11421142
languageName: node
11431143
linkType: hard
11441144

1145+
"@aws/lambda-invoke-store@npm:^0.0.1":
1146+
version: 0.0.1
1147+
resolution: "@aws/lambda-invoke-store@npm:0.0.1"
1148+
checksum: 10c0/0bbf3060014a462177fb743e132e9b106a6743ad9cd905df4bd26e9ca8bfe2cc90473b03a79938fa908934e45e43f366f57af56a697991abda71d9ac92f5018f
1149+
languageName: node
1150+
linkType: hard
1151+
11451152
"@aws/lambda-invoke-store@npm:^0.1.1":
11461153
version: 0.1.1
11471154
resolution: "@aws/lambda-invoke-store@npm:0.1.1"
@@ -5819,17 +5826,18 @@ __metadata:
58195826
languageName: node
58205827
linkType: hard
58215828

5822-
"aws-xray-sdk-core@npm:^3.10.3":
5823-
version: 3.10.3
5824-
resolution: "aws-xray-sdk-core@npm:3.10.3"
5829+
"aws-xray-sdk-core@npm:^3.11.0":
5830+
version: 3.11.0
5831+
resolution: "aws-xray-sdk-core@npm:3.11.0"
58255832
dependencies:
58265833
"@aws-sdk/types": "npm:^3.4.1"
5834+
"@aws/lambda-invoke-store": "npm:^0.0.1"
58275835
"@smithy/service-error-classification": "npm:^2.0.4"
58285836
"@types/cls-hooked": "npm:^4.3.3"
58295837
atomic-batcher: "npm:^1.0.2"
58305838
cls-hooked: "npm:^4.2.2"
58315839
semver: "npm:^7.5.3"
5832-
checksum: 10c0/8eefc4acca6c230f5ea7219b9671a22d1356a66ad145709b6af07a64f34eb0450a8cd0aaa9fac038163e23f024aaf911b38c46745dbe0fd6f5472ba686584f59
5840+
checksum: 10c0/fa9fe964a1c78dc3717d36baa57658f360bb07d3beaf46689d2c321f40ad8fabe2b21c689b7399c3f0ba486dbf2dd056c1cfe772e613f0458979ca7614ad56c5
58335841
languageName: node
58345842
linkType: hard
58355843

0 commit comments

Comments
 (0)