v5.0.2
For a detailed overview of the breaking changes introduced in this release, please refer to the official Node.js collector breaking changes documentation.
π₯ BREAKING CHANGES
-
Dropped support for Node.js versions below 18.19 (#2151) (5d688e2)
-
Removed
--experimental-loaderandesm-loader.mjs, which were used to initialize the tracer in ESM applications (#2153) (7e9a24a)Migration Recommendations:
- Replace
--experimental-loaderwith--importandesm-loader.mjswithesm-register.mjs. - e.g.
--import /path/to/instana/node_modules/@instana/collector/esm-register.mjs.
- Replace
-
Removed deprecated tracing configuration options (#2145) (efe07ed)
The following environment variables and settings, previously used to disable tracing, have been removed:INSTANA_DISABLED_TRACERSINSTANA_DISABLE_TRACINGtracing.disabledTracers
Migration Recommendations:
- Use
INSTANA_TRACING_DISABLEinstead ofINSTANA_DISABLED_TRACERSorINSTANA_DISABLE_TRACING. - Use
tracing.disableinstead oftracing.disabledTracers.
π Bug Fixes
- aws-lambda-auto-wrap: restricted package to publish to npm (#2198) (241cc0e)
- bumped @opentelemetry/sdk-trace-base to v2 (#2196) (31c4435)
- bumped nan from 2.23.1 to 2.24.0 (#2211) (0946cc5)
- depreacted aws sdk v2 (#2147) (45e9c9c)
- handled instana export safely when using experimental loader (#2227) (a42c7e4)
- removed prebuilds for non-lts versions (#2148) (2f32603)
- removed setLogger fn from serverless logger (#2188) (47763f5)
- resolved the type error when initialize with unsupported node versions (2cb51fb)