Skip to content

Commit

Permalink
Upgrade: [dependabot] - bump @aws-lambda-powertools/logger from 2.7.0…
Browse files Browse the repository at this point in the history
… to 2.8.0 (#216)

Bumps
[@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript)
from 2.7.0 to 2.8.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.8.0</h2>
<h2>Summary</h2>
<p>This release introduces <strong>1/</strong> the ability store
parameters on AWS System Manager Parameter Store using the Parameters
utility, and <strong>2/</strong> a new option for Logger that you can
use to specify the order of how keys appear in your JSON-structured
logs.</p>
<p>We are also adding a new <code>TRACE</code> log level to align with
<a
href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-cloudwatchlogs-advanced.html#monitoring-cloudwatchlogs-log-level">AWS
Lambda Advanced Logging Controls (ALC)</a>, and improved made
improvements to errors in the Idempotency utility, which now include
more details on the cause of the error.</p>
<p>Finally, you can now use our public AWS Lambda Layers in two new AWS
Regions: <code>ap-south-2</code> and <code>me-central-1</code>.</p>
<p>⭐️ Thanks to <a
href="https://github.com/daschaa"><code>@​daschaa</code></a>, <a
href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a>,
and <a href="https://github.com/timo92"><code>@​timo92</code></a> for
their contributions to this release!</p>
<h3>Store parameters using SSM</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parameters/#storing-parameters">Docs</a></p>
</blockquote>
<p>In response to customer requests, you can now store parameters using
AWS System Manager Parameter Store with the <code>setParameter</code>
function. This new helper function fits right in with the other
Parameters features you know and love, and provides a seamless
experience without having to deal with the AWS SDK.</p>
<p><img
src="https://github.com/user-attachments/assets/a3a1bd72-16bf-4250-9ded-bbd82b488a7f"
alt="carbon-3" /></p>
<p>A big thank you to <a
href="https://github.com/daschaa"><code>@​daschaa</code></a> for working
on this feature!</p>
<h3>Specify log keys order</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/core/logger/#reordering-log-keys-position">Docs</a></p>
</blockquote>
<p>You can now change the order of the keys in your logs via the
<code>logRecordOrder</code> constructor parameter when using Logger.
This is useful when you want to customize how the logs are structured
without having to create and maintain your own <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/core/logger/#custom-log-formatter-bring-your-own-formatter">custom
log formatter</a>.</p>
<p><img
src="https://github.com/user-attachments/assets/98b427e4-144b-46a7-8e22-73c47bdec54f"
alt="carbon-4" /></p>
<p>When you specify one or more keys in the <code>logRecordOrder</code>
we’ll place these keys first, followed by all the other keys in the
log.</p>
<p>Thank you to <a
href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a> for
adding this feature!</p>
<h3>v1.x Reached End-of-Life (EOL)</h3>
<p>Starting from September 1st 2024, v1.x of Powertools for AWS Lambda
(TypeScript) has reached EOL and will not receive any further updates in
accordance with our <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/versioning/">Versioning
Policy</a>.</p>
<p>We recommend you to <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/upgrade/">upgrade
to v2.x</a> as soon as possible to continue receiving new feature and
bug fixes. If you are having issues migrating and need support, please
<a
href="https://github.com/aws-powertools/powertools-lambda-typescript?tab=readme-ov-file#connect">reach
out via one of our channels</a> or open a <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/discussions/new?category=q-a">discussion
on our repo</a>.</p>
<h2>Changes</h2>
<ul>
<li>chore(deps): bump github/codeql-action from 3.26.6 to 3.26.7 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3064">#3064</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions
from 3.0.11 to 3.0.12 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3034">#3034</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(maintenance): switch to unmanaged log group for functions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3014">#3014</a>)
by <a
href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></li>
<li>chore(maintenance): remove obsolete workflow (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3016">#3016</a>)
by <a
href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></li>
<li>chore(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3006">#3006</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps): bump actions/setup-python from 5.1.1 to 5.2.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3001">#3001</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps): bump github/codeql-action from 3.26.5 to 3.26.6 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2996">#2996</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>docs(parameters): review API docs &amp; README for Parameters (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2994">#2994</a>)
by <a href="https://github.com/am29d"><code>@​am29d</code></a></li>
<li>chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions
from 3.0.10 to 3.0.11 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2979">#2979</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</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.7.0...v2.8.0">2.8.0</a>
(2024-09-16)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>idempotency:</strong> include cause in idempotency
persistence layer error (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2916">#2916</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/47f016188e5d36611c10466a4755d1228a6e14e1">47f0161</a>)</li>
<li><strong>tracer:</strong> include request pathname in trace data (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2955">#2955</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/6864e53d73f49b15fd88ab35a4f6d22263d0c9fd">6864e53</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>logger:</strong> introduce log key reordering functionality
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2736">#2736</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/9677258f3c872400fca89b625760b7a45f923212">9677258</a>)</li>
<li><strong>logger:</strong> introduce loglevel trace <a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/1589">#1589</a>
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2902">#2902</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/650252c6863d95d53ed182888200db314a199b09">650252c</a>)</li>
<li><strong>parameters:</strong> adds setParameter function to store SSM
parameters (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3020">#3020</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8fd5479c6da2d60921df92fe7e5e72a0e03d5745">8fd5479</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/af831b872d1349c1b1307fff5763842250436e33"><code>af831b8</code></a>
chore(ci): bump version to 2.8.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3072">#3072</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e0cb52cd9b3bf0f97b342b79f44d822d5a486b15"><code>e0cb52c</code></a>
chore(deps-dev): bump path-to-regexp to 6.3.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3070">#3070</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/16f49b0bb8c8f37e85aad2c55f4b4b530bda2e6c"><code>16f49b0</code></a>
chore(deps): bump github/codeql-action from 3.26.6 to 3.26.7 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3064">#3064</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e9adac47426cbc75331579477ab0b6e9cc17386d"><code>e9adac4</code></a>
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/3066">#3066</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3a274241c5434206fa4c24c20ea0e012d714584d"><code>3a27424</code></a>
chore(deps-dev): bump <code>@​types/jest</code> from 29.5.12 to 29.5.13
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3063">#3063</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/078ccb50d43513a29190d9b3b306a494c3d97590"><code>078ccb5</code></a>
chore(deps-dev): bump tsx from 4.19.0 to 4.19.1 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3062">#3062</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/270afe52b36759f03bb2241519ce2e14316500b2"><code>270afe5</code></a>
chore(deps): bump vscode/devcontainers/javascript-node from
<code>aedf26c</code> to `f1e...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/db269581e955e50c17616c2b9e4c8d2d3dcd331c"><code>db26958</code></a>
improv(logger): streamline Logger types (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3054">#3054</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c0d21581c5be627db19cb25b85c5bf07f20e905a"><code>c0d2158</code></a>
improv(tracer): set <code>AWS_XRAY_CONTEXT_MISSING</code> to
<code>IGNORE_ERROR</code> when no valu...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8a463ad36fa3290a207c0846bcf10996399dc2a1"><code>8a463ad</code></a>
chore(deps-dev): bump <code>@​biomejs/biome</code> from 1.8.3 to 1.9.0
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3052">#3052</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.7.0...v2.8.0">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=2.7.0&new-version=2.8.0)](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 this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Sep 17, 2024
1 parent 8b62b21 commit 17222ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"typescript": "^5.6.2"
},
"dependencies": {
"@aws-lambda-powertools/logger": "^2.7.0",
"@aws-lambda-powertools/logger": "^2.8.0",
"@types/mustache": "^4.2.5",
"aws-lambda": "^1.0.7",
"axios": "^1.7.7",
Expand Down

0 comments on commit 17222ce

Please sign in to comment.