All Versions
49
Latest Version
Avg Release Cycle
74 days
Latest Release
-

Changelog History
Page 3

  • v3.0.0-rc5 Changes

    April 20, 2018

    UNOFFICIAL NATIONAL HOLIDAY EDITION

    • [#1281] Use Buffer.alloc and Buffer.from instead of new Buffer.
    • πŸ‘ Better browser support
      • [#1142] Move common tailFile to a separate file
      • [#1279] Use feature detection to be safer for browser usage.
    • πŸ“„ MOAR Docs!
      • Document that we are pushing for a May 29th, 2018 release of [email protected]
      • Add David Hyde as official contributor.
      • [#1278] Final Draft of Upgrade Guide in UPGRADE-3.0.md
      • Merge Roadmap from 3.0.0.md into CONTRIBUTING.md and other improvements to CONTRIBUTING.md
    • πŸ‘Œ Improve & expand examples
      • [#1175] Add more copy about printf formats based on issue feedback.
      • [#1134] Add sampleto document timestamps more clearly as an example.
      • [#1273] Add example using multiple formats.
      • [#1250] Add an example illustrating the "finish" event for AWS Lambda scenarios.
      • Use simple format to better show that humanReadableUnhandledException is now the default message format.
      • Add example to illustrate that example code from winston-transport README.md is correct.
    • ⚑️ Update devDependencies
      • Bump assume to ^2.0.1.
      • Bump winston-compat to ^0.1.1.
  • v3.0.0-rc4 Changes

    April 06, 2018

    🌲 IF A TREE FALLS IN THE FORREST DOES IT MAKE A LOG EDITION

    • πŸ‘ (@indexzero, @dabh) Add support for { silent } option to js require('winston').Logger; require('winston-transport').TransportStream;
    • πŸ‘ Better browser support
      • [#1145], (@Jasu) Replace isstream with is-stream to make stream detection work in browser.
      • [#1146], (@Jasu) Rename query to different than function name, to support Babel 6.26.
    • πŸ‘ Better Typescript support in all supporting libraries
    • πŸ“š Update documentation
      • (@indexzero) Correct link to upgrade guide. Fixes #1255.
      • [#1258], (@morenoh149) Document how to colorize levels. Fixes #1135.
      • [#1246], (@KlemenPlazar) Update colors argument when adding custom colors
      • Update CONTRIBUTING.md
      • [#1239], (@dabh) Add changelog entries for v3.0.0-rc3
      • Add example showing that { level } can be deleted from info objects because Symbol.for('level') is what winston uses internally. Fixes #1184.
  • v3.0.0-rc3 Changes

    March 16, 2018

    I GOT NOTHING EDITION

    • [#1195], (@Nilegfx) Fix type error when creating new stream.Stream()
    • ⚑️ [#1109], (@vsetka) Fix file transprot bug where self.filename was not being updated on ENOENT
    • [#1153], (@wizardnet972) Make prototype methods return like the original method
    • βœ… [#1234], (@guiguan, @indexzero) Add tests for properly handling logging of undefined, null and Error values
    • [#1235], (@indexzero) Add example demonstrating how meta objects BECOME the info object
    • πŸ›  Minor fixes to docs & examples: [#1232], [#1185]
  • v3.0.0-rc2 Changes

    March 09, 2018

    🚧 MAINTENANCE RESUMES EDITION

    • [#1209], (@dabh) Use new version of colors, solving a number of issues.
    • [#1197], (@indexzero) Roadmap & guidelines for contributors.
    • πŸ“¦ [#1100] Require the package.json by its full name.
    • ⚑️ [#1149] Updates async to latest (2.6.0)
    • [#1228], (@mcollina) Always pass a function to fs.close.
    • πŸ›  Minor fixes to docs & examples: [#1177], [#1182], [#1208], [#1198], [#1165], [#1110], [#1117], [#1097], [#1155], [#1084], [#1141], [#1210], [#1223].
  • v3.0.0-rc1 Changes

    October 19, 2017

    OMG THEY FORGOT TO NAME IT EDITION

    • Fix file transport improper binding of _onDrain and _onError #1104
  • v3.0.0-RC0 Changes

    • [#1036] Container.add() 'filters' and 'rewriters' option passing to logger.
    • πŸ›  [#1066] Fixed working of "humanReadableUnhandledException" parameter when additional data is added in meta.
    • 🌲 [#1040] Added filtering by log level
    • [#1042] Fix regressions brought by 2.3.1.
      • Fix regression on array printing.
      • Fix regression on falsy value.
    • [#977] Always decycle objects before cloning.
      • Fixes [#862]
      • Fixes [#474]
      • Fixes [#914]
    • [57af38a] Missing context in .lazyDrain of File transport.
    • ⚠ [178935f] Suppress excessive Node warning from fs.unlink.
    • πŸ“„ [fcf04e1] Add label option to File transport docs.
    • [7e736b4], [24300e2] Added more info about undocumented winston.startTimer() method.
    • πŸ’… [#1076], [#1082], [#1029], [#989], [e1e7188] Minor grammatical & style updates to README.md.
  • v3.0.0-rc0 Changes

    October 02, 2017

    IT'S-DONE.GIF EDITION

    ⬆️ See [UPGRADE-3.0.md](UPGRADE-3.0.md) for a complete & living upgrade guide.

    πŸ‘€ See [3.0.0.md](3.0.0.md) for a list of remaining RC tasks.

    • 🌲 Rewrite of core logging internals: Logger & Transport are now implemented using Node.js objectMode streams.
    • Your transports should not break: Special attention has been given to ensure backwards compatibility with existing transports. You will likely see this: YourTransport is a legacy winston transport. Consider upgrading to winston@3: - Upgrade docs: https://github.com/winstonjs/winston/tree/master/UPGRADE.md
    • 🌲 filters, rewriters, and common.log are now formats: winston.format offers a simple mechanism for user-land formatting & style features. The organic & frankly messy growth of common.log is of the past; these feature requests can be implemented entirely outside of winston itself. ``` js const { createLogger, format, transports } = require('winston'); const { combine, timestamp, label, printf } = format;

    const myFormat = printf(info => { return ${info.timestamp} [${info.label}] ${info.level}: ${info.message}; });

    const logger = createLogger({ combine( label({ label: 'right meow!' }), timestamp(), myFormat ), transports: [new transports.Console()] });

    - **Increased modularity:** several subsystems are now stand-alone packages:
      - [logform] exposed as `winston.format`
      - [winston-transport] exposed as `winston.Transport`
      - [abstract-winston-transport] used for reusable unit test suites for transport authors.
    - 🚧 **`2.x` branch will getΒ little to no maintenance:** no feature requests will be accepted – only a limited number of open PRs will be merged. Hoping the [significant performance benefits][perf-bench] incentivizes folks to upgrade quickly. Don't agree? Say something!
    - πŸ‘ **No guaranteed support for `node@4` or below:** all code will be migrated to ES6 over time. This release was started when ES5 was still a hard requirement due to the current LTS needs.
    
  • v2.4.5

    June 22, 2020
  • v2.4.4

    August 21, 2018
  • v2.4.3

    June 12, 2018