-
Notifications
You must be signed in to change notification settings - Fork 664
Commit 221333e
authored
fix(lambda): bump the aws-powertools group in /lambdas with 4 updates (#4694)
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.24.0 to 2.24.1
<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.24.1</h2>
<h2>Summary</h2>
<p>In this release we have improved runtime validations in the Metrics
utility, ensuring that invalid metrics are not sent to CloudWatch and
avoiding data loss.</p>
<p>Furthermore, we now only support Zod 4.x. Using Zod 3.x with the
Parser utility will result in a build-time error.</p>
<p>⭐ Congratulations <a
href="https://github.com/JonkaSusaki"><code>@JonkaSusaki</code></a> and
<a href="https://github.com/uttam282005"><code>@uttam282005</code></a>
for their first PRs merged in the project 🎉</p>
<h3>Metrics Runtime Validations</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/features/metrics/">Docs</a></p>
</blockquote>
<p>Before this release, if you published invalid metrics they could fail
silently, leading to data loss. Now Lambda will throw an error if the
following constraints do not hold:</p>
<ul>
<li>Metric Name: Validated according to CloudWatch <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">constraints</a></li>
<li>Metric Value: Validated for numeric values</li>
<li>Metric Unit: Validated for allowed <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Unit">units</a></li>
<li>Metric Resolution: Validated for allowed <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Resolution_definition">resolutions</a></li>
<li>Dimension Name: Both Dimension name and value are validated for non
empty, non-null values.</li>
</ul>
<h2>Changes</h2>
<ul>
<li>fix(metrics): revert changes when raise warning with overridden
default dimensions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4226">#4226</a>)
by <a href="https://github.com/svozza"><code>@svozza</code></a></li>
<li>fix(metrics): emit warning when default dimensions are overwritten
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4222">#4222</a>)
by <a
href="https://github.com/uttam282005"><code>@uttam282005</code></a></li>
<li>refactor(event-handler): replace EnvironmentVariablesService class
with helper functions in Event Handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4225">#4225</a>)
by <a
href="https://github.com/JonkaSusaki"><code>@JonkaSusaki</code></a></li>
<li>ci: fix version output interpolation in make-version workflow (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4220">#4220</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>ci: set version number correctly when versioning (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4219">#4219</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>feat(event-handler): add route management system for ApiGw event
handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4211">#4211</a>)
by <a href="https://github.com/svozza"><code>@svozza</code></a></li>
<li>ci: update <code>make-release.yml</code> workflow to use latest
upstream (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4215">#4215</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>ci: remove local create-pr action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4213">#4213</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>improv(maintenance): Removed some unused assignments and added
missing error handling (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4208">#4208</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>ci: remove <code>lerna version</code> (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4201">#4201</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>refactor(ci): Updated the publish command in the CI to use <code>npm
publish</code> instead of <code>lerna publish</code> (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4195">#4195</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>refactor(metrics): replace EnvironmentVariablesService with cached
#envConfig (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4188">#4188</a>)
by <a
href="https://github.com/uttam282005"><code>@uttam282005</code></a></li>
<li>improv(metrics): Added runtime validations for the metrics utility
functions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4181">#4181</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>refactor(parameters): replace EnvironmentVariablesService class with
helper functions in Parameters (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4168">#4168</a>)
by <a
href="https://github.com/JonkaSusaki"><code>@JonkaSusaki</code></a></li>
</ul>
<h2>🌟New features and non-breaking changes</h2>
<ul>
<li>feat(event-handler): add base router class (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3972">#3972</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
</ul>
<h2>📜 Documentation updates</h2>
<ul>
<li>chore(ci): bump version to 2.24.1 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4231">#4231</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>chore(deps): bump <code>@types/aws-lambda</code> from 8.10.150 to
8.10.152 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4205">#4205</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump esbuild from 0.25.6 to 0.25.8 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4200">#4200</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump the aws-sdk-v3 group across 1 directory with 2
updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4192">#4192</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump <code>@types/node</code> from 24.0.14 to 24.1.0
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4193">#4193</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump the aws-sdk-v3 group across 1 directory with 9
updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4186">#4186</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
</ul>
<!-- raw HTML omitted -->
</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.24.0...v2.24.1">2.24.1</a>
(2025-07-29)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>metrics</strong> revert changes when raise warning with
overridden default dimensions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4226">#4226</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c9d6aa09acc666d09ed13ebef331502f4119dacc">c9d6aa0</a>)</li>
<li><strong>metrics</strong> emit warning when default dimensions are
overwritten (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4222">#4222</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a933a6af6135b79b855353bbaf265ab0a3be60da">a933a6a</a>)</li>
<li><strong>parser</strong> set zod peer range to 4.x (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4196">#4196</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/7a65fcf9759ac1a1f072ef5442ee8b0767705a92">7a65fcf</a>)</li>
</ul>
<h3>Improvements</h3>
<ul>
<li><strong>metrics</strong> replace EnvironmentVariablesService with
cached #envConfig (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4188">#4188</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/919063bc10f15b55f84c183208274836ae1d367e">919063b</a>)</li>
<li><strong>metrics</strong> add runtime validations when adding
dimensions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4181">#4181</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/42260585eb84de373c6ae5daaf5d541dd5f78ec1">4226058</a>)</li>
<li><strong>parameters</strong> replace EnvironmentVariablesService
class with helper functions in Parameters (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4168">#4168</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/ce4e6181ffed20153f3743707fdd31f68f392e0c">ce4e618</a>)</li>
<li><strong>event-handler</strong> replace EnvironmentVariablesService
class with helper functions in Event Handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4225">#4225</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d17818e1b8b17a8307e61966ab857f9c05c49670">d17818e</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>event-handler</strong> add route management system for ApiGw
event handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4211">#4211</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c2cbb642ca3a4cc57ad0e80d9f1239e8f67d56e3">c2cbb64</a>)</li>
<li><strong>event-handler</strong> add base router class (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3972">#3972</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3d4998cda6c1b8c1bea47d5c6a9fe760b6e957fb">3d4998c</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fc261446612028757eb8ea95ca90e31f2a164c11"><code>fc26144</code></a>
chore(ci): bump version to 2.24.1 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4231">#4231</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c9d6aa09acc666d09ed13ebef331502f4119dacc"><code>c9d6aa0</code></a>
fix(metrics): revert changes when raise warning with overridden default
dimen...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a933a6af6135b79b855353bbaf265ab0a3be60da"><code>a933a6a</code></a>
fix(metrics): emit warning when default dimensions are overwritten (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4222">#4222</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d17818e1b8b17a8307e61966ab857f9c05c49670"><code>d17818e</code></a>
refactor(event-handler): replace EnvironmentVariablesService class with
helpe...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fea274febb44969bc43f9e6e8e5e70cb9ee57f3c"><code>fea274f</code></a>
ci: fix version output interpolation in make-version workflow (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4220">#4220</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/7bc1121745739e169788618a801965a0cd7bb616"><code>7bc1121</code></a>
ci: set version number correctly when versioning (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4219">#4219</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c2cbb642ca3a4cc57ad0e80d9f1239e8f67d56e3"><code>c2cbb64</code></a>
feat(event-handler): add route management system for ApiGw event handler
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4211">#4211</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/0c124409deaf43788c020cfb850ed0d7b48918e5"><code>0c12440</code></a>
ci: update <code>make-release.yml</code> workflow to use latest upstream
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4215">#4215</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/94ebf168a00684bb9e26db48e54dc0e628a4687f"><code>94ebf16</code></a>
chore(deps): bump <code>@types/aws-lambda</code> from 8.10.150 to
8.10.152 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4205">#4205</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b1f7feeb91830b84692383b2b88b392fd8b18f7a"><code>b1f7fee</code></a>
ci: remove local create-pr action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4213">#4213</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.24.0...v2.24.1">compare
view</a></li>
</ul>
</details>
<br />
Updates `@aws-lambda-powertools/logger` from 2.24.0 to 2.24.1
<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.24.1</h2>
<h2>Summary</h2>
<p>In this release we have improved runtime validations in the Metrics
utility, ensuring that invalid metrics are not sent to CloudWatch and
avoiding data loss.</p>
<p>Furthermore, we now only support Zod 4.x. Using Zod 3.x with the
Parser utility will result in a build-time error.</p>
<p>⭐ Congratulations <a
href="https://github.com/JonkaSusaki"><code>@JonkaSusaki</code></a> and
<a href="https://github.com/uttam282005"><code>@uttam282005</code></a>
for their first PRs merged in the project 🎉</p>
<h3>Metrics Runtime Validations</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/features/metrics/">Docs</a></p>
</blockquote>
<p>Before this release, if you published invalid metrics they could fail
silently, leading to data loss. Now Lambda will throw an error if the
following constraints do not hold:</p>
<ul>
<li>Metric Name: Validated according to CloudWatch <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">constraints</a></li>
<li>Metric Value: Validated for numeric values</li>
<li>Metric Unit: Validated for allowed <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Unit">units</a></li>
<li>Metric Resolution: Validated for allowed <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Resolution_definition">resolutions</a></li>
<li>Dimension Name: Both Dimension name and value are validated for non
empty, non-null values.</li>
</ul>
<h2>Changes</h2>
<ul>
<li>fix(metrics): revert changes when raise warning with overridden
default dimensions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4226">#4226</a>)
by <a href="https://github.com/svozza"><code>@svozza</code></a></li>
<li>fix(metrics): emit warning when default dimensions are overwritten
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4222">#4222</a>)
by <a
href="https://github.com/uttam282005"><code>@uttam282005</code></a></li>
<li>refactor(event-handler): replace EnvironmentVariablesService class
with helper functions in Event Handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4225">#4225</a>)
by <a
href="https://github.com/JonkaSusaki"><code>@JonkaSusaki</code></a></li>
<li>ci: fix version output interpolation in make-version workflow (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4220">#4220</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>ci: set version number correctly when versioning (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4219">#4219</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>feat(event-handler): add route management system for ApiGw event
handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4211">#4211</a>)
by <a href="https://github.com/svozza"><code>@svozza</code></a></li>
<li>ci: update <code>make-release.yml</code> workflow to use latest
upstream (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4215">#4215</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>ci: remove local create-pr action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4213">#4213</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>improv(maintenance): Removed some unused assignments and added
missing error handling (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4208">#4208</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>ci: remove <code>lerna version</code> (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4201">#4201</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>refactor(ci): Updated the publish command in the CI to use <code>npm
publish</code> instead of <code>lerna publish</code> (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4195">#4195</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>refactor(metrics): replace EnvironmentVariablesService with cached
#envConfig (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4188">#4188</a>)
by <a
href="https://github.com/uttam282005"><code>@uttam282005</code></a></li>
<li>improv(metrics): Added runtime validations for the metrics utility
functions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4181">#4181</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>refactor(parameters): replace EnvironmentVariablesService class with
helper functions in Parameters (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4168">#4168</a>)
by <a
href="https://github.com/JonkaSusaki"><code>@JonkaSusaki</code></a></li>
</ul>
<h2>🌟New features and non-breaking changes</h2>
<ul>
<li>feat(event-handler): add base router class (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3972">#3972</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
</ul>
<h2>📜 Documentation updates</h2>
<ul>
<li>chore(ci): bump version to 2.24.1 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4231">#4231</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>chore(deps): bump <code>@types/aws-lambda</code> from 8.10.150 to
8.10.152 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4205">#4205</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump esbuild from 0.25.6 to 0.25.8 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4200">#4200</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump the aws-sdk-v3 group across 1 directory with 2
updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4192">#4192</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump <code>@types/node</code> from 24.0.14 to 24.1.0
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4193">#4193</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump the aws-sdk-v3 group across 1 directory with 9
updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4186">#4186</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
</ul>
<!-- raw HTML omitted -->
</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.24.0...v2.24.1">2.24.1</a>
(2025-07-29)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>metrics</strong> revert changes when raise warning with
overridden default dimensions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4226">#4226</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c9d6aa09acc666d09ed13ebef331502f4119dacc">c9d6aa0</a>)</li>
<li><strong>metrics</strong> emit warning when default dimensions are
overwritten (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4222">#4222</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a933a6af6135b79b855353bbaf265ab0a3be60da">a933a6a</a>)</li>
<li><strong>parser</strong> set zod peer range to 4.x (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4196">#4196</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/7a65fcf9759ac1a1f072ef5442ee8b0767705a92">7a65fcf</a>)</li>
</ul>
<h3>Improvements</h3>
<ul>
<li><strong>metrics</strong> replace EnvironmentVariablesService with
cached #envConfig (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4188">#4188</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/919063bc10f15b55f84c183208274836ae1d367e">919063b</a>)</li>
<li><strong>metrics</strong> add runtime validations when adding
dimensions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4181">#4181</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/42260585eb84de373c6ae5daaf5d541dd5f78ec1">4226058</a>)</li>
<li><strong>parameters</strong> replace EnvironmentVariablesService
class with helper functions in Parameters (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4168">#4168</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/ce4e6181ffed20153f3743707fdd31f68f392e0c">ce4e618</a>)</li>
<li><strong>event-handler</strong> replace EnvironmentVariablesService
class with helper functions in Event Handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4225">#4225</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d17818e1b8b17a8307e61966ab857f9c05c49670">d17818e</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>event-handler</strong> add route management system for ApiGw
event handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4211">#4211</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c2cbb642ca3a4cc57ad0e80d9f1239e8f67d56e3">c2cbb64</a>)</li>
<li><strong>event-handler</strong> add base router class (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3972">#3972</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3d4998cda6c1b8c1bea47d5c6a9fe760b6e957fb">3d4998c</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fc261446612028757eb8ea95ca90e31f2a164c11"><code>fc26144</code></a>
chore(ci): bump version to 2.24.1 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4231">#4231</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c9d6aa09acc666d09ed13ebef331502f4119dacc"><code>c9d6aa0</code></a>
fix(metrics): revert changes when raise warning with overridden default
dimen...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a933a6af6135b79b855353bbaf265ab0a3be60da"><code>a933a6a</code></a>
fix(metrics): emit warning when default dimensions are overwritten (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4222">#4222</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d17818e1b8b17a8307e61966ab857f9c05c49670"><code>d17818e</code></a>
refactor(event-handler): replace EnvironmentVariablesService class with
helpe...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fea274febb44969bc43f9e6e8e5e70cb9ee57f3c"><code>fea274f</code></a>
ci: fix version output interpolation in make-version workflow (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4220">#4220</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/7bc1121745739e169788618a801965a0cd7bb616"><code>7bc1121</code></a>
ci: set version number correctly when versioning (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4219">#4219</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c2cbb642ca3a4cc57ad0e80d9f1239e8f67d56e3"><code>c2cbb64</code></a>
feat(event-handler): add route management system for ApiGw event handler
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4211">#4211</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/0c124409deaf43788c020cfb850ed0d7b48918e5"><code>0c12440</code></a>
ci: update <code>make-release.yml</code> workflow to use latest upstream
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4215">#4215</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/94ebf168a00684bb9e26db48e54dc0e628a4687f"><code>94ebf16</code></a>
chore(deps): bump <code>@types/aws-lambda</code> from 8.10.150 to
8.10.152 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4205">#4205</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b1f7feeb91830b84692383b2b88b392fd8b18f7a"><code>b1f7fee</code></a>
ci: remove local create-pr action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4213">#4213</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.24.0...v2.24.1">compare
view</a></li>
</ul>
</details>
<br />
Updates `@aws-lambda-powertools/metrics` from 2.24.0 to 2.24.1
<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.24.1</h2>
<h2>Summary</h2>
<p>In this release we have improved runtime validations in the Metrics
utility, ensuring that invalid metrics are not sent to CloudWatch and
avoiding data loss.</p>
<p>Furthermore, we now only support Zod 4.x. Using Zod 3.x with the
Parser utility will result in a build-time error.</p>
<p>⭐ Congratulations <a
href="https://github.com/JonkaSusaki"><code>@JonkaSusaki</code></a> and
<a href="https://github.com/uttam282005"><code>@uttam282005</code></a>
for their first PRs merged in the project 🎉</p>
<h3>Metrics Runtime Validations</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/features/metrics/">Docs</a></p>
</blockquote>
<p>Before this release, if you published invalid metrics they could fail
silently, leading to data loss. Now Lambda will throw an error if the
following constraints do not hold:</p>
<ul>
<li>Metric Name: Validated according to CloudWatch <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">constraints</a></li>
<li>Metric Value: Validated for numeric values</li>
<li>Metric Unit: Validated for allowed <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Unit">units</a></li>
<li>Metric Resolution: Validated for allowed <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Resolution_definition">resolutions</a></li>
<li>Dimension Name: Both Dimension name and value are validated for non
empty, non-null values.</li>
</ul>
<h2>Changes</h2>
<ul>
<li>fix(metrics): revert changes when raise warning with overridden
default dimensions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4226">#4226</a>)
by <a href="https://github.com/svozza"><code>@svozza</code></a></li>
<li>fix(metrics): emit warning when default dimensions are overwritten
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4222">#4222</a>)
by <a
href="https://github.com/uttam282005"><code>@uttam282005</code></a></li>
<li>refactor(event-handler): replace EnvironmentVariablesService class
with helper functions in Event Handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4225">#4225</a>)
by <a
href="https://github.com/JonkaSusaki"><code>@JonkaSusaki</code></a></li>
<li>ci: fix version output interpolation in make-version workflow (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4220">#4220</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>ci: set version number correctly when versioning (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4219">#4219</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>feat(event-handler): add route management system for ApiGw event
handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4211">#4211</a>)
by <a href="https://github.com/svozza"><code>@svozza</code></a></li>
<li>ci: update <code>make-release.yml</code> workflow to use latest
upstream (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4215">#4215</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>ci: remove local create-pr action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4213">#4213</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>improv(maintenance): Removed some unused assignments and added
missing error handling (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4208">#4208</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>ci: remove <code>lerna version</code> (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4201">#4201</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>refactor(ci): Updated the publish command in the CI to use <code>npm
publish</code> instead of <code>lerna publish</code> (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4195">#4195</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>refactor(metrics): replace EnvironmentVariablesService with cached
#envConfig (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4188">#4188</a>)
by <a
href="https://github.com/uttam282005"><code>@uttam282005</code></a></li>
<li>improv(metrics): Added runtime validations for the metrics utility
functions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4181">#4181</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>refactor(parameters): replace EnvironmentVariablesService class with
helper functions in Parameters (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4168">#4168</a>)
by <a
href="https://github.com/JonkaSusaki"><code>@JonkaSusaki</code></a></li>
</ul>
<h2>🌟New features and non-breaking changes</h2>
<ul>
<li>feat(event-handler): add base router class (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3972">#3972</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
</ul>
<h2>📜 Documentation updates</h2>
<ul>
<li>chore(ci): bump version to 2.24.1 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4231">#4231</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>chore(deps): bump <code>@types/aws-lambda</code> from 8.10.150 to
8.10.152 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4205">#4205</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump esbuild from 0.25.6 to 0.25.8 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4200">#4200</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump the aws-sdk-v3 group across 1 directory with 2
updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4192">#4192</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump <code>@types/node</code> from 24.0.14 to 24.1.0
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4193">#4193</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump the aws-sdk-v3 group across 1 directory with 9
updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4186">#4186</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
</ul>
<!-- raw HTML omitted -->
</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.24.0...v2.24.1">2.24.1</a>
(2025-07-29)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>metrics</strong> revert changes when raise warning with
overridden default dimensions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4226">#4226</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c9d6aa09acc666d09ed13ebef331502f4119dacc">c9d6aa0</a>)</li>
<li><strong>metrics</strong> emit warning when default dimensions are
overwritten (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4222">#4222</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a933a6af6135b79b855353bbaf265ab0a3be60da">a933a6a</a>)</li>
<li><strong>parser</strong> set zod peer range to 4.x (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4196">#4196</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/7a65fcf9759ac1a1f072ef5442ee8b0767705a92">7a65fcf</a>)</li>
</ul>
<h3>Improvements</h3>
<ul>
<li><strong>metrics</strong> replace EnvironmentVariablesService with
cached #envConfig (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4188">#4188</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/919063bc10f15b55f84c183208274836ae1d367e">919063b</a>)</li>
<li><strong>metrics</strong> add runtime validations when adding
dimensions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4181">#4181</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/42260585eb84de373c6ae5daaf5d541dd5f78ec1">4226058</a>)</li>
<li><strong>parameters</strong> replace EnvironmentVariablesService
class with helper functions in Parameters (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4168">#4168</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/ce4e6181ffed20153f3743707fdd31f68f392e0c">ce4e618</a>)</li>
<li><strong>event-handler</strong> replace EnvironmentVariablesService
class with helper functions in Event Handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4225">#4225</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d17818e1b8b17a8307e61966ab857f9c05c49670">d17818e</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>event-handler</strong> add route management system for ApiGw
event handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4211">#4211</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c2cbb642ca3a4cc57ad0e80d9f1239e8f67d56e3">c2cbb64</a>)</li>
<li><strong>event-handler</strong> add base router class (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3972">#3972</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3d4998cda6c1b8c1bea47d5c6a9fe760b6e957fb">3d4998c</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fc261446612028757eb8ea95ca90e31f2a164c11"><code>fc26144</code></a>
chore(ci): bump version to 2.24.1 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4231">#4231</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c9d6aa09acc666d09ed13ebef331502f4119dacc"><code>c9d6aa0</code></a>
fix(metrics): revert changes when raise warning with overridden default
dimen...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a933a6af6135b79b855353bbaf265ab0a3be60da"><code>a933a6a</code></a>
fix(metrics): emit warning when default dimensions are overwritten (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4222">#4222</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d17818e1b8b17a8307e61966ab857f9c05c49670"><code>d17818e</code></a>
refactor(event-handler): replace EnvironmentVariablesService class with
helpe...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fea274febb44969bc43f9e6e8e5e70cb9ee57f3c"><code>fea274f</code></a>
ci: fix version output interpolation in make-version workflow (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4220">#4220</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/7bc1121745739e169788618a801965a0cd7bb616"><code>7bc1121</code></a>
ci: set version number correctly when versioning (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4219">#4219</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c2cbb642ca3a4cc57ad0e80d9f1239e8f67d56e3"><code>c2cbb64</code></a>
feat(event-handler): add route management system for ApiGw event handler
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4211">#4211</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/0c124409deaf43788c020cfb850ed0d7b48918e5"><code>0c12440</code></a>
ci: update <code>make-release.yml</code> workflow to use latest upstream
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4215">#4215</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/94ebf168a00684bb9e26db48e54dc0e628a4687f"><code>94ebf16</code></a>
chore(deps): bump <code>@types/aws-lambda</code> from 8.10.150 to
8.10.152 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4205">#4205</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b1f7feeb91830b84692383b2b88b392fd8b18f7a"><code>b1f7fee</code></a>
ci: remove local create-pr action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4213">#4213</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.24.0...v2.24.1">compare
view</a></li>
</ul>
</details>
<br />
Updates `@aws-lambda-powertools/tracer` from 2.24.0 to 2.24.1
<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.24.1</h2>
<h2>Summary</h2>
<p>In this release we have improved runtime validations in the Metrics
utility, ensuring that invalid metrics are not sent to CloudWatch and
avoiding data loss.</p>
<p>Furthermore, we now only support Zod 4.x. Using Zod 3.x with the
Parser utility will result in a build-time error.</p>
<p>⭐ Congratulations <a
href="https://github.com/JonkaSusaki"><code>@JonkaSusaki</code></a> and
<a href="https://github.com/uttam282005"><code>@uttam282005</code></a>
for their first PRs merged in the project 🎉</p>
<h3>Metrics Runtime Validations</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/features/metrics/">Docs</a></p>
</blockquote>
<p>Before this release, if you published invalid metrics they could fail
silently, leading to data loss. Now Lambda will throw an error if the
following constraints do not hold:</p>
<ul>
<li>Metric Name: Validated according to CloudWatch <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">constraints</a></li>
<li>Metric Value: Validated for numeric values</li>
<li>Metric Unit: Validated for allowed <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Unit">units</a></li>
<li>Metric Resolution: Validated for allowed <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Resolution_definition">resolutions</a></li>
<li>Dimension Name: Both Dimension name and value are validated for non
empty, non-null values.</li>
</ul>
<h2>Changes</h2>
<ul>
<li>fix(metrics): revert changes when raise warning with overridden
default dimensions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4226">#4226</a>)
by <a href="https://github.com/svozza"><code>@svozza</code></a></li>
<li>fix(metrics): emit warning when default dimensions are overwritten
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4222">#4222</a>)
by <a
href="https://github.com/uttam282005"><code>@uttam282005</code></a></li>
<li>refactor(event-handler): replace EnvironmentVariablesService class
with helper functions in Event Handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4225">#4225</a>)
by <a
href="https://github.com/JonkaSusaki"><code>@JonkaSusaki</code></a></li>
<li>ci: fix version output interpolation in make-version workflow (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4220">#4220</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>ci: set version number correctly when versioning (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4219">#4219</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>feat(event-handler): add route management system for ApiGw event
handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4211">#4211</a>)
by <a href="https://github.com/svozza"><code>@svozza</code></a></li>
<li>ci: update <code>make-release.yml</code> workflow to use latest
upstream (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4215">#4215</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>ci: remove local create-pr action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4213">#4213</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>improv(maintenance): Removed some unused assignments and added
missing error handling (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4208">#4208</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>ci: remove <code>lerna version</code> (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4201">#4201</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>refactor(ci): Updated the publish command in the CI to use <code>npm
publish</code> instead of <code>lerna publish</code> (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4195">#4195</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>refactor(metrics): replace EnvironmentVariablesService with cached
#envConfig (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4188">#4188</a>)
by <a
href="https://github.com/uttam282005"><code>@uttam282005</code></a></li>
<li>improv(metrics): Added runtime validations for the metrics utility
functions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4181">#4181</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>refactor(parameters): replace EnvironmentVariablesService class with
helper functions in Parameters (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4168">#4168</a>)
by <a
href="https://github.com/JonkaSusaki"><code>@JonkaSusaki</code></a></li>
</ul>
<h2>🌟New features and non-breaking changes</h2>
<ul>
<li>feat(event-handler): add base router class (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3972">#3972</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
</ul>
<h2>📜 Documentation updates</h2>
<ul>
<li>chore(ci): bump version to 2.24.1 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4231">#4231</a>)
by <a href="https://github.com/sdangol"><code>@sdangol</code></a></li>
<li>chore(deps): bump <code>@types/aws-lambda</code> from 8.10.150 to
8.10.152 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4205">#4205</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump esbuild from 0.25.6 to 0.25.8 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4200">#4200</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump the aws-sdk-v3 group across 1 directory with 2
updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4192">#4192</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump <code>@types/node</code> from 24.0.14 to 24.1.0
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4193">#4193</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
<li>chore(deps): bump the aws-sdk-v3 group across 1 directory with 9
updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4186">#4186</a>)
by @<a
href="https://github.com/apps/dependabot">dependabot[bot]</a></li>
</ul>
<!-- raw HTML omitted -->
</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.24.0...v2.24.1">2.24.1</a>
(2025-07-29)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>metrics</strong> revert changes when raise warning with
overridden default dimensions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4226">#4226</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c9d6aa09acc666d09ed13ebef331502f4119dacc">c9d6aa0</a>)</li>
<li><strong>metrics</strong> emit warning when default dimensions are
overwritten (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4222">#4222</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a933a6af6135b79b855353bbaf265ab0a3be60da">a933a6a</a>)</li>
<li><strong>parser</strong> set zod peer range to 4.x (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4196">#4196</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/7a65fcf9759ac1a1f072ef5442ee8b0767705a92">7a65fcf</a>)</li>
</ul>
<h3>Improvements</h3>
<ul>
<li><strong>metrics</strong> replace EnvironmentVariablesService with
cached #envConfig (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4188">#4188</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/919063bc10f15b55f84c183208274836ae1d367e">919063b</a>)</li>
<li><strong>metrics</strong> add runtime validations when adding
dimensions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4181">#4181</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/42260585eb84de373c6ae5daaf5d541dd5f78ec1">4226058</a>)</li>
<li><strong>parameters</strong> replace EnvironmentVariablesService
class with helper functions in Parameters (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4168">#4168</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/ce4e6181ffed20153f3743707fdd31f68f392e0c">ce4e618</a>)</li>
<li><strong>event-handler</strong> replace EnvironmentVariablesService
class with helper functions in Event Handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4225">#4225</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d17818e1b8b17a8307e61966ab857f9c05c49670">d17818e</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>event-handler</strong> add route management system for ApiGw
event handler (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4211">#4211</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c2cbb642ca3a4cc57ad0e80d9f1239e8f67d56e3">c2cbb64</a>)</li>
<li><strong>event-handler</strong> add base router class (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3972">#3972</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3d4998cda6c1b8c1bea47d5c6a9fe760b6e957fb">3d4998c</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fc261446612028757eb8ea95ca90e31f2a164c11"><code>fc26144</code></a>
chore(ci): bump version to 2.24.1 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4231">#4231</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c9d6aa09acc666d09ed13ebef331502f4119dacc"><code>c9d6aa0</code></a>
fix(metrics): revert changes when raise warning with overridden default
dimen...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a933a6af6135b79b855353bbaf265ab0a3be60da"><code>a933a6a</code></a>
fix(metrics): emit warning when default dimensions are overwritten (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4222">#4222</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d17818e1b8b17a8307e61966ab857f9c05c49670"><code>d17818e</code></a>
refactor(event-handler): replace EnvironmentVariablesService class with
helpe...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fea274febb44969bc43f9e6e8e5e70cb9ee57f3c"><code>fea274f</code></a>
ci: fix version output interpolation in make-version workflow (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4220">#4220</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/7bc1121745739e169788618a801965a0cd7bb616"><code>7bc1121</code></a>
ci: set version number correctly when versioning (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4219">#4219</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c2cbb642ca3a4cc57ad0e80d9f1239e8f67d56e3"><code>c2cbb64</code></a>
feat(event-handler): add route management system for ApiGw event handler
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4211">#4211</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/0c124409deaf43788c020cfb850ed0d7b48918e5"><code>0c12440</code></a>
ci: update <code>make-release.yml</code> workflow to use latest upstream
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4215">#4215</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/94ebf168a00684bb9e26db48e54dc0e628a4687f"><code>94ebf16</code></a>
chore(deps): bump <code>@types/aws-lambda</code> from 8.10.150 to
8.10.152 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4205">#4205</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b1f7feeb91830b84692383b2b88b392fd8b18f7a"><code>b1f7fee</code></a>
ci: remove local create-pr action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/4213">#4213</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.24.0...v2.24.1">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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 35f6c86 commit 221333eCopy full SHA for 221333e
File tree
Expand file treeCollapse file tree
3 files changed
+33
-33
lines changedFilter options
- lambdas
- functions/control-plane
- libs/aws-powertools-util
Expand file treeCollapse file tree
3 files changed
+33
-33
lines changedlambdas/functions/control-plane/package.json
Copy file name to clipboardExpand all lines: lambdas/functions/control-plane/package.json+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
|
lambdas/libs/aws-powertools-util/package.json
Copy file name to clipboardExpand all lines: lambdas/libs/aws-powertools-util/package.json+3-3Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
24 |
| - | |
25 |
| - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
|
+29-29Lines changed: 29 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
144 |
| - | |
145 |
| - | |
146 |
| - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
| |||
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
174 |
| - | |
| 174 | + | |
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
| |||
255 | 255 |
| |
256 | 256 |
| |
257 | 257 |
| |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 |
| - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
262 | 262 |
| |
263 | 263 |
| |
264 | 264 |
| |
265 |
| - | |
266 |
| - | |
267 |
| - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
268 | 268 |
| |
269 |
| - | |
| 269 | + | |
270 | 270 |
| |
271 | 271 |
| |
272 |
| - | |
| 272 | + | |
273 | 273 |
| |
274 | 274 |
| |
275 | 275 |
| |
276 | 276 |
| |
277 | 277 |
| |
278 | 278 |
| |
279 |
| - | |
| 279 | + | |
280 | 280 |
| |
281 | 281 |
| |
282 | 282 |
| |
283 |
| - | |
284 |
| - | |
285 |
| - | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
286 | 286 |
| |
287 |
| - | |
| 287 | + | |
288 | 288 |
| |
289 | 289 |
| |
290 | 290 |
| |
291 | 291 |
| |
292 | 292 |
| |
293 |
| - | |
| 293 | + | |
294 | 294 |
| |
295 | 295 |
| |
296 | 296 |
| |
297 |
| - | |
298 |
| - | |
299 |
| - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
300 | 300 |
| |
301 |
| - | |
| 301 | + | |
302 | 302 |
| |
303 | 303 |
| |
304 | 304 |
| |
| |||
319 | 319 |
| |
320 | 320 |
| |
321 | 321 |
| |
322 |
| - | |
| 322 | + | |
323 | 323 |
| |
324 | 324 |
| |
325 | 325 |
| |
326 |
| - | |
327 |
| - | |
328 |
| - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
329 | 329 |
| |
330 |
| - | |
| 330 | + | |
331 | 331 |
| |
332 | 332 |
| |
333 | 333 |
| |
334 | 334 |
| |
335 | 335 |
| |
336 | 336 |
| |
337 |
| - | |
| 337 | + | |
338 | 338 |
| |
339 | 339 |
| |
340 | 340 |
| |
|
0 commit comments