Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 13, 2025

Bumps @aws-lambda-powertools/logger from 2.24.1 to 2.25.0.

Release notes

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

v2.25.0

Summary

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.

The parse 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.

We’ve also fixed a bug with the Zod schema for the Cognito Trigger Event in the parser.

Furthermore, we have been working on the improvements in the overall code quality and maintainability of the codebase.

⭐ Congratulations @​dwrth, @​bdellegrazie, @​jaimellamasi for their first PRs merged in the project 🎉

Parse Function

Docs

import { parse } from '@aws-lambda-powertools/parser';
export const handler = async (event: APIGatewayEvent) => {
try {
const querySchema = z.object({
id: z.string()
});
const params = parse(event.queryStringParameters, undefined, querySchema);
} catch(error) {
console.error("Failed to parse the query string parameters");
}
}

Before this release, it was only possible to use the parser through middleware or a decorator. To use the parse function, simply pass the payload to be parsed, the envelope (if required), the schema, and the optional safe parse flag.

Changes

  • feat(event-handler): add event handler registry (#4307) by @​svozza
  • feat(event-handler): add error classes for http errors (#4299) by @​svozza
  • feat(parser): Exported the parse function from the parser (#4300) by @​sdangol
  • feat(event-handler): implement route matching & resolution system for rest handler (#4297) by @​svozza
  • refactor(idempotency): fix code quality issues (#4298) by @​dwrth
  • improv(deps): Decrease the update schedule of aws-cdk and aws-sdk-v3 group in dependabot (#4290) by @​sdangol
  • refactor(commons): fix code quality issues (#4292) by @​dwrth
  • refactor(jmespath): fix code quality issues (#4286) by @​dwrth
  • refactor(batch): improve code quality in test handlers (#4281) by @​dwrth
  • refactor(logger): replace EnvironmentVariablesService class with helper functions (#4251) by @​jaimellamasi
  • test(event-handler): coverage 100% for AppSync GraphQL (#4261) by @​dreamorosi
  • refactor(kafka): improve tests & error handling (#4262) by @​dreamorosi
  • refactor(tracer): fix code quality issues (#4264) by @​dwrth

... (truncated)

Changelog

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

2.25.0 (2025-08-12)

Improvements

Features

  • parser make parse function available standalone (#4300) (4998d6b)
  • event-handler add event handler registry (#4307) (aaac429)
  • event-handler add error classes for http errors (#4299) (c1c3dd5)
  • event-handler implement route matching & resolution system for rest handler (#4297) (b8ca368)
  • event-handler add support for AppSync GraphQL batch resolvers (#4218) (12ac2e4)

Bug Fixes

  • parser cognito schema preferredRole may be null (#4259) (5ef5c85)
Commits
  • deab7fc chore(deps): Bumped the version to 2.25.0 (#4310)
  • 60bf96e improv(ci): verify output of Layer deployment (Partitions) GitHub Action (#4308)
  • 5d5c602 chore(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#4301)
  • 95fcefe chore(deps): bump @​types/node from 24.2.0 to 24.2.1 (#4304)
  • 723df62 chore(deps): bump the aws-sdk-v3 group across 1 directory with 34 updates (#4...
  • aaac429 feat(event-handler): add event handler registry (#4307)
  • eba63de chore(deps-dev): bump the typescript group across 1 directory with 2 updates ...
  • c1c3dd5 feat(event-handler): add error classes for http errors (#4299)
  • dc59488 chore(deps-dev): bump zod from 4.0.15 to 4.0.17 (#4302)
  • 4998d6b feat(parser): make parse function available standalone (#4300)
  • 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 Aug 13, 2025
Copy link

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this pull request because it includes a patch or minor update

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot enabled auto-merge (squash) August 13, 2025 02:53
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/aws-lambda-powertools/logger-2.25.0 branch from c3dff57 to fc0b3dd Compare August 14, 2025 01:15
Copy link

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this pull request because it includes a patch or minor update

Bumps [@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript) from 2.24.1 to 2.25.0.
- [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.24.1...v2.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/aws-lambda-powertools/logger-2.25.0 branch from fc0b3dd to 2b1bcd7 Compare August 14, 2025 01:16
Copy link

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this pull request because it includes a patch or minor update

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot merged commit cdc4ffd into main Aug 14, 2025
2 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/aws-lambda-powertools/logger-2.25.0 branch August 14, 2025 01:16
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants