Skip to content

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

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 Feb 3, 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.13.0 to 2.13.1

Release notes

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

v2.13.1

Summary

This patch release fixes a number of bugs in all the built-in envelopes in the Parser utility so that they can now handle payloads of different formats including plain text and base64-encoded strings.

⭐️ Thanks to @​svozza for their contributions to this release!

Parser bug fixes

Docs

Starting with this release, Parser’s built-in envelopes treat event payloads as strings, enabling Zod transformations. Previously, they incorrectly treated all payloads as JSON strings, causing runtime errors for plain text or base64-encoded strings.

For example, when working with API Gateway events, use the ApiGatewayEnvelope with the JSONStringified Zod helper to automatically transform the payload before parsing. This is useful when you expect the payload to be a JSON string and want to parse its contents using a schema without code transformation.

carbon-2

This feature applies to all built-in envelopes, and additional helpers will be added based on customer demand.

Event Handler Request for Comments (RFC)

We are excited to share that we have published the RFC for Event Handler, an upcoming utility that helps you write REST APIs for Amazon API Gateway REST and HTTP APIs, Application Load Balancer (ALB), Lambda Function URLs, and VPC Lattice.

We’d like everyone interested in our most requested feature to review the RFC and share their feedback. We’re seeing good engagement, so we’ll keep the RFC open for a couple more weeks before starting implementation.

Changes

🌟 Minor Changes

📜 Documentation updates

🐛 Bug and hot fixes

... (truncated)

Changelog

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

2.13.1 (2025-01-28)

Bug Fixes

  • parser: allow Kinesis envelopes to handle non-JSON strings (#3531) (d18e03d)
  • parser: allow SQS envelopes to handle non-JSON strings (#3513) (89f0006)
  • parser: allow VPC envelopes to handle non-JSON strings (#3534) (603988d)
  • parser: API Gateway Envelopes handle non-JSON (#3511) (a4846af)
  • parser: CloudWatch Log Envelope handles non-JSON (#3505) (781a14e)
  • parser: DynamoDBStream schema & envelope (#3482) (7f7f8ce)
  • parser: EventBridge envelope uses correct path (#3504) (7cce60b)
  • parser: Firehose SQS should fail for invalid SQS message (#3526) (4721dda)
  • parser: Kafka Envelope + tests (#3489) (bd6b24a)
  • parser: LambdaFunctionUrl envelope assumes JSON string in body (#3514) (09aa287)
  • parser: make identitySource nulablel in APIGatewayRequestAuthorizerEventV2Schema (#3485) (8692de6)
  • parser: min array length on Records (#3521) (89a6281)
  • parser: set min length of 1 to s3 event lists (#3524) (937be64)
  • parser: SNS Envelope handles non-JSON (#3506) (4d7f05f)
Commits
  • 128e959 chore(ci): bump version to 2.13.1 (#3537)
  • 603988d fix(parser): allow VPC envelopes to handle non-JSON strings (#3534)
  • d18e03d fix(parser): allow Kinesis envelopes to handle non-JSON strings (#3531)
  • 4721dda fix(parser): Firehose SQS should fail for invalid SQS message (#3526)
  • 89a6281 fix(parser): min array length on Records (#3521)
  • 937be64 fix(parser): set min length of 1 to s3 event lists (#3524)
  • 5bb4a6a chore(parser): deprecate AlbMultiValueHeadersSchema (#3523)
  • 06e9975 chore(deps): bump squidfunk/mkdocs-material from ba73db5 to 41942f7 in /d...
  • d283a0e chore(deps): bump mkdocs-material from 9.5.49 to 9.5.50 in /docs (#3502)
  • 4099eab chore(deps-dev): bump markdownlint-cli2 from 0.17.1 to 0.17.2 (#3498)
  • Additional commits viewable in compare view

Updates @aws-lambda-powertools/logger from 2.13.0 to 2.13.1

Release notes

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

v2.13.1

Summary

This patch release fixes a number of bugs in all the built-in envelopes in the Parser utility so that they can now handle payloads of different formats including plain text and base64-encoded strings.

⭐️ Thanks to @​svozza for their contributions to this release!

Parser bug fixes

Docs

Starting with this release, Parser’s built-in envelopes treat event payloads as strings, enabling Zod transformations. Previously, they incorrectly treated all payloads as JSON strings, causing runtime errors for plain text or base64-encoded strings.

For example, when working with API Gateway events, use the ApiGatewayEnvelope with the JSONStringified Zod helper to automatically transform the payload before parsing. This is useful when you expect the payload to be a JSON string and want to parse its contents using a schema without code transformation.

carbon-2

This feature applies to all built-in envelopes, and additional helpers will be added based on customer demand.

Event Handler Request for Comments (RFC)

We are excited to share that we have published the RFC for Event Handler, an upcoming utility that helps you write REST APIs for Amazon API Gateway REST and HTTP APIs, Application Load Balancer (ALB), Lambda Function URLs, and VPC Lattice.

We’d like everyone interested in our most requested feature to review the RFC and share their feedback. We’re seeing good engagement, so we’ll keep the RFC open for a couple more weeks before starting implementation.

Changes

🌟 Minor Changes

📜 Documentation updates

🐛 Bug and hot fixes

... (truncated)

Changelog

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

2.13.1 (2025-01-28)

Bug Fixes

  • parser: allow Kinesis envelopes to handle non-JSON strings (#3531) (d18e03d)
  • parser: allow SQS envelopes to handle non-JSON strings (#3513) (89f0006)
  • parser: allow VPC envelopes to handle non-JSON strings (#3534) (603988d)
  • parser: API Gateway Envelopes handle non-JSON (#3511) (a4846af)
  • parser: CloudWatch Log Envelope handles non-JSON (#3505) (781a14e)
  • parser: DynamoDBStream schema & envelope (#3482) (7f7f8ce)
  • parser: EventBridge envelope uses correct path (#3504) (7cce60b)
  • parser: Firehose SQS should fail for invalid SQS message (#3526) (4721dda)
  • parser: Kafka Envelope + tests (#3489) (bd6b24a)
  • parser: LambdaFunctionUrl envelope assumes JSON string in body (#3514) (09aa287)
  • parser: make identitySource nulablel in APIGatewayRequestAuthorizerEventV2Schema (#3485) (8692de6)
  • parser: min array length on Records (#3521) (89a6281)
  • parser: set min length of 1 to s3 event lists (#3524) (937be64)
  • parser: SNS Envelope handles non-JSON (#3506) (4d7f05f)
Commits
  • 128e959 chore(ci): bump version to 2.13.1 (#3537)
  • 603988d fix(parser): allow VPC envelopes to handle non-JSON strings (#3534)
  • d18e03d fix(parser): allow Kinesis envelopes to handle non-JSON strings (#3531)
  • 4721dda fix(parser): Firehose SQS should fail for invalid SQS message (#3526)
  • 89a6281 fix(parser): min array length on Records (#3521)
  • 937be64 fix(parser): set min length of 1 to s3 event lists (#3524)
  • 5bb4a6a chore(parser): deprecate AlbMultiValueHeadersSchema (#3523)
  • 06e9975 chore(deps): bump squidfunk/mkdocs-material from ba73db5 to 41942f7 in /d...
  • d283a0e chore(deps): bump mkdocs-material from 9.5.49 to 9.5.50 in /docs (#3502)
  • 4099eab chore(deps-dev): bump markdownlint-cli2 from 0.17.1 to 0.17.2 (#3498)
  • Additional commits viewable in compare view

Updates @aws-lambda-powertools/metrics from 2.13.0 to 2.13.1

Release notes

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

v2.13.1

Summary

This patch release fixes a number of bugs in all the built-in envelopes in the Parser utility so that they can now handle payloads of different formats including plain text and base64-encoded strings.

⭐️ Thanks to @​svozza for their contributions to this release!

Parser bug fixes

Docs

Starting with this release, Parser’s built-in envelopes treat event payloads as strings, enabling Zod transformations. Previously, they incorrectly treated all payloads as JSON strings, causing runtime errors for plain text or base64-encoded strings.

For example, when working with API Gateway events, use the ApiGatewayEnvelope with the JSONStringified Zod helper to automatically transform the payload before parsing. This is useful when you expect the payload to be a JSON string and want to parse its contents using a schema without code transformation.

carbon-2

This feature applies to all built-in envelopes, and additional helpers will be added based on customer demand.

Event Handler Request for Comments (RFC)

We are excited to share that we have published the RFC for Event Handler, an upcoming utility that helps you write REST APIs for Amazon API Gateway REST and HTTP APIs, Application Load Balancer (ALB), Lambda Function URLs, and VPC Lattice.

We’d like everyone interested in our most requested feature to review the RFC and share their feedback. We’re seeing good engagement, so we’ll keep the RFC open for a couple more weeks before starting implementation.

Changes

🌟 Minor Changes

📜 Documentation updates

🐛 Bug and hot fixes

... (truncated)

Changelog

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

2.13.1 (2025-01-28)

Bug Fixes

  • parser: allow Kinesis envelopes to handle non-JSON strings (#3531) (d18e03d)
  • parser: allow SQS envelopes to handle non-JSON strings (#3513) (89f0006)
  • parser: allow VPC envelopes to handle non-JSON strings (#3534) (603988d)
  • parser: API Gateway Envelopes handle non-JSON (#3511) (a4846af)
  • parser: CloudWatch Log Envelope handles non-JSON (#3505) (781a14e)
  • parser: DynamoDBStream schema & envelope (#3482) (7f7f8ce)
  • parser: EventBridge envelope uses correct path (#3504) (7cce60b)
  • parser: Firehose SQS should fail for invalid SQS message (#3526) (4721dda)
  • parser: Kafka Envelope + tests (#3489) (bd6b24a)
  • parser: LambdaFunctionUrl envelope assumes JSON string in body (#3514) (09aa287)
  • parser: make identitySource nulablel in APIGatewayRequestAuthorizerEventV2Schema (#3485) (8692de6)
  • parser: min array length on Records (#3521) (89a6281)
  • parser: set min length of 1 to s3 event lists (#3524) (937be64)
  • parser: SNS Envelope handles non-JSON (#3506) (4d7f05f)
Commits
  • 128e959 chore(ci): bump version to 2.13.1 (#3537)
  • 603988d fix(parser): allow VPC envelopes to handle non-JSON strings (#3534)
  • d18e03d fix(parser): allow Kinesis envelopes to handle non-JSON strings (#3531)
  • 4721dda fix(parser): Firehose SQS should fail for invalid SQS message (#3526)
  • 89a6281 fix(parser): min array length on Records (#3521)
  • 937be64 fix(parser): set min length of 1 to s3 event lists (#3524)
  • 5bb4a6a chore(parser): deprecate AlbMultiValueHeadersSchema (#3523)
  • 06e9975 chore(deps): bump squidfunk/mkdocs-material from ba73db5 to 41942f7 in /d...
  • d283a0e chore(deps): bump mkdocs-material from 9.5.49 to 9.5.50 in /docs (#3502)
  • 4099eab chore(deps-dev): bump markdownlint-cli2 from 0.17.1 to 0.17.2 (#3498)
  • Additional commits viewable in compare view

Updates @aws-lambda-powertools/tracer from 2.13.0 to 2.13.1

Release notes

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

v2.13.1

Summary

This patch release fixes a number of bugs in all the built-in envelopes in the Parser utility so that they can now handle payloads of different formats including plain text and base64-encoded strings.

⭐️ Thanks to @​svozza for their contributions to this release!

Parser bug fixes

Docs

Starting with this release, Parser’s built-in envelopes treat event payloads as strings, enabling Zod transformations. Previously, they incorrectly treated all payloads as JSON strings, causing runtime errors for plain text or base64-encoded strings.

For example, when working with API Gateway events, use the ApiGatewayEnvelope with the JSONStringified Zod helper to automatically transform the payload before parsing. This is useful when you expect the payload to be a JSON string and want to parse its contents using a schema without code transformation.

carbon-2

This feature applies to all built-in envelopes, and additional helpers will be added based on customer demand.

Event Handler Request for Comments (RFC)

We are excited to share that we have published the RFC for Event Handler, an upcoming utility that helps you write REST APIs for Amazon API Gateway REST and HTTP APIs, Application Load Balancer (ALB), Lambda Function URLs, and VPC Lattice.

We’d like everyone interested in our most requested feature to review the RFC and share their feedback. We’re seeing good engagement, so we’ll keep the RFC open for a couple more weeks before starting implementation.

Changes

🌟 Minor Changes

📜 Documentation updates

🐛 Bug and hot fixes

... (truncated)

Changelog

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

2.13.1 (2025-01-28)

Bug Fixes

  • parser: allow Kinesis envelopes to handle non-JSON strings (#3531) (d18e03d)
  • parser: allow SQS envelopes to handle non-JSON strings (#3513) (89f0006)
  • parser: allow VPC envelopes to handle non-JSON strings (#3534) (603988d)
  • parser: API Gateway Envelopes handle non-JSON (#3511) (a4846af)
  • parser: CloudWatch Log Envelope handles non-JSON (#3505) (781a14e)
  • parser: DynamoDBStream schema & envelope (#3482) (7f7f8ce)
  • parser: EventBridge envelope uses correct path (#3504) (7cce60b)
  • parser: Firehose SQS should fail for invalid SQS message (#3526) (4721dda)
  • parser: Kafka Envelope + tests (#3489) (bd6b24a)
  • parser: LambdaFunctionUrl envelope assumes JSON string in body (#3514) (09aa287)
  • parser: make identitySource nulablel in APIGatewayRequestAuthorizerEventV2Schema (#3485) (8692de6)
  • parser: min array length on Records (#3521) (89a6281)
  • parser: set min length of 1 to s3 event lists (#3524) (937be64)
  • parser: SNS Envelope handles non-JSON (#3506) (4d7f05f)
Commits
  • 128e959 chore(ci): bump version to 2.13.1 (#3537)
  • 603988d fix(parser): allow VPC envelopes to handle non-JSON strings (#3534)
  • d18e03d fix(parser): allow Kinesis envelopes to handle non-JSON strings (#3531)
  • 4721dda fix(parser): Firehose SQS should fail for invalid SQS message (#3526)
  • 89a6281 fix(parser): min array length on Records (#3521)
  • 937be64 fix(parser): set min length of 1 to s3 event lists (#3524)
  • 5bb4a6a chore(parser): deprecate AlbMultiValueHeadersSchema (#3523)
  • 06e9975 chore(deps): bump squidfunk/mkdocs-material from ba73db5 to 41942f7 in /d...
  • d283a0e chore(deps): bump mkdocs-material from 9.5.49 to 9.5.50 in /docs (#3502)
  • 4099eab chore(deps-dev): bump markdownlint-cli2 from 0.17.1 to 0.17.2 (#3498)
  • 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.13.0 to 2.13.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.13.0...v2.13.1)

Updates `@aws-lambda-powertools/logger` from 2.13.0 to 2.13.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.13.0...v2.13.1)

Updates `@aws-lambda-powertools/metrics` from 2.13.0 to 2.13.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.13.0...v2.13.1)

Updates `@aws-lambda-powertools/tracer` from 2.13.0 to 2.13.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.13.0...v2.13.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner February 3, 2025 19:48
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 3, 2025
@npalm npalm merged commit 7793bf1 into main Feb 4, 2025
5 checks passed
@npalm npalm deleted the dependabot/npm_and_yarn/lambdas/aws-powertools-6c89460372 branch February 4, 2025 23:15
npalm pushed a commit that referenced this pull request Feb 5, 2025
🤖 I have created a release *beep* *boop*
---


##
[6.2.1](v6.2.0...v6.2.1)
(2025-02-05)


### Bug Fixes

* define user agent
([#4394](#4394))
([95c9b8a](95c9b8a))
* **lambda:** bump @octokit/types from 13.7.0 to 13.8.0 in /lambdas in
the octokit group
([#4400](#4400))
([8a14868](8a14868))
* **lambda:** bump the aws group across 1 directory with 6 updates
([#4406](#4406))
([60c734d](60c734d))
* **lambda:** bump the aws-powertools group in /lambdas with 4 updates
([#4401](#4401))
([7793bf1](7793bf1))

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