Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 6, 2025

Bumps @aws-lambda-powertools/logger from 2.27.0 to 2.28.1.

Release notes

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

v2.28.1

Summary

This patch release addresses an issue in the Commons package utility introduced in v2.28.0 that caused a runtime error.

This issue affects only those who have lambda code that depends directly or indirectly on the getXrayTraceDataFromEnv function in the Commons package and who are bundling that lambda with ESBuild to an ES module.

We recommend updating to the latest version to avoid the issue.

Changes

📜 Documentation updates

🔧 Maintenance

This release was made possible by the following contributors:

@​dependabot[bot], @​github-actions[bot], @​sdangol, @​svozza, dependabot[bot] and github-actions[bot]

v2.28.0

Summary

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 includeRouter for both REST API and AppSync GraphQL Event Handlers.

We’ve also reverted the SQSRecordSchema change that caused failed parsing of records when md5OfMessageAttributes was null.

📜 Announcement: You can now find our documentation on the official AWS documentation domain at https://docs.aws.amazon.com/powertools/typescript/latest/

⭐ Congratulations @​mdesousa, @​thiagomeireless, @​alex-karo for their first PR merged in the project 🎉

Catch-all route

You can now use regex patterns in your routes to handle arbitrary or deeply nested paths.

import { Router } from '@aws-lambda-powertools/event-handler/experimental-rest';
const app = new Router();
// Instead of defining every possible path
app.get('/files/:folder/:subfolder/:filename');
</tr></table>

... (truncated)

Changelog

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

2.28.1 (2025-10-23)

Bug Fixes

2.28.0 (2025-10-21)

Improvements

  • commons Make X-rRay trace ID access more robust (#4658) (5199d3e)
  • event-handler ended response stream when body is null (#4651) (a37a317)
  • event-handler rename ServiceError class to HttpError (#4610) (33f7334)

Bug Fixes

  • logger correct persistentLogAttributes warning behavior (#4627) (5cb6797)
  • idempotency add null check for idempotencyHandler before calling handleMiddyOnError (#4643) (5dab224)
  • parser updated the SQSRecordSchema to make the md5OfMessageAttributes nullable (#4632) (adc8f60)
  • event-handler allow http handlers to return duplex streams (#4629) (f46ae7c)

Features

  • metrics use async local storage for metrics (#4663) (3886af3)
  • event-handler Add includeRouter support to AppSync GraphQL resolver (#4457) (ada48bb)
  • event-handler added support for catch all route (#4582) (19786bf)
  • event-handler add streaming functionality (#4586) (e321526)
  • event-handler added includeRouter method to split routes (#4573) (38b6e82)

Maintenance

  • tracer bump aws-xray-sdk-core from 3.10.3 to 3.11.0 (#4656) (f00f7ed)
Commits
  • e2ce325 chore(ci): bump version to 2.28.1 (#4681)
  • 8a13e8e fix(logger): fix esbuild ESM bundler error (#4678)
  • 6c65c24 chore(deps): bump @​types/node from 24.8.1 to 24.9.1 (#4673)
  • f3adc3e chore(deps-dev): bump lint-staged from 16.2.4 to 16.2.5 (#4672)
  • cb58f38 chore(ci): bumped the layer verison from 38 to 39 (#4671)
  • 5ea8799 chore(ci): bump version to 2.28.0 (#4670)
  • 10511d9 chore(deps): bump aws-cdk-lib from 2.219.0 to 2.220.0 in the aws-cdk group ac...
  • 8c664a3 chore(deps): bump github/codeql-action from 4.30.8 to 4.30.9 (#4666)
  • 3886af3 feat(metrics): use async local storage for metrics (#4663)
  • a0be142 chore(deps): bump the aws-sdk-v3 group across 1 directory with 88 updates (#4...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 6, 2025
@pull-request-size pull-request-size bot added the size/XS PR between 0-9 LOC label Nov 6, 2025
Bumps [@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript) from 2.27.0 to 2.28.1.
- [Release notes](https://github.com/aws-powertools/powertools-lambda-typescript/releases)
- [Changelog](https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/CHANGELOG.md)
- [Commits](aws-powertools/powertools-lambda-typescript@v2.27.0...v2.28.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/aws-lambda-powertools/logger-2.28.1 branch from d81ed75 to 0e9cf5d Compare November 6, 2025 14:26
@dreamorosi dreamorosi merged commit 043e3ae into main Nov 6, 2025
8 checks passed
@dreamorosi dreamorosi deleted the dependabot/npm_and_yarn/aws-lambda-powertools/logger-2.28.1 branch November 6, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code size/XS PR between 0-9 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant