npm / pino
pino
What changed in pino 6 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
13 breaking2 security2 deprecations9 new APIs and options1 performance4 behavior and defaults1 tooling13 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpino 1026 changes
Breaking changes 2
The censor function signature now uses safer types, which may require type adjustments.
Support for Node 18 has been dropped.
Security 2
Invalid NODE_OPTIONS preloads are sanitized for workers, preventing invalid preload configuration from affecting worker execution.
Transport loading is hardened against prototype pollution.
Deprecations 1
Pino warns when formatters.level is incompatible with multi-target transports.
New APIs and options 6
The browser logger now provides bindings().
The browser logger now supports redaction configuration.
The browser logger now provides setBindings.
Browser logging adds reportCaller to expose the user's callsite.
Pino now uses @pinojs/redact for redaction.
Adds the LogFnFields type for developers using Pino's logging function types.
Performance 1
The fast path uses JSON.stringify on Node.js 25 and newer.
Behavior and default changes 2
The return type of multistream().clone() was improved.
Worker threads now have a name to support transport identification.
Fixes and other changes 12
Child binding keys are escaped correctly.
A named default export is now available.
multistream clone/add no longer crashes, and missing end/remove methods are fixed.
Logging objects with an own __proto__ key no longer crashes.
Redaction shapes are built without Object.prototype.
Per-target level filtering is now honored for a single-element targets array.
multistream write now resolves string level labels correctly.
Prevents ERR_WORKER_INVALID_EXEC_ARGV when using monitoring tools.
Prevents a memory leak when using transport with --import preload.
Conditional type handling for generic log function arguments was corrected.
The %o placeholder now accepts strings, numbers, and null values.
isoTimeNano is now available in nested namespaces.
pino 93 changes
Breaking changes 2
Reverts the setlevel option in the 9.x release line, so configurations relying on it should no longer use it.
Support for Node.js 14, 16, and 19 was dropped.
Behavior and default changes 1
Updates the redaction implementation used by Pino, potentially changing redaction behavior for applications that configure it.
pino 82 changes
Breaking changes 2
Logging is asynchronous by default.
Deprecated APIs and options are removed in this release.
pino 79 changes
Breaking changes 3
The err serializer is now applied to Error objects passed as the first argument to log methods.
Extreme mode, deprecated in the previous release cycle, has been removed.
Support for Node.js v10.x is dropped.
Deprecations 1
The prettyPrint option is deprecated in favor of the new transport system.
New APIs and options 2
Writes to multiple streams from one Pino instance; unlike pino.transport(), streams execute in the main thread.
Creates a stream that routes logs to a worker thread wrapping a Pino Transport; supports multiple targets with per-target levels and transport pipelines.
Behavior and default changes 1
Asynchronous streams are automatically flushed when the process exits without leaking memory, using WeakRef and FinalizationRegistry available in Node.js v14+.
Tooling 1
Pino now includes TypeScript types, so projects can use TypeScript without downloading additional types and should remove @types/pino.
Fixes and other changes 1
The updated sonic-boom v2.x is safer to use, with atomic sync writes, a retryEAGAIN callback, deadlock fixes, and flush() support when no data is buffered.
pino 65 changes
Breaking changes 4
Objects are no longer implicitly appended to message strings, and extra string arguments no longer form a combined message; use format identifiers such as
%jor%sto retain the previous results.The
vis no longer included in log lines.Support is dropped for Node.js versions that are no longer maintained.
Null values are logged as the literal
null.
New APIs and options 1
Formatters for core log components provide a way to customize how log lines are rendered.