Skip to content

fix(lambda): bump the aws-powertools group in /lambdas with 4 updates #4507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 28, 2025

Bumps the aws-powertools group in /lambdas with 4 updates: @aws-lambda-powertools/parameters, @aws-lambda-powertools/logger, @aws-lambda-powertools/metrics and @aws-lambda-powertools/tracer.

Updates @aws-lambda-powertools/parameters from 2.16.0 to 2.17.0

Release notes

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

v2.17.0

Summary

This release introduces the new Validation utility to validate payloads with JSON Schemas. This addition further reduces the feature gap between this version of Powertools for AWS Lambda and the more mature one in Python, and it’s also the first utility that was built primarily by community contributors, hats off to @​VatsalGoel3!

The release also enhances Logger with correlation ID support, improves cold start reporting for Provisioned Concurrency, adds customizable function name dimensions for metrics, and extends Lambda layer availability to GovCloud (US) regions.

⭐️ Thanks to @​VatsalGoel3 and @​steven10172 for their contributions, and Guild for becoming a public reference customer!

New Validation utility

Docs

The new Validation utility helps you validate incoming events and responses using JSON Schemas. This is useful when you want request payloads to conform to expected formats. You can also verify that responses meet defined structures, ensuring consistency in both input and output.

Installation

npm i @aws-lambda-powertools/validation

Key Features

  • JSON Schema validation (supports draft-07 by default, configurable to any version supported by Ajv
  • Multiple implementation options:
    • Class method decorator @validator
    • Middy.js middleware validator
    • Standalone validate function
  • Flexible validation targets:
    • Incoming requests
    • Outbound responses
    • Partial payload validation using JMESPath expressions

Examples

Using Middy.js middleware:

carbon-9

Using decorator with envelope extraction:

carbon-10

Error handling with standalone validation:

carbon-6

Learn more

Head over to the documentation to learn more about the utility and see more examples.

... (truncated)

Changelog

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

2.17.0 (2025-03-25)

Bug Fixes

  • ci: Remove --compatible-architectures from workflow (#3752) (dafa496)
  • idempotency: include sk in error msgs when using composite key (#3709) (661f5ff)
  • logger: correctly refresh sample rate (#3722) (2692ca4)
  • parser: ddb base schema + other exports (#3741) (51a3410)

Features

  • commons: make utilities aware of provisioned concurrency (#3724) (c28e45e)
  • logger: set correlation ID in logs (#3726) (aa74fc8)
  • metrics: allow setting functionName via constructor parameter and environment variable (#3696) (3176fa0)
Commits
  • 577c76d chore(ci): bump version to 2.17.0 (#3770)
  • fa414d5 chore(parameters): update AWS SDK client type (#3768)
  • 64f5cf2 chore(deps): bump @​types/aws-lambda from 8.10.147 to 8.10.148 (#3767)
  • 103a7f9 chore(deps): bump github/codeql-action from 3.28.12 to 3.28.13 (#3764)
  • 3cc0451 chore(deps): bump @​types/node from 22.13.11 to 22.13.13 (#3766)
  • 434cc8b chore: add Guild customer reference (#3769)
  • 5e9f051 chore(ci): Simplified GovCloud Deploy (#3763)
  • afab04f chore(ci): fix region typo in govcloud (#3762)
  • 57d6344 chore(ci): fix workflow GovCloud formatting (#3761)
  • b44b1eb chore(deps-dev): bump the typescript group across 1 directory with 2 updates ...
  • Additional commits viewable in compare view

Updates @aws-lambda-powertools/logger from 2.16.0 to 2.17.0

Release notes

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

v2.17.0

Summary

This release introduces the new Validation utility to validate payloads with JSON Schemas. This addition further reduces the feature gap between this version of Powertools for AWS Lambda and the more mature one in Python, and it’s also the first utility that was built primarily by community contributors, hats off to @​VatsalGoel3!

The release also enhances Logger with correlation ID support, improves cold start reporting for Provisioned Concurrency, adds customizable function name dimensions for metrics, and extends Lambda layer availability to GovCloud (US) regions.

⭐️ Thanks to @​VatsalGoel3 and @​steven10172 for their contributions, and Guild for becoming a public reference customer!

New Validation utility

Docs

The new Validation utility helps you validate incoming events and responses using JSON Schemas. This is useful when you want request payloads to conform to expected formats. You can also verify that responses meet defined structures, ensuring consistency in both input and output.

Installation

npm i @aws-lambda-powertools/validation

Key Features

  • JSON Schema validation (supports draft-07 by default, configurable to any version supported by Ajv
  • Multiple implementation options:
    • Class method decorator @validator
    • Middy.js middleware validator
    • Standalone validate function
  • Flexible validation targets:
    • Incoming requests
    • Outbound responses
    • Partial payload validation using JMESPath expressions

Examples

Using Middy.js middleware:

carbon-9

Using decorator with envelope extraction:

carbon-10

Error handling with standalone validation:

carbon-6

Learn more

Head over to the documentation to learn more about the utility and see more examples.

... (truncated)

Changelog

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

2.17.0 (2025-03-25)

Bug Fixes

  • ci: Remove --compatible-architectures from workflow (#3752) (dafa496)
  • idempotency: include sk in error msgs when using composite key (#3709) (661f5ff)
  • logger: correctly refresh sample rate (#3722) (2692ca4)
  • parser: ddb base schema + other exports (#3741) (51a3410)

Features

  • commons: make utilities aware of provisioned concurrency (#3724) (c28e45e)
  • logger: set correlation ID in logs (#3726) (aa74fc8)
  • metrics: allow setting functionName via constructor parameter and environment variable (#3696) (3176fa0)
Commits
  • 577c76d chore(ci): bump version to 2.17.0 (#3770)
  • fa414d5 chore(parameters): update AWS SDK client type (#3768)
  • 64f5cf2 chore(deps): bump @​types/aws-lambda from 8.10.147 to 8.10.148 (#3767)
  • 103a7f9 chore(deps): bump github/codeql-action from 3.28.12 to 3.28.13 (#3764)
  • 3cc0451 chore(deps): bump @​types/node from 22.13.11 to 22.13.13 (#3766)
  • 434cc8b chore: add Guild customer reference (#3769)
  • 5e9f051 chore(ci): Simplified GovCloud Deploy (#3763)
  • afab04f chore(ci): fix region typo in govcloud (#3762)
  • 57d6344 chore(ci): fix workflow GovCloud formatting (#3761)
  • b44b1eb chore(deps-dev): bump the typescript group across 1 directory with 2 updates ...
  • Additional commits viewable in compare view

Updates @aws-lambda-powertools/metrics from 2.16.0 to 2.17.0

Release notes

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

v2.17.0

Summary

This release introduces the new Validation utility to validate payloads with JSON Schemas. This addition further reduces the feature gap between this version of Powertools for AWS Lambda and the more mature one in Python, and it’s also the first utility that was built primarily by community contributors, hats off to @​VatsalGoel3!

The release also enhances Logger with correlation ID support, improves cold start reporting for Provisioned Concurrency, adds customizable function name dimensions for metrics, and extends Lambda layer availability to GovCloud (US) regions.

⭐️ Thanks to @​VatsalGoel3 and @​steven10172 for their contributions, and Guild for becoming a public reference customer!

New Validation utility

Docs

The new Validation utility helps you validate incoming events and responses using JSON Schemas. This is useful when you want request payloads to conform to expected formats. You can also verify that responses meet defined structures, ensuring consistency in both input and output.

Installation

npm i @aws-lambda-powertools/validation

Key Features

  • JSON Schema validation (supports draft-07 by default, configurable to any version supported by Ajv
  • Multiple implementation options:
    • Class method decorator @validator
    • Middy.js middleware validator
    • Standalone validate function
  • Flexible validation targets:
    • Incoming requests
    • Outbound responses
    • Partial payload validation using JMESPath expressions

Examples

Using Middy.js middleware:

carbon-9

Using decorator with envelope extraction:

carbon-10

Error handling with standalone validation:

carbon-6

Learn more

Head over to the documentation to learn more about the utility and see more examples.

... (truncated)

Changelog

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

2.17.0 (2025-03-25)

Bug Fixes

  • ci: Remove --compatible-architectures from workflow (#3752) (dafa496)
  • idempotency: include sk in error msgs when using composite key (#3709) (661f5ff)
  • logger: correctly refresh sample rate (#3722) (2692ca4)
  • parser: ddb base schema + other exports (#3741) (51a3410)

Features

  • commons: make utilities aware of provisioned concurrency (#3724) (c28e45e)
  • logger: set correlation ID in logs (#3726) (aa74fc8)
  • metrics: allow setting functionName via constructor parameter and environment variable (#3696) (3176fa0)
Commits
  • 577c76d chore(ci): bump version to 2.17.0 (#3770)
  • fa414d5 chore(parameters): update AWS SDK client type (#3768)
  • 64f5cf2 chore(deps): bump @​types/aws-lambda from 8.10.147 to 8.10.148 (#3767)
  • 103a7f9 chore(deps): bump github/codeql-action from 3.28.12 to 3.28.13 (#3764)
  • 3cc0451 chore(deps): bump @​types/node from 22.13.11 to 22.13.13 (#3766)
  • 434cc8b chore: add Guild customer reference (#3769)
  • 5e9f051 chore(ci): Simplified GovCloud Deploy (#3763)
  • afab04f chore(ci): fix region typo in govcloud (#3762)
  • 57d6344 chore(ci): fix workflow GovCloud formatting (#3761)
  • b44b1eb chore(deps-dev): bump the typescript group across 1 directory with 2 updates ...
  • Additional commits viewable in compare view

Updates @aws-lambda-powertools/tracer from 2.16.0 to 2.17.0

Release notes

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

v2.17.0

Summary

This release introduces the new Validation utility to validate payloads with JSON Schemas. This addition further reduces the feature gap between this version of Powertools for AWS Lambda and the more mature one in Python, and it’s also the first utility that was built primarily by community contributors, hats off to @​VatsalGoel3!

The release also enhances Logger with correlation ID support, improves cold start reporting for Provisioned Concurrency, adds customizable function name dimensions for metrics, and extends Lambda layer availability to GovCloud (US) regions.

⭐️ Thanks to @​VatsalGoel3 and @​steven10172 for their contributions, and Guild for becoming a public reference customer!

New Validation utility

Docs

The new Validation utility helps you validate incoming events and responses using JSON Schemas. This is useful when you want request payloads to conform to expected formats. You can also verify that responses meet defined structures, ensuring consistency in both input and output.

Installation

npm i @aws-lambda-powertools/validation

Key Features

  • JSON Schema validation (supports draft-07 by default, configurable to any version supported by Ajv
  • Multiple implementation options:
    • Class method decorator @validator
    • Middy.js middleware validator
    • Standalone validate function
  • Flexible validation targets:
    • Incoming requests
    • Outbound responses
    • Partial payload validation using JMESPath expressions

Examples

Using Middy.js middleware:

carbon-9

Using decorator with envelope extraction:

carbon-10

Error handling with standalone validation:

carbon-6

Learn more

Head over to the documentation to learn more about the utility and see more examples.

... (truncated)

Changelog

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

2.17.0 (2025-03-25)

Bug Fixes

  • ci: Remove --compatible-architectures from workflow (#3752) (dafa496)
  • idempotency: include sk in error msgs when using composite key (#3709) (661f5ff)
  • logger: correctly refresh sample rate (#3722) (2692ca4)
  • parser: ddb base schema + other exports (#3741) (51a3410)

Features

  • commons: make utilities aware of provisioned concurrency (#3724) (c28e45e)
  • logger: set correlation ID in logs (#3726) (aa74fc8)
  • metrics: allow setting functionName via constructor parameter and environment variable (#3696) (3176fa0)
Commits
  • 577c76d chore(ci): bump version to 2.17.0 (#3770)
  • fa414d5 chore(parameters): update AWS SDK client type (#3768)
  • 64f5cf2 chore(deps): bump @​types/aws-lambda from 8.10.147 to 8.10.148 (#3767)
  • 103a7f9 chore(deps): bump github/codeql-action from 3.28.12 to 3.28.13 (#3764)
  • 3cc0451 chore(deps): bump @​types/node from 22.13.11 to 22.13.13 (#3766)
  • 434cc8b chore: add Guild customer reference (#3769)
  • 5e9f051 chore(ci): Simplified GovCloud Deploy (#3763)
  • afab04f chore(ci): fix region typo in govcloud (#3762)
  • 57d6344 chore(ci): fix workflow GovCloud formatting (#3761)
  • b44b1eb chore(deps-dev): bump the typescript group across 1 directory with 2 updates ...
  • Additional commits viewable in compare view

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 <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

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.16.0 to 2.17.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.16.0...v2.17.0)

Updates `@aws-lambda-powertools/logger` from 2.16.0 to 2.17.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.16.0...v2.17.0)

Updates `@aws-lambda-powertools/metrics` from 2.16.0 to 2.17.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.16.0...v2.17.0)

Updates `@aws-lambda-powertools/tracer` from 2.16.0 to 2.17.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.16.0...v2.17.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 28, 2025
@dependabot dependabot bot requested a review from a team as a code owner March 28, 2025 10:03
@dependabot dependabot bot added the javascript Pull requests that update Javascript code label Mar 28, 2025
@npalm npalm merged commit f3100e1 into main Mar 28, 2025
5 checks passed
@npalm npalm deleted the dependabot/npm_and_yarn/lambdas/aws-powertools-5526365d38 branch March 28, 2025 11:17
npalm pushed a commit that referenced this pull request Mar 28, 2025
🤖 I have created a release *beep* *boop*
---


##
[6.4.1](v6.4.0...v6.4.1)
(2025-03-28)


### Bug Fixes

* **lambda:** bump the aws group across 1 directory with 7 updates
([#4502](#4502))
([d2ebb3a](d2ebb3a))
* **lambda:** bump the aws group in /lambdas with 6 updates
([#4495](#4495))
([9d86451](9d86451))
* **lambda:** bump the aws-powertools group in /lambdas with 4 updates
([#4507](#4507))
([f3100e1](f3100e1))
* **lambda:** bump the octokit group in /lambdas with 2 updates
([#4506](#4506))
([72da9d7](72da9d7))
* **lambda:** bump the octokit group in /lambdas with 3 updates
([#4498](#4498))
([fc2c309](fc2c309))
* **lambda:** bump vite from 6.2.0 to 6.2.3 in /lambdas
([#4504](#4504))
([5493334](5493334))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: runners-releaser[bot] <194412594+runners-releaser[bot]@users.noreply.github.com>
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.

1 participant