From bd2f9b03c6c8477e02084624b8ba520f0d275edd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 02:54:24 +0000 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20@aws-lambda-powerto?= =?UTF-8?q?ols/logger=20from=202.5.0=20to=202.6.0=20(#380)?= 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.5.0 to 2.6.0.
Release notes

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

v2.6.0

Summary

This release 1/ promotes Parser to Generally Available and ready for production, and 2/ adds support for unsupported types serialization in Logger.

⭐ Big thanks to @​daschaa for helping improve our code quality automation 🏅 Congrats to @​marlapativ & @​sandrokeil on their first contribution

Parser is Generally Available

Docs

We want to thank the community who engaged with us, tested Parser during beta, and provided valuable feedback and contributions to improve everyone' experience.

New to Parser?

Parser provides data validation and parsing using Zod, a TypeScript-first schema declaration and validation library, and comes with built-in schemas and envelopes for common AWS event types for AWS Lambda.

To get started with Parser, you also need to install Zod:

npm install @aws-lambda-powertools/parser zod@~3

Next, you can extend one of the schemas using your own schema, and parse the event both with class method decorators (or Middy.js):

carbon-2

Support unserializable types

Docs

You can now extend the default logic used to emit JSON-structured logs by passing a custom serializer function to the Logger constructor, using the jsonReplacerFn option. This is useful when you want to customize the serialization of specific values.

carbon-3

Changes

🌟New features and non-breaking changes

... (truncated)

Changelog

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

2.6.0 (2024-07-25)

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.5.0&new-version=2.6.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 | 18 +++++++++--------- packages/sandbox/package.json | 2 +- packages/statusLambda/package.json | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index f8596f1e..932325c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,16 +56,16 @@ } }, "node_modules/@aws-lambda-powertools/commons": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@aws-lambda-powertools/commons/-/commons-2.5.0.tgz", - "integrity": "sha512-6LTrCWknv/ey7akvEojN5qoAC2Hbb8twseYX7Efdigxs9+AadcM+P74Qh7BsMSvEiHdsIefHqtb4b13WOhFsJw==" + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@aws-lambda-powertools/commons/-/commons-2.6.0.tgz", + "integrity": "sha512-mvJXwd+HUfc4K5OuKhMQv0i8UXkNt55yL42AZHmHV0Vd1fzixJ2xuKC6xyav+W/v8HnBsECHa1UgHt4qa4jK7A==" }, "node_modules/@aws-lambda-powertools/logger": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@aws-lambda-powertools/logger/-/logger-2.5.0.tgz", - "integrity": "sha512-lNnjvI7H3g6tpnwia8laPclzq5vzsUNlVp89FPbgs/KdSqnp5XaeNhsMGwFVy5QDHttEGI2OrsgAOFbNcf936Q==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@aws-lambda-powertools/logger/-/logger-2.6.0.tgz", + "integrity": "sha512-etoyhdJhlfjSRljWIQoDKPKqM2efbdJ3K0TQIUVNskJVQIQwa973/zuW80Q+aQbtXOtpN5YOlSCt6+KKHG9h7Q==", "dependencies": { - "@aws-lambda-powertools/commons": "^2.5.0", + "@aws-lambda-powertools/commons": "^2.6.0", "lodash.merge": "^4.6.2" }, "peerDependencies": { @@ -6942,7 +6942,7 @@ "license": "MIT", "dependencies": { "@aws-lambda-powertools/commons": "^2.2.0", - "@aws-lambda-powertools/logger": "^2.5.0", + "@aws-lambda-powertools/logger": "^2.6.0", "@middy/core": "^5.4.5", "@middy/input-output-logger": "^5.4.5", "@nhs/fhir-middy-error-handler": "^2.0.12" @@ -6956,7 +6956,7 @@ "license": "MIT", "dependencies": { "@aws-lambda-powertools/commons": "^2.2.0", - "@aws-lambda-powertools/logger": "^2.5.0", + "@aws-lambda-powertools/logger": "^2.6.0", "@aws-lambda-powertools/parameters": "^2.5.0", "@middy/core": "^5.4.5", "@middy/input-output-logger": "^5.4.5", diff --git a/packages/sandbox/package.json b/packages/sandbox/package.json index 9cf0e98c..b15b2a58 100644 --- a/packages/sandbox/package.json +++ b/packages/sandbox/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@aws-lambda-powertools/commons": "^2.2.0", - "@aws-lambda-powertools/logger": "^2.5.0", + "@aws-lambda-powertools/logger": "^2.6.0", "@middy/core": "^5.4.5", "@middy/input-output-logger": "^5.4.5", "@nhs/fhir-middy-error-handler": "^2.0.12" diff --git a/packages/statusLambda/package.json b/packages/statusLambda/package.json index bfeb6da7..5b5d15ee 100644 --- a/packages/statusLambda/package.json +++ b/packages/statusLambda/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@aws-lambda-powertools/commons": "^2.2.0", - "@aws-lambda-powertools/logger": "^2.5.0", + "@aws-lambda-powertools/logger": "^2.6.0", "@aws-lambda-powertools/parameters": "^2.5.0", "@middy/core": "^5.4.5", "@middy/input-output-logger": "^5.4.5",