From 3f49d42cafddfb32ff4aeac70ad3e0f50ddbd1cb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 09:20:55 +0100 Subject: [PATCH] Upgrade: [dependabot] - bump @aws-lambda-powertools/logger from 2.6.0 to 2.7.0 (#46) 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.6.0 to 2.7.0.
Release notes

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

v2.7.0

Summary

This release 1/ brings a new helper function to parse JSON stringified fields when using Parser, 2/ and improved Metrics, which now can emit metrics using the None unit.

⭐️ Thanks to @​daschaa for fixing Logger and making it default to :UTC when encountering an invalid time zone value.

Quickly parse JSON stringified fields

Docs

You can now parse and validate JSON stringified fields using Zod schemas without having to transform them first. This is useful when working with payloads coming from sources that stringify payloads like Amazon API Gateway, Amazon SQS, Amazon Application Load Balancer (ALB), etc.

Use the JSONStringified helper to extend your schemas or any of the built-in schemas in Parser:

carbon-2

Metrics without unit

Docs

You can now create metrics without a unit of measure, this is helpful when your business metrics are tied to an abstract concept or when none of the units supported by the Embedded metric format specification fit.

carbon-2

Changes

🌟New features and non-breaking changes

📜 Documentation updates

... (truncated)

Changelog

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

2.7.0 (2024-08-08)

Bug Fixes

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.6.0&new-version=2.7.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 ++++++++-------- packages/dummySpine/package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index b452c39..f00d385 100644 --- a/package-lock.json +++ b/package-lock.json @@ -238,16 +238,16 @@ } }, "node_modules/@aws-lambda-powertools/commons": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/@aws-lambda-powertools/commons/-/commons-2.6.0.tgz", - "integrity": "sha512-mvJXwd+HUfc4K5OuKhMQv0i8UXkNt55yL42AZHmHV0Vd1fzixJ2xuKC6xyav+W/v8HnBsECHa1UgHt4qa4jK7A==" + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/@aws-lambda-powertools/commons/-/commons-2.7.0.tgz", + "integrity": "sha512-IHDwmjJLiEVu8GfpHaHPrd7kEycHm/6Qh/6ssWGtyNZVDDJA/RzBmiRBnedx/As0h5njJmR28eNEkCNFA7rdSA==" }, "node_modules/@aws-lambda-powertools/logger": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/@aws-lambda-powertools/logger/-/logger-2.6.0.tgz", - "integrity": "sha512-etoyhdJhlfjSRljWIQoDKPKqM2efbdJ3K0TQIUVNskJVQIQwa973/zuW80Q+aQbtXOtpN5YOlSCt6+KKHG9h7Q==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/@aws-lambda-powertools/logger/-/logger-2.7.0.tgz", + "integrity": "sha512-6nY26q7N5qH8eIDjV3ZBFxtNHx5M6cLQeQDP7kvdGPhRI3N0xWLsiaedMTByzRqaIDYjV3VXOaAIc9r59vCgbg==", "dependencies": { - "@aws-lambda-powertools/commons": "^2.6.0", + "@aws-lambda-powertools/commons": "^2.7.0", "lodash.merge": "^4.6.2" }, "peerDependencies": { @@ -13681,7 +13681,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@aws-lambda-powertools/logger": "^2.6.0", + "@aws-lambda-powertools/logger": "^2.7.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/dummySpine/package.json b/packages/dummySpine/package.json index 497d459..915f32c 100644 --- a/packages/dummySpine/package.json +++ b/packages/dummySpine/package.json @@ -13,7 +13,7 @@ "check-licenses": "license-checker --failOn GPL --failOn LGPL --start ../.." }, "dependencies": { - "@aws-lambda-powertools/logger": "^2.6.0", + "@aws-lambda-powertools/logger": "^2.7.0", "@middy/core": "^5.4.5", "@middy/input-output-logger": "^5.4.5", "@nhs/fhir-middy-error-handler": "^2.0.12"