Skip to content

Commit

Permalink
⬆️ Bump @aws-lambda-powertools/parameters from 2.0.2 to 2.0.3 (#102)
Browse files Browse the repository at this point in the history
Bumps
[@aws-lambda-powertools/parameters](https://github.com/aws-powertools/powertools-lambda-typescript)
from 2.0.2 to 2.0.3.
<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.0.3</h2>
<h2>Summary</h2>
<p>This release brings a couple of bug fixes related to our new ESM
builds as well as minor improvements in how Logger formats error stack
traces.</p>
<h3>Idempotency</h3>
<p>Due to a misconfiguration in our build process some components of the
Idempotency utility were not being transformed correctly when bundling
our TypeScript source code to ESM-formatted JavaScript. This caused
runtime errors when importing the ESM build of the utility.</p>
<p>With this release we have fixed the build process and resolved the
issue so that the Idempotency utility can now be used with functions
using ESM.</p>
<h3>Layers</h3>
<p>Since the v2 release we have started including ESM builds to our <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/#lambda-layer">public
Lambda Layers</a>, however we failed to <a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/upgrade/#unable-to-use-esm">include
a polyfill</a> for the <code>require</code> keyword</p>
<p>Based on our tests the presence of this polyfill should not impact
your code but only code paths evaluated as a result of importing
Powertools utilities from the layer itself. If you encounter issues with
this change please let us know by <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/issues/new?assignees=&amp;labels=type%2Fbug%2Ctriage&amp;projects=aws-powertools%2F7&amp;template=bug_report.yml&amp;title=Bug%3A+TITLE">opening
an issue</a>.</p>
<h3>Logger</h3>
<p>As part of this release have improved the regular expression used to
extract the file and line locations of an error from its stack trace.
The change didn't result in any chance in the way errors are formatted,
so you should not see any difference in your logs.</p>
<h3>Acknowledgements</h3>
<p>Special thanks to <a
href="https://github.com/karthikeyanjp"><code>@​karthikeyanjp</code></a>
and <a
href="https://github.com/miguel-martinr"><code>@​miguel-martinr</code></a>
for their contributions as well as <a
href="https://github.com/AllyMurray"><code>@​AllyMurray</code></a> for
reporting the issue with bundling.</p>
<h2>Changes</h2>
<ul>
<li>chore(deps): bump github/codeql-action from 3.24.6 to 3.24.7 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2220">#2220</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2215">#2215</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(docs): remove missing README from typedoc for jmespath
temporarily (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2200">#2200</a>)
by <a href="https://github.com/am29d"><code>@​am29d</code></a></li>
<li>chore(deps): bump actions/download-artifact from 4.1.3 to 4.1.4 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2157">#2157</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(logger): improve regex in stack trace parsing (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2194">#2194</a>)
by <a
href="https://github.com/karthikeyanjp"><code>@​karthikeyanjp</code></a></li>
<li>feat(commons): add fromBase64 helper function (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2190">#2190</a>)
by <a
href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></li>
<li>feat(jmespath): add base types and errors (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2192">#2192</a>)
by <a
href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></li>
</ul>
<h2>🌟 Minor Changes</h2>
<ul>
<li>improv(commons): expand type utils functions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2189">#2189</a>)
by <a
href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></li>
</ul>
<h2>📜 Documentation updates</h2>
<ul>
<li>chore(deps): bump the aws-sdk group with 2 updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2237">#2237</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps-dev): bump aws-sdk from 2.1576.0 to 2.1578.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2236">#2236</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps): bump the aws-sdk group with 9 updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2227">#2227</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>docs(maintenance): update v1 and v2 status (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2226">#2226</a>)
by <a
href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></li>
<li>chore(deps-dev): bump aws-sdk from 2.1575.0 to 2.1576.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2222">#2222</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps-dev): bump the aws-sdk group with 1 update (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2221">#2221</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>2.0.3 (2024-03-15)</h2>
<p><strong>feat(logger):</strong> improve regex in stack trace parsing
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2121">#2121</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/ebe5eef3319fc95070c2c33c0ac64b8e42443b38">ebe5eef</a>)
<strong>fix(idempotency):</strong> transform private class fields (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2230">#2230</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/aa6e6e0c25bbc93151cc5cddc584400575604f05">aa6e6e0</a>)
<strong>improv(commons):</strong>: expand type utils functions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2191">#2191</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/9208393fe07d33cb35ea479b3c0866c8a7b91a21">9208393</a>)
<strong>feat(commons):</strong> add fromBase64 helper function (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2188">#2188</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/133159ba4cca41a61c14d62f9356bb89a7f0a08f">133159b</a>)
<strong>fix(layers):</strong>: add createRequire banner in esm build (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2231">#2231</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/730bcc93c027f4d60788badb6c5c01a09b3c70be">730bcc9</a>)</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/8138df15cd0dd5266097ef6ab33f89481a1d6831"><code>8138df1</code></a>
chore(ci): bump version to 2.0.3 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2240">#2240</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/a88ec79935c3a0beb799159f2c7ceca3e3ecc602"><code>a88ec79</code></a>
chore(deps): bump the aws-cdk group with 2 updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2238">#2238</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/de0e7597cb136fb5e70935cee90d6bcb9e87bea9"><code>de0e759</code></a>
chore(deps): bump the aws-sdk group with 2 updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2237">#2237</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/99d7821ced0c48f862757406a8a5f6e27e8fa3f2"><code>99d7821</code></a>
chore(deps): bump esbuild from 0.20.1 to 0.20.2 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2239">#2239</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/3c90a04bc0f34820c199a0c02972223b73e6cbdc"><code>3c90a04</code></a>
chore(deps-dev): bump aws-sdk from 2.1576.0 to 2.1578.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2236">#2236</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/6929c16faa062168a05502798be4c6b34b4d4157"><code>6929c16</code></a>
chore(deps-dev): bump <code>@​types/node</code> from 20.11.26 to
20.11.28 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2235">#2235</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e29088dc3eb0c5c6fb3c880184564ae34df681fe"><code>e29088d</code></a>
chore(deps-dev): bump follow-redirects from 1.15.5 to 1.15.6 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2234">#2234</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/02cbaf9ccf9d1b78634583689e595213fcb3644f"><code>02cbaf9</code></a>
chore(deps): bump the aws-sdk group with 9 updates (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2227">#2227</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/730bcc93c027f4d60788badb6c5c01a09b3c70be"><code>730bcc9</code></a>
fix(layers): add createRequire banner in esm (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2232">#2232</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/aa6e6e0c25bbc93151cc5cddc584400575604f05"><code>aa6e6e0</code></a>
fix(idempotency): transform private class fields (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/2233">#2233</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.0.2...v2.0.3">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.0.2&new-version=2.0.3)](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 Mar 18, 2024
1 parent 741fb2c commit d37841b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 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.0",
"@aws-lambda-powertools/logger": "^2.0.3",
"@aws-lambda-powertools/parameters": "^2.0.0",
"@aws-lambda-powertools/parameters": "^2.0.3",
"@middy/core": "^5.3.2",
"@middy/input-output-logger": "^5.3.0",
"@nhs/fhir-middy-error-handler": "^2.0.0",
Expand Down

0 comments on commit d37841b

Please sign in to comment.