Summary
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.
⭐️ Thanks to @arnabrahman for their contributions to this release!
Full traces when working with Fetch API
Requests made with the global fetch module now adds X-Ray trace info to requests in the X-Amzn-Trace-Id
header. This allows X-Ray to construct a full trace that includes upstream and downstream nodes.
Zod schemas with Amazon DynamoDB Attributes
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.
Changes
- test(parser): refactor appsync schema tests (#3388) by @svozza
- chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.17 to 3.0.18 (#3430) by @dependabot
- chore(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 (#3437) by @dependabot
🌟New features and non-breaking changes
- feat(parser):
DynamoDBMarshalled
helper to parse DynamoDB data structure (#3442) by @arnabrahman
🌟 Minor Changes
- refactor(metrics): swap
isDate
forinstanceof Date
(#3462) by @dreamorosi
📜 Documentation updates
- chore(ci): update layer ARN on documentation (#3474) by @dreamorosi
- chore(deps): bump the aws-cdk group (#3472) by @dreamorosi
- feat(parser):
DynamoDBMarshalled
helper to parse DynamoDB data structure (#3442) by @arnabrahman - chore(deps): bump the typescript group across 1 directory with 4 updates (#3446) by @dependabot
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 11 updates (#3459) by @dependabot
- chore(deps): bump @types/node from 22.10.2 to 22.10.5 (#3456) by @dependabot
- chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3455) by @dependabot
- chore(deps): bump @types/aws-lambda from 8.10.146 to 8.10.147 (#3457) by @dependabot
- chore(deps): bump esbuild from 0.24.0 to 0.24.2 (#3443) by @dependabot
- chore(deps): bump jinja2 from 3.1.4 to 3.1.5 in /docs (#3453) by @dependabot
- chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3452) by @dependabot
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 10 updates (#3451) by @dependabot
- chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3435) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
d485eb6
toba73db5
in /docs (#3429) by @dependabot - chore(deps): bump mkdocs-material from 9.5.48 to 9.5.49 in /docs (#3427) by @dependabot
🐛 Bug and hot fixes
- fix(tracer): forward
X-Amzn-Trace-Id
header when instrumenting fetch (#3470) by @dreamorosi
🔧 Maintenance
- chore(deps): bump the aws-cdk group (#3472) by @dreamorosi
- feat(parser):
DynamoDBMarshalled
helper to parse DynamoDB data structure (#3442) by @arnabrahman - chore(deps-dev): bump lint-staged from 15.2.11 to 15.3.0 (#3460) by @dependabot
- chore(deps): bump the typescript group across 1 directory with 4 updates (#3446) by @dependabot
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 11 updates (#3459) by @dependabot
- chore(deps): bump @types/node from 22.10.2 to 22.10.5 (#3456) by @dependabot
- chore(deps): bump @aws-cdk/cli-lib-alpha to 2.174.1-alpha.0 (#3458) by @dreamorosi
- chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3455) by @dependabot
- chore(deps): bump @types/aws-lambda from 8.10.146 to 8.10.147 (#3457) by @dependabot
- chore(deps): bump esbuild from 0.24.0 to 0.24.2 (#3443) by @dependabot
- chore(deps-dev): bump markdownlint-cli2 from 0.16.0 to 0.17.1 (#3450) by @dependabot
- chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3452) by @dependabot
- chore(deps): bump the aws-sdk-v3 group across 1 directory with 10 updates (#3451) by @dependabot
- chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#3435) by @dependabot
This release was made possible by the following contributors:
@arnabrahman, @dependabot, @dependabot[bot], @dreamorosi, @github-actions, @github-actions[bot] and @svozza