Packages

winston

3.19.0 · 7 Dec 2025MIT36.6M / weekRepositoryHomepagenpmAtom feed

Your version

1.0.0

major7 Apr 2015Where it was published

1.1.2 is the newest release of 1.x.

In short

6 breaking2 new2 fixed2 changed

  • breaking

    Do not extend String prototypes as a side effect of using colors. (kenperkins)

  • breaking

    File transports now emit error on error of the underlying streams after maxRetries attempts. (ambbell).

  • breaking

    #583, 92729a Use os.EOL for all file writing by default. (Mik13, indexzero)

  • breaking

    Delete logger instance from Container when close event is emitted. (snater)

  • breaking

    Rename duration to durationMs, which is now a number a not a string ending in ms. (neoziro)

  • breaking

    Do not set a default level. When level is falsey on any Transport instance, any Logger instance uses the configured level (instead of the Transport level) (jstamerj).

Release note

v1.0.0 / 2015-04-07

Omg 1.0.0 finally edition

Breaking Changes

  • breaking

    Do not extend String prototypes as a side effect of using colors. (kenperkins)

  • breaking

    File transports now emit error on error of the underlying streams after maxRetries attempts. (ambbell).

  • breaking

    #583, 92729a Use os.EOL for all file writing by default. (Mik13, indexzero)

  • breaking

    Delete logger instance from Container when close event is emitted. (snater)

  • breaking

    Rename duration to durationMs, which is now a number a not a string ending in ms. (neoziro)

  • breaking

    Do not set a default level. When level is falsey on any Transport instance, any Logger instance uses the configured level (instead of the Transport level) (jstamerj).

Other changes

  • Fix rendering of stack traces.

  • c899cc Update documentation (Fixes #549)

  • Filter metadata along with messages

  • Fixes minor issue with maxFiles in File transport (Fixes #556).

  • Added showLevel support to File transport.

  • Added showLevel support to Console transport.