Skip to content

Commit e8e25a3

Browse files
Upgrade: [dependabot] - bump @aws-lambda-powertools/logger from 2.27.0 to 2.28.1 (#542)
Bumps [@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript) 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 /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@aws-lambda-powertools/logger&package-manager=npm_and_yarn&previous-version=2.27.0&new-version=2.28.1)](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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 651ed48 commit e8e25a3

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"typescript": "^5.9.3"
3737
},
3838
"dependencies": {
39-
"@aws-lambda-powertools/logger": "^2.27.0",
39+
"@aws-lambda-powertools/logger": "^2.28.1",
4040
"@types/mustache": "^4.2.6",
4141
"aws-lambda": "^1.0.7",
4242
"axios": "^1.12.2",

0 commit comments

Comments
 (0)