All Versions
49
Latest Version
Avg Release Cycle
74 days
Latest Release
-
Changelog History
Page 3
Changelog History
Page 3
-
v3.0.0-rc5 Changes
April 20, 2018UNOFFICIAL NATIONAL HOLIDAY EDITION
- [#1281] Use
Buffer.alloc
andBuffer.from
instead ofnew 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
intoCONTRIBUTING.md
and other improvements toCONTRIBUTING.md
- Document that we are pushing for a May 29th, 2018 release of
- π 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
.
- Bump
- [#1281] Use
-
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 tojs require('winston').Logger; require('winston-transport').TransportStream;
- π Better browser support
- [#1145], (@Jasu) Replace
isstream
withis-stream
to make stream detection work in browser. - [#1146], (@Jasu) Rename query to different than function name, to support Babel 6.26.
- [#1145], (@Jasu) Replace
- π 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 becauseSymbol.for('level')
is whatwinston
uses internally. Fixes #1184.
- π (@indexzero, @dabh) Add support for
-
v3.0.0-rc3 Changes
March 16, 2018I 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 onENOENT
- [#1153], (@wizardnet972) Make prototype methods return like the original method
- β
[#1234], (@guiguan, @indexzero) Add tests for properly handling logging of
undefined
,null
andError
values - [#1235], (@indexzero) Add example demonstrating how
meta
objects BECOME theinfo
object - π Minor fixes to docs & examples: [#1232], [#1185]
- [#1195], (@Nilegfx) Fix type error when creating
-
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, 2017OMG THEY FORGOT TO NAME IT EDITION
- Fix file transport improper binding of
_onDrain
and_onError
#1104
- Fix file transport improper binding of
-
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
ofFile
transport. - β [178935f] Suppress excessive Node warning from
fs.unlink
. - π [fcf04e1] Add
label
option toFile
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, 2017IT'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.jsobjectMode
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
, andcommon.log
are now formats:winston.format
offers a simple mechanism for user-land formatting & style features. The organic & frankly messy growth ofcommon.log
is of the past; these feature requests can be implemented entirely outside ofwinston
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.
- π² Rewrite of core logging internals:
-
v2.4.5
June 22, 2020 -
v2.4.4
August 21, 2018 -
v2.4.3
June 12, 2018