layer-nodejs/0.12.0
Contains
opentelemetry-nodejs 1.30.1
ARN
arn:aws:lambda:<region>:184161586896:layer:opentelemetry-nodejs-0_12_0:1
Important Changes
-
This release introduces significant changes for the packaging for the layer. Please test before deploying to production (#1654, #1654, #1679).
-
OpenTelemetry packages are no longer accessible directly from OpenTelemetry Lambda Node.js layer itself. Because OpenTelemetry packages are embedded into the Node.js layer bundle, so they cannot be imported/required externally.
Therefore, if you are depending on OpenTelemetry JS packages (for ex.
@opentelemetry/api) by referencing in your own code, you need to put them into your own Lambda function artifact, so your Lambda function code will use them from there.Also, be sure that the OpenTelemetry JS packages you use have the same major and minor versions with the ones OpenTelemetry JS Lambda layer has:
https://github.com/open-telemetry/opentelemetry-lambda/blob/layer-nodejs/${layerVersion}/nodejs/packages/layer/package.json(Replace the${layerReleaseVersion}with the actual OpenTelemetry JS Lambda layer release version you are using).
What's Changed
Javascript
- build(deps): bump the nodejs-other group across 3 directories with 31 updates by @dependabot in #1635
- NodeJS runtime support for nodejs22.x by @vasireddy99 in #1644
- feat(nodejs:exporter): switch to
otlp-httpexporters for traces, metrics and logs ... by @serkan-ozal in #1654 - feat(nodejs): add ability to be able to enable/disable active instrumentations by env var by @serkan-ozal in #1653
- feat(nodejs): minimize out-of-the-box supported propagators to reduce coldstart delay by @serkan-ozal in #1664
- build(deps): bump the nodejs-other group across 1 directory with 19 updates by @dependabot in #1680
- feat(nodejs): bundling with webpack by @serkan-ozal in #1679
- build(deps-dev): bump the nodejs-other group across 2 directories with 3 updates by @dependabot in #1704
Full Changelog: layer-nodejs/0.11.0...layer-nodejs/0.12.0