Skip to content

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

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 Nov 25, 2024

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.10.0 to 2.11.0

Release notes

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

v2.11.0

Summary

In this release we’ve added support for the new Node.js 22 managed runtime in AWS Lambda 🚀.

We have also added two new features to Metrics to let you: 1/ set a custom logger, and 2/ emit metrics with a custom timestamp; and improved Batch Processing by adding async processing of SQS FIFO queues.

⭐️ Thanks to @​arnabrahman and @​psperber for their contributions to this release!

Node.js 22 support

You can now use Powertools for AWS Lambda (TypeScript) with the new Node.js 22 runtime in AWS Lambda.

We’ve partnered with the AWS Lambda team for this launch and have been testing our toolkit for the past few weeks to ensure compatibility with no changes from your side.

To start using Powertools for AWS with the new runtime, you can upgrade to this version via npm or use the latest version of our Lambda layer.

Custom timestamps in metrics

Docs

You can now configure the timestamp of all the metrics you create, using the setTimestamp() method. This allows you to specify a Datetime object or an integer representing an epoch timestamp in milliseconds. This is useful when emitting metrics related to an event in the past or in the future.

carbon-6

Bring your own logger to Metrics

Docs

Additionally, you can now also set a custom logger that the Metrics utility will use to emit warnings and debug logs. This is helpful for when you want to silence certain warnings or see diagnostic messages from the utility. To avoid compatibility issues and potential data loss, we will continue to emit the EMF blobs for your metrics directly to stdout.

carbon-7

FIFO queues async processing

Docs

You can now use an asynchronous function as record handler when processing a batch of items coming from an Amazon SQS FIFO queue. This is helpful when you need to perform side effects that involve http requests or other AWS services.

carbon-8

Changes

... (truncated)

Changelog

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

2.11.0 (2024-11-20)

Bug Fixes

  • metrics: skip empty string dimension values (#3319) (924d49d)
  • parser: add aws region to kinesis event (#3260) (246f132)
  • parser: event type literal for selfManagedKafka (#3325) (5350afe)
  • parser: fix cause errors nested structure (#3250) (1ff97cb)

Features

  • batch: Async Processing of Records for for SQS Fifo (#3160) (e73b575)
  • metrics: ability to set custom timestamp with setTimestamp for metrics (#3310) (0fb94c3)
  • metrics: add ability to pass custom logger (#3057) (a531b90)
Commits
  • 961f527 chore(ci): bump version to 2.11.0 (#3337)
  • 6733584 chore: migrate dev environment to nodejs22 (#3327)
  • dffde6c chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3335)
  • c71a3ae chore(deps): bump mkdocs-material from 9.5.44 to 9.5.45 in /docs (#3334)
  • 8cec7ea chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#3331)
  • 4cd551a chore(deps-dev): bump @​vitest/coverage-v8 from 2.1.4 to 2.1.5 (#3318)
  • 924d49d fix(metrics): skip empty string dimension values (#3319)
  • 5350afe fix(parser): event type literal for selfManagedKafka (#3325)
  • de1ee89 chore(deps): bump aws-xray-sdk-core from 3.10.1 to 3.10.2 (#3313)
  • ed867db chore(deps): bump github/codeql-action from 3.27.0 to 3.27.3 (#3314)
  • Additional commits viewable in compare view

Updates @aws-lambda-powertools/logger from 2.10.0 to 2.11.0

Release notes

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

v2.11.0

Summary

In this release we’ve added support for the new Node.js 22 managed runtime in AWS Lambda 🚀.

We have also added two new features to Metrics to let you: 1/ set a custom logger, and 2/ emit metrics with a custom timestamp; and improved Batch Processing by adding async processing of SQS FIFO queues.

⭐️ Thanks to @​arnabrahman and @​psperber for their contributions to this release!

Node.js 22 support

You can now use Powertools for AWS Lambda (TypeScript) with the new Node.js 22 runtime in AWS Lambda.

We’ve partnered with the AWS Lambda team for this launch and have been testing our toolkit for the past few weeks to ensure compatibility with no changes from your side.

To start using Powertools for AWS with the new runtime, you can upgrade to this version via npm or use the latest version of our Lambda layer.

Custom timestamps in metrics

Docs

You can now configure the timestamp of all the metrics you create, using the setTimestamp() method. This allows you to specify a Datetime object or an integer representing an epoch timestamp in milliseconds. This is useful when emitting metrics related to an event in the past or in the future.

carbon-6

Bring your own logger to Metrics

Docs

Additionally, you can now also set a custom logger that the Metrics utility will use to emit warnings and debug logs. This is helpful for when you want to silence certain warnings or see diagnostic messages from the utility. To avoid compatibility issues and potential data loss, we will continue to emit the EMF blobs for your metrics directly to stdout.

carbon-7

FIFO queues async processing

Docs

You can now use an asynchronous function as record handler when processing a batch of items coming from an Amazon SQS FIFO queue. This is helpful when you need to perform side effects that involve http requests or other AWS services.

carbon-8

Changes

... (truncated)

Changelog

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

2.11.0 (2024-11-20)

Bug Fixes

  • metrics: skip empty string dimension values (#3319) (924d49d)
  • parser: add aws region to kinesis event (#3260) (246f132)
  • parser: event type literal for selfManagedKafka (#3325) (5350afe)
  • parser: fix cause errors nested structure (#3250) (1ff97cb)

Features

  • batch: Async Processing of Records for for SQS Fifo (#3160) (e73b575)
  • metrics: ability to set custom timestamp with setTimestamp for metrics (#3310) (0fb94c3)
  • metrics: add ability to pass custom logger (#3057) (a531b90)
Commits
  • 961f527 chore(ci): bump version to 2.11.0 (#3337)
  • 6733584 chore: migrate dev environment to nodejs22 (#3327)
  • dffde6c chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3335)
  • c71a3ae chore(deps): bump mkdocs-material from 9.5.44 to 9.5.45 in /docs (#3334)
  • 8cec7ea chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#3331)
  • 4cd551a chore(deps-dev): bump @​vitest/coverage-v8 from 2.1.4 to 2.1.5 (#3318)
  • 924d49d fix(metrics): skip empty string dimension values (#3319)
  • 5350afe fix(parser): event type literal for selfManagedKafka (#3325)
  • de1ee89 chore(deps): bump aws-xray-sdk-core from 3.10.1 to 3.10.2 (#3313)
  • ed867db chore(deps): bump github/codeql-action from 3.27.0 to 3.27.3 (#3314)
  • Additional commits viewable in compare view

Updates @aws-lambda-powertools/metrics from 2.10.0 to 2.11.0

Release notes

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

v2.11.0

Summary

In this release we’ve added support for the new Node.js 22 managed runtime in AWS Lambda 🚀.

We have also added two new features to Metrics to let you: 1/ set a custom logger, and 2/ emit metrics with a custom timestamp; and improved Batch Processing by adding async processing of SQS FIFO queues.

⭐️ Thanks to @​arnabrahman and @​psperber for their contributions to this release!

Node.js 22 support

You can now use Powertools for AWS Lambda (TypeScript) with the new Node.js 22 runtime in AWS Lambda.

We’ve partnered with the AWS Lambda team for this launch and have been testing our toolkit for the past few weeks to ensure compatibility with no changes from your side.

To start using Powertools for AWS with the new runtime, you can upgrade to this version via npm or use the latest version of our Lambda layer.

Custom timestamps in metrics

Docs

You can now configure the timestamp of all the metrics you create, using the setTimestamp() method. This allows you to specify a Datetime object or an integer representing an epoch timestamp in milliseconds. This is useful when emitting metrics related to an event in the past or in the future.

carbon-6

Bring your own logger to Metrics

Docs

Additionally, you can now also set a custom logger that the Metrics utility will use to emit warnings and debug logs. This is helpful for when you want to silence certain warnings or see diagnostic messages from the utility. To avoid compatibility issues and potential data loss, we will continue to emit the EMF blobs for your metrics directly to stdout.

carbon-7

FIFO queues async processing

Docs

You can now use an asynchronous function as record handler when processing a batch of items coming from an Amazon SQS FIFO queue. This is helpful when you need to perform side effects that involve http requests or other AWS services.

carbon-8

Changes

... (truncated)

Changelog

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

2.11.0 (2024-11-20)

Bug Fixes

  • metrics: skip empty string dimension values (#3319) (924d49d)
  • parser: add aws region to kinesis event (#3260) (246f132)
  • parser: event type literal for selfManagedKafka (#3325) (5350afe)
  • parser: fix cause errors nested structure (#3250) (1ff97cb)

Features

  • batch: Async Processing of Records for for SQS Fifo (#3160) (e73b575)
  • metrics: ability to set custom timestamp with setTimestamp for metrics (#3310) (0fb94c3)
  • metrics: add ability to pass custom logger (#3057) (a531b90)
Commits
  • 961f527 chore(ci): bump version to 2.11.0 (#3337)
  • 6733584 chore: migrate dev environment to nodejs22 (#3327)
  • dffde6c chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3335)
  • c71a3ae chore(deps): bump mkdocs-material from 9.5.44 to 9.5.45 in /docs (#3334)
  • 8cec7ea chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#3331)
  • 4cd551a chore(deps-dev): bump @​vitest/coverage-v8 from 2.1.4 to 2.1.5 (#3318)
  • 924d49d fix(metrics): skip empty string dimension values (#3319)
  • 5350afe fix(parser): event type literal for selfManagedKafka (#3325)
  • de1ee89 chore(deps): bump aws-xray-sdk-core from 3.10.1 to 3.10.2 (#3313)
  • ed867db chore(deps): bump github/codeql-action from 3.27.0 to 3.27.3 (#3314)
  • Additional commits viewable in compare view

Updates @aws-lambda-powertools/tracer from 2.10.0 to 2.11.0

Release notes

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

v2.11.0

Summary

In this release we’ve added support for the new Node.js 22 managed runtime in AWS Lambda 🚀.

We have also added two new features to Metrics to let you: 1/ set a custom logger, and 2/ emit metrics with a custom timestamp; and improved Batch Processing by adding async processing of SQS FIFO queues.

⭐️ Thanks to @​arnabrahman and @​psperber for their contributions to this release!

Node.js 22 support

You can now use Powertools for AWS Lambda (TypeScript) with the new Node.js 22 runtime in AWS Lambda.

We’ve partnered with the AWS Lambda team for this launch and have been testing our toolkit for the past few weeks to ensure compatibility with no changes from your side.

To start using Powertools for AWS with the new runtime, you can upgrade to this version via npm or use the latest version of our Lambda layer.

Custom timestamps in metrics

Docs

You can now configure the timestamp of all the metrics you create, using the setTimestamp() method. This allows you to specify a Datetime object or an integer representing an epoch timestamp in milliseconds. This is useful when emitting metrics related to an event in the past or in the future.

carbon-6

Bring your own logger to Metrics

Docs

Additionally, you can now also set a custom logger that the Metrics utility will use to emit warnings and debug logs. This is helpful for when you want to silence certain warnings or see diagnostic messages from the utility. To avoid compatibility issues and potential data loss, we will continue to emit the EMF blobs for your metrics directly to stdout.

carbon-7

FIFO queues async processing

Docs

You can now use an asynchronous function as record handler when processing a batch of items coming from an Amazon SQS FIFO queue. This is helpful when you need to perform side effects that involve http requests or other AWS services.

carbon-8

Changes

... (truncated)

Changelog

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

2.11.0 (2024-11-20)

Bug Fixes

  • metrics: skip empty string dimension values (#3319) (924d49d)
  • parser: add aws region to kinesis event (#3260) (246f132)
  • parser: event type literal for selfManagedKafka (#3325) (5350afe)
  • parser: fix cause errors nested structure (#3250) (1ff97cb)

Features

  • batch: Async Processing of Records for for SQS Fifo (#3160) (e73b575)
  • metrics: ability to set custom timestamp with setTimestamp for metrics (#3310) (0fb94c3)
  • metrics: add ability to pass custom logger (#3057) (a531b90)
Commits
  • 961f527 chore(ci): bump version to 2.11.0 (#3337)
  • 6733584 chore: migrate dev environment to nodejs22 (#3327)
  • dffde6c chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3335)
  • c71a3ae chore(deps): bump mkdocs-material from 9.5.44 to 9.5.45 in /docs (#3334)
  • 8cec7ea chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#3331)
  • 4cd551a chore(deps-dev): bump @​vitest/coverage-v8 from 2.1.4 to 2.1.5 (#3318)
  • 924d49d fix(metrics): skip empty string dimension values (#3319)
  • 5350afe fix(parser): event type literal for selfManagedKafka (#3325)
  • de1ee89 chore(deps): bump aws-xray-sdk-core from 3.10.1 to 3.10.2 (#3313)
  • ed867db chore(deps): bump github/codeql-action from 3.27.0 to 3.27.3 (#3314)
  • 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.10.0 to 2.11.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.10.0...v2.11.0)

Updates `@aws-lambda-powertools/logger` from 2.10.0 to 2.11.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.10.0...v2.11.0)

Updates `@aws-lambda-powertools/metrics` from 2.10.0 to 2.11.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.10.0...v2.11.0)

Updates `@aws-lambda-powertools/tracer` from 2.10.0 to 2.11.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.10.0...v2.11.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 dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 25, 2024
@stuartp44 stuartp44 merged commit e1f330b into main Nov 27, 2024
5 checks passed
@stuartp44 stuartp44 deleted the dependabot/npm_and_yarn/lambdas/aws-powertools-658253f51b branch November 27, 2024 09:15
npalm pushed a commit that referenced this pull request Dec 9, 2024
🤖 I have created a release *beep* *boop*
---


##
[5.20.1](philips-labs/terraform-aws-github-runner@v5.20.0...v5.20.1)
(2024-12-09)


### Bug Fixes

* **lambda:** bump @octokit/types from 13.6.1 to 13.6.2 in /lambdas in
the octokit group
([#4291](https://github.com/philips-labs/terraform-aws-github-runner/issues/4291))
([d8d7519](philips-labs/terraform-aws-github-runner@d8d7519))
* **lambda:** bump the aws group across 1 directory with 7 updates
([#4288](https://github.com/philips-labs/terraform-aws-github-runner/issues/4288))
([039f5db](philips-labs/terraform-aws-github-runner@039f5db))
* **lambda:** bump the aws group in /lambdas with 4 updates
([#4290](https://github.com/philips-labs/terraform-aws-github-runner/issues/4290))
([eb9c123](philips-labs/terraform-aws-github-runner@eb9c123))
* **lambda:** bump the aws-powertools group in /lambdas with 4 updates
([#4281](https://github.com/philips-labs/terraform-aws-github-runner/issues/4281))
([e1f330b](philips-labs/terraform-aws-github-runner@e1f330b))
* **lambda:** bump typescript from 5.6.3 to 5.7.2 in /lambdas
([#4293](https://github.com/philips-labs/terraform-aws-github-runner/issues/4293))
([f6e4b92](philips-labs/terraform-aws-github-runner@f6e4b92))

---
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: forest-releaser[bot] <80285352+forest-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