From 750e7483bea9df51b23bc76b0ae16ab6de6805c9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 02:54:14 +0000 Subject: [PATCH] Upgrade: [dependabot] - bump @aws-lambda-powertools/logger from 2.8.0 to 2.9.0 (#236) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript) from 2.8.0 to 2.9.0.
Release notes

Sourced from @​aws-lambda-powertools/logger's releases.

v2.9.0

Summary

This release introduces 1/ the ability to process records sequentially when working with async functions in Batch Processing, 2/ a new option for Idempotency to manipulate the payload stored for idempotent operations, and 3/ the option to specify custom JMESPath functions when selecting an idempotency key.

Finally, you can now use the Parser utility when using our public AWS Lambda layers.

⭐️ Thanks to @​arnabrahman, @​garysassano and, @​scratchclaggy for their big contributions to this release!

Sequential async processing

Docs

You can now process records sequentially when working with async functions in Batch Processing by setting the processInParallel option to false. This is useful for when you want to opt-out of the default behavior and preserve the order of the records.

carbon-4

Manipulating idempotent responses

Docs

Now you can set up a responseHook function when configuring the Idempotency utility to manipulate the returned data when an operation is idempotent.

carbon-3

Custom JMESPath functions with Idempotency

Docs

You can now use custom JMESPath functions with the Idempotency utility by configuring the jmesPathOptions 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.

carbon-4

Changes

🌟New features and non-breaking changes

... (truncated)

Changelog

Sourced from @​aws-lambda-powertools/logger's changelog.

2.9.0 (2024-10-07)

Features

Commits

[![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) ---
Dependabot commands and options
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 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)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 99431e6..0a41960 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "MIT", "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", @@ -48,16 +48,16 @@ } }, "node_modules/@aws-lambda-powertools/commons": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/@aws-lambda-powertools/commons/-/commons-2.8.0.tgz", - "integrity": "sha512-pdmX1GzvBogeR0njToCXeWpN7xPLct55uA0jHiF3T14G3GfCGPBxaJUanHC8qW58Y+GF8LbvoNOsOeS/Yz/kQA==" + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/@aws-lambda-powertools/commons/-/commons-2.9.0.tgz", + "integrity": "sha512-01RHHCDyAHp5uK0jjUxxh2P89lqLEvaP39bxAI4FTuL9ZGbvFnmmzA8MFXtBH/R/oxZgk/+XxzvoNtb46dhVoA==" }, "node_modules/@aws-lambda-powertools/logger": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/@aws-lambda-powertools/logger/-/logger-2.8.0.tgz", - "integrity": "sha512-CCTd2DEP+XOYZWvlZ1kaQnw9cxkT0Ep77XDXpB7/Gai9Ab0rATkiLxkOxhH5OsfoeHEqla396y/KJH5wx96CZw==", + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/@aws-lambda-powertools/logger/-/logger-2.9.0.tgz", + "integrity": "sha512-1LvpOu1NhjfNh9GEoYW+vsuaD71j9Mh34sSDCF+mX8jSHoaI3b4GMQ1HSJ5UX0GJiZkBl1wfQz4wSRQFzUXZNw==", "dependencies": { - "@aws-lambda-powertools/commons": "^2.8.0", + "@aws-lambda-powertools/commons": "^2.9.0", "lodash.merge": "^4.6.2" }, "peerDependencies": { diff --git a/package.json b/package.json index 7bda8ff..709be67 100644 --- a/package.json +++ b/package.json @@ -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",