Commit f3100e1
authored
fix(lambda): bump the aws-powertools group in /lambdas with 4 updates (#4507)
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.16.0 to 2.17.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.17.0</h2>
<p>Summary</p>
<p>This release introduces the new Validation utility to validate
payloads with JSON Schemas. This addition further reduces the feature
gap between this version of Powertools for AWS Lambda and the more
mature one in Python, and it’s also the first utility that was built
primarily by community contributors, hats off to <a
href="https://github.com/VatsalGoel3"><code>@VatsalGoel3</code></a>!</p>
<p>The release also enhances Logger with correlation ID support,
improves cold start reporting for Provisioned Concurrency, adds
customizable function name dimensions for metrics, and extends Lambda
layer availability to GovCloud (US) regions.</p>
<p>⭐️ Thanks to <a
href="https://github.com/VatsalGoel3"><code>@VatsalGoel3</code></a> and
<a href="https://github.com/steven10172"><code>@steven10172</code></a>
for their contributions, and <a href="https://guild.com/">Guild</a> for
becoming a public reference customer!</p>
<h3>New Validation utility</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/validation/">Docs</a></p>
</blockquote>
<p>The new Validation utility helps you validate incoming events and
responses using JSON Schemas. This is useful when you want request
payloads to conform to expected formats. You can also verify that
responses meet defined structures, ensuring consistency in both input
and output.</p>
<h4>Installation</h4>
<pre lang="sh"><code>npm i @aws-lambda-powertools/validation
</code></pre>
<h4>Key Features</h4>
<ul>
<li><strong>JSON Schema validation</strong> (supports draft-07 by
default, configurable to any version supported by <a
href="https://ajv.js.org/">Ajv</a></li>
<li><strong>Multiple implementation options</strong>:
<ul>
<li>Class method decorator <code>@validator</code></li>
<li>Middy.js middleware <code>validator</code></li>
<li>Standalone <code>validate</code> function</li>
</ul>
</li>
<li><strong>Flexible validation targets:</strong>
<ul>
<li>Incoming requests</li>
<li>Outbound responses</li>
<li>Partial payload validation using JMESPath expressions</li>
</ul>
</li>
</ul>
<h4>Examples</h4>
<p><strong>Using Middy.js middleware:</strong></p>
<p><img
src="https://github.com/user-attachments/assets/561159f1-fc20-48ef-9931-0413f609cbd2"
alt="carbon-9" /></p>
<p><strong>Using decorator with envelope extraction:</strong></p>
<p><img
src="https://github.com/user-attachments/assets/b3aa3eb5-4c5c-4019-a207-3e162d62828f"
alt="carbon-10" /></p>
<p><strong>Error handling with standalone validation:</strong></p>
<p><img
src="https://github.com/user-attachments/assets/fd42b73f-2261-40eb-9686-a941c9fe0037"
alt="carbon-6" /></p>
<p><strong>Learn more</strong></p>
<p>Head over to the <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/validation/">documentation</a>
to learn more about the utility and see more examples.</p>
<!-- 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>
<h1><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.16.0...v2.17.0">2.17.0</a>
(2025-03-25)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>ci:</strong> Remove --compatible-architectures from workflow
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3752">#3752</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/dafa49602ea45227384b63bff4d3f39d69e982d8">dafa496</a>)</li>
<li><strong>idempotency:</strong> include sk in error msgs when using
composite key (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3709">#3709</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/661f5ff7f3f3805e24f515892e98430dccebf979">661f5ff</a>)</li>
<li><strong>logger:</strong> correctly refresh sample rate (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3722">#3722</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/2692ca4d1b15763936659b05e1830d998a4d2020">2692ca4</a>)</li>
<li><strong>parser:</strong> ddb base schema + other exports (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3741">#3741</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/51a3410be8502496362d5ed13a64fe55691604ba">51a3410</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>commons:</strong> make utilities aware of provisioned
concurrency (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3724">#3724</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c28e45ecba315bac8fbc7744dbe21a3461747d44">c28e45e</a>)</li>
<li><strong>logger:</strong> set correlation ID in logs (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3726">#3726</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/aa74fc8548ccb8cb313ffd1742184c66e8d6c22c">aa74fc8</a>)</li>
<li><strong>metrics:</strong> allow setting functionName via constructor
parameter and environment variable (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3696">#3696</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3176fa08e1886d5c86e7b327134cc988b82cf8d8">3176fa0</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/577c76da79d069a2e9660e0af03fc352037284e9"><code>577c76d</code></a>
chore(ci): bump version to 2.17.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3770">#3770</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fa414d57aeb7ea0acb3a336ecf7f4894125cf927"><code>fa414d5</code></a>
chore(parameters): update AWS SDK client type (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3768">#3768</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/64f5cf28b2f88fcb4993aa7278aadf4aa3402f67"><code>64f5cf2</code></a>
chore(deps): bump <code>@types/aws-lambda</code> from 8.10.147 to
8.10.148 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3767">#3767</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/103a7f98a317612c6290a8bb0ca2152779f9d18f"><code>103a7f9</code></a>
chore(deps): bump github/codeql-action from 3.28.12 to 3.28.13 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3764">#3764</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3cc04518715fdd3d450a314e3ca2c5a99725b0ca"><code>3cc0451</code></a>
chore(deps): bump <code>@types/node</code> from 22.13.11 to 22.13.13
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3766">#3766</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/434cc8b3804ee10aa3b1f2023ff22a616c2950e8"><code>434cc8b</code></a>
chore: add Guild customer reference (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3769">#3769</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5e9f051d2a0fe4a39b1ac64367ebf659235eacc8"><code>5e9f051</code></a>
chore(ci): Simplified GovCloud Deploy (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3763">#3763</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/afab04fc10404e0c35571c9c210140436df79000"><code>afab04f</code></a>
chore(ci): fix region typo in govcloud (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3762">#3762</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/57d63442f2f4dc8f371f40ae85405568492692d6"><code>57d6344</code></a>
chore(ci): fix workflow GovCloud formatting (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3761">#3761</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b44b1ebcb246d892940e85c60106c37e813a62aa"><code>b44b1eb</code></a>
chore(deps-dev): bump the typescript group across 1 directory with 2
updates ...</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.16.0...v2.17.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `@aws-lambda-powertools/logger` from 2.16.0 to 2.17.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.17.0</h2>
<p>Summary</p>
<p>This release introduces the new Validation utility to validate
payloads with JSON Schemas. This addition further reduces the feature
gap between this version of Powertools for AWS Lambda and the more
mature one in Python, and it’s also the first utility that was built
primarily by community contributors, hats off to <a
href="https://github.com/VatsalGoel3"><code>@VatsalGoel3</code></a>!</p>
<p>The release also enhances Logger with correlation ID support,
improves cold start reporting for Provisioned Concurrency, adds
customizable function name dimensions for metrics, and extends Lambda
layer availability to GovCloud (US) regions.</p>
<p>⭐️ Thanks to <a
href="https://github.com/VatsalGoel3"><code>@VatsalGoel3</code></a> and
<a href="https://github.com/steven10172"><code>@steven10172</code></a>
for their contributions, and <a href="https://guild.com/">Guild</a> for
becoming a public reference customer!</p>
<h3>New Validation utility</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/validation/">Docs</a></p>
</blockquote>
<p>The new Validation utility helps you validate incoming events and
responses using JSON Schemas. This is useful when you want request
payloads to conform to expected formats. You can also verify that
responses meet defined structures, ensuring consistency in both input
and output.</p>
<h4>Installation</h4>
<pre lang="sh"><code>npm i @aws-lambda-powertools/validation
</code></pre>
<h4>Key Features</h4>
<ul>
<li><strong>JSON Schema validation</strong> (supports draft-07 by
default, configurable to any version supported by <a
href="https://ajv.js.org/">Ajv</a></li>
<li><strong>Multiple implementation options</strong>:
<ul>
<li>Class method decorator <code>@validator</code></li>
<li>Middy.js middleware <code>validator</code></li>
<li>Standalone <code>validate</code> function</li>
</ul>
</li>
<li><strong>Flexible validation targets:</strong>
<ul>
<li>Incoming requests</li>
<li>Outbound responses</li>
<li>Partial payload validation using JMESPath expressions</li>
</ul>
</li>
</ul>
<h4>Examples</h4>
<p><strong>Using Middy.js middleware:</strong></p>
<p><img
src="https://github.com/user-attachments/assets/561159f1-fc20-48ef-9931-0413f609cbd2"
alt="carbon-9" /></p>
<p><strong>Using decorator with envelope extraction:</strong></p>
<p><img
src="https://github.com/user-attachments/assets/b3aa3eb5-4c5c-4019-a207-3e162d62828f"
alt="carbon-10" /></p>
<p><strong>Error handling with standalone validation:</strong></p>
<p><img
src="https://github.com/user-attachments/assets/fd42b73f-2261-40eb-9686-a941c9fe0037"
alt="carbon-6" /></p>
<p><strong>Learn more</strong></p>
<p>Head over to the <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/validation/">documentation</a>
to learn more about the utility and see more examples.</p>
<!-- 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>
<h1><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.16.0...v2.17.0">2.17.0</a>
(2025-03-25)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>ci:</strong> Remove --compatible-architectures from workflow
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3752">#3752</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/dafa49602ea45227384b63bff4d3f39d69e982d8">dafa496</a>)</li>
<li><strong>idempotency:</strong> include sk in error msgs when using
composite key (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3709">#3709</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/661f5ff7f3f3805e24f515892e98430dccebf979">661f5ff</a>)</li>
<li><strong>logger:</strong> correctly refresh sample rate (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3722">#3722</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/2692ca4d1b15763936659b05e1830d998a4d2020">2692ca4</a>)</li>
<li><strong>parser:</strong> ddb base schema + other exports (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3741">#3741</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/51a3410be8502496362d5ed13a64fe55691604ba">51a3410</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>commons:</strong> make utilities aware of provisioned
concurrency (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3724">#3724</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c28e45ecba315bac8fbc7744dbe21a3461747d44">c28e45e</a>)</li>
<li><strong>logger:</strong> set correlation ID in logs (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3726">#3726</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/aa74fc8548ccb8cb313ffd1742184c66e8d6c22c">aa74fc8</a>)</li>
<li><strong>metrics:</strong> allow setting functionName via constructor
parameter and environment variable (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3696">#3696</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3176fa08e1886d5c86e7b327134cc988b82cf8d8">3176fa0</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/577c76da79d069a2e9660e0af03fc352037284e9"><code>577c76d</code></a>
chore(ci): bump version to 2.17.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3770">#3770</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fa414d57aeb7ea0acb3a336ecf7f4894125cf927"><code>fa414d5</code></a>
chore(parameters): update AWS SDK client type (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3768">#3768</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/64f5cf28b2f88fcb4993aa7278aadf4aa3402f67"><code>64f5cf2</code></a>
chore(deps): bump <code>@types/aws-lambda</code> from 8.10.147 to
8.10.148 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3767">#3767</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/103a7f98a317612c6290a8bb0ca2152779f9d18f"><code>103a7f9</code></a>
chore(deps): bump github/codeql-action from 3.28.12 to 3.28.13 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3764">#3764</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3cc04518715fdd3d450a314e3ca2c5a99725b0ca"><code>3cc0451</code></a>
chore(deps): bump <code>@types/node</code> from 22.13.11 to 22.13.13
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3766">#3766</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/434cc8b3804ee10aa3b1f2023ff22a616c2950e8"><code>434cc8b</code></a>
chore: add Guild customer reference (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3769">#3769</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5e9f051d2a0fe4a39b1ac64367ebf659235eacc8"><code>5e9f051</code></a>
chore(ci): Simplified GovCloud Deploy (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3763">#3763</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/afab04fc10404e0c35571c9c210140436df79000"><code>afab04f</code></a>
chore(ci): fix region typo in govcloud (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3762">#3762</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/57d63442f2f4dc8f371f40ae85405568492692d6"><code>57d6344</code></a>
chore(ci): fix workflow GovCloud formatting (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3761">#3761</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b44b1ebcb246d892940e85c60106c37e813a62aa"><code>b44b1eb</code></a>
chore(deps-dev): bump the typescript group across 1 directory with 2
updates ...</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.16.0...v2.17.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `@aws-lambda-powertools/metrics` from 2.16.0 to 2.17.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.17.0</h2>
<p>Summary</p>
<p>This release introduces the new Validation utility to validate
payloads with JSON Schemas. This addition further reduces the feature
gap between this version of Powertools for AWS Lambda and the more
mature one in Python, and it’s also the first utility that was built
primarily by community contributors, hats off to <a
href="https://github.com/VatsalGoel3"><code>@VatsalGoel3</code></a>!</p>
<p>The release also enhances Logger with correlation ID support,
improves cold start reporting for Provisioned Concurrency, adds
customizable function name dimensions for metrics, and extends Lambda
layer availability to GovCloud (US) regions.</p>
<p>⭐️ Thanks to <a
href="https://github.com/VatsalGoel3"><code>@VatsalGoel3</code></a> and
<a href="https://github.com/steven10172"><code>@steven10172</code></a>
for their contributions, and <a href="https://guild.com/">Guild</a> for
becoming a public reference customer!</p>
<h3>New Validation utility</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/validation/">Docs</a></p>
</blockquote>
<p>The new Validation utility helps you validate incoming events and
responses using JSON Schemas. This is useful when you want request
payloads to conform to expected formats. You can also verify that
responses meet defined structures, ensuring consistency in both input
and output.</p>
<h4>Installation</h4>
<pre lang="sh"><code>npm i @aws-lambda-powertools/validation
</code></pre>
<h4>Key Features</h4>
<ul>
<li><strong>JSON Schema validation</strong> (supports draft-07 by
default, configurable to any version supported by <a
href="https://ajv.js.org/">Ajv</a></li>
<li><strong>Multiple implementation options</strong>:
<ul>
<li>Class method decorator <code>@validator</code></li>
<li>Middy.js middleware <code>validator</code></li>
<li>Standalone <code>validate</code> function</li>
</ul>
</li>
<li><strong>Flexible validation targets:</strong>
<ul>
<li>Incoming requests</li>
<li>Outbound responses</li>
<li>Partial payload validation using JMESPath expressions</li>
</ul>
</li>
</ul>
<h4>Examples</h4>
<p><strong>Using Middy.js middleware:</strong></p>
<p><img
src="https://github.com/user-attachments/assets/561159f1-fc20-48ef-9931-0413f609cbd2"
alt="carbon-9" /></p>
<p><strong>Using decorator with envelope extraction:</strong></p>
<p><img
src="https://github.com/user-attachments/assets/b3aa3eb5-4c5c-4019-a207-3e162d62828f"
alt="carbon-10" /></p>
<p><strong>Error handling with standalone validation:</strong></p>
<p><img
src="https://github.com/user-attachments/assets/fd42b73f-2261-40eb-9686-a941c9fe0037"
alt="carbon-6" /></p>
<p><strong>Learn more</strong></p>
<p>Head over to the <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/validation/">documentation</a>
to learn more about the utility and see more examples.</p>
<!-- 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>
<h1><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.16.0...v2.17.0">2.17.0</a>
(2025-03-25)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>ci:</strong> Remove --compatible-architectures from workflow
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3752">#3752</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/dafa49602ea45227384b63bff4d3f39d69e982d8">dafa496</a>)</li>
<li><strong>idempotency:</strong> include sk in error msgs when using
composite key (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3709">#3709</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/661f5ff7f3f3805e24f515892e98430dccebf979">661f5ff</a>)</li>
<li><strong>logger:</strong> correctly refresh sample rate (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3722">#3722</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/2692ca4d1b15763936659b05e1830d998a4d2020">2692ca4</a>)</li>
<li><strong>parser:</strong> ddb base schema + other exports (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3741">#3741</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/51a3410be8502496362d5ed13a64fe55691604ba">51a3410</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>commons:</strong> make utilities aware of provisioned
concurrency (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3724">#3724</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c28e45ecba315bac8fbc7744dbe21a3461747d44">c28e45e</a>)</li>
<li><strong>logger:</strong> set correlation ID in logs (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3726">#3726</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/aa74fc8548ccb8cb313ffd1742184c66e8d6c22c">aa74fc8</a>)</li>
<li><strong>metrics:</strong> allow setting functionName via constructor
parameter and environment variable (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3696">#3696</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3176fa08e1886d5c86e7b327134cc988b82cf8d8">3176fa0</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/577c76da79d069a2e9660e0af03fc352037284e9"><code>577c76d</code></a>
chore(ci): bump version to 2.17.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3770">#3770</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fa414d57aeb7ea0acb3a336ecf7f4894125cf927"><code>fa414d5</code></a>
chore(parameters): update AWS SDK client type (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3768">#3768</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/64f5cf28b2f88fcb4993aa7278aadf4aa3402f67"><code>64f5cf2</code></a>
chore(deps): bump <code>@types/aws-lambda</code> from 8.10.147 to
8.10.148 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3767">#3767</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/103a7f98a317612c6290a8bb0ca2152779f9d18f"><code>103a7f9</code></a>
chore(deps): bump github/codeql-action from 3.28.12 to 3.28.13 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3764">#3764</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3cc04518715fdd3d450a314e3ca2c5a99725b0ca"><code>3cc0451</code></a>
chore(deps): bump <code>@types/node</code> from 22.13.11 to 22.13.13
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3766">#3766</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/434cc8b3804ee10aa3b1f2023ff22a616c2950e8"><code>434cc8b</code></a>
chore: add Guild customer reference (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3769">#3769</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5e9f051d2a0fe4a39b1ac64367ebf659235eacc8"><code>5e9f051</code></a>
chore(ci): Simplified GovCloud Deploy (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3763">#3763</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/afab04fc10404e0c35571c9c210140436df79000"><code>afab04f</code></a>
chore(ci): fix region typo in govcloud (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3762">#3762</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/57d63442f2f4dc8f371f40ae85405568492692d6"><code>57d6344</code></a>
chore(ci): fix workflow GovCloud formatting (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3761">#3761</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b44b1ebcb246d892940e85c60106c37e813a62aa"><code>b44b1eb</code></a>
chore(deps-dev): bump the typescript group across 1 directory with 2
updates ...</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.16.0...v2.17.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `@aws-lambda-powertools/tracer` from 2.16.0 to 2.17.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.17.0</h2>
<p>Summary</p>
<p>This release introduces the new Validation utility to validate
payloads with JSON Schemas. This addition further reduces the feature
gap between this version of Powertools for AWS Lambda and the more
mature one in Python, and it’s also the first utility that was built
primarily by community contributors, hats off to <a
href="https://github.com/VatsalGoel3"><code>@VatsalGoel3</code></a>!</p>
<p>The release also enhances Logger with correlation ID support,
improves cold start reporting for Provisioned Concurrency, adds
customizable function name dimensions for metrics, and extends Lambda
layer availability to GovCloud (US) regions.</p>
<p>⭐️ Thanks to <a
href="https://github.com/VatsalGoel3"><code>@VatsalGoel3</code></a> and
<a href="https://github.com/steven10172"><code>@steven10172</code></a>
for their contributions, and <a href="https://guild.com/">Guild</a> for
becoming a public reference customer!</p>
<h3>New Validation utility</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/validation/">Docs</a></p>
</blockquote>
<p>The new Validation utility helps you validate incoming events and
responses using JSON Schemas. This is useful when you want request
payloads to conform to expected formats. You can also verify that
responses meet defined structures, ensuring consistency in both input
and output.</p>
<h4>Installation</h4>
<pre lang="sh"><code>npm i @aws-lambda-powertools/validation
</code></pre>
<h4>Key Features</h4>
<ul>
<li><strong>JSON Schema validation</strong> (supports draft-07 by
default, configurable to any version supported by <a
href="https://ajv.js.org/">Ajv</a></li>
<li><strong>Multiple implementation options</strong>:
<ul>
<li>Class method decorator <code>@validator</code></li>
<li>Middy.js middleware <code>validator</code></li>
<li>Standalone <code>validate</code> function</li>
</ul>
</li>
<li><strong>Flexible validation targets:</strong>
<ul>
<li>Incoming requests</li>
<li>Outbound responses</li>
<li>Partial payload validation using JMESPath expressions</li>
</ul>
</li>
</ul>
<h4>Examples</h4>
<p><strong>Using Middy.js middleware:</strong></p>
<p><img
src="https://github.com/user-attachments/assets/561159f1-fc20-48ef-9931-0413f609cbd2"
alt="carbon-9" /></p>
<p><strong>Using decorator with envelope extraction:</strong></p>
<p><img
src="https://github.com/user-attachments/assets/b3aa3eb5-4c5c-4019-a207-3e162d62828f"
alt="carbon-10" /></p>
<p><strong>Error handling with standalone validation:</strong></p>
<p><img
src="https://github.com/user-attachments/assets/fd42b73f-2261-40eb-9686-a941c9fe0037"
alt="carbon-6" /></p>
<p><strong>Learn more</strong></p>
<p>Head over to the <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/validation/">documentation</a>
to learn more about the utility and see more examples.</p>
<!-- 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>
<h1><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.16.0...v2.17.0">2.17.0</a>
(2025-03-25)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>ci:</strong> Remove --compatible-architectures from workflow
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3752">#3752</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/dafa49602ea45227384b63bff4d3f39d69e982d8">dafa496</a>)</li>
<li><strong>idempotency:</strong> include sk in error msgs when using
composite key (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3709">#3709</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/661f5ff7f3f3805e24f515892e98430dccebf979">661f5ff</a>)</li>
<li><strong>logger:</strong> correctly refresh sample rate (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3722">#3722</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/2692ca4d1b15763936659b05e1830d998a4d2020">2692ca4</a>)</li>
<li><strong>parser:</strong> ddb base schema + other exports (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3741">#3741</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/51a3410be8502496362d5ed13a64fe55691604ba">51a3410</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>commons:</strong> make utilities aware of provisioned
concurrency (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3724">#3724</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c28e45ecba315bac8fbc7744dbe21a3461747d44">c28e45e</a>)</li>
<li><strong>logger:</strong> set correlation ID in logs (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3726">#3726</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/aa74fc8548ccb8cb313ffd1742184c66e8d6c22c">aa74fc8</a>)</li>
<li><strong>metrics:</strong> allow setting functionName via constructor
parameter and environment variable (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3696">#3696</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3176fa08e1886d5c86e7b327134cc988b82cf8d8">3176fa0</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/577c76da79d069a2e9660e0af03fc352037284e9"><code>577c76d</code></a>
chore(ci): bump version to 2.17.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3770">#3770</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fa414d57aeb7ea0acb3a336ecf7f4894125cf927"><code>fa414d5</code></a>
chore(parameters): update AWS SDK client type (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3768">#3768</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/64f5cf28b2f88fcb4993aa7278aadf4aa3402f67"><code>64f5cf2</code></a>
chore(deps): bump <code>@types/aws-lambda</code> from 8.10.147 to
8.10.148 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3767">#3767</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/103a7f98a317612c6290a8bb0ca2152779f9d18f"><code>103a7f9</code></a>
chore(deps): bump github/codeql-action from 3.28.12 to 3.28.13 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3764">#3764</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3cc04518715fdd3d450a314e3ca2c5a99725b0ca"><code>3cc0451</code></a>
chore(deps): bump <code>@types/node</code> from 22.13.11 to 22.13.13
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3766">#3766</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/434cc8b3804ee10aa3b1f2023ff22a616c2950e8"><code>434cc8b</code></a>
chore: add Guild customer reference (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3769">#3769</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/5e9f051d2a0fe4a39b1ac64367ebf659235eacc8"><code>5e9f051</code></a>
chore(ci): Simplified GovCloud Deploy (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3763">#3763</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/afab04fc10404e0c35571c9c210140436df79000"><code>afab04f</code></a>
chore(ci): fix region typo in govcloud (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3762">#3762</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/57d63442f2f4dc8f371f40ae85405568492692d6"><code>57d6344</code></a>
chore(ci): fix workflow GovCloud formatting (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3761">#3761</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b44b1ebcb246d892940e85c60106c37e813a62aa"><code>b44b1eb</code></a>
chore(deps-dev): bump the typescript group across 1 directory with 2
updates ...</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.16.0...v2.17.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 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 5493334 commit f3100e1
File tree
3 files changed
+35
-32
lines changed- lambdas
- functions/control-plane
- libs/aws-powertools-util
3 files changed
+35
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | | - | |
254 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
259 | 260 | | |
260 | 261 | | |
| 262 | + | |
| 263 | + | |
261 | 264 | | |
262 | 265 | | |
263 | | - | |
| 266 | + | |
264 | 267 | | |
265 | 268 | | |
266 | 269 | | |
267 | | - | |
268 | | - | |
269 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
270 | 273 | | |
271 | | - | |
| 274 | + | |
272 | 275 | | |
273 | 276 | | |
274 | 277 | | |
275 | 278 | | |
276 | 279 | | |
277 | | - | |
| 280 | + | |
278 | 281 | | |
279 | 282 | | |
280 | 283 | | |
281 | | - | |
282 | | - | |
283 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
284 | 287 | | |
285 | | - | |
| 288 | + | |
286 | 289 | | |
287 | 290 | | |
288 | 291 | | |
| |||
303 | 306 | | |
304 | 307 | | |
305 | 308 | | |
306 | | - | |
| 309 | + | |
307 | 310 | | |
308 | 311 | | |
309 | 312 | | |
310 | | - | |
311 | | - | |
312 | | - | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
313 | 316 | | |
314 | | - | |
| 317 | + | |
315 | 318 | | |
316 | 319 | | |
317 | 320 | | |
318 | 321 | | |
319 | 322 | | |
320 | 323 | | |
321 | | - | |
| 324 | + | |
322 | 325 | | |
323 | 326 | | |
324 | 327 | | |
| |||
0 commit comments