This repository was archived by the owner on Jan 16, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit f9533f3
authored
fix(lambda): bump the aws-powertools group in /lambdas with 3 updates (#4058)
Bumps the aws-powertools group in /lambdas with 3 updates:
[@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/logger` from 2.6.0 to 2.7.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.7.0</h2>
<h2>Summary</h2>
<p>This release <strong>1/</strong> brings a new helper function to
parse JSON stringified fields when using <strong>Parser</strong>,
<strong>2/</strong> and improved <strong>Metrics</strong>, which now can
emit metrics using the <code>None</code> unit.</p>
<p>⭐️ Thanks to <a
href="https://github.com/daschaa"><code>@daschaa</code></a> for fixing
<strong>Logger</strong> and making it default to :UTC when encountering
an invalid time zone value.</p>
<h3>Quickly parse JSON stringified fields</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parser/#sqs-schema-with-jsonstringified">Docs</a></p>
</blockquote>
<p>You can now parse and validate JSON stringified fields using Zod
schemas without having to transform them first. This is useful when
working with payloads coming from sources that stringify payloads like
Amazon API Gateway, Amazon SQS, Amazon Application Load Balancer (ALB),
etc.</p>
<p>Use the <code>JSONStringified</code> helper to extend your schemas or
any of the <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parser/#built-in-schemas">built-in
schemas</a> in Parser:</p>
<p><img
src="https://github.com/user-attachments/assets/d1f93441-f2cd-48e9-9ac1-73c245d1ddc9"
alt="carbon-2" /></p>
<h3>Metrics without unit</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/core/metrics/#metrics">Docs</a></p>
</blockquote>
<p>You can now create metrics without a unit of measure, this is helpful
when your business metrics are tied to an abstract concept or when none
of the <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">units
supported by the Embedded metric format specification</a> fit.</p>
<p><img
src="https://github.com/user-attachments/assets/be74ca01-50f3-4f88-89e9-5d272f18818e"
alt="carbon-2" /></p>
<h2>Changes</h2>
<ul>
<li>chore(ci): extract cached-node-modules action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2876">#2876</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>chore(deps): bump github/codeql-action from 3.25.14 to 3.25.15 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2855">#2855</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2856">#2856</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump github/codeql-action from 3.25.13 to 3.25.14 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2845">#2845</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
</ul>
<h2>🌟New features and non-breaking changes</h2>
<ul>
<li>feat(metrics): add unit None for CloudWatch EMF Metrics (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2904">#2904</a>)
by <a href="https://github.com/am29d"><code>@am29d</code></a></li>
<li>feat(parser): add helper functions to transform JSON stringified
payloads (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2901">#2901</a>)
by <a href="https://github.com/am29d"><code>@am29d</code></a></li>
</ul>
<h2>📜 Documentation updates</h2>
<ul>
<li>feat(parser): add helper functions to transform JSON stringified
payloads (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2901">#2901</a>)
by <a href="https://github.com/am29d"><code>@am29d</code></a></li>
<li>chore(deps): bump the aws-cdk group across 1 directory with 2
updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2884">#2884</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump typescript from 5.4.5 to 5.5.4 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2820">#2820</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></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/2882">#2882</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump mkdocs-material from 9.5.30 to 9.5.31 in /docs (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2877">#2877</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump <code>@types/node</code> from 22.0.2 to 22.1.0
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2879">#2879</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump squidfunk/mkdocs-material from
<code>257eca8</code> to <code>9919d6e</code> in /docs (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2881">#2881</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump <code>@types/node</code> from 22.0.0 to 22.0.2
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2872">#2872</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps-dev): bump tsx from 4.16.3 to 4.16.5 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2873">#2873</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump ts-jest from 29.1.5 to 29.2.4 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2874">#2874</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(maintenance): add LocalStack customer reference (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2870">#2870</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></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>
<h1><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.6.0...v2.7.0">2.7.0</a>
(2024-08-08)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>logger:</strong> invalid time zone environment variables
leads to error (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2865">#2865</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d55465f937390f4511e837033db0dab582cf4e14">d55465f</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>metrics:</strong> add unit None for CloudWatch EMF Metrics
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2904">#2904</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fa27cba5ffdb9d123b25d206c189ad17eeb8b44b">fa27cba</a>)</li>
<li><strong>parser:</strong> add helper function to handle JSON
stringified fields (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2901">#2901</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/806b884f51684fa4654d357fafdf8ebeda4de01b">806b884</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/24c423c1e731a6186f1eab8ceeb34cabac415f9e"><code>24c423c</code></a>
chore(ci): bump version to 2.7.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2905">#2905</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fa27cba5ffdb9d123b25d206c189ad17eeb8b44b"><code>fa27cba</code></a>
feat(metrics): add unit None for CloudWatch EMF Metrics (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2904">#2904</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/806b884f51684fa4654d357fafdf8ebeda4de01b"><code>806b884</code></a>
feat(parser): add helper function to handle JSON stringified fields (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2901">#2901</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b064408e0581914d496091c8093a8c2f3e1f308c"><code>b064408</code></a>
chore(commons): extract lru-cache into commons (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2899">#2899</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a9d4a9cdfe5af9f0813be29374da45d43bdb5d59"><code>a9d4a9c</code></a>
chore(deps-dev): bump lint-staged from 15.2.7 to 15.2.8 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2885">#2885</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/13411dd70dee8371b68818db701d31706844d706"><code>13411dd</code></a>
chore(deps-dev): bump aws-sdk from 2.1667.0 to 2.1668.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2890">#2890</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/4f7e33b08981795c7cf01325a0e8c417f86095f7"><code>4f7e33b</code></a>
chore(deps): bump the aws-cdk group across 1 directory with 2 updates
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2884">#2884</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b9b9ec69e86c6a124dac0184df0a2fe12a6b042c"><code>b9b9ec6</code></a>
chore(deps-dev): bump aws-sdk from 2.1666.0 to 2.1667.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2886">#2886</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fae0fc99eeb39f6d09e0929fb9cc54203a8ff79b"><code>fae0fc9</code></a>
chore(deps): bump typescript from 5.4.5 to 5.5.4 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2820">#2820</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3feba287559de5e7ed59680593c336650ee9742e"><code>3feba28</code></a>
chore(ci): extract cached-node-modules action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2876">#2876</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.6.0...v2.7.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `@aws-lambda-powertools/metrics` from 2.6.0 to 2.7.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.7.0</h2>
<h2>Summary</h2>
<p>This release <strong>1/</strong> brings a new helper function to
parse JSON stringified fields when using <strong>Parser</strong>,
<strong>2/</strong> and improved <strong>Metrics</strong>, which now can
emit metrics using the <code>None</code> unit.</p>
<p>⭐️ Thanks to <a
href="https://github.com/daschaa"><code>@daschaa</code></a> for fixing
<strong>Logger</strong> and making it default to :UTC when encountering
an invalid time zone value.</p>
<h3>Quickly parse JSON stringified fields</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parser/#sqs-schema-with-jsonstringified">Docs</a></p>
</blockquote>
<p>You can now parse and validate JSON stringified fields using Zod
schemas without having to transform them first. This is useful when
working with payloads coming from sources that stringify payloads like
Amazon API Gateway, Amazon SQS, Amazon Application Load Balancer (ALB),
etc.</p>
<p>Use the <code>JSONStringified</code> helper to extend your schemas or
any of the <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parser/#built-in-schemas">built-in
schemas</a> in Parser:</p>
<p><img
src="https://github.com/user-attachments/assets/d1f93441-f2cd-48e9-9ac1-73c245d1ddc9"
alt="carbon-2" /></p>
<h3>Metrics without unit</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/core/metrics/#metrics">Docs</a></p>
</blockquote>
<p>You can now create metrics without a unit of measure, this is helpful
when your business metrics are tied to an abstract concept or when none
of the <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">units
supported by the Embedded metric format specification</a> fit.</p>
<p><img
src="https://github.com/user-attachments/assets/be74ca01-50f3-4f88-89e9-5d272f18818e"
alt="carbon-2" /></p>
<h2>Changes</h2>
<ul>
<li>chore(ci): extract cached-node-modules action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2876">#2876</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>chore(deps): bump github/codeql-action from 3.25.14 to 3.25.15 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2855">#2855</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2856">#2856</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump github/codeql-action from 3.25.13 to 3.25.14 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2845">#2845</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
</ul>
<h2>🌟New features and non-breaking changes</h2>
<ul>
<li>feat(metrics): add unit None for CloudWatch EMF Metrics (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2904">#2904</a>)
by <a href="https://github.com/am29d"><code>@am29d</code></a></li>
<li>feat(parser): add helper functions to transform JSON stringified
payloads (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2901">#2901</a>)
by <a href="https://github.com/am29d"><code>@am29d</code></a></li>
</ul>
<h2>📜 Documentation updates</h2>
<ul>
<li>feat(parser): add helper functions to transform JSON stringified
payloads (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2901">#2901</a>)
by <a href="https://github.com/am29d"><code>@am29d</code></a></li>
<li>chore(deps): bump the aws-cdk group across 1 directory with 2
updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2884">#2884</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump typescript from 5.4.5 to 5.5.4 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2820">#2820</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></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/2882">#2882</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump mkdocs-material from 9.5.30 to 9.5.31 in /docs (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2877">#2877</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump <code>@types/node</code> from 22.0.2 to 22.1.0
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2879">#2879</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump squidfunk/mkdocs-material from
<code>257eca8</code> to <code>9919d6e</code> in /docs (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2881">#2881</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump <code>@types/node</code> from 22.0.0 to 22.0.2
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2872">#2872</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps-dev): bump tsx from 4.16.3 to 4.16.5 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2873">#2873</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump ts-jest from 29.1.5 to 29.2.4 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2874">#2874</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(maintenance): add LocalStack customer reference (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2870">#2870</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></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>
<h1><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.6.0...v2.7.0">2.7.0</a>
(2024-08-08)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>logger:</strong> invalid time zone environment variables
leads to error (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2865">#2865</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d55465f937390f4511e837033db0dab582cf4e14">d55465f</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>metrics:</strong> add unit None for CloudWatch EMF Metrics
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2904">#2904</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fa27cba5ffdb9d123b25d206c189ad17eeb8b44b">fa27cba</a>)</li>
<li><strong>parser:</strong> add helper function to handle JSON
stringified fields (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2901">#2901</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/806b884f51684fa4654d357fafdf8ebeda4de01b">806b884</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/24c423c1e731a6186f1eab8ceeb34cabac415f9e"><code>24c423c</code></a>
chore(ci): bump version to 2.7.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2905">#2905</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fa27cba5ffdb9d123b25d206c189ad17eeb8b44b"><code>fa27cba</code></a>
feat(metrics): add unit None for CloudWatch EMF Metrics (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2904">#2904</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/806b884f51684fa4654d357fafdf8ebeda4de01b"><code>806b884</code></a>
feat(parser): add helper function to handle JSON stringified fields (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2901">#2901</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b064408e0581914d496091c8093a8c2f3e1f308c"><code>b064408</code></a>
chore(commons): extract lru-cache into commons (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2899">#2899</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a9d4a9cdfe5af9f0813be29374da45d43bdb5d59"><code>a9d4a9c</code></a>
chore(deps-dev): bump lint-staged from 15.2.7 to 15.2.8 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2885">#2885</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/13411dd70dee8371b68818db701d31706844d706"><code>13411dd</code></a>
chore(deps-dev): bump aws-sdk from 2.1667.0 to 2.1668.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2890">#2890</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/4f7e33b08981795c7cf01325a0e8c417f86095f7"><code>4f7e33b</code></a>
chore(deps): bump the aws-cdk group across 1 directory with 2 updates
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2884">#2884</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b9b9ec69e86c6a124dac0184df0a2fe12a6b042c"><code>b9b9ec6</code></a>
chore(deps-dev): bump aws-sdk from 2.1666.0 to 2.1667.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2886">#2886</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fae0fc99eeb39f6d09e0929fb9cc54203a8ff79b"><code>fae0fc9</code></a>
chore(deps): bump typescript from 5.4.5 to 5.5.4 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2820">#2820</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3feba287559de5e7ed59680593c336650ee9742e"><code>3feba28</code></a>
chore(ci): extract cached-node-modules action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2876">#2876</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.6.0...v2.7.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `@aws-lambda-powertools/tracer` from 2.6.0 to 2.7.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.7.0</h2>
<h2>Summary</h2>
<p>This release <strong>1/</strong> brings a new helper function to
parse JSON stringified fields when using <strong>Parser</strong>,
<strong>2/</strong> and improved <strong>Metrics</strong>, which now can
emit metrics using the <code>None</code> unit.</p>
<p>⭐️ Thanks to <a
href="https://github.com/daschaa"><code>@daschaa</code></a> for fixing
<strong>Logger</strong> and making it default to :UTC when encountering
an invalid time zone value.</p>
<h3>Quickly parse JSON stringified fields</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parser/#sqs-schema-with-jsonstringified">Docs</a></p>
</blockquote>
<p>You can now parse and validate JSON stringified fields using Zod
schemas without having to transform them first. This is useful when
working with payloads coming from sources that stringify payloads like
Amazon API Gateway, Amazon SQS, Amazon Application Load Balancer (ALB),
etc.</p>
<p>Use the <code>JSONStringified</code> helper to extend your schemas or
any of the <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parser/#built-in-schemas">built-in
schemas</a> in Parser:</p>
<p><img
src="https://github.com/user-attachments/assets/d1f93441-f2cd-48e9-9ac1-73c245d1ddc9"
alt="carbon-2" /></p>
<h3>Metrics without unit</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/core/metrics/#metrics">Docs</a></p>
</blockquote>
<p>You can now create metrics without a unit of measure, this is helpful
when your business metrics are tied to an abstract concept or when none
of the <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">units
supported by the Embedded metric format specification</a> fit.</p>
<p><img
src="https://github.com/user-attachments/assets/be74ca01-50f3-4f88-89e9-5d272f18818e"
alt="carbon-2" /></p>
<h2>Changes</h2>
<ul>
<li>chore(ci): extract cached-node-modules action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2876">#2876</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></a></li>
<li>chore(deps): bump github/codeql-action from 3.25.14 to 3.25.15 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2855">#2855</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2856">#2856</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump github/codeql-action from 3.25.13 to 3.25.14 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2845">#2845</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
</ul>
<h2>🌟New features and non-breaking changes</h2>
<ul>
<li>feat(metrics): add unit None for CloudWatch EMF Metrics (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2904">#2904</a>)
by <a href="https://github.com/am29d"><code>@am29d</code></a></li>
<li>feat(parser): add helper functions to transform JSON stringified
payloads (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2901">#2901</a>)
by <a href="https://github.com/am29d"><code>@am29d</code></a></li>
</ul>
<h2>📜 Documentation updates</h2>
<ul>
<li>feat(parser): add helper functions to transform JSON stringified
payloads (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2901">#2901</a>)
by <a href="https://github.com/am29d"><code>@am29d</code></a></li>
<li>chore(deps): bump the aws-cdk group across 1 directory with 2
updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2884">#2884</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump typescript from 5.4.5 to 5.5.4 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2820">#2820</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></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/2882">#2882</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump mkdocs-material from 9.5.30 to 9.5.31 in /docs (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2877">#2877</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump <code>@types/node</code> from 22.0.2 to 22.1.0
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2879">#2879</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump squidfunk/mkdocs-material from
<code>257eca8</code> to <code>9919d6e</code> in /docs (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2881">#2881</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump <code>@types/node</code> from 22.0.0 to 22.0.2
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2872">#2872</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps-dev): bump tsx from 4.16.3 to 4.16.5 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2873">#2873</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(deps): bump ts-jest from 29.1.5 to 29.2.4 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2874">#2874</a>)
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
<li>chore(maintenance): add LocalStack customer reference (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2870">#2870</a>)
by <a
href="https://github.com/dreamorosi"><code>@dreamorosi</code></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>
<h1><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.6.0...v2.7.0">2.7.0</a>
(2024-08-08)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>logger:</strong> invalid time zone environment variables
leads to error (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2865">#2865</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/d55465f937390f4511e837033db0dab582cf4e14">d55465f</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>metrics:</strong> add unit None for CloudWatch EMF Metrics
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2904">#2904</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fa27cba5ffdb9d123b25d206c189ad17eeb8b44b">fa27cba</a>)</li>
<li><strong>parser:</strong> add helper function to handle JSON
stringified fields (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2901">#2901</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/806b884f51684fa4654d357fafdf8ebeda4de01b">806b884</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/24c423c1e731a6186f1eab8ceeb34cabac415f9e"><code>24c423c</code></a>
chore(ci): bump version to 2.7.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2905">#2905</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fa27cba5ffdb9d123b25d206c189ad17eeb8b44b"><code>fa27cba</code></a>
feat(metrics): add unit None for CloudWatch EMF Metrics (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2904">#2904</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/806b884f51684fa4654d357fafdf8ebeda4de01b"><code>806b884</code></a>
feat(parser): add helper function to handle JSON stringified fields (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2901">#2901</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b064408e0581914d496091c8093a8c2f3e1f308c"><code>b064408</code></a>
chore(commons): extract lru-cache into commons (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2899">#2899</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a9d4a9cdfe5af9f0813be29374da45d43bdb5d59"><code>a9d4a9c</code></a>
chore(deps-dev): bump lint-staged from 15.2.7 to 15.2.8 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2885">#2885</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/13411dd70dee8371b68818db701d31706844d706"><code>13411dd</code></a>
chore(deps-dev): bump aws-sdk from 2.1667.0 to 2.1668.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2890">#2890</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/4f7e33b08981795c7cf01325a0e8c417f86095f7"><code>4f7e33b</code></a>
chore(deps): bump the aws-cdk group across 1 directory with 2 updates
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2884">#2884</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/b9b9ec69e86c6a124dac0184df0a2fe12a6b042c"><code>b9b9ec6</code></a>
chore(deps-dev): bump aws-sdk from 2.1666.0 to 2.1667.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2886">#2886</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fae0fc99eeb39f6d09e0929fb9cc54203a8ff79b"><code>fae0fc9</code></a>
chore(deps): bump typescript from 5.4.5 to 5.5.4 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2820">#2820</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3feba287559de5e7ed59680593c336650ee9742e"><code>3feba28</code></a>
chore(ci): extract cached-node-modules action (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2876">#2876</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.6.0...v2.7.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 5ecdbad commit f9533f3Copy full SHA for f9533f3
File tree
2 files changed
+25
-25
lines changedFilter options
- lambdas
- libs/aws-powertools-util
2 files changed
+25
-25
lines changedDiff for: lambdas/libs/aws-powertools-util/package.json
Copy file name to clipboardExpand all lines: lambdas/libs/aws-powertools-util/package.json+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
39 |
| - | |
40 |
| - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
|
+22-22
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 |
| - | |
108 |
| - | |
109 |
| - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
110 | 110 |
| |
111 |
| - | |
| 111 | + | |
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
118 |
| - | |
| 118 | + | |
119 | 119 |
| |
120 | 120 |
| |
121 | 121 |
| |
122 |
| - | |
123 |
| - | |
124 |
| - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
125 | 125 |
| |
126 |
| - | |
| 126 | + | |
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
132 |
| - | |
| 132 | + | |
133 | 133 |
| |
134 | 134 |
| |
135 | 135 |
| |
136 |
| - | |
137 |
| - | |
138 |
| - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
139 | 139 |
| |
140 |
| - | |
| 140 | + | |
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
147 |
| - | |
| 147 | + | |
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
| |||
4569 | 4569 |
| |
4570 | 4570 |
| |
4571 | 4571 |
| |
4572 |
| - | |
4573 |
| - | |
4574 |
| - | |
| 4572 | + | |
| 4573 | + | |
| 4574 | + | |
4575 | 4575 |
| |
4576 | 4576 |
| |
4577 | 4577 |
| |
|
0 commit comments