Skip to content

Commit

Permalink
fix(lambda): bump @aws-lambda-powertools/logger from 1.14.0 to 1.14.2…
Browse files Browse the repository at this point in the history
… in /lambdas (#3611)

Bumps
[@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript)
from 1.14.0 to 1.14.2.
<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>v1.14.2</h2>
<h2>Summary</h2>
<p>In this patch release we are fixing a bug that affected the Metrics
utility.</p>
<p>When using the utility you can <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/core/metrics/#adding-default-dimensions">set
default dimensions</a> that will be added to every metric emitted by
your application.</p>
<p><img
src="https://github.com/aws-powertools/powertools-lambda-typescript/assets/7353869/e09b4988-269f-4be6-b356-c3a09081df1e"
alt="carbon" /></p>
<p>Before this release, when setting a dimension using an existing key,
the emitted <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Embedded_Metric_Format_Specification.html">EMF
blob</a> would contain duplicate keys. This release fixes the bug and
makes sure that keys are deduplicated correctly.</p>
<p>Additionally we have also improved our Gitpod configuration which
should make it easier for contributors to get up and running.</p>
<h2>Changes</h2>
<h2>📜 Documentation updates</h2>
<ul>
<li>docs(maintenance): add clarification about async decorators (<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/1778">#1778</a>)
by <a
href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></li>
</ul>
<h2>🐛 Bug and hot fixes</h2>
<ul>
<li>fix(metrics): deduplicate dimensions when serialising (<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/1780">#1780</a>)
by <a href="https://github.com/am29d"><code>@​am29d</code></a></li>
</ul>
<h2>🔧 Maintenance</h2>
<ul>
<li>chore(maintenance): improve Gitpod config (<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/1782">#1782</a>)
by <a
href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></li>
</ul>
<h2>This release was made possible by the following contributors:</h2>
<p><a href="https://github.com/am29d"><code>@​am29d</code></a>, <a
href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></p>
<h2>v1.14.1</h2>
<h2>Summary</h2>
<p>In this patch release we have improved the logic around creating AWS
SDK clients in the Parameters &amp; Idempotency utility, as well as
improving our documentation to include sections dedicated to how to
contribute and how we manage the project.</p>
<h3>Idempotency &amp; Parameters</h3>
<p>Both the Idempotency utility and the Parameters one allow you to
bring your own AWS SDK to interact with AWS APIs. This is useful when
there's a need to customize the SDK client or share an existing one
already used in other parts of the function. Prior to this release, both
utilities were instantiating a new AWS SDK client by default, only to
then replace it with the customer provided one. In these cases, we were
needlessly instantiating a client leading to wasted cycles.</p>
<p>Starting from this version both utilities include a refactored logic
that instantiate a new SDK client only when a valid one is not provided
by the customer. This way customers bringing their own client don't have
to pay the performance hit of instantiating multiple clients.</p>
<h3>Documentation</h3>
<p>As part of this release we have also added <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/roadmap/">a
new section to our documentation</a> dedicated to explain our processes.
The section includes our roadmap, the <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/maintainers/">maintainers'
handbook</a>, and a few sections dedicated to contributing. These
sections are designed to be a companion to the <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/CONTRIBUTING.md">contributing
guidelines</a>, which we also refreshed to make them more focused, and
provide a deeper look around specific areas like <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/contributing/setup/">setting
your development environment</a>, finding you <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/contributing/getting_started/">first
contribution</a>, <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/contributing/conventions/">project's
conventions</a>, and <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/contributing/testing/">testing</a>.</p>
<h2>Changes</h2>
<ul>
<li>chore(idempotency): refactor aws sdk init logic (<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/1768">#1768</a>)
by <a
href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></li>
<li>chore(commons): update Powertools UA middleware detection (<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/1762">#1762</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>
<h2><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v1.14.1...v1.14.2">1.14.2</a>
(2023-11-03)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>metrics:</strong> deduplicate dimensions when serialising
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/1780">#1780</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8181b481ba96fa7a91959ff2d40bdedfe80b451b">8181b48</a>)</li>
</ul>
<h2><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v1.14.0...v1.14.1">1.14.1</a>
(2023-10-31)</h2>
<p><strong>Note:</strong> Version bump only for package
aws-lambda-powertools-typescript</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/1944156f0e8e2437c3f8947df9712e30d74a505b"><code>1944156</code></a>
chore(release): v1.14.2 [skip ci]</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/35f0c5a9769d2d3b576c310d0c8cf7e4fcdea461"><code>35f0c5a</code></a>
chore(maintenance): improve Gitpod config (<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/1782">#1782</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8181b481ba96fa7a91959ff2d40bdedfe80b451b"><code>8181b48</code></a>
fix(metrics): deduplicate dimensions when serialising (<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/1780">#1780</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/fab61101c5a8b658a723f4f65ad8160f5a6ccc08"><code>fab6110</code></a>
docs(maintenance): add clarification about async decorators (<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/1778">#1778</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/2d9f8b65b005f1f15b92d04b07172ae5bf791053"><code>2d9f8b6</code></a>
chore: update layer ARN on documentation</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/1805a34f2e5047c327df025930de225bdc27e4ca"><code>1805a34</code></a>
chore(release): v1.14.1 [skip ci]</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/6e2d05f2d0654111eb6aa2a0818fcbeb46a0e228"><code>6e2d05f</code></a>
build(maintenance): bump aws sdk dev dependencies (<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/1771">#1771</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/2ad37b14e0a8ed2af85ae87a34ad1c37093ba93f"><code>2ad37b1</code></a>
build(tracer): bump aws-xray-sdk-core to latest (<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/1769">#1769</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8b3bf042675847f52fa1b9ff5a9e2d3e90c90a13"><code>8b3bf04</code></a>
chore(idempotency): refactor aws sdk init logic (<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/1768">#1768</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/68fc7580765cdb0b4b39a6a6d3ea259ed2a01980"><code>68fc758</code></a>
chore(commons): update Powertools UA middleware detection (<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/1762">#1762</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v1.14.0...v1.14.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@aws-lambda-powertools/logger&package-manager=npm_and_yarn&previous-version=1.14.0&new-version=1.14.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Nov 14, 2023
1 parent e1b9c3d commit 1292c6b
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions lambdas/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -92,22 +92,17 @@
"@aws-sdk/util-utf8-browser" "^3.0.0"
tslib "^1.11.1"

"@aws-lambda-powertools/commons@^1.14.0":
version "1.14.0"
resolved "https://registry.yarnpkg.com/@aws-lambda-powertools/commons/-/commons-1.14.0.tgz#0840ed84f03687b4d6fd19a471b8f10ca8120199"
integrity sha512-+kxLITfkH/G4C6N9b1kmvT4HSvqxRMtzmghwdiigqSGkRubCCRaxewBIII66DHgpXK5JhoWmTmdsBVwpEWqwvA==

"@aws-lambda-powertools/commons@^1.14.2":
version "1.14.2"
resolved "https://registry.yarnpkg.com/@aws-lambda-powertools/commons/-/commons-1.14.2.tgz#930dbf80443afcd7bba1603b79bce416ce2f2b89"
integrity sha512-pGW2RSeOEbU1e+mj+MlMkaiM4njO289glFjJA1V+H8bmjvHJXaItroH7lutZ8Gde1Iq+5WoRVQN8M/xmMNSxIA==

"@aws-lambda-powertools/logger@^1.8.0":
version "1.14.0"
resolved "https://registry.yarnpkg.com/@aws-lambda-powertools/logger/-/logger-1.14.0.tgz#cd8d255513bf637379384764773505ef89119664"
integrity sha512-GIj2MMFwULSKtvwcQqd6BjI5gVie/I7bPYBCfSkEhBFf2CsFPs/B3xJ+E8jMiTdaQdmvE2ykwHhqVgItRaKPvA==
version "1.14.2"
resolved "https://registry.yarnpkg.com/@aws-lambda-powertools/logger/-/logger-1.14.2.tgz#0b511eb574407183d28c1a0a172c4deac3e04cbe"
integrity sha512-eUu1qF/8S3H7SquaKjmIj/go/3UDYwsfiJ3My1gtqd9eKRlUPKpvktAeF/+yghcO0BmuA5q1i2hKr8rsJ+2lGg==
dependencies:
"@aws-lambda-powertools/commons" "^1.14.0"
"@aws-lambda-powertools/commons" "^1.14.2"
lodash.merge "^4.6.2"

"@aws-lambda-powertools/tracer@^1.14.0":
Expand Down

0 comments on commit 1292c6b

Please sign in to comment.