Skip to content

Commit

Permalink
Upgrade: [dependabot] - bump @aws-lambda-powertools/parameters from 2…
Browse files Browse the repository at this point in the history
….1.0 to 2.1.1 (#243)

Bumps
[@aws-lambda-powertools/parameters](https://github.com/aws-powertools/powertools-lambda-typescript)
from 2.1.0 to 2.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/releases"><code>@​aws-lambda-powertools/parameters</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v2.1.1</h2>
<h2>Summary</h2>
<p>This patch release brings bug fixes to the Parser and a deprecation
notice to the Tracer utility.</p>
<h3>Parser</h3>
<p>In response to customer reports we have applied a number of fixes on
some of the built-in schemas for the Parser utility.</p>
<p>Specifically, the <code>queryStringParameters</code>,
<code>multiValueQueryStringParameters</code>, and <code>body</code>
fields in the <code>APIGatewayProxyEventSchema</code> have been
converted to <code>.nullable()</code> to account for them being set to
<code>null</code> in some types of requests.</p>
<p>Likewise, the <code>etag</code> field in the
<code>S3EventNotificationEventBridgeDetailSchema</code> has been made
<code>.optional()</code> since it's not included when an object being
deleted on S3 sends a notification via Amazon EventBridge.</p>
<p>Finally, the <code>principalOrgId</code> and
<code>cognitoIdentity</code> fields in the
<code>APIGatewayProxyEventV2Schema</code> have been converted to
<code>.nullish()</code>.</p>
<p>We want to thank everyone who has taken the time to test the first
beta for the Parser utility and especially those who have also reported
issues they might have encountered. Thank you for making Powertools for
AWS Lambda better for everyone!</p>
<h3>Tracer</h3>
<p>In March 2024, AWS announced that AWS SDK for JavaScript v2 will
reach end-of-support in September 8, 2025. In response to this
announcement, and to align with the warnings already being emitted by
the AWS SDK, with this release we are marking the
<code>captureAWS</code> and <code>captureAWSClient</code> methods as
deprecated.</p>
<p>This announcement does not impact the methods and you are free to
continue using them. The deprecation tag serves only as a gentle nudge
to consider a migration to the newer AWS SDK for JavaScript v3 which can
be instrumented via the <code>captureAWSv3Client</code>.</p>
<p>The two methods we are marking as deprecated today will be removed in
the next major release, which as of today has no planned date.</p>
<p>Acknowledgements</p>
<p>Congratulations to <a
href="https://github.com/blytheaw"><code>@​blytheaw</code></a> for
getting their first PR merged 🎉 and thanks also to <a
href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a> for
another successful contribution 🙏!</p>
<h3>Workshop</h3>
<p>For those of you wanting to get a deeper introduction to Powertools
for AWS Lambda, you can now try our official <a
href="https://catalog.workshops.aws/powertools-for-aws-lambda/en-US">self-paced
workshop</a> titled “Accelerate your serverless journey with Powertools
for AWS Lambda”.</p>
<h3>Miscellaneous</h3>
<p>We are happy to also share that we have restarted working on the RFC
process for the upcoming Event Handler utility. Last week we have
published a <a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2409">first
decision log</a> on our direction in terms of routing implementation
where we have decided to move forward with a new implementation rather
than taking a 3rd party library as dependency. The next step will be to
finalize the main RFC for how the API and Developer Experience (DX) for
the utility will look like.</p>
<p>In parallel, we have started refreshing the API docs for the
utilities starting with the Commons utility, which is mainly used
internally by other utilities. The goal for this workstream is to
standardize the docstrings and contextual documentation so that you can
have more details on what different public APIs do.</p>
<h2>Changes</h2>
<ul>
<li>chore(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2506">#2506</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps): bump github/codeql-action from 3.25.4 to 3.25.5 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2514">#2514</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(tracer): mark captureAWS &amp; captureAWSClient functions as
deprecated (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2508">#2508</a>)
by <a
href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a></li>
<li>chore(deps): bump github/codeql-action from 3.25.3 to 3.25.4 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2495">#2495</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps): bump actions/checkout from 4.1.4 to 4.1.5 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2489">#2489</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(docs): fix update layer arn for cdk (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2487">#2487</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.4 to 3.0.5 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2475">#2475</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps): bump actions/dependency-review-action from 4.2.5 to
4.3.2 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2460">#2460</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps): bump actions/download-artifact from 4.1.6 to 4.1.7 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2439">#2439</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/parameters</code>'s
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.1.0...v2.1.1">2.1.1</a>
(2024-05-14)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>parser:</strong> lambda function url cognitoIdentity and
principalOrgId nullable (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2430">#2430</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3c3e393df47d28a6bddb2a9d01cd6fefea3db15e">3c3e393</a>)</li>
<li><strong>parser:</strong> set APIGatewayProxyEventSchema body and
query string keys to be nullable (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2465">#2465</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/7ce5b3cff88b6eadeda1041b4eb076af2ebd848d">7ce5b3c</a>)</li>
<li><strong>parser:</strong> set etag optional for delete object
notifications (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2429">#2429</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/100e2238b45e224a369cc7a349f78cafda3f94b7">100e223</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/cc101393de7079aa2235f38650b2e6458dd3cadb"><code>cc10139</code></a>
chore(ci): bump version to 2.1.1 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2518">#2518</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/2f1f2593bc46e2bd0ec65ccea890c1c3a11de8c9"><code>2f1f259</code></a>
chore(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2506">#2506</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e24309b23e5327c1a2d5247b8d7d10d20589f751"><code>e24309b</code></a>
chore(deps): bump squidfunk/mkdocs-material in /docs (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2516">#2516</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/6d4f6375c7b522923b1f4c3268bc6107c8ade9ec"><code>6d4f637</code></a>
chore(deps-dev): bump tsx from 4.9.3 to 4.10.2 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2510">#2510</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c66864948dceed5b082e5830bfbaf2b4ecfe894e"><code>c668649</code></a>
chore(deps): bump mkdocs-material from 9.5.21 to 9.5.22 in /docs (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2515">#2515</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/2cf7ba3572830107f5d8a7f27d91acb28b1ae08e"><code>2cf7ba3</code></a>
chore(deps): bump github/codeql-action from 3.25.4 to 3.25.5 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2514">#2514</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/2614dbb1136e1fd3cf4859378629f3f6079a80ca"><code>2614dbb</code></a>
chore(deps): bump the aws-sdk group with 11 updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2509">#2509</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c9513889c7f49a9d8c210addbfc2791277d85db8"><code>c951388</code></a>
chore(deps-dev): bump lerna from 8.1.2 to 8.1.3 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2513">#2513</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e5cf50e7aa630fbb79d2539d443b231381a0863b"><code>e5cf50e</code></a>
chore(tracer): mark <code>captureAWS</code> &amp;
<code>captureAWSClient</code> methods as deprecated (...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/00ebc114ee5e2d0eddc6910ee326640211be2264"><code>00ebc11</code></a>
chore(deps-dev): bump aws-sdk from 2.1616.0 to 2.1617.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2507">#2507</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.1.0...v2.1.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@aws-lambda-powertools/parameters&package-manager=npm_and_yarn&previous-version=2.1.0&new-version=2.1.1)](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 May 14, 2024
1 parent 241b418 commit 63ef089
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 packages/statusLambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@aws-lambda-powertools/commons": "^2.0.4",
"@aws-lambda-powertools/logger": "^2.1.0",
"@aws-lambda-powertools/parameters": "^2.0.4",
"@aws-lambda-powertools/parameters": "^2.1.1",
"@middy/core": "^5.3.4",
"@middy/input-output-logger": "^5.3.4",
"@nhs/fhir-middy-error-handler": "^2.0.6",
Expand Down

0 comments on commit 63ef089

Please sign in to comment.