@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…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 5
- fixes
Release by release
- 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
withSpanhelper. If a closed span was given to thewitSpanhelper 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 aNoopSpan. - Fixed
Patch - Add
@opentelemetry/sdk-trace-basepackage runtime dependency. Our OpenTelemetry SpanProcessor needs this package at runtime, not just at compile time.
- Fixed
- 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.wrapEmitterto wrap an event emitter, it was not possible to remove any listeners that were added after the event emitter was wrapped.
- Fixed
2 other lines we could not sort, mostly version bumps
- 2.4.2
Patch - Do not restore closed spans from within the
withSpanhelper. If a previously active span gets closed whilewithSpanhas 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
withSpancallback has finished. Previously the root span was restored to the original root span before thewithSpanhelper was called. This has been changed, because thewithSpanhelper is only about changing the active span, not the root span. If a new root span has been set within awithSpanhelper callback, the root span will no longer be restored. We recommend setting a new root span before callingwithSpaninstead.
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.