Skip to content

chore(deps): bump the powertools group across 1 directory with 2 updates#376

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/powertools-8e3e45a9f8
Open

chore(deps): bump the powertools group across 1 directory with 2 updates#376
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/powertools-8e3e45a9f8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 22, 2025

Copy link
Copy Markdown
Contributor

Bumps the powertools group with 2 updates in the / directory: @aws-lambda-powertools/logger and @aws-lambda-powertools/parameters.

Updates @aws-lambda-powertools/logger from 2.22.0 to 2.33.0

Release notes

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

v2.33.0

Summary

In this release, the HTTP event handler gains a new metrics middleware that lets you emit per-request latency, fault, and error metrics with a single line of configuration. The middleware automatically uses the matched route as a dimension and attaches request metadata like HTTP method, path, status code, and API Gateway request IDs.

We've also improved the parser package by exporting InferOutput from the public types entry point, resolving a TypeScript declaration emit error (TS2883) that affected consumers using safeParse mode — particularly those upgrading to TypeScript 6.

⭐ Congratulations to @​yashar-new10 and @​faberchri for their first PR merged in the project 🎉

Metrics Middleware

You can now use the Metrics utility with the HTTP event handler to automatically emit CloudWatch metrics for every request. The middleware:

  • Adds the matched route as a metric dimension (e.g., GET /users/:id)
  • Emits latency (Milliseconds), fault (Count), and error (Count) metrics
  • Attaches request metadata including httpMethod, path, statusCode, userAgent, and ipAddress
  • Adds API Gateway-specific metadata (apiGwRequestId, apiGwApiId) when available
  • Uses NOT_FOUND as the route dimension when no route matches, preventing dimension explosion
import { Router } from '@aws-lambda-powertools/event-handler/http';
import { metrics as metricsMiddleware } from '@aws-lambda-powertools/event-handler/http/middleware/metrics';
import { Metrics } from '@aws-lambda-powertools/metrics;
import type { Context } from 'aws-lambda';
const metrics = new Metrics({ namespace: 'my-app', serviceName: 'my-service' });
const app = new Router();
app.use(metricsMiddleware(metrics));
app.get('/users/:id', async ({ params }) => {
return { id: params.id, name: 'Jane' };
});
export const handler = async (event: unknown, context: Context) =>
app.resolve(event, context);

Changes

... (truncated)

Changelog

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

2.33.0 (2026-04-14)

Bug Fixes

  • commons don't overwrite existing value with undefined in deepMerge (#5141) (c7c6c0f)
  • commons rename AvailabilityZoneId to AvailabilityZoneID in docs and tests (#5118) (65c054c)
  • event-handler http response body validation typings (#5125) (0805db9)

Improvements

  • parser export InferOutput from public types entry point (#5175) (16c6de6)

Features

  • event-handler add metrics middleware for HTTP routes (#5086) (5af28e8)

2.32.0 (2026-03-19)

Features

  • commons add Lambda Metadata Service support (#5109) (46ffc2a)
  • commons add Lambda Metadata Service support (#5106) (bdfa583)
  • event-handler add type-safe Store API for request and shared state (#5081) (03034db)
  • event-handler add validation support for REST router (#4736) (3617c8c)

Maintenance

  • commons bump @​aws/lambda-invoke-store from 0.2.3 to 0.2.4 (#5089) (fe519ab)
  • logger bump @​aws/lambda-invoke-store from 0.2.3 to 0.2.4 (#5089) (fe519ab)
  • metrics bump @​aws/lambda-invoke-store from 0.2.3 to 0.2.4 (#5089) (fe519ab)
  • batch bump @​aws/lambda-invoke-store from 0.2.3 to 0.2.4 (#5089) (fe519ab)
  • validation bump ajv from 8.17.1 to 8.18.0 (#5021) (a7791e1)

Bug Fixes

  • event-handler add overloads to route() for typed validation context (#5052) (dae12e4)
  • event-handler default error handler returns a web Response correctly (#5024) (f8100e8)
  • kafka handle tombstone events without value (#5017) (79553c9)

2.31.0 (2026-02-10)

Features

  • metrics return metrics instance from metrics functions (#4930) (e7aa2e2)
  • parameters pass underlying SDK error as cause to GetParameterError (#4936) (b3499db)
  • event-handler add tracer middleware for HTTP routes (#4982) (8be6157)

Bug Fixes

... (truncated)

Commits
  • 5765cc4 chore(ci): bump version to 2.33.0 (#5183)
  • ad92246 chore(deps): bump actions/upload-artifact from 7.0.0 to 7.0.1 (#5181)
  • ec7dc7e chore(deps-dev): bump typedoc from 0.28.18 to 0.28.19 in the typescript group...
  • b6ae31b chore(deps): bump actions/github-script from 8.0.0 to 9.0.0 (#5177)
  • a6368ad chore(deps): bump release-drafter/release-drafter from 7.1.1 to 7.2.0 (#5178)
  • 0777d90 chore(deps-dev): bump @​biomejs/biome from 2.4.10 to 2.4.11 (#5179)
  • fe45b4e chore(deps): bump @​types/node from 25.5.2 to 25.6.0 (#5180)
  • 16c6de6 improv(parser): export InferOutput from public types entry point (#5175)
  • 1e2f39f chore(deps): bump aws-actions/configure-aws-credentials from 6.0.0 to 6.1.0 (...
  • e279e1b chore(deps-dev): bump the vitest group across 1 directory with 2 updates (#5176)
  • Additional commits viewable in compare view
Maintainer changes

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


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

Release notes

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

v2.33.0

Summary

In this release, the HTTP event handler gains a new metrics middleware that lets you emit per-request latency, fault, and error metrics with a single line of configuration. The middleware automatically uses the matched route as a dimension and attaches request metadata like HTTP method, path, status code, and API Gateway request IDs.

We've also improved the parser package by exporting InferOutput from the public types entry point, resolving a TypeScript declaration emit error (TS2883) that affected consumers using safeParse mode — particularly those upgrading to TypeScript 6.

⭐ Congratulations to @​yashar-new10 and @​faberchri for their first PR merged in the project 🎉

Metrics Middleware

You can now use the Metrics utility with the HTTP event handler to automatically emit CloudWatch metrics for every request. The middleware:

  • Adds the matched route as a metric dimension (e.g., GET /users/:id)
  • Emits latency (Milliseconds), fault (Count), and error (Count) metrics
  • Attaches request metadata including httpMethod, path, statusCode, userAgent, and ipAddress
  • Adds API Gateway-specific metadata (apiGwRequestId, apiGwApiId) when available
  • Uses NOT_FOUND as the route dimension when no route matches, preventing dimension explosion
import { Router } from '@aws-lambda-powertools/event-handler/http';
import { metrics as metricsMiddleware } from '@aws-lambda-powertools/event-handler/http/middleware/metrics';
import { Metrics } from '@aws-lambda-powertools/metrics;
import type { Context } from 'aws-lambda';
const metrics = new Metrics({ namespace: 'my-app', serviceName: 'my-service' });
const app = new Router();
app.use(metricsMiddleware(metrics));
app.get('/users/:id', async ({ params }) => {
return { id: params.id, name: 'Jane' };
});
export const handler = async (event: unknown, context: Context) =>
app.resolve(event, context);

Changes

... (truncated)

Changelog

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

2.33.0 (2026-04-14)

Bug Fixes

  • commons don't overwrite existing value with undefined in deepMerge (#5141) (c7c6c0f)
  • commons rename AvailabilityZoneId to AvailabilityZoneID in docs and tests (#5118) (65c054c)
  • event-handler http response body validation typings (#5125) (0805db9)

Improvements

  • parser export InferOutput from public types entry point (#5175) (16c6de6)

Features

  • event-handler add metrics middleware for HTTP routes (#5086) (5af28e8)

2.32.0 (2026-03-19)

Features

  • commons add Lambda Metadata Service support (#5109) (46ffc2a)
  • commons add Lambda Metadata Service support (#5106) (bdfa583)
  • event-handler add type-safe Store API for request and shared state (#5081) (03034db)
  • event-handler add validation support for REST router (#4736) (3617c8c)

Maintenance

  • commons bump @​aws/lambda-invoke-store from 0.2.3 to 0.2.4 (#5089) (fe519ab)
  • logger bump @​aws/lambda-invoke-store from 0.2.3 to 0.2.4 (#5089) (fe519ab)
  • metrics bump @​aws/lambda-invoke-store from 0.2.3 to 0.2.4 (#5089) (fe519ab)
  • batch bump @​aws/lambda-invoke-store from 0.2.3 to 0.2.4 (#5089) (fe519ab)
  • validation bump ajv from 8.17.1 to 8.18.0 (#5021) (a7791e1)

Bug Fixes

  • event-handler add overloads to route() for typed validation context (#5052) (dae12e4)
  • event-handler default error handler returns a web Response correctly (#5024) (f8100e8)
  • kafka handle tombstone events without value (#5017) (79553c9)

2.31.0 (2026-02-10)

Features

  • metrics return metrics instance from metrics functions (#4930) (e7aa2e2)
  • parameters pass underlying SDK error as cause to GetParameterError (#4936) (b3499db)
  • event-handler add tracer middleware for HTTP routes (#4982) (8be6157)

Bug Fixes

... (truncated)

Commits
  • 5765cc4 chore(ci): bump version to 2.33.0 (#5183)
  • ad92246 chore(deps): bump actions/upload-artifact from 7.0.0 to 7.0.1 (#5181)
  • ec7dc7e chore(deps-dev): bump typedoc from 0.28.18 to 0.28.19 in the typescript group...
  • b6ae31b chore(deps): bump actions/github-script from 8.0.0 to 9.0.0 (#5177)
  • a6368ad chore(deps): bump release-drafter/release-drafter from 7.1.1 to 7.2.0 (#5178)
  • 0777d90 chore(deps-dev): bump @​biomejs/biome from 2.4.10 to 2.4.11 (#5179)
  • fe45b4e chore(deps): bump @​types/node from 25.5.2 to 25.6.0 (#5180)
  • 16c6de6 improv(parser): export InferOutput from public types entry point (#5175)
  • 1e2f39f chore(deps): bump aws-actions/configure-aws-credentials from 6.0.0 to 6.1.0 (...
  • e279e1b chore(deps-dev): bump the vitest group across 1 directory with 2 updates (#5176)
  • Additional commits viewable in compare view
Maintainer changes

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


Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 22, 2025
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/powertools-8e3e45a9f8 branch 2 times, most recently from 594949b to b45c177 Compare October 9, 2025 14:29
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/powertools-8e3e45a9f8 branch 2 times, most recently from eae9edb to d59db28 Compare November 3, 2025 21:14
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/powertools-8e3e45a9f8 branch from d59db28 to 204511e Compare November 10, 2025 21:50
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/powertools-8e3e45a9f8 branch from 204511e to 0b0fd6a Compare February 23, 2026 22:38
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/powertools-8e3e45a9f8 branch 2 times, most recently from b026511 to 0987ee1 Compare April 6, 2026 21:22
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/powertools-8e3e45a9f8 branch from 0987ee1 to e37f4cd Compare April 13, 2026 21:57
@dependabot dependabot Bot changed the title chore(deps): bump the powertools group with 2 updates chore(deps): bump the powertools group across 1 directory with 2 updates Apr 28, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/powertools-8e3e45a9f8 branch from e37f4cd to 80fd2d2 Compare April 28, 2026 00:24
Bumps the powertools group with 2 updates in the / directory: [@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript) and [@aws-lambda-powertools/parameters](https://github.com/aws-powertools/powertools-lambda-typescript).


Updates `@aws-lambda-powertools/logger` from 2.22.0 to 2.33.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.22.0...v2.33.0)

Updates `@aws-lambda-powertools/parameters` from 2.16.0 to 2.33.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.33.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/powertools-8e3e45a9f8 branch from 80fd2d2 to bd65acd Compare May 5, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants