Skip to content

Commit e3325fc

Browse files
fix(lambda): bump the aws-powertools group in /lambdas with 4 updates (#5044)
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.30.2 to 2.31.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/aws-powertools/powertools-lambda-typescript/releases"><code>@​aws-lambda-powertools/parameters</code>'s releases</a>.</em></p> <blockquote> <h2>v2.31.0</h2> <h2>Summary</h2> <p>In this release we are pleased to announce Tracer middleware for the HTTP event handler, which allows users to enable distributed tracing for their HTTP routes with minimal boilerplate code.</p> <p>In addition, the metric utility now supports a fluent interface, allowing you to chain multiple methods in a single statement.</p> <p>We have also fixed a bug in the HTTP event handler that caused parameterized headers to be handled incorrectly.</p> <p>⭐ Special thanks to <a href="https://github.com/nateiler"><code>@​nateiler</code></a> and <a href="https://github.com/dothomson"><code>@​dothomson</code></a> for their first PR merged in the project, and to <a href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a>! for another great contribution 🎉</p> <h2>Tracer Middleware</h2> <p>You can now use the Tracer utility with the HTTP event handler to gain observability over your routes. The middleware:</p> <ul> <li>Creates a subsegment for each HTTP route with the format <code>METHOD /path</code> (e.g., <code>GET /users</code>)</li> <li>Adds <code>ColdStart</code> and <code>Service</code> annotations</li> <li>Optionally captures JSON response bodies as metadata</li> <li>Captures errors as metadata when exceptions occur</li> </ul> <pre lang="ts"><code>import { Router } from '@aws-lambda-powertools/event-handler/http'; import { tracer as tracerMiddleware } from '@aws-lambda-powertools/event-handler/http/middleware/tracer'; import { Tracer } from '@aws-lambda-powertools/tracer'; import type { Context } from 'aws-lambda'; <p>const tracer = new Tracer({ serviceName: 'my-api' }); const app = new Router();</p> <p>app.get( '/users/cards', [tracerMiddleware(tracer, { captureResponse: false })], ({ params }) =&gt; { return { id: params.id, secret: 'sensitive-data' }; } );</p> <p>export const handler = async (event: unknown, context: Context) =&gt; app.resolve(event, context); </code></pre></p> <h2>Metrics Fluent Interface</h2> <p>All mutation methods (with the exception of <code>clear*</code>) now return the metric instance that was mutated, allowing you to chain multiple metrics operations in a single statement.</p> <pre lang="ts"><code>import { Metrics} from '@aws-lambda-powertools/metrics'; <p>const metrics = new Metrics();</p> <p>&lt;/tr&gt;&lt;/table&gt; </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/CHANGELOG.md"><code>@​aws-lambda-powertools/parameters</code>'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.30.2...v2.31.0">2.31.0</a> (2026-02-10)</h2> <h3>Features</h3> <ul> <li><strong>metrics</strong> return metrics instance from metrics functions (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4930">#4930</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e7aa2e2b5efbdca197602ef5611ac14e58519d6b">e7aa2e2</a>)</li> <li><strong>parameters</strong> pass underlying SDK error as cause to <code>GetParameterError</code> (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4936">#4936</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b3499dbfe29adc8f7fa07e5b8f3b4718e4525fa7">b3499db</a>)</li> <li><strong>event-handler</strong> add tracer middleware for HTTP routes (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4982">#4982</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8be61577451c32fdea2db8bcb93f8acba9e44423">8be6157</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>event-handler</strong> handle set-cookie header values with multiple attributes (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4990">#4990</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/42317fe15b90536fab40c15a70f967faf116011a">42317fe</a>)</li> <li><strong>kafka</strong> handle tombstone events (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4991">#4991</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/04c32360c972aff984c69cce3eae6e95007e79b7">04c3236</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/54d1fa3b290684ec987854b8266eac5094f4c178"><code>54d1fa3</code></a> chore(ci): bump version to 2.31.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/5007">#5007</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/42317fe15b90536fab40c15a70f967faf116011a"><code>42317fe</code></a> fix(event-handler): handle set-cookie header values with multiple attributes ...</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8e4da8a4ce4b7c57de14be04baf84444ee89f8c7"><code>8e4da8a</code></a> chore(deps): bump <code>@​types/node</code> from 25.2.0 to 25.2.2 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/5004">#5004</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/ddf54e09ec0c61a803b4d9f8edecd62ccc374555"><code>ddf54e0</code></a> chore(deps): bump github/codeql-action from 4.32.1 to 4.32.2 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4998">#4998</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/769207180080d45a72f8aca332c200239d3be06e"><code>7692071</code></a> chore(deps): bump <code>@​types/node</code> from 25.2.0 to 25.2.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4999">#4999</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d8dfadc63a59e0445b23a98eae9f9cd26fdb2e14"><code>d8dfadc</code></a> chore: manually upgrade dependency tree (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/5002">#5002</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/60b6ce1b2c93346cccd0b7a1c43020934037b5c7"><code>60b6ce1</code></a> ci: switch npm auth to OIDC (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4997">#4997</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/04c32360c972aff984c69cce3eae6e95007e79b7"><code>04c3236</code></a> fix(kafka): handle tombstone events (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4991">#4991</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8e1359e1954f65215fe5c1884e4f0479eda95508"><code>8e1359e</code></a> chore(deps): bump the aws-cdk group across 1 directory with 3 updates (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4985">#4985</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/4c6657aee26e501dde0211da0810e52b441c5913"><code>4c6657a</code></a> test: extract DF idempotency e2e tests (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4994">#4994</a>)</li> <li>Additional commits viewable in <a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.30.2...v2.31.0">compare view</a></li> </ul> </details> <br /> Updates `@aws-lambda-powertools/logger` from 2.30.2 to 2.31.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/aws-powertools/powertools-lambda-typescript/releases"><code>@​aws-lambda-powertools/logger</code>'s releases</a>.</em></p> <blockquote> <h2>v2.31.0</h2> <h2>Summary</h2> <p>In this release we are pleased to announce Tracer middleware for the HTTP event handler, which allows users to enable distributed tracing for their HTTP routes with minimal boilerplate code.</p> <p>In addition, the metric utility now supports a fluent interface, allowing you to chain multiple methods in a single statement.</p> <p>We have also fixed a bug in the HTTP event handler that caused parameterized headers to be handled incorrectly.</p> <p>⭐ Special thanks to <a href="https://github.com/nateiler"><code>@​nateiler</code></a> and <a href="https://github.com/dothomson"><code>@​dothomson</code></a> for their first PR merged in the project, and to <a href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a>! for another great contribution 🎉</p> <h2>Tracer Middleware</h2> <p>You can now use the Tracer utility with the HTTP event handler to gain observability over your routes. The middleware:</p> <ul> <li>Creates a subsegment for each HTTP route with the format <code>METHOD /path</code> (e.g., <code>GET /users</code>)</li> <li>Adds <code>ColdStart</code> and <code>Service</code> annotations</li> <li>Optionally captures JSON response bodies as metadata</li> <li>Captures errors as metadata when exceptions occur</li> </ul> <pre lang="ts"><code>import { Router } from '@aws-lambda-powertools/event-handler/http'; import { tracer as tracerMiddleware } from '@aws-lambda-powertools/event-handler/http/middleware/tracer'; import { Tracer } from '@aws-lambda-powertools/tracer'; import type { Context } from 'aws-lambda'; <p>const tracer = new Tracer({ serviceName: 'my-api' }); const app = new Router();</p> <p>app.get( '/users/cards', [tracerMiddleware(tracer, { captureResponse: false })], ({ params }) =&gt; { return { id: params.id, secret: 'sensitive-data' }; } );</p> <p>export const handler = async (event: unknown, context: Context) =&gt; app.resolve(event, context); </code></pre></p> <h2>Metrics Fluent Interface</h2> <p>All mutation methods (with the exception of <code>clear*</code>) now return the metric instance that was mutated, allowing you to chain multiple metrics operations in a single statement.</p> <pre lang="ts"><code>import { Metrics} from '@aws-lambda-powertools/metrics'; <p>const metrics = new Metrics();</p> <p>&lt;/tr&gt;&lt;/table&gt; </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/CHANGELOG.md"><code>@​aws-lambda-powertools/logger</code>'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.30.2...v2.31.0">2.31.0</a> (2026-02-10)</h2> <h3>Features</h3> <ul> <li><strong>metrics</strong> return metrics instance from metrics functions (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4930">#4930</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e7aa2e2b5efbdca197602ef5611ac14e58519d6b">e7aa2e2</a>)</li> <li><strong>parameters</strong> pass underlying SDK error as cause to <code>GetParameterError</code> (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4936">#4936</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b3499dbfe29adc8f7fa07e5b8f3b4718e4525fa7">b3499db</a>)</li> <li><strong>event-handler</strong> add tracer middleware for HTTP routes (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4982">#4982</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8be61577451c32fdea2db8bcb93f8acba9e44423">8be6157</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>event-handler</strong> handle set-cookie header values with multiple attributes (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4990">#4990</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/42317fe15b90536fab40c15a70f967faf116011a">42317fe</a>)</li> <li><strong>kafka</strong> handle tombstone events (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4991">#4991</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/04c32360c972aff984c69cce3eae6e95007e79b7">04c3236</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/54d1fa3b290684ec987854b8266eac5094f4c178"><code>54d1fa3</code></a> chore(ci): bump version to 2.31.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/5007">#5007</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/42317fe15b90536fab40c15a70f967faf116011a"><code>42317fe</code></a> fix(event-handler): handle set-cookie header values with multiple attributes ...</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8e4da8a4ce4b7c57de14be04baf84444ee89f8c7"><code>8e4da8a</code></a> chore(deps): bump <code>@​types/node</code> from 25.2.0 to 25.2.2 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/5004">#5004</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/ddf54e09ec0c61a803b4d9f8edecd62ccc374555"><code>ddf54e0</code></a> chore(deps): bump github/codeql-action from 4.32.1 to 4.32.2 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4998">#4998</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/769207180080d45a72f8aca332c200239d3be06e"><code>7692071</code></a> chore(deps): bump <code>@​types/node</code> from 25.2.0 to 25.2.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4999">#4999</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d8dfadc63a59e0445b23a98eae9f9cd26fdb2e14"><code>d8dfadc</code></a> chore: manually upgrade dependency tree (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/5002">#5002</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/60b6ce1b2c93346cccd0b7a1c43020934037b5c7"><code>60b6ce1</code></a> ci: switch npm auth to OIDC (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4997">#4997</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/04c32360c972aff984c69cce3eae6e95007e79b7"><code>04c3236</code></a> fix(kafka): handle tombstone events (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4991">#4991</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8e1359e1954f65215fe5c1884e4f0479eda95508"><code>8e1359e</code></a> chore(deps): bump the aws-cdk group across 1 directory with 3 updates (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4985">#4985</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/4c6657aee26e501dde0211da0810e52b441c5913"><code>4c6657a</code></a> test: extract DF idempotency e2e tests (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4994">#4994</a>)</li> <li>Additional commits viewable in <a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.30.2...v2.31.0">compare view</a></li> </ul> </details> <br /> Updates `@aws-lambda-powertools/metrics` from 2.30.2 to 2.31.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/aws-powertools/powertools-lambda-typescript/releases"><code>@​aws-lambda-powertools/metrics</code>'s releases</a>.</em></p> <blockquote> <h2>v2.31.0</h2> <h2>Summary</h2> <p>In this release we are pleased to announce Tracer middleware for the HTTP event handler, which allows users to enable distributed tracing for their HTTP routes with minimal boilerplate code.</p> <p>In addition, the metric utility now supports a fluent interface, allowing you to chain multiple methods in a single statement.</p> <p>We have also fixed a bug in the HTTP event handler that caused parameterized headers to be handled incorrectly.</p> <p>⭐ Special thanks to <a href="https://github.com/nateiler"><code>@​nateiler</code></a> and <a href="https://github.com/dothomson"><code>@​dothomson</code></a> for their first PR merged in the project, and to <a href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a>! for another great contribution 🎉</p> <h2>Tracer Middleware</h2> <p>You can now use the Tracer utility with the HTTP event handler to gain observability over your routes. The middleware:</p> <ul> <li>Creates a subsegment for each HTTP route with the format <code>METHOD /path</code> (e.g., <code>GET /users</code>)</li> <li>Adds <code>ColdStart</code> and <code>Service</code> annotations</li> <li>Optionally captures JSON response bodies as metadata</li> <li>Captures errors as metadata when exceptions occur</li> </ul> <pre lang="ts"><code>import { Router } from '@aws-lambda-powertools/event-handler/http'; import { tracer as tracerMiddleware } from '@aws-lambda-powertools/event-handler/http/middleware/tracer'; import { Tracer } from '@aws-lambda-powertools/tracer'; import type { Context } from 'aws-lambda'; <p>const tracer = new Tracer({ serviceName: 'my-api' }); const app = new Router();</p> <p>app.get( '/users/cards', [tracerMiddleware(tracer, { captureResponse: false })], ({ params }) =&gt; { return { id: params.id, secret: 'sensitive-data' }; } );</p> <p>export const handler = async (event: unknown, context: Context) =&gt; app.resolve(event, context); </code></pre></p> <h2>Metrics Fluent Interface</h2> <p>All mutation methods (with the exception of <code>clear*</code>) now return the metric instance that was mutated, allowing you to chain multiple metrics operations in a single statement.</p> <pre lang="ts"><code>import { Metrics} from '@aws-lambda-powertools/metrics'; <p>const metrics = new Metrics();</p> <p>&lt;/tr&gt;&lt;/table&gt; </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/CHANGELOG.md"><code>@​aws-lambda-powertools/metrics</code>'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.30.2...v2.31.0">2.31.0</a> (2026-02-10)</h2> <h3>Features</h3> <ul> <li><strong>metrics</strong> return metrics instance from metrics functions (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4930">#4930</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e7aa2e2b5efbdca197602ef5611ac14e58519d6b">e7aa2e2</a>)</li> <li><strong>parameters</strong> pass underlying SDK error as cause to <code>GetParameterError</code> (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4936">#4936</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b3499dbfe29adc8f7fa07e5b8f3b4718e4525fa7">b3499db</a>)</li> <li><strong>event-handler</strong> add tracer middleware for HTTP routes (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4982">#4982</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8be61577451c32fdea2db8bcb93f8acba9e44423">8be6157</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>event-handler</strong> handle set-cookie header values with multiple attributes (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4990">#4990</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/42317fe15b90536fab40c15a70f967faf116011a">42317fe</a>)</li> <li><strong>kafka</strong> handle tombstone events (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4991">#4991</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/04c32360c972aff984c69cce3eae6e95007e79b7">04c3236</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/54d1fa3b290684ec987854b8266eac5094f4c178"><code>54d1fa3</code></a> chore(ci): bump version to 2.31.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/5007">#5007</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/42317fe15b90536fab40c15a70f967faf116011a"><code>42317fe</code></a> fix(event-handler): handle set-cookie header values with multiple attributes ...</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8e4da8a4ce4b7c57de14be04baf84444ee89f8c7"><code>8e4da8a</code></a> chore(deps): bump <code>@​types/node</code> from 25.2.0 to 25.2.2 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/5004">#5004</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/ddf54e09ec0c61a803b4d9f8edecd62ccc374555"><code>ddf54e0</code></a> chore(deps): bump github/codeql-action from 4.32.1 to 4.32.2 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4998">#4998</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/769207180080d45a72f8aca332c200239d3be06e"><code>7692071</code></a> chore(deps): bump <code>@​types/node</code> from 25.2.0 to 25.2.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4999">#4999</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d8dfadc63a59e0445b23a98eae9f9cd26fdb2e14"><code>d8dfadc</code></a> chore: manually upgrade dependency tree (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/5002">#5002</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/60b6ce1b2c93346cccd0b7a1c43020934037b5c7"><code>60b6ce1</code></a> ci: switch npm auth to OIDC (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4997">#4997</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/04c32360c972aff984c69cce3eae6e95007e79b7"><code>04c3236</code></a> fix(kafka): handle tombstone events (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4991">#4991</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8e1359e1954f65215fe5c1884e4f0479eda95508"><code>8e1359e</code></a> chore(deps): bump the aws-cdk group across 1 directory with 3 updates (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4985">#4985</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/4c6657aee26e501dde0211da0810e52b441c5913"><code>4c6657a</code></a> test: extract DF idempotency e2e tests (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4994">#4994</a>)</li> <li>Additional commits viewable in <a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.30.2...v2.31.0">compare view</a></li> </ul> </details> <br /> Updates `@aws-lambda-powertools/tracer` from 2.30.2 to 2.31.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/aws-powertools/powertools-lambda-typescript/releases"><code>@​aws-lambda-powertools/tracer</code>'s releases</a>.</em></p> <blockquote> <h2>v2.31.0</h2> <h2>Summary</h2> <p>In this release we are pleased to announce Tracer middleware for the HTTP event handler, which allows users to enable distributed tracing for their HTTP routes with minimal boilerplate code.</p> <p>In addition, the metric utility now supports a fluent interface, allowing you to chain multiple methods in a single statement.</p> <p>We have also fixed a bug in the HTTP event handler that caused parameterized headers to be handled incorrectly.</p> <p>⭐ Special thanks to <a href="https://github.com/nateiler"><code>@​nateiler</code></a> and <a href="https://github.com/dothomson"><code>@​dothomson</code></a> for their first PR merged in the project, and to <a href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a>! for another great contribution 🎉</p> <h2>Tracer Middleware</h2> <p>You can now use the Tracer utility with the HTTP event handler to gain observability over your routes. The middleware:</p> <ul> <li>Creates a subsegment for each HTTP route with the format <code>METHOD /path</code> (e.g., <code>GET /users</code>)</li> <li>Adds <code>ColdStart</code> and <code>Service</code> annotations</li> <li>Optionally captures JSON response bodies as metadata</li> <li>Captures errors as metadata when exceptions occur</li> </ul> <pre lang="ts"><code>import { Router } from '@aws-lambda-powertools/event-handler/http'; import { tracer as tracerMiddleware } from '@aws-lambda-powertools/event-handler/http/middleware/tracer'; import { Tracer } from '@aws-lambda-powertools/tracer'; import type { Context } from 'aws-lambda'; <p>const tracer = new Tracer({ serviceName: 'my-api' }); const app = new Router();</p> <p>app.get( '/users/cards', [tracerMiddleware(tracer, { captureResponse: false })], ({ params }) =&gt; { return { id: params.id, secret: 'sensitive-data' }; } );</p> <p>export const handler = async (event: unknown, context: Context) =&gt; app.resolve(event, context); </code></pre></p> <h2>Metrics Fluent Interface</h2> <p>All mutation methods (with the exception of <code>clear*</code>) now return the metric instance that was mutated, allowing you to chain multiple metrics operations in a single statement.</p> <pre lang="ts"><code>import { Metrics} from '@aws-lambda-powertools/metrics'; <p>const metrics = new Metrics();</p> <p>&lt;/tr&gt;&lt;/table&gt; </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/CHANGELOG.md"><code>@​aws-lambda-powertools/tracer</code>'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.30.2...v2.31.0">2.31.0</a> (2026-02-10)</h2> <h3>Features</h3> <ul> <li><strong>metrics</strong> return metrics instance from metrics functions (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4930">#4930</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e7aa2e2b5efbdca197602ef5611ac14e58519d6b">e7aa2e2</a>)</li> <li><strong>parameters</strong> pass underlying SDK error as cause to <code>GetParameterError</code> (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4936">#4936</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b3499dbfe29adc8f7fa07e5b8f3b4718e4525fa7">b3499db</a>)</li> <li><strong>event-handler</strong> add tracer middleware for HTTP routes (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4982">#4982</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8be61577451c32fdea2db8bcb93f8acba9e44423">8be6157</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>event-handler</strong> handle set-cookie header values with multiple attributes (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4990">#4990</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/42317fe15b90536fab40c15a70f967faf116011a">42317fe</a>)</li> <li><strong>kafka</strong> handle tombstone events (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4991">#4991</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/04c32360c972aff984c69cce3eae6e95007e79b7">04c3236</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/54d1fa3b290684ec987854b8266eac5094f4c178"><code>54d1fa3</code></a> chore(ci): bump version to 2.31.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/5007">#5007</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/42317fe15b90536fab40c15a70f967faf116011a"><code>42317fe</code></a> fix(event-handler): handle set-cookie header values with multiple attributes ...</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8e4da8a4ce4b7c57de14be04baf84444ee89f8c7"><code>8e4da8a</code></a> chore(deps): bump <code>@​types/node</code> from 25.2.0 to 25.2.2 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/5004">#5004</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/ddf54e09ec0c61a803b4d9f8edecd62ccc374555"><code>ddf54e0</code></a> chore(deps): bump github/codeql-action from 4.32.1 to 4.32.2 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4998">#4998</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/769207180080d45a72f8aca332c200239d3be06e"><code>7692071</code></a> chore(deps): bump <code>@​types/node</code> from 25.2.0 to 25.2.1 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4999">#4999</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d8dfadc63a59e0445b23a98eae9f9cd26fdb2e14"><code>d8dfadc</code></a> chore: manually upgrade dependency tree (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/5002">#5002</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/60b6ce1b2c93346cccd0b7a1c43020934037b5c7"><code>60b6ce1</code></a> ci: switch npm auth to OIDC (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4997">#4997</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/04c32360c972aff984c69cce3eae6e95007e79b7"><code>04c3236</code></a> fix(kafka): handle tombstone events (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4991">#4991</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8e1359e1954f65215fe5c1884e4f0479eda95508"><code>8e1359e</code></a> chore(deps): bump the aws-cdk group across 1 directory with 3 updates (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4985">#4985</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/4c6657aee26e501dde0211da0810e52b441c5913"><code>4c6657a</code></a> test: extract DF idempotency e2e tests (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4994">#4994</a>)</li> <li>Additional commits viewable in <a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.30.2...v2.31.0">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 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 </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 1e798b1 commit e3325fc

File tree

3 files changed

+33
-33
lines changed

3 files changed

+33
-33
lines changed

lambdas/functions/control-plane/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"dependencies": {
3333
"@aws-github-runner/aws-powertools-util": "*",
3434
"@aws-github-runner/aws-ssm-util": "*",
35-
"@aws-lambda-powertools/parameters": "^2.30.2",
35+
"@aws-lambda-powertools/parameters": "^2.31.0",
3636
"@aws-sdk/client-ec2": "^3.984.0",
3737
"@aws-sdk/client-sqs": "^3.984.0",
3838
"@middy/core": "^6.4.5",

lambdas/libs/aws-powertools-util/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"body-parser": "^2.2.1"
2121
},
2222
"dependencies": {
23-
"@aws-lambda-powertools/logger": "^2.30.2",
24-
"@aws-lambda-powertools/metrics": "^2.30.2",
25-
"@aws-lambda-powertools/tracer": "^2.30.2",
23+
"@aws-lambda-powertools/logger": "^2.31.0",
24+
"@aws-lambda-powertools/metrics": "^2.31.0",
25+
"@aws-lambda-powertools/tracer": "^2.31.0",
2626
"aws-lambda": "^1.0.7"
2727
},
2828
"nx": {

lambdas/yarn.lock

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ __metadata:
118118
version: 0.0.0-use.local
119119
resolution: "@aws-github-runner/aws-powertools-util@workspace:libs/aws-powertools-util"
120120
dependencies:
121-
"@aws-lambda-powertools/logger": "npm:^2.30.2"
122-
"@aws-lambda-powertools/metrics": "npm:^2.30.2"
123-
"@aws-lambda-powertools/tracer": "npm:^2.30.2"
121+
"@aws-lambda-powertools/logger": "npm:^2.31.0"
122+
"@aws-lambda-powertools/metrics": "npm:^2.31.0"
123+
"@aws-lambda-powertools/tracer": "npm:^2.31.0"
124124
"@types/aws-lambda": "npm:^8.10.159"
125125
"@types/node": "npm:^22.19.3"
126126
aws-lambda: "npm:^1.0.7"
@@ -148,7 +148,7 @@ __metadata:
148148
dependencies:
149149
"@aws-github-runner/aws-powertools-util": "npm:*"
150150
"@aws-github-runner/aws-ssm-util": "npm:*"
151-
"@aws-lambda-powertools/parameters": "npm:^2.30.2"
151+
"@aws-lambda-powertools/parameters": "npm:^2.31.0"
152152
"@aws-sdk/client-ec2": "npm:^3.984.0"
153153
"@aws-sdk/client-sqs": "npm:^3.984.0"
154154
"@aws-sdk/types": "npm:^3.973.1"
@@ -233,53 +233,53 @@ __metadata:
233233
languageName: unknown
234234
linkType: soft
235235

236-
"@aws-lambda-powertools/commons@npm:2.30.2":
237-
version: 2.30.2
238-
resolution: "@aws-lambda-powertools/commons@npm:2.30.2"
236+
"@aws-lambda-powertools/commons@npm:2.31.0":
237+
version: 2.31.0
238+
resolution: "@aws-lambda-powertools/commons@npm:2.31.0"
239239
dependencies:
240240
"@aws/lambda-invoke-store": "npm:0.2.3"
241-
checksum: 10c0/4147877b7f3621ff0c45d99a19a3a6bdf295ff4ff69b6c3bc49c9cb15b0f91d12650fc90377a968c659c9e1a5b3b059ef85d1e4c76b7ae36fb6335b66ed4b7d1
241+
checksum: 10c0/0bd9790d674d72c4290424e0f8b05af22595d295a79822ef816e3d72d35c28ca453a0fb45549be7cd6f58fbf4e015ccfdc067fa758d7837753e3a852e5f8dfac
242242
languageName: node
243243
linkType: hard
244244

245-
"@aws-lambda-powertools/logger@npm:^2.30.2":
246-
version: 2.30.2
247-
resolution: "@aws-lambda-powertools/logger@npm:2.30.2"
245+
"@aws-lambda-powertools/logger@npm:^2.31.0":
246+
version: 2.31.0
247+
resolution: "@aws-lambda-powertools/logger@npm:2.31.0"
248248
dependencies:
249-
"@aws-lambda-powertools/commons": "npm:2.30.2"
249+
"@aws-lambda-powertools/commons": "npm:2.31.0"
250250
"@aws/lambda-invoke-store": "npm:0.2.3"
251251
peerDependencies:
252-
"@aws-lambda-powertools/jmespath": 2.30.2
252+
"@aws-lambda-powertools/jmespath": 2.31.0
253253
"@middy/core": 4.x || 5.x || 6.x || 7.x
254254
peerDependenciesMeta:
255255
"@aws-lambda-powertools/jmespath":
256256
optional: true
257257
"@middy/core":
258258
optional: true
259-
checksum: 10c0/dad8ec43aa3e6d28a4ffb59f9e90c88a72b576bbb04c518645287b76ce6d2a3acb916ae23418ba4da52baf67ce8a82436848a9f443a371a1ab0a3636e1fae02f
259+
checksum: 10c0/944e5efc543ccc2855762305c779e45d94316b245f4e8eb29d66db7f3395f79dc9bf6fa6c2e64b48a6270d97cb4f153fe05a6df39680f6d6884a5eef1a0faade
260260
languageName: node
261261
linkType: hard
262262

263-
"@aws-lambda-powertools/metrics@npm:^2.30.2":
264-
version: 2.30.2
265-
resolution: "@aws-lambda-powertools/metrics@npm:2.30.2"
263+
"@aws-lambda-powertools/metrics@npm:^2.31.0":
264+
version: 2.31.0
265+
resolution: "@aws-lambda-powertools/metrics@npm:2.31.0"
266266
dependencies:
267-
"@aws-lambda-powertools/commons": "npm:2.30.2"
267+
"@aws-lambda-powertools/commons": "npm:2.31.0"
268268
"@aws/lambda-invoke-store": "npm:0.2.3"
269269
peerDependencies:
270270
"@middy/core": 4.x || 5.x || 6.x || 7.x
271271
peerDependenciesMeta:
272272
"@middy/core":
273273
optional: true
274-
checksum: 10c0/7d1e16a081d95c451dbb85d04c95119293adead4bf96948b77fe99757bc70d7dd38e5fe1b34f8cad5ceb58b11cd4ffe7b14bb1dd84b7fcb5997f099c344694bd
274+
checksum: 10c0/95a38f52518dba640875ff29697c930f5bcd8d997df95c424dc4af888459342a4acba766257f25eac7abc647292d900599bbacbadedb5a5aef99b6ced7326bdd
275275
languageName: node
276276
linkType: hard
277277

278-
"@aws-lambda-powertools/parameters@npm:^2.30.2":
279-
version: 2.30.2
280-
resolution: "@aws-lambda-powertools/parameters@npm:2.30.2"
278+
"@aws-lambda-powertools/parameters@npm:^2.31.0":
279+
version: 2.31.0
280+
resolution: "@aws-lambda-powertools/parameters@npm:2.31.0"
281281
dependencies:
282-
"@aws-lambda-powertools/commons": "npm:2.30.2"
282+
"@aws-lambda-powertools/commons": "npm:2.31.0"
283283
peerDependencies:
284284
"@aws-sdk/client-appconfigdata": ">=3.x"
285285
"@aws-sdk/client-dynamodb": ">=3.x"
@@ -300,22 +300,22 @@ __metadata:
300300
optional: true
301301
"@middy/core":
302302
optional: true
303-
checksum: 10c0/6e7265c823ddec1af031cc79b2d1b7d2aaa47a0e91f8c94b50c8c11595703f6d2037acb6f8ceb55f2c74bb54f7acef98f5db12c6d3ee9a032619006d843c3057
303+
checksum: 10c0/3486dabdc302c6361a02def1e0a0052a7dce829b0673a4731ea13ff73465df5d2f50cf2b0f6d3ffcbd0ca806cd46bf84281a78b623cc3420dc4ef6f504a281f8
304304
languageName: node
305305
linkType: hard
306306

307-
"@aws-lambda-powertools/tracer@npm:^2.30.2":
308-
version: 2.30.2
309-
resolution: "@aws-lambda-powertools/tracer@npm:2.30.2"
307+
"@aws-lambda-powertools/tracer@npm:^2.31.0":
308+
version: 2.31.0
309+
resolution: "@aws-lambda-powertools/tracer@npm:2.31.0"
310310
dependencies:
311-
"@aws-lambda-powertools/commons": "npm:2.30.2"
311+
"@aws-lambda-powertools/commons": "npm:2.31.0"
312312
aws-xray-sdk-core: "npm:^3.12.0"
313313
peerDependencies:
314314
"@middy/core": 4.x || 5.x || 6.x || 7.x
315315
peerDependenciesMeta:
316316
"@middy/core":
317317
optional: true
318-
checksum: 10c0/6a0deca827d81de9fbd16621a9b3d04c75e16b03b97ff01f4c60c9d12839e0d40d5719e675bf993e94baea10453d603c8cfe66f05a98df9a78c96a652b4b5f07
318+
checksum: 10c0/c17b43c193af263b49852e14eeb2d8aab55ca2351d52a6fa4844dbc74ec5b0a9299442a9b82cf682e82fd99ef49146321f18d7cb47797007d548b78776d9b630
319319
languageName: node
320320
linkType: hard
321321

0 commit comments

Comments
 (0)