@appsignal/nodejs
3.9.5 · 11 Nov 2026MIT24.2k / weekRepositoryHomepagenpmAtom feed
3.9.5 is the newest release of 3.x.
In short
1 fixed
Release note
Published on 2024-11-22.
Fixed
Allow Pino transport to be used as a transport. Before, our Pino transport could only be used as a destination:
import pino from "pino"; import { Appsignal, AppsignalPinoTransport } from "@appsignal/nodejs"; pino(AppsignalPinoTransport({ client: Appsignal.client, group: "pino" }));This meant it was not possible to log both to our transport and to another destination.
Now, it is also possible to use it as a Pino transport, with the
transportPino config option or thepino.transport()function:import pino from "pino"; pino({ transport: { target: "@appsignal/nodejs/pino", options: { group: "pino" } } });It is no longer necessary to pass the AppSignal client to the Pino transport. AppSignal must be active for the Pino transport to work.
By enabling its use as a transport, it is now possible to use it alongside other transports:
pino({ transport: { targets: [ // Send logs to AppSignal... { target: "@appsignal/nodejs/pino" }, // ... and to standard output! { target: "pino/file" } ] } });(patch 11b789d)
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.