Back to Explore

winstonjs/logform

GitHub
1 watchersOpen source

Last release:

logform is a mutable, object-based log message format system designed for chaining and for use with objectMode streams. It provides a set of formats and combinators that transform `info` objects (at minimum `level` and `message`) into formatted output, such as timestamps, aligned text, colors, and custom `printf`-style strings.

Project status

  • Actively maintained: Evidence is mixed. The upstream repo shows a push on 2026-07-20, but the provided tagged updates are last shown in 2024-11-10 (v2.7.0), so released/tagged updates appear infrequent relative to today (2026-08-12).
  • Update cadence: Based on the provided version history, updates are sporadic, with a gap of roughly 1 year 9 months between the last shown tagged update (v2.7.0 in 2024-11) and today.

AI summary generated

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

Recent updates

  • v2.7.0

    v2.7.0 primarily updates development tooling dependencies and tightens TypeScript typings in index.d.ts. The release also adjusts color-related typing to support multiple color entries, and bumps nyc for coverage reporting.

    BreakingFeatures
  • v2.6.1

    v2.6.1 primarily updates CI configuration, adjusts what gets published to npm, and adds an example file. The release notes also include several dependency bumps and an npm audit fix, but the provided code diff shows no changes to the library runtime code itself.

    SecurityFeatures
  • v2.6.0

    v2.6.0 updates Logform's dependency toolchain and modernizes CI, including bumping several development dependencies and updating the GitHub workflow Node matrix. It also adds package metadata (package.json engines) and expands the GitHub bug report template to collect both Node and TypeScript versions.

    Breaking
  • v2.5.1

    Release v2.5.1 is a small patch release. The documented change is promoting the triple-beam types package into a normal dependency so TypeScript users get the correct typings.

  • v2.5.0

    v2.5.0 adds optional support for attaching an Error.cause value to the log info produced by logform's errors() formatter. It also updates TypeScript type definitions to better model triple-beam symbol properties and allow symbol keys on TransformableInfo. The release notes also state an incompatibility with TypeScript versions below 4.4.

    BreakingFeatures
  • v2.4.2

    v2.4.2 is a patch release that addresses a crash when using the `uncolorize` format on `Symbol` values. It also includes repo maintainability changes (LF line endings) and a small set of dependency bumps (Babel and ESLint).

  • v2.4.1

    v2.4.1 updates the project with GitHub issue templates and loosens the TypeScript typing for TransformableInfo.message. It also includes several dependency bumps used for CI and development tooling.

    Features
  • v2.4.0

    v2.4.0 upgrades logform to leverage safe-stable-stringify 2.x features, and exposes those options on JsonOptions. It also modernizes linting and CI (Travis to GitHub Actions), updates color handling to @colors/colors, and adjusts CliFormat to use triple-beam CLI levels instead of NPM levels.

    Features
  • v2.3.2

    Release v2.3.2 primarily addresses a supply-chain issue by pinning the `colors` dependency to a specific version. The code diff also updates a couple of related lockfile entries, but no application code logic changes are shown.

    Security
  • v2.3.0

    v2.3.0 switches JSON serialization internals across formats from fast-safe-stringify to safe-stable-stringify, and updates README/tests accordingly. The core exported format getters were also refactored for lazy loading, and the browser build now exposes additional formats (notably errors and ms). Release notes were not provided, so the behavioral impact must be inferred from the code diff.

    Breaking