Skip to content
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

BAU: Bump the aws group across 1 directory with 16 updates #550

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps the aws group with 16 updates in the / directory:

Package From To
@aws-sdk/client-dynamodb 3.682.0 3.726.1
@aws-lambda-powertools/commons 1.14.2 2.12.0
@aws-lambda-powertools/logger 2.3.0 2.12.0
@aws-lambda-powertools/metrics 1.14.2 2.12.0
@aws-lambda-powertools/parameters 1.17.0 2.12.0
@aws-lambda-powertools/tracer 1.14.2 2.12.0
@aws-sdk/client-cloudwatch-logs 3.574.0 3.726.1
@aws-sdk/client-ssm 3.363.0 3.726.1
@aws-sdk/client-cloudformation 3.511.0 3.726.1
@aws-sdk/client-eventbridge 3.569.0 3.726.1
@aws-sdk/client-kms 3.458.0 3.726.1
@aws-sdk/client-secrets-manager 3.458.0 3.726.1
@aws-sdk/client-sfn 3.511.0 3.726.1
@aws-sdk/client-sqs 3.569.0 3.726.1
@aws-sdk/lib-dynamodb 3.511.0 3.726.1
@aws-sdk/credential-providers 3.458.0 3.726.1

Updates @aws-sdk/client-dynamodb from 3.682.0 to 3.726.1

Release notes

Sourced from @​aws-sdk/client-dynamodb's releases.

v3.726.1

3.726.1(2025-01-10)

Documentation Changes
  • client-securitylake: Doc only update for ServiceName that fixes several customer-reported issues (f29fee90)
  • client-sts: Fixed typos in the descriptions. (3ea4627b)
  • client-redshift: Additions to the PubliclyAccessible and Encrypted parameters clarifying what the defaults are. (05635df2)
New Features
  • clients: update client endpoints as of 2025-01-10 (9f3d4f99)
Bug Fixes
  • codegen: handle case when sample operation not found (#6788) (a4fb2d43)

For list of updated packages, view updated-packages.md in assets-3.726.1.zip

v3.726.0

3.726.0(2025-01-09)

Chores
  • util-endpoints: update aws partitions.json (5927fcdc)
  • endpoints: update endpoints model (1ba5717c)
  • models: update API models (9284063c)
  • codegen: update template typescript version (#6784) (a5635725)
New Features
  • client-fms: AWS Firewall Manager now lets you combine multiple resource tags using the logical AND operator or the logical OR operator. (e43d607d)
  • client-codebuild: AWS CodeBuild Now Supports BuildBatch in Reserved Capacity and Lambda (4fb5b7ee)
  • client-compute-optimizer: This release expands AWS Compute Optimizer rightsizing recommendation support for Amazon EC2 Auto Scaling groups to include those with scaling policies and multiple instance types. (b33aa6f1)
Tests

For list of updated packages, view updated-packages.md in assets-3.726.0.zip

v3.725.0

3.725.0(2025-01-08)

... (truncated)

Changelog

Sourced from @​aws-sdk/client-dynamodb's changelog.

3.726.1 (2025-01-10)

Note: Version bump only for package @​aws-sdk/client-dynamodb

3.726.0 (2025-01-09)

Note: Version bump only for package @​aws-sdk/client-dynamodb

3.724.0 (2025-01-07)

Features

  • client-dynamodb: This release makes Amazon DynamoDB point-in-time-recovery (PITR) to be configurable. You can set PITR recovery period for each table individually to between 1 and 35 days. (5e4350e)

3.723.0 (2025-01-06)

Note: Version bump only for package @​aws-sdk/client-dynamodb

3.721.0 (2025-01-02)

Note: Version bump only for package @​aws-sdk/client-dynamodb

3.716.0 (2024-12-19)

Note: Version bump only for package @​aws-sdk/client-dynamodb

... (truncated)

Commits

Updates @aws-lambda-powertools/commons from 1.14.2 to 2.12.0

Release notes

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

v2.12.0

Summary

In this release we have made the Logger class more extensible, added POWERTOOLS_METRICS_DISABLED to control metrics output in non production environment, and added AppSyncResolverSchema and KinesisDynamoDBStreamSchema to the parser utility.

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

Logger class is now more extensible

You can now overwrite the Logger methods createAndPopulateLogItem, printLog, processLogItem, which were private before. This allows you to extend the Logger and add new functionality, i.e. implement your own message buffer.

Metrics utility improvements

You can now set POWERTOOLS_METRICS_DISABLED to control the metrics output. This is useful when you don't want to emit metrics in a non-production environment. When POWERTOOLS_DEV is enabled, the metrics are also suppressed, but you can always explicitly enable it with POWERTOOLS_METRICS_DISABLED .

We have also added a warning message when you overwrite a dimension with the same key, which will help you to troubleshoot unintentional changes:

import { Metrics } from '@aws-lambda-powertools/metrics';

const metrics = new Metrics({ singleMetric: true });

metrics.addDimension('test', 'foo');
metrics.addDimension('test', 'bar'); // "bar" replaces "foo"

// warning: Dimension "test" has already been added. The previous value will be overwritten.

New schema for AppSync and DynamoDB events

You can now use AppSyncResolverSchema and AppSyncResolverBatchSchema to parse AppSync Lambda resolver event.

We have also added KinesisDynamoDBStreamSchema to validate the event from the invocation chain of DynamoDB, Kinesis and Lambda, which are slightly different compared to direct DynamoDB Streams invocations, see more details in #3193.

Changes

  • chore(deps): bump github/codeql-action from 3.27.7 to 3.27.9 (#3422) by @​dependabot
  • chore(deps): bump github/codeql-action from 3.27.5 to 3.27.7 (#3411) by @​dependabot
  • chore(deps): bump actions/setup-node from 4.0.4 to 4.1.0 (#3380) by @​dependabot
  • chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.16 to 3.0.17 (#3362) by @​dependabot
  • chore: replace close-issue-message action (#3364) by @​dreamorosi
  • chore(deps): bump github/codeql-action from 3.27.3 to 3.27.5 (#3336) by @​dependabot
  • chore(parser): return correct type for safeParse in envelopes (#3339) by @​jharlow
  • chore(deps): bump actions/dependency-review-action from 4.4.0 to 4.5.0 (#3344) by @​dependabot
  • chore(deps): bump aws-actions/closed-issue-message from 80edfc24bdf1283400eb04d20a8a605ae8bf7d48 to 37548691e7cc75ba58f85c9f873f9eee43590449 (#3345) by @​dependabot

🌟New features and non-breaking changes

... (truncated)

Changelog

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

2.12.0 (2024-12-17)

Bug Fixes

Features

  • logger: change selected method visibility to protected (#3377) (93a19a5)
  • metrics: disable metrics with POWERTOOLS_METRICS_DISABLED (#3351) (7e8578e)
  • metrics: warn when overwriting dimension (#3352) (12f3e44)
  • parser: Add appsync resolver event Zod schemas (#3301) (318f34b)
  • parser: add schema for DynamoDB - Kinesis Stream event (#3328) (a8dfa74)

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)

2.10.0 (2024-10-22)

Features

  • logger: include enumerable properties in formatted errors (#3195) (4b80d9f)

... (truncated)

Upgrade guide

Sourced from @​aws-lambda-powertools/commons's upgrade guide.


title: Upgrade guide description: Guide to update between major Powertools for AWS Lambda (TypeScript) versions

End of support v1

!!! warning "On March 13th, 2024, Powertools for AWS Lambda (TypeScript) v1 entered maintenance mode, and has reached End-of-Life on September 1st, 2024. If you are still using v1, we strongly recommend you to upgrade to the latest version."

Given our commitment to all of our customers using Powertools for AWS Lambda (TypeScript), we will keep npm v1 releases and documentation 1.x versions to prevent any disruption.

Migrate from v1 to v2

V2 is focused on official support for ESM (ECMAScript modules). We've made other minimal breaking changes to make your transition to v2 as smooth as possible.

Quick summary

Area Change Code change required
ESM support Added ESM support via dual CommonJS and ESM bundling, enabling top-level await and tree-shaking. -
Middy.js Updated import path for Middy.js middlewares to leverage subpath exports - i.e. @aws-lambda-powertools/tracer/middleware. Yes
Types imports Updated import path for TypeScript types to leverage subpath exports - i.e. @aws-lambda-powertools/logger/types. Yes
Logger Changed log sampling to dynamically switch log level to DEBUG on a percentage of requests. -
Logger Updated custom log formatter to include standard as well as persistent keys. Yes
Logger Removed ContextExamples from @aws-lambda-powertools/commons package. Yes
Logger and Tracer Removed deprecated createLogger and createTracer helper functions in favor of direct instantiation. Yes

First steps

Before you start, we suggest making a copy of your current working project or create a new git branch.

  1. Upgrade Node.js to v18 or higher, Node.js v20 is recommended.
  2. Ensure that you have the latest Powertools for AWS Lambda (TypeScript) version via Lambda Layer or npm.
  3. Review the following sections to confirm whether they apply to your codebase.

ESM support

With support for ES Modules in v2, you can now use import instead of require syntax.

This is especially useful when you want to run asynchronous code during the initialization phase by using top-level await.

import { getSecret } from '@aws-lambda-powertools/parameters/secrets';
// This code will run during the initialization phase of your Lambda function
const myApiKey = await getSecret('my-api-key', { transform: 'json' });
export const handler = async (_event: unknown, _context: unknown) => {
</tr></table>

... (truncated)

Commits
  • d5ec97b chore(ci): bump version to 2.12.0 (#3432)
  • 3cd2f02 chore(deps-dev): bump markdownlint-cli2 from 0.15.0 to 0.16.0 (#3418)
  • 97db537 chore(deps-dev): bump zod from 3.23.8 to 3.24.1 (#3419)
  • 2e4f7f4 chore(deps): bump @​types/node from 22.10.1 to 22.10.2 (#3420)
  • f260ebd chore(deps): bump vscode/devcontainers/javascript-node from d493ef0 to `896...
  • 0ee179c chore(deps): bump github/codeql-action from 3.27.7 to 3.27.9 (#3422)
  • 63ff622 chore(deps-dev): bump lint-staged from 15.2.10 to 15.2.11 (#3417)
  • 0da9cea fix(parser): make SNS subject field nullish (#3415)
  • 248a13e docs: add videos section in community (#3416)
  • fb11da8 chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3413)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by aws-powertools-bot, a new releaser for @​aws-lambda-powertools/commons since your current version.


Updates @aws-lambda-powertools/logger from 2.3.0 to 2.12.0

Release notes

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

v2.12.0

Summary

In this release we have made the Logger class more extensible, added POWERTOOLS_METRICS_DISABLED to control metrics output in non production environment, and added AppSyncResolverSchema and KinesisDynamoDBStreamSchema to the parser utility.

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

Logger class is now more extensible

You can now overwrite the Logger methods createAndPopulateLogItem, printLog, processLogItem, which were private before. This allows you to extend the Logger and add new functionality, i.e. implement your own message buffer.

Metrics utility improvements

You can now set POWERTOOLS_METRICS_DISABLED to control the metrics output. This is useful when you don't want to emit metrics in a non-production environment. When POWERTOOLS_DEV is enabled, the metrics are also suppressed, but you can always explicitly enable it with POWERTOOLS_METRICS_DISABLED .

We have also added a warning message when you overwrite a dimension with the same key, which will help you to troubleshoot unintentional changes:

import { Metrics } from '@aws-lambda-powertools/metrics';

const metrics = new Metrics({ singleMetric: true });

metrics.addDimension('test', 'foo');
metrics.addDimension('test', 'bar'); // "bar" replaces "foo"

// warning: Dimension "test" has already been added. The previous value will be overwritten.

New schema for AppSync and DynamoDB events

You can now use AppSyncResolverSchema and AppSyncResolverBatchSchema to parse AppSync Lambda resolver event.

We have also added KinesisDynamoDBStreamSchema to validate the event from the invocation chain of DynamoDB, Kinesis and Lambda, which are slightly different compared to direct DynamoDB Streams invocations, see more details in #3193.

Changes

  • chore(deps): bump github/codeql-action from 3.27.7 to 3.27.9 (#3422) by @​dependabot
  • chore(deps): bump github/codeql-action from 3.27.5 to 3.27.7 (#3411) by @​dependabot
  • chore(deps): bump actions/setup-node from 4.0.4 to 4.1.0 (#3380) by @​dependabot
  • chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.16 to 3.0.17 (#3362) by @​dependabot
  • chore: replace close-issue-message action (#3364) by @​dreamorosi
  • chore(deps): bump github/codeql-action from 3.27.3 to 3.27.5 (#3336) by @​dependabot
  • chore(parser): return correct type for safeParse in envelopes (#3339) by @​jharlow
  • chore(deps): bump actions/dependency-review-action from 4.4.0 to 4.5.0 (#3344) by @​dependabot
  • chore(deps): bump aws-actions/closed-issue-message from 80edfc24bdf1283400eb04d20a8a605ae8bf7d48 to 37548691e7cc75ba58f85c9f873f9eee43590449 (#3345) by @​dependabot

🌟New features and non-breaking changes

... (truncated)

Changelog

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

2.12.0 (2024-12-17)

Bug Fixes

Features

  • logger: change selected method visibility to protected (#3377) (93a19a5)
  • metrics: disable metrics with POWERTOOLS_METRICS_DISABLED (#3351) (7e8578e)
  • metrics: warn when overwriting dimension (#3352) (12f3e44)
  • parser: Add appsync resolver event Zod schemas (#3301) (318f34b)
  • parser: add schema for DynamoDB - Kinesis Stream event (#3328) (a8dfa74)

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)

2.10.0 (2024-10-22)

Features

  • logger: include enumerable properties in formatted errors (#3195) (4b80d9f)

... (truncated)

Commits
  • d5ec97b chore(ci): bump version to 2.12.0 (#3432)
  • 3cd2f02 chore(deps-dev): bump markdownlint-cli2 from 0.15.0 to 0.16.0 (#3418)
  • 97db537 chore(deps-dev): bump zod from 3.23.8 to 3.24.1 (#3419)
  • 2e4f7f4 chore(deps): bump @​types/node from 22.10.1 to 22.10.2 (#3420)
  • f260ebd chore(deps): bump vscode/devcontainers/javascript-node from d493ef0 to `896...
  • 0ee179c chore(deps): bump github/codeql-action from 3.27.7 to 3.27.9 (#3422)
  • 63ff622 chore(deps-dev): bump lint-staged from 15.2.10 to 15.2.11 (#3417)
  • 0da9cea fix(parser): make SNS subject field nullish (#3415)
  • 248a13e docs: add videos section in community (#3416)
  • fb11da8 chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3413)
  • Additional commits viewable in compare view

Updates @aws-lambda-powertools/metrics from 1.14.2 to 2.12.0

Release notes

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

v2.12.0

Summary

In this release we have made the Logger class more extensible, added POWERTOOLS_METRICS_DISABLED to control metrics output in non production environment, and added AppSyncResolverSchema and KinesisDynamoDBStreamSchema to the parser utility.

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

Logger class is now more extensible

You can now overwrite the Logger methods createAndPopulateLogItem, printLog, processLogItem, which were private before. This allows you to extend the Logger and add new functionality, i.e. implement your own message buffer.

Metrics utility improvements

You can now set POWERTOOLS_METRICS_DISABLED to control the metrics output. This is useful when you don't want to emit metrics in a non-production environment. When POWERTOOLS_DEV is enabled, the metrics are also suppressed, but you can always explicitly enable it with POWERTOOLS_METRICS_DISABLED .

We have also added a warning message when you overwrite a dimension with the same key, which will help you to troubleshoot unintentional changes:

import { Metrics } from '@aws-lambda-powertools/metrics';

const metrics = new Metrics({ singleMetric: true });

metrics.addDimension('test', 'foo');
metrics.addDimension('test', 'bar'); // "bar" replaces "foo"

// warning: Dimension "test" has already been added. The previous value will be overwritten.

New schema for AppSync and DynamoDB events

You can now use AppSyncResolverSchema and AppSyncResolverBatchSchema to parse AppSync Lambda resolver event.

We have also added KinesisDynamoDBStreamSchema to validate the event from the invocation chain of DynamoDB, Kinesis and Lambda, which are slightly different compared to direct DynamoDB Streams invocations, see more details in #3193.

Changes

  • chore(deps): bump github/codeql-action from 3.27.7 to 3.27.9 (#3422) by @​dependabot
  • chore(deps): bump github/codeql-action from 3.27.5 to 3.27.7 (#3411) by @​dependabot
  • chore(deps): bump actions/setup-node from 4.0.4 to 4.1.0 (#3380) by @​dependabot
  • chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.16 to 3.0.17 (#3362) by @​dependabot
  • chore: replace close-issue-message action (#3364) by @​dreamorosi
  • chore(deps): bump github/codeql-action from 3.27.3 to 3.27.5 (#3336) by @​dependabot
  • chore(parser): return correct type for safeParse in envelopes (#3339) by @​jharlow
  • chore(deps): bump actions/dependency-review-action from 4.4.0 to 4.5.0 (#3344) by @​dependabot
  • chore(deps): bump aws-actions/closed-issue-message from 80edfc24bdf1283400eb04d20a8a605ae8bf7d48 to 37548691e7cc75ba58f85c9f873f9eee43590449 (#3345) by @​dependabot

🌟New features and non-breaking changes

... (truncated)

Changelog

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

2.12.0 (2024-12-17)

Bug Fixes

Features

  • logger: change selected method visibility to protected (#3377) (93a19a5)
  • metrics: disable metrics with POWERTOOLS_METRICS_DISABLED (#3351) (7e8578e)
  • metrics: warn when overwriting dimension (#3352) (12f3e44)
  • parser: Add appsync resolver event Zod schemas (#3301) (318f34b)
  • parser: add schema for DynamoDB - Kinesis Stream event (#3328) (a8dfa74)

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)

2.10.0 (2024-10-22)

Features

  • logger: include enumerable properties in formatted errors (#3195) (4b80d9f)

... (truncated)

Upgrade guide

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


title: Upgrade guide description: Guide to update between major Powertools for AWS Lambda (TypeScript) versions

End of support v1

!!! warning "On March 13th, 2024, Powertools for AWS Lambda (TypeScript) v1 entered maintenance mode, and has reached End-of-Life on September 1st, 2024. If you are still using v1, we strongly recommend you to upgrade to the latest version."

Given our commitment to all of our customers using Powertools for AWS Lambda (TypeScript), we will keep npm v1 releases and documentation 1.x versions to prevent any disruption.

Migrate from v1 to v2

V2 is focused on official support for ESM (ECMAScript modules). We've made other minimal breaking changes to make your transition to v2 as smooth as possible.

Quick summary

Area Change Code change required
ESM support Added ESM support via dual CommonJS and ESM bundling, enabling top-level await and tree-shaking. -
Middy.js Updated import path for Middy.js middlewares to leverage subpath exports - i.e. @aws-lambda-powertools/tracer/middleware. Yes
Types imports Updated import path for TypeScript types to leverage subpath exports - i.e. @aws-lambda-powertools/logger/types. Yes
Logger Changed log sampling to dynamically switch log level to DEBUG on a percentage of requests. -
Logger Updated custom log formatter to include standard as well as persistent keys. Yes
Logger Removed ContextExamples from @aws-lambda-powertools/commons package. Yes
Logger and Tracer Removed deprecated createLogger and createTracer helper functions in favor of direct instantiation. Yes

First steps

Before you start, we suggest making a copy of your current working project or create a new git branch.

  1. Upgrade Node.js to v18 or higher, Node.js v20 is recommended.
  2. Ensure that you have the latest Powertools for AWS Lambda (TypeScript) version via Lambda Layer or npm.
  3. Review the following sections to confirm whether they apply to your codebase.

ESM support

With support for ES Modules in v2, you can now use import instead of require syntax.

This is especially useful when you want to run asynchronous code during the initialization phase by using top-level await.

import { getSecret } from '@aws-lambda-powertools/parameters/secrets';
// This code will run during the initialization phase of your Lambda function
const myApiKey = await getSecret('my-api-key', { transform: 'json' });
export const handler = async (_event: unknown, _context: unknown) => {
</tr></table>

... (truncated)

Commits
  • d5ec97b chore(ci): bump version to 2.12.0 (#3432)
  • 3cd2f02 chore(deps-dev): bump markdownlint-cli2 from 0.15.0 to 0.16.0 (#3418)
  • 97db537 chore(deps-dev): bump zod from 3.23.8 to 3.24.1 (#3419)
  • 2e4f7f4 chore(deps): bump @​types/node from 22.10.1 to 22.10.2 (#3420)
  • f260ebd chore(deps): bump vscode/devcontainers/javascript-node from d493ef0 to `896...
  • 0ee179c chore(deps): bump github/codeql-action from 3.27.7 to 3.27.9 (#3422)
  • 63ff622 chore(deps-dev): bump lint-staged from 15.2.10 to 15.2.11 (#3417)
  • 0da9cea fix(parser): make SNS subject field nullish (#3415)
  • 248a13e docs: add videos section in community (#3416)
  • fb11da8 chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3413)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by aws-powertools-bot, a new releaser for @​aws-lambda-powertools/metrics since your current version.


Updates @aws-lambda-powertools/parameters from 1.17.0 to 2.12.0

Release notes

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

v2.12.0

Summary

In this release we have made the Logger class more extensible, added POWERTOOLS_METRICS_DISABLED to control metrics output in non production environment, and added AppSyncResolverSchema and KinesisDynamoDBStreamSchema to the parser utility.

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

Logger class is now more extensible

You can now overwrite the Logger methods createAndPopulateLogItem, printLog, processLogItem, which were private before. This allows you to extend the Logger and add new functionality, i.e. implement your own message buffer.

Metrics utility improvements

You can now set POWERTOOLS_METRICS_DISABLED to control the metrics output. This is useful when you don't want to emit metrics in a non-production environment. When POWERTOOLS_DEV is enabled, the metrics are also suppressed, but you can always explicitly enable it with POWERTOOLS_METRICS_DISABLED .

We have also added a warning message when you overwrite a dimension with the same key, which will help you to troubleshoot unintentional changes:

import { Metrics } from '@aws-lambda-powertools/metrics';

const metrics = new Metrics({ singleMetric: true });

metrics.addDimension('test', 'foo');
metrics.addDimension('test', 'bar'); // "bar" replaces "foo"

// warning: Dimension "test" has already been added. The previous value will be overwritten.

New schema for AppSync and DynamoDB events

You can now use AppSyncResolverSchema and AppSyncResolverBatchSchema to parse AppSync Lambda resolver event.

We have also added KinesisDynamoDBStreamSchema to validate the event from the invocation chain of DynamoDB, Kinesis and Lambda, which are slightly different compared to direct DynamoDB Streams invocations, see more details in #3193.

Changes

  • chore(deps): bump github/codeql-action from 3.27.7 to 3.27.9 (#3422) by @​dependabot
  • chore(deps): bump github/codeql-action from 3.27.5 to 3.27.7 (#3411) by @​dependabot
  • chore(deps): bump actions/setup-node from 4.0.4 to 4.1.0 (#3380) by @​dependabot
  • chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.16 to 3.0.17 (#3362) by @​dependabot
  • chore: replace close-issue-message action (#3364) by @​dreamorosi
  • chore(deps): bump github/codeql-action from 3.27.3 to 3.27.5 (#3336) by @​dependabot
  • chore(parser): return correct type for safeParse in envelopes (#3339) by @​jharlow
  • chore(deps): bump actions/dependency-review-action from 4.4.0 to 4.5.0 (#3344) by @​dependabot
  • chore(deps): bump aws-actions/closed-issue-message from 80edfc24bdf1283400eb04d20a8a605ae8bf7d48 to 37548691e7cc75ba58f85c9f873f9eee43590449 (#3345) by @​dependabot

🌟New features and non-breaking changes

... (truncated)

Changelog

...

Description has been truncated

Bumps the aws group with 16 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@aws-sdk/client-dynamodb](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-dynamodb) | `3.682.0` | `3.726.1` |
| [@aws-lambda-powertools/commons](https://github.com/aws-powertools/powertools-lambda-typescript) | `1.14.2` | `2.12.0` |
| [@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript) | `2.3.0` | `2.12.0` |
| [@aws-lambda-powertools/metrics](https://github.com/aws-powertools/powertools-lambda-typescript) | `1.14.2` | `2.12.0` |
| [@aws-lambda-powertools/parameters](https://github.com/aws-powertools/powertools-lambda-typescript) | `1.17.0` | `2.12.0` |
| [@aws-lambda-powertools/tracer](https://github.com/aws-powertools/powertools-lambda-typescript) | `1.14.2` | `2.12.0` |
| [@aws-sdk/client-cloudwatch-logs](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-cloudwatch-logs) | `3.574.0` | `3.726.1` |
| [@aws-sdk/client-ssm](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-ssm) | `3.363.0` | `3.726.1` |
| [@aws-sdk/client-cloudformation](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-cloudformation) | `3.511.0` | `3.726.1` |
| [@aws-sdk/client-eventbridge](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-eventbridge) | `3.569.0` | `3.726.1` |
| [@aws-sdk/client-kms](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-kms) | `3.458.0` | `3.726.1` |
| [@aws-sdk/client-secrets-manager](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-secrets-manager) | `3.458.0` | `3.726.1` |
| [@aws-sdk/client-sfn](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sfn) | `3.511.0` | `3.726.1` |
| [@aws-sdk/client-sqs](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sqs) | `3.569.0` | `3.726.1` |
| [@aws-sdk/lib-dynamodb](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-dynamodb) | `3.511.0` | `3.726.1` |
| [@aws-sdk/credential-providers](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/credential-providers) | `3.458.0` | `3.726.1` |



Updates `@aws-sdk/client-dynamodb` from 3.682.0 to 3.726.1
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-dynamodb/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.726.1/clients/client-dynamodb)

Updates `@aws-lambda-powertools/commons` from 1.14.2 to 2.12.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)
- [Upgrade guide](https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/docs/upgrade.md)
- [Commits](aws-powertools/powertools-lambda-typescript@v1.14.2...v2.12.0)

Updates `@aws-lambda-powertools/logger` from 2.3.0 to 2.12.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.3.0...v2.12.0)

Updates `@aws-lambda-powertools/metrics` from 1.14.2 to 2.12.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)
- [Upgrade guide](https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/docs/upgrade.md)
- [Commits](aws-powertools/powertools-lambda-typescript@v1.14.2...v2.12.0)

Updates `@aws-lambda-powertools/parameters` from 1.17.0 to 2.12.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)
- [Upgrade guide](https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/docs/upgrade.md)
- [Commits](aws-powertools/powertools-lambda-typescript@v1.17.0...v2.12.0)

Updates `@aws-lambda-powertools/tracer` from 1.14.2 to 2.12.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)
- [Upgrade guide](https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/docs/upgrade.md)
- [Commits](aws-powertools/powertools-lambda-typescript@v1.14.2...v2.12.0)

Updates `@aws-sdk/client-cloudwatch-logs` from 3.574.0 to 3.726.1
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-cloudwatch-logs/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.726.1/clients/client-cloudwatch-logs)

Updates `@aws-sdk/client-ssm` from 3.363.0 to 3.726.1
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-ssm/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.726.1/clients/client-ssm)

Updates `@aws-sdk/client-cloudformation` from 3.511.0 to 3.726.1
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-cloudformation/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.726.1/clients/client-cloudformation)

Updates `@aws-sdk/client-eventbridge` from 3.569.0 to 3.726.1
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-eventbridge/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.726.1/clients/client-eventbridge)

Updates `@aws-sdk/client-kms` from 3.458.0 to 3.726.1
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-kms/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.726.1/clients/client-kms)

Updates `@aws-sdk/client-secrets-manager` from 3.458.0 to 3.726.1
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-secrets-manager/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.726.1/clients/client-secrets-manager)

Updates `@aws-sdk/client-sfn` from 3.511.0 to 3.726.1
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sfn/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.726.1/clients/client-sfn)

Updates `@aws-sdk/client-sqs` from 3.569.0 to 3.726.1
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sqs/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.726.1/clients/client-sqs)

Updates `@aws-sdk/lib-dynamodb` from 3.511.0 to 3.726.1
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-dynamodb/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.726.1/lib/lib-dynamodb)

Updates `@aws-sdk/credential-providers` from 3.458.0 to 3.726.1
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/credential-providers/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.726.1/packages/credential-providers)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-dynamodb"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-lambda-powertools/commons"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: aws
- dependency-name: "@aws-lambda-powertools/logger"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-lambda-powertools/metrics"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: aws
- dependency-name: "@aws-lambda-powertools/parameters"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: aws
- dependency-name: "@aws-lambda-powertools/tracer"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: aws
- dependency-name: "@aws-sdk/client-cloudwatch-logs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/client-ssm"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/client-cloudformation"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/client-eventbridge"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/client-kms"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/client-secrets-manager"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/client-sfn"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/client-sqs"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/lib-dynamodb"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/credential-providers"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 15, 2025

Superseded by #552.

@dependabot dependabot bot closed this Jan 15, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/main/aws-14ec464163 branch January 15, 2025 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants