Packages

@appsignal/nodejs

3.9.5 · 11 Nov 2026MIT24.2k / weekRepositoryHomepagenpmAtom feed

Upgrading @appsignal/nodejs From 2.4.0 to 2.4.2

2 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.4.0Latest3.9.5
  1. 2.4.0yours
  2. 2.4.1
  3. 2.4.2target
0
changes to make
0
advisories fixed
0
new
5
fixes

Release by release

  1. 2.4.2

    8 Jun 20223 fixes
    • Fixed

      Patch - Only allow open root spans to be set as root. This avoids closed root spans to be reused in child contexts.

    • Fixed

      Patch - Don't return closed spans in withSpan helper. If a closed span was given to the witSpan helper it would temporarily overwrite the context with a closed span that cannot be modified. Instead it will return the current active span, if any. If no span was active it will return a NoopSpan.

    • Fixed

      Patch - Add @opentelemetry/sdk-trace-base package runtime dependency. Our OpenTelemetry SpanProcessor needs this package at runtime, not just at compile time.

  2. 2.4.1

    7 Jun 20222 fixes
    • Fixed

      Patch - Do not instrument HTTP requests to the default socket.io path. This works around an issue where our HTTP instrumentation breaks socket.io's server side, causing the client side to get stuck in a connection loop.

    • Fixed

      Patch - Fix removing event listeners from wrapped event emitters. When using tracer.wrapEmitter to wrap an event emitter, it was not possible to remove any listeners that were added after the event emitter was wrapped.

2 other lines we could not sort, mostly version bumps
  • Patch - Do not restore closed spans from within the withSpan helper. If a previously active span gets closed while withSpan has another span as currently active, do not restore the closed span when the callback has finished.

    2.4.2
  • Patch - Do not restore root span after withSpan callback has finished. Previously the root span was restored to the original root span before the withSpan helper was called. This has been changed, because the withSpan helper is only about changing the active span, not the root span. If a new root span has been set within a withSpan helper callback, the root span will no longer be restored. We recommend setting a new root span before calling withSpan instead.

    2.4.2

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.