Skip to content

v5.0.2

Choose a tag to compare

@instanacd instanacd released this 16 Dec 10:55
· 552 commits to main since this release

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-loader and esm-loader.mjs, which were used to initialize the tracer in ESM applications (#2153) (7e9a24a)

    Migration Recommendations:

    • Replace --experimental-loader with --import and esm-loader.mjs with esm-register.mjs.
    • e.g. --import /path/to/instana/node_modules/@instana/collector/esm-register.mjs.
  • Removed deprecated tracing configuration options (#2145) (efe07ed)
    The following environment variables and settings, previously used to disable tracing, have been removed:

    • INSTANA_DISABLED_TRACERS
    • INSTANA_DISABLE_TRACING
    • tracing.disabledTracers

    Migration Recommendations:

    • Use INSTANA_TRACING_DISABLE instead of INSTANA_DISABLED_TRACERS or INSTANA_DISABLE_TRACING.
    • Use tracing.disable instead of tracing.disabledTracers.
  • Dropped support for kafka-avro (#2141) (3e05a1e)

🐞 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)