Skip to content

Commit b8280e7

Browse files
Upgrade: [dependabot] - bump @aws-lambda-powertools/logger from 2.12.0 to 2.13.0 (#276)
Bumps [@aws-lambda-powertools/logger](https://github.com/aws-powertools/powertools-lambda-typescript) from 2.12.0 to 2.13.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.13.0</h2> <h2>Summary</h2> <p>In this release we fixed a bug in Tracer that prevented Fetch API requests from propagating the parent trace. We also improved the Parser experience by adding a helper to easily write Zod schemas for DynamoDB data structures.</p> <p>⭐️ Thanks to <a href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a> for their contributions to this release!</p> <h3>Full traces when working with Fetch API</h3> <blockquote> <p><a href="https://docs.powertools.aws.dev/lambda/typescript/latest/core/tracer/#tracing-http-requests">Docs</a></p> </blockquote> <p>Requests made with the global fetch module now adds X-Ray trace info to requests in the <code>X-Amzn-Trace-Id</code> header. This allows X-Ray to construct a full trace that includes upstream and downstream nodes.</p> <h3>Zod schemas with Amazon DynamoDB Attributes</h3> <blockquote> <p><a href="https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parser/#dynamodb-stream-event-parsing">Docs</a></p> </blockquote> <p>You can now easily extend DynamoDB Stream schemas with your own payloads using the new DynamoDBMarshalled helper. This helper lets you focus on your schemas while we handle unmarshalling data from DynamoDB Attribute format to the native format before Zod parses the payload.</p> <p><img src="https://github.com/user-attachments/assets/a69f3aea-f040-401c-ad8d-510e96876d72" alt="carbon" /></p> <h2>Changes</h2> <ul> <li>test(parser): refactor appsync schema tests (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3388">#3388</a>) by <a href="https://github.com/svozza"><code>@​svozza</code></a></li> <li>chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.17 to 3.0.18 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3430">#3430</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li> <li>chore(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3437">#3437</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(parser): <code>DynamoDBMarshalled</code> helper to parse DynamoDB data structure (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3442">#3442</a>) by <a href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a></li> </ul> <h2>🌟 Minor Changes</h2> <ul> <li>refactor(metrics): swap <code>isDate</code> for <code>instanceof Date</code> (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3462">#3462</a>) by <a href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></li> </ul> <h2>📜 Documentation updates</h2> <ul> <li>chore(ci): update layer ARN on documentation (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3474">#3474</a>) by <a href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></li> <li>chore(deps): bump the aws-cdk group (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3472">#3472</a>) by <a href="https://github.com/dreamorosi"><code>@​dreamorosi</code></a></li> <li>feat(parser): <code>DynamoDBMarshalled</code> helper to parse DynamoDB data structure (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3442">#3442</a>) by <a href="https://github.com/arnabrahman"><code>@​arnabrahman</code></a></li> <li>chore(deps): bump the typescript group across 1 directory with 4 updates (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3446">#3446</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li> <li>chore(deps): bump the aws-sdk-v3 group across 1 directory with 11 updates (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3459">#3459</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li> <li>chore(deps): bump <code>@​types/node</code> from 22.10.2 to 22.10.5 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3456">#3456</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li> <li>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/3455">#3455</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li> <li>chore(deps): bump <code>@​types/aws-lambda</code> from 8.10.146 to 8.10.147 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3457">#3457</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li> <li>chore(deps): bump esbuild from 0.24.0 to 0.24.2 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3443">#3443</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li> <li>chore(deps): bump jinja2 from 3.1.4 to 3.1.5 in /docs (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3453">#3453</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li> <li>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/3452">#3452</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li> <li>chore(deps): bump the aws-sdk-v3 group across 1 directory with 10 updates (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3451">#3451</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li> <li>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/3435">#3435</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/logger</code>'s changelog</a>.</em></p> <blockquote> <h1><a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.12.0...v2.13.0">2.13.0</a> (2025-01-14)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>tracer:</strong> forward <code>X-Amzn-Trace-Id</code> header when instrumenting fetch (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3470">#3470</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/4eb3e2d4e0ccbfb0f99c215c61d2b9263ee10870">4eb3e2d</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>parser:</strong> <code>DynamoDBMarshalled</code> helper to parse DynamoDB data structure (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3442">#3442</a>) (<a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e154e58986187d8210d18f6ca79d8b710d87d600">e154e58</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/1aade413e4720a55be3978967b04d1a70e5ebf07"><code>1aade41</code></a> chore(ci): bump version to 2.13.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3471">#3471</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/0ef15a779723465e1dca923d0455d17336d4cf12"><code>0ef15a7</code></a> test(parser): refactor appsync schema tests (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3388">#3388</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/4eb3e2d4e0ccbfb0f99c215c61d2b9263ee10870"><code>4eb3e2d</code></a> fix(tracer): forward <code>X-Amzn-Trace-Id</code> header when instrumenting fetch (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3470">#3470</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/e154e58986187d8210d18f6ca79d8b710d87d600"><code>e154e58</code></a> feat(parser): <code>DynamoDBMarshalled</code> helper to parse DynamoDB data structure (#...</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/149e17fbcd84e7b74ac49a383a0ebb5f2e6d36b9"><code>149e17f</code></a> refactor(metrics): swap <code>isDate</code> for <code>instanceof Date</code> (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3462">#3462</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/1d1e2f9524bdbf97c0f0f49a78c216f28dff9e38"><code>1d1e2f9</code></a> chore(deps-dev): bump lint-staged from 15.2.11 to 15.3.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3460">#3460</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/26d6488df012f298c0102859f2ef1bdf639180eb"><code>26d6488</code></a> chore(deps): bump the typescript group across 1 directory with 4 updates (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3446">#3446</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/bb74ef5df27734b0053539cce74536d5654d7430"><code>bb74ef5</code></a> chore(deps): bump the aws-sdk-v3 group across 1 directory with 11 updates (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3">#3</a>...</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/7a07ccb7415b66cc0ae39996c21060bfb802b82a"><code>7a07ccb</code></a> chore(deps): bump <code>@​types/node</code> from 22.10.2 to 22.10.5 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3456">#3456</a>)</li> <li><a href="https://github.com/aws-powertools/powertools-lambda-typescript/commit/bee2df2a326e5e58d38820ca56244eaf51d4c519"><code>bee2df2</code></a> chore(deps): bump <code>@​aws-cdk/cli-lib-alpha</code> to 2.174.1-alpha.0 (<a href="https://redirect.github.com/aws-powertools/powertools-lambda-typescript/issues/3458">#3458</a>)</li> <li>Additional commits viewable in <a href="https://github.com/aws-powertools/powertools-lambda-typescript/compare/v2.12.0...v2.13.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.12.0&new-version=2.13.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>
1 parent fe4dce9 commit b8280e7

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"typescript": "^5.7.3"
3636
},
3737
"dependencies": {
38-
"@aws-lambda-powertools/logger": "^2.12.0",
38+
"@aws-lambda-powertools/logger": "^2.13.0",
3939
"@middy/core": "^6.0.0",
4040
"conventional-changelog-eslint": "^6.0.0"
4141
},

0 commit comments

Comments
 (0)