npm / nestjs-pino
nestjs-pino
What changed in nestjs-pino 4 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
3 breaking3 new APIs and options1 behavior and defaults5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initnestjs-pino 56 changes
Breaking changes 1
Adds support for NestJS 12, allowing nestjs-pino to be used with that NestJS release.
New APIs and options 2
An ESM build is now shipped alongside CommonJS, giving developers an additional module format to use.
Microservice messages can now be logged with a logging context.
Behavior and default changes 1
NativeLogger output now matches the NestJS 12.1.1 ConsoleLogger output.
Fixes and other changes 2
Fixes logging response headers under Fastify.
Fixes log paths excluded from the global prefix.
nestjs-pino 46 changes
Breaking changes 2
Adds support for pino-http 11.
Drops support for Node.js 16.
New APIs and options 1
A new NativeLogger class is available for developers to use.
Fixes and other changes 3
Handles errorKey when pinoHttp is provided as a tuple.
Adds support for pino 10.
Adds support for pino-http 9.