Skip to content

Commit

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

Bumps
[@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript)
from 2.8.0 to 2.9.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.9.0</h2>
<h2>Summary</h2>
<p>This release introduces <strong>1/</strong> the ability to process
records sequentially when working with async functions in Batch
Processing, <strong>2/</strong> a new option for Idempotency to
manipulate the payload stored for idempotent operations, and
<strong>3/</strong> the option to specify custom JMESPath functions when
selecting an idempotency key.</p>
<p>Finally, you can now use the Parser utility when using our public AWS
Lambda layers.</p>
<p>⭐️ Thanks to <a
href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a>, <a
href="https://github.com/garysassano"><code>@​garysassano</code></a>
and, <a
href="https://github.com/scratchclaggy"><code>@​scratchclaggy</code></a>
for their big contributions to this release!</p>
<h3>Sequential async processing</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/batch/#sequential-async-processing">Docs</a></p>
</blockquote>
<p>You can now process records sequentially when working with async
functions in Batch Processing by setting the
<code>processInParallel</code> option to <code>false</code>. This is
useful for when you want to opt-out of the default behavior and preserve
the order of the records.</p>
<p><img
src="https://github.com/user-attachments/assets/11a452da-dd18-46e4-b8c4-db412086b5a5"
alt="carbon-4" /></p>
<h3>Manipulating idempotent responses</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/idempotency/#manipulating-the-idempotent-response">Docs</a></p>
</blockquote>
<p>Now you can set up a <code>responseHook</code> function when
configuring the Idempotency utility to manipulate the returned data when
an operation is idempotent.</p>
<p><img
src="https://github.com/user-attachments/assets/125bd912-c98b-4304-bb49-586d02ba98dc"
alt="carbon-3" /></p>
<h3>Custom JMESPath functions with Idempotency</h3>
<blockquote>
<p><a
href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/idempotency/#custom-jmespath-functions">Docs</a></p>
</blockquote>
<p>You can now use custom JMESPath functions with the Idempotency
utility by configuring the <code>jmesPathOptions</code> in your
idempotency configuration. This is useful when you’re making idempotent
operations that accept complex payloads or encoding formats that are not
supported by default.</p>
<p><img
src="https://github.com/user-attachments/assets/f73138c7-e814-4cc5-a995-be15bb179b16"
alt="carbon-4" /></p>
<h2>Changes</h2>
<ul>
<li>chore(layers): remove schema parsing from layer canary (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3171">#3171</a>)
by <a
href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></li>
<li>chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions
from 3.0.12 to 3.0.14 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3162">#3162</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps): bump github/codeql-action from 3.26.9 to 3.26.11 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3157">#3157</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps): bump actions/checkout from 4.1.7 to 4.2.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3122">#3122</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps): bump github/codeql-action from 3.26.8 to 3.26.9 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3114">#3114</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(deps): bump actions/setup-node from 4.0.3 to 4.0.4 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3097">#3097</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>chore(layers): add Parser to layer (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3101">#3101</a>)
by <a
href="https://github.com/scratchclaggy"><code>@​scratchclaggy</code></a></li>
<li>chore(deps): bump github/codeql-action from 3.26.7 to 3.26.8 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3087">#3087</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(idempotency): ability to specify JMESPath custom functions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3150">#3150</a>)
by <a
href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a></li>
<li>feat(batch): sequential async processing of records for
<code>BatchProcessor</code> (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3109">#3109</a>)
by <a
href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a></li>
<li>feat(idempotency): manipulate idempotent response via response hook
(<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3071">#3071</a>)
by <a
href="https://github.com/arnabrahman"><code>@​arnabrahman</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.8.0...v2.9.0">2.9.0</a>
(2024-10-07)</h1>
<h3>Features</h3>
<ul>
<li><strong>batch:</strong> sequential async processing of records for
<code>BatchProcessor</code> (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3109">#3109</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e31279af90446050a7974fbe25c34758f64915f9">e31279a</a>)</li>
<li><strong>idempotency:</strong> ability to specify JMESPath custom
functions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3150">#3150</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/869b6fced659ad820ffe79a0b905022061570974">869b6fc</a>)</li>
<li><strong>idempotency:</strong> manipulate idempotent response via
response hook (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3071">#3071</a>)
(<a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/f7c176901a36698f591d897c2abde54cf30c9ea9">f7c1769</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/71e70f5b42527a78c3ceef7e0533ff7c298605f3"><code>71e70f5</code></a>
chore(ci): bump version to 2.9.0 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3164">#3164</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/74c6eddc2a7b456781031e0ec2ed834087f50a55"><code>74c6edd</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/3163">#3163</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/613d32ce4f3e1f7136e81f55fda04c5205d987d1"><code>613d32c</code></a>
chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions
from 3.0...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/39b805b030c75756952b9434947e8c611e5295ab"><code>39b805b</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/3156">#3156</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/7be70a1ab157955af7c627e609f424e870c95f2d"><code>7be70a1</code></a>
chore(deps): bump github/codeql-action from 3.26.9 to 3.26.11 (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3157">#3157</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/489c8ad9f261caa0e6e60a4d8fe177c1d6f0507f"><code>489c8ad</code></a>
chore(maintenance): add Flyweight customer reference (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3161">#3161</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/0c44517b17611fb7d6a9a622fccb8b354267890c"><code>0c44517</code></a>
docs(parser): highlight <code>JSONStringify</code> helper (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3158">#3158</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/869b6fced659ad820ffe79a0b905022061570974"><code>869b6fc</code></a>
feat(idempotency): ability to specify JMESPath custom functions (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3150">#3150</a>)</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/686e5240696edf7f8376f7a810a9d5be451b4f9f"><code>686e524</code></a>
chore(metrics): expose <code>MetricsInterface</code> as return type of
single metric and...</li>
<li><a
href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/c97d379e47371e2074960bf6d5164ae8428056fc"><code>c97d379</code></a>
test(idempotency): switch e2e tests to vitest (<a
href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3149">#3149</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.8.0...v2.9.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.8.0&new-version=2.9.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 Oct 9, 2024
1 parent 2b2effc commit 750e748
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.8.0",
"@aws-lambda-powertools/logger": "^2.9.0",
"@types/mustache": "^4.2.5",
"aws-lambda": "^1.0.7",
"axios": "^1.7.7",
Expand Down

0 comments on commit 750e748

Please sign in to comment.