Back to Explore

pinojs/pino-std-serializers

GitHub
1 watchersOpen source

Last release:

Provides standard object serializers for the Pino logger, including serializers for errors (with optional cause), HTTP requests, and HTTP responses. Useful for turning common Node.js IncomingMessage, ServerResponse, or WHATWG Fetch API Request and Response objects into structured log fields.

Project status

  • Actively maintained: GitHub shows an upstream push on 2026-08-01, and the project has had recent updates (latest published update v7.1.0 on 2026-02-28), suggesting ongoing maintenance rather than a fully dormant state.
  • Apparent update cadence: Release updates appear infrequent (notably v7.0.0 on 2024-04-29 then v7.1.0 on 2026-02-28), though there is at least some repository activity after that (2026-08-01 push).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v7.1.0

    v7.1.0 is primarily a tooling and dependency update release. It bumps several dev dependencies (borp, TypeScript, @types/node, tsd, tspl) and migrates linting to an eslint+neostandard setup.

    BreakingSecurityFeatures
  • v7.0.0

    v7.0.0 primarily updates development and CI dependencies and migrates the test suite from tap to Node's built-in test tooling. It also updates GitHub Actions versions (checkout, setup-node, dependency review) and refreshes TypeScript-related dev tooling.

  • v6.2.2

    v6.2.2 primarily updates TypeScript typings for request serialization, adding `params` and `query` to the `SerializedRequest` interface. It also bumps the `@types/node` development dependency to a newer major version. No runtime code changes are visible in the provided diff.

    Breaking
  • v6.2.1

    Release v6.2.1 updates the TypeScript typings and documentation to clarify that the serialized error object never includes a `cause` field in log output. The runtime code changes are not shown in the provided diff, suggesting this is primarily a type/documentation clarification.

    Breaking
  • v6.2.0

    v6.2.0 adds a new `errWithCause` serializer that recursively serializes `Error.cause` chains. It also bumps tooling dependencies (tsd, TypeScript) and refactors internal error serialization code to share common prototypes/symbols.

    Features
  • v6.1.0

    v6.1.0 mostly updates dev toolchain versions and CI, plus a focused change to error serialization compatibility. The code changes broaden what the serializer considers “error-like” and alters aggregate error detection logic, which can change runtime behavior beyond the brief release note.

    Breaking
  • v6.0.0

    Release v6.0.0 mainly updates CI configuration and changes the supported Node.js versions. The only code changes in the diff are workflow and repository housekeeping (gitignore, version bump), with no runtime/library source modifications shown.

    Breaking
  • v5.6.0

    v5.6.0 updates how pino-std-serializers handles JavaScript Error causes. It stops serializing Error-valued `.cause` into the output object, instead relying on message and stack cause summaries, and bumps the dev dependency `tsd`.

    Breaking
  • v5.5.0

    Release v5.5.0 updates the error cause handling logic used by pino-std-serializers. The main documented change is support for nested VError-style causes so cause chains that use function-based causes serialize correctly.

  • v5.4.0

    v5.4.0 adds support for serializing nested error causes, including multi-level cause chains. It also adjusts the test setup by moving the test file glob configuration into a new .taprc file, and includes a small test comment typo fix.

    Features