winstonjs/winston (winston)
### [`v3.17.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.17.0)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.16.0...v3.17.0)
- Try winston-transport 4.9.0 [`3e87128`](https://redirect.github.com/winstonjs/winston/commit/3e87128)
- Revert "Try bumping winston-transport to 4.8.0" [`69625fc`](https://redirect.github.com/winstonjs/winston/commit/69625fc)
- Revert "Try bumping winston-transport to 4.8.0" [`876ef7a`](https://redirect.github.com/winstonjs/winston/commit/876ef7a)
- Try bumping winston-transport to 4.8.0 [`7ef2c1d`](https://redirect.github.com/winstonjs/winston/commit/7ef2c1d)
- Try bumping winston-transport to 4.8.0 [`fe4b64e`](https://redirect.github.com/winstonjs/winston/commit/fe4b64e)
- Bump logform [`c9fd9a4`](https://redirect.github.com/winstonjs/winston/commit/c9fd9a4)
- Revert "Update logform and winston-transport" [`14fef0f`](https://redirect.github.com/winstonjs/winston/commit/14fef0f)
- Merge branch 'master' of github.com:winstonjs/winston [`545b683`](https://redirect.github.com/winstonjs/winston/commit/545b683)
- Update logform and winston-transport [`cceb265`](https://redirect.github.com/winstonjs/winston/commit/cceb265)
- Bump mocha from 10.7.3 to 10.8.2 ([#2523](https://redirect.github.com/winstonjs/winston/issues/2523)) [`bb529b6`](https://redirect.github.com/winstonjs/winston/commit/bb529b6)
- Bump async from 3.2.5 to 3.2.6 ([#2516](https://redirect.github.com/winstonjs/winston/issues/2516)) [`ae847ab`](https://redirect.github.com/winstonjs/winston/commit/ae847ab)
### [`v3.16.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.16.0)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.15.0...v3.16.0)
- Feature - optionally include Error.cause property ([#2447](https://redirect.github.com/winstonjs/winston/issues/2447)) [`201b6f1`](https://redirect.github.com/winstonjs/winston/commit/201b6f1)
### [`v3.15.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.15.0)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.14.2...v3.15.0)
Note: we removed LogCallback from the TS definitions because the underlying library didn't actually support these. If this causes issues in your apps, we recommend you remove references to LogCallbacks, since such code was not being executed anyways. See [#2513](https://redirect.github.com/winstonjs/winston/issues/2513) and the issue linked therein.
- remove logcallback ([#2513](https://redirect.github.com/winstonjs/winston/issues/2513)) [`3a54777`](https://redirect.github.com/winstonjs/winston/commit/3a54777)
- chore(docs): Update README.md w/ usage comments ([#2507](https://redirect.github.com/winstonjs/winston/issues/2507)) [`f110f61`](https://redirect.github.com/winstonjs/winston/commit/f110f61)
- Bump nyc from 15.1.0 to 17.1.0 ([#2511](https://redirect.github.com/winstonjs/winston/issues/2511)) [`f5dde86`](https://redirect.github.com/winstonjs/winston/commit/f5dde86)
- Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.24.7 to 7.25.6 ([#2512](https://redirect.github.com/winstonjs/winston/issues/2512)) [`d1b8dc6`](https://redirect.github.com/winstonjs/winston/commit/d1b8dc6)
- Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.24.8 to 7.25.4 ([#2506](https://redirect.github.com/winstonjs/winston/issues/2506)) [`564161a`](https://redirect.github.com/winstonjs/winston/commit/564161a)
- Bump mocha from 10.7.0 to 10.7.3 ([#2500](https://redirect.github.com/winstonjs/winston/issues/2500)) [`eb7e315`](https://redirect.github.com/winstonjs/winston/commit/eb7e315)
- Unified Handler Tests ([#2020](https://redirect.github.com/winstonjs/winston/issues/2020)) [`22aab6d`](https://redirect.github.com/winstonjs/winston/commit/22aab6d)
### [`v3.14.2`](https://redirect.github.com/winstonjs/winston/compare/v3.14.1...v3.14.2)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.14.1...v3.14.2)
### [`v3.14.1`](https://redirect.github.com/winstonjs/winston/compare/v3.14.0...b270c4ee8ad8dd7098cf45d64cdab4489512dc8d)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.14.0...v3.14.1)
### [`v3.14.0`](https://redirect.github.com/winstonjs/winston/compare/v3.13.1...c4a15ec02394b6b1e7376fe2979cf1efa6a849f0)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.13.1...v3.14.0)
### [`v3.13.1`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.13.1)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.13.0...v3.13.1)
- revert to rimraf 5.0.1, last known version to work with node 18 for now [`1b3a500`](https://redirect.github.com/winstonjs/winston/commit/1b3a500)
- Merge branch 'master' of github.com:winstonjs/winston [`b56117e`](https://redirect.github.com/winstonjs/winston/commit/b56117e)
- Update dependencies [`a5853b5`](https://redirect.github.com/winstonjs/winston/commit/a5853b5)
- Bump [@types/node](https://redirect.github.com/types/node) from 20.12.7 to 20.14.10 ([#2483](https://redirect.github.com/winstonjs/winston/issues/2483)) [`93b52ac`](https://redirect.github.com/winstonjs/winston/commit/93b52ac)
- Bump mocha from 10.3.0 to 10.6.0 ([#2484](https://redirect.github.com/winstonjs/winston/issues/2484)) [`33611c9`](https://redirect.github.com/winstonjs/winston/commit/33611c9)
- Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.24.0 to 7.24.7 ([#2475](https://redirect.github.com/winstonjs/winston/issues/2475)) [`4aa6550`](https://redirect.github.com/winstonjs/winston/commit/4aa6550)
- Update minimum version logform ([#2472](https://redirect.github.com/winstonjs/winston/issues/2472)) [`7f5f014`](https://redirect.github.com/winstonjs/winston/commit/7f5f014)
- Add Parseable transport ([#2466](https://redirect.github.com/winstonjs/winston/issues/2466)) [`debf4fa`](https://redirect.github.com/winstonjs/winston/commit/debf4fa)
- chore(docs): Update w/ MySQL transport ([#2456](https://redirect.github.com/winstonjs/winston/issues/2456)) [`d567c57`](https://redirect.github.com/winstonjs/winston/commit/d567c57)
- fix typo at test/unit/winston/transports/http.test.js ([#2453](https://redirect.github.com/winstonjs/winston/issues/2453)) [`1d5d527`](https://redirect.github.com/winstonjs/winston/commit/1d5d527)
- Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.23.9 to 7.24.5 ([#2454](https://redirect.github.com/winstonjs/winston/issues/2454)) [`d89a34e`](https://redirect.github.com/winstonjs/winston/commit/d89a34e)
- Bump [@types/node](https://redirect.github.com/types/node) from 20.11.29 to 20.12.7 ([#2448](https://redirect.github.com/winstonjs/winston/issues/2448)) [`947fa79`](https://redirect.github.com/winstonjs/winston/commit/947fa79)
- Bump [@babel/core](https://redirect.github.com/babel/core) from 7.24.0 to 7.24.5 ([#2455](https://redirect.github.com/winstonjs/winston/issues/2455)) [`8c58d0a`](https://redirect.github.com/winstonjs/winston/commit/8c58d0a)
### [`v3.13.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.13.0)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.12.1...v3.13.0)
- fix(http): allow passing maximumDepth to prevent big object being stringified ([#2425](https://redirect.github.com/winstonjs/winston/issues/2425)) [`a237865`](https://redirect.github.com/winstonjs/winston/commit/a237865)
### [`v3.12.1`](https://redirect.github.com/winstonjs/winston/compare/v3.12.0...b5eecf02f27df645f10bdf2e8f1c205fa2d6681b)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.12.0...v3.12.1)
### [`v3.12.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.12.0)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.11.0...v3.12.0)
- missing timestamp format in ready-to-use-pattern example ([#2421](https://redirect.github.com/winstonjs/winston/issues/2421)) [`9e5b407`](https://redirect.github.com/winstonjs/winston/commit/9e5b407)
- bump deps ([#2422](https://redirect.github.com/winstonjs/winston/issues/2422)) [`4a85e6b`](https://redirect.github.com/winstonjs/winston/commit/4a85e6b)
- \[chore] Run coveralls CI check on Node 20 not 16 ([#2418](https://redirect.github.com/winstonjs/winston/issues/2418)) [`e153c68`](https://redirect.github.com/winstonjs/winston/commit/e153c68)
- Bump [@types/node](https://redirect.github.com/types/node) from 20.8.6 to 20.11.19 ([#2413](https://redirect.github.com/winstonjs/winston/issues/2413)) [`587f40f`](https://redirect.github.com/winstonjs/winston/commit/587f40f)
- Update README.md ([#2417](https://redirect.github.com/winstonjs/winston/issues/2417)) [`8e99a00`](https://redirect.github.com/winstonjs/winston/commit/8e99a00)
- docs: fix anchor in transports docs ([#2416](https://redirect.github.com/winstonjs/winston/issues/2416)) [`0bde36b`](https://redirect.github.com/winstonjs/winston/commit/0bde36b)
- add winston-transport-vscode to transports docs ([#2411](https://redirect.github.com/winstonjs/winston/issues/2411)) [`8fb5b41`](https://redirect.github.com/winstonjs/winston/commit/8fb5b41)
- Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.23.0 to 7.23.9 ([#2406](https://redirect.github.com/winstonjs/winston/issues/2406)) [`a326743`](https://redirect.github.com/winstonjs/winston/commit/a326743)
- Add winston-newrelic-agent-transport to transport documentation ([#2382](https://redirect.github.com/winstonjs/winston/issues/2382)) [`cc731ef`](https://redirect.github.com/winstonjs/winston/commit/cc731ef)
- Remove newrelic-winston transport entry. ([#2405](https://redirect.github.com/winstonjs/winston/issues/2405)) [`f077f30`](https://redirect.github.com/winstonjs/winston/commit/f077f30)
- Bump eslint from 8.55.0 to 8.56.0 ([#2397](https://redirect.github.com/winstonjs/winston/issues/2397)) [`3943c41`](https://redirect.github.com/winstonjs/winston/commit/3943c41)
- Bump the npm_and_yarn group group with 1 update ([#2391](https://redirect.github.com/winstonjs/winston/issues/2391)) [`8260866`](https://redirect.github.com/winstonjs/winston/commit/8260866)
- Fix unhandled rejection handling ([#2390](https://redirect.github.com/winstonjs/winston/issues/2390)) [`333b763`](https://redirect.github.com/winstonjs/winston/commit/333b763)
- Fix all rimraf usages to the best of my ability; glob is not true by default in rimraf; file archive test only passed every other time using async rimraf, could use further investigation [`c3f3b5b`](https://redirect.github.com/winstonjs/winston/commit/c3f3b5b)
- Fix rimraf usage in new test [`8f3c653`](https://redirect.github.com/winstonjs/winston/commit/8f3c653)
- Fix rimraf import in test (why didn't this break in PR CI?) [`f3836aa`](https://redirect.github.com/winstonjs/winston/commit/f3836aa)
- Added functionality to long broken zippedArchive option ([#2337](https://redirect.github.com/winstonjs/winston/issues/2337)) [`02d4267`](https://redirect.github.com/winstonjs/winston/commit/02d4267)
- Bump async from 3.2.4 to 3.2.5 ([#2378](https://redirect.github.com/winstonjs/winston/issues/2378)) [`069a40d`](https://redirect.github.com/winstonjs/winston/commit/069a40d)
- Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.23.2 to 7.23.7 ([#2384](https://redirect.github.com/winstonjs/winston/issues/2384)) [`79282e1`](https://redirect.github.com/winstonjs/winston/commit/79282e1)
- Bump winston-transport; fix test issue ([#2386](https://redirect.github.com/winstonjs/winston/issues/2386)) [`05788b9`](https://redirect.github.com/winstonjs/winston/commit/05788b9)
- Bump eslint from 8.51.0 to 8.55.0 ([#2375](https://redirect.github.com/winstonjs/winston/issues/2375)) [`a7c2eec`](https://redirect.github.com/winstonjs/winston/commit/a7c2eec)
- Bump std-mocks from 1.0.1 to 2.0.0 ([#2361](https://redirect.github.com/winstonjs/winston/issues/2361)) [`85c336e`](https://redirect.github.com/winstonjs/winston/commit/85c336e)
- Bump actions/setup-node from 3 to 4 ([#2362](https://redirect.github.com/winstonjs/winston/issues/2362)) [`448d11c`](https://redirect.github.com/winstonjs/winston/commit/448d11c)
- chore(README.md): adds documentation around coloring json formatted logs [`91ec069`](https://redirect.github.com/winstonjs/winston/commit/91ec069)
- Remove nonexistent Logger methods from types [`c3c3911`](https://redirect.github.com/winstonjs/winston/commit/c3c3911)
- Update dependencies [`caf2df6`](https://redirect.github.com/winstonjs/winston/commit/caf2df6)
### [`v3.11.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.11.0)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.10.0...v3.11.0)
- Bump split2 from 4.1.0 to 4.2.0 ([#2336](https://redirect.github.com/winstonjs/winston/issues/2336)) [`37f4282`](https://redirect.github.com/winstonjs/winston/commit/37f4282)
- Bump actions/checkout from 3 to 4 ([#2346](https://redirect.github.com/winstonjs/winston/issues/2346)) [`fdcc893`](https://redirect.github.com/winstonjs/winston/commit/fdcc893)
- Bump [@colors/colors](https://redirect.github.com/colors/colors) packgae to 1.6.0 ([#2353](https://redirect.github.com/winstonjs/winston/issues/2353)) [`dcbec34`](https://redirect.github.com/winstonjs/winston/commit/dcbec34)
- Bump rimraf from 3.0.2 to 5.0.5 ([#2357](https://redirect.github.com/winstonjs/winston/issues/2357)) [`aaaa4c0`](https://redirect.github.com/winstonjs/winston/commit/aaaa4c0)
- feat: add guardrails to the instantiation of a Profiler ([#2226](https://redirect.github.com/winstonjs/winston/issues/2226)) [`914b846`](https://redirect.github.com/winstonjs/winston/commit/914b846)
- Bump [@types/node](https://redirect.github.com/types/node) from 20.3.1 to 20.4.2 ([#2329](https://redirect.github.com/winstonjs/winston/issues/2329)) [`23cb80c`](https://redirect.github.com/winstonjs/winston/commit/23cb80c)
- Bug Fix: FileTransportOptions type missing lazy:boolean option ([#2334](https://redirect.github.com/winstonjs/winston/issues/2334)) [`1c43f7b`](https://redirect.github.com/winstonjs/winston/commit/1c43f7b)
### [`v3.10.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.10.0)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.9.0...v3.10.0)
- Avoid potential github issues - relax engines node requirement in package.json [`fc9c83d`](https://redirect.github.com/winstonjs/winston/commit/fc9c83d)
- Export Logger class ([#2181](https://redirect.github.com/winstonjs/winston/issues/2181)) [`eda40ef`](https://redirect.github.com/winstonjs/winston/commit/eda40ef)
- Added Lazy option to file transport ([#2317](https://redirect.github.com/winstonjs/winston/issues/2317)) [`f7e7f2f`](https://redirect.github.com/winstonjs/winston/commit/f7e7f2f)
- Bump eslint from 8.32.0 to 8.44.0 ([#2321](https://redirect.github.com/winstonjs/winston/issues/2321)) [`de2e887`](https://redirect.github.com/winstonjs/winston/commit/de2e887)
- docs([#2319](https://redirect.github.com/winstonjs/winston/issues/2319)): Syntax error on README.md ([#2320](https://redirect.github.com/winstonjs/winston/issues/2320)) [`fcc69ec`](https://redirect.github.com/winstonjs/winston/commit/fcc69ec)
- fix(types): Allow any object to be passed as meta to logger.profile ([#2314](https://redirect.github.com/winstonjs/winston/issues/2314)) [`9d6001a`](https://redirect.github.com/winstonjs/winston/commit/9d6001a)
- Bump [@types/node](https://redirect.github.com/types/node) from 18.11.18 to 20.3.1 ([#2313](https://redirect.github.com/winstonjs/winston/issues/2313)) [`06e3165`](https://redirect.github.com/winstonjs/winston/commit/06e3165)
- Update supported Node versions and run npm audit fix ([#2315](https://redirect.github.com/winstonjs/winston/issues/2315)) [`61e2f5b`](https://redirect.github.com/winstonjs/winston/commit/61e2f5b)
- Bump [@babel/core](https://redirect.github.com/babel/core) from 7.20.12 to 7.22.1 ([#2309](https://redirect.github.com/winstonjs/winston/issues/2309)) [`7643ad6`](https://redirect.github.com/winstonjs/winston/commit/7643ad6)
### [`v3.9.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v390)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.8.2...v3.9.0)
##### Functionality changes
- Handle undefined errors in getAllInfo in exception-handler in [https://github.com/winstonjs/winston/pull/2208](https://redirect.github.com/winstonjs/winston/pull/2208); thanks to new contributor [@eivindrs](https://redirect.github.com/eivindrs)
- fix: properly allow passing non-array transport in [https://github.com/winstonjs/winston/pull/2256](https://redirect.github.com/winstonjs/winston/pull/2256); thanks to new contributor [@Tanuel](https://redirect.github.com/Tanuel)
- fix [#1732](https://redirect.github.com/winstonjs/winston/issues/1732) (Http Transport uses JSON format options as request options) in [https://github.com/winstonjs/winston/pull/2272](https://redirect.github.com/winstonjs/winston/pull/2272); thanks to new contributor [@MoritzLoewenstein](https://redirect.github.com/MoritzLoewenstein) (minor version bump per comment on the issue)
- fix: add guard clause to prevent FD leak in [https://github.com/winstonjs/winston/pull/2301](https://redirect.github.com/winstonjs/winston/pull/2301); thanks to new contributor [@td-tomasz-joniec](https://redirect.github.com/td-tomasz-joniec)
##### Dependency updates by [@dependabot](https://redirect.github.com/dependabot) + CI autotesting
- Bump eslint from 8.23.0 to 8.32.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2209](https://redirect.github.com/winstonjs/winston/pull/2209), [https://github.com/winstonjs/winston/pull/2236](https://redirect.github.com/winstonjs/winston/pull/2236), [https://github.com/winstonjs/winston/pull/2258](https://redirect.github.com/winstonjs/winston/pull/2258), & [https://github.com/winstonjs/winston/pull/2271](https://redirect.github.com/winstonjs/winston/pull/2271)
- Bump [@babel/core](https://redirect.github.com/babel/core) from 7.19.0 to 7.20.12 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2206](https://redirect.github.com/winstonjs/winston/pull/2206), [https://github.com/winstonjs/winston/pull/2234](https://redirect.github.com/winstonjs/winston/pull/2234), [https://github.com/winstonjs/winston/pull/2259](https://redirect.github.com/winstonjs/winston/pull/2259), & [https://github.com/winstonjs/winston/pull/2275](https://redirect.github.com/winstonjs/winston/pull/2275)
- Bump [@types/node](https://redirect.github.com/types/node) from 18.0.0 to 18.11.18 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2215](https://redirect.github.com/winstonjs/winston/pull/2215), [https://github.com/winstonjs/winston/pull/2235](https://redirect.github.com/winstonjs/winston/pull/2235), & [https://github.com/winstonjs/winston/pull/2264](https://redirect.github.com/winstonjs/winston/pull/2264)
- Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.19.0 to 7.20.2 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2218](https://redirect.github.com/winstonjs/winston/pull/2218) & [https://github.com/winstonjs/winston/pull/2244](https://redirect.github.com/winstonjs/winston/pull/2244)
- Bump safe-stable-stringify from 2.3.1 to 2.4.3 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2217](https://redirect.github.com/winstonjs/winston/pull/2217) & [https://github.com/winstonjs/winston/pull/2292](https://redirect.github.com/winstonjs/winston/pull/2292)
- Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.18.10 to 7.19.3 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2216](https://redirect.github.com/winstonjs/winston/pull/2216)
- Bump json5 from 2.2.1 to 2.2.3 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2260](https://redirect.github.com/winstonjs/winston/pull/2260)
##### Documentation changes
- Fix readme typo in [https://github.com/winstonjs/winston/pull/2230](https://redirect.github.com/winstonjs/winston/pull/2230); thanks to new contributor [@aretecode](https://redirect.github.com/aretecode)
- create new example for ready to use in [https://github.com/winstonjs/winston/pull/2240](https://redirect.github.com/winstonjs/winston/pull/2240); thanks to new contributor [@myagizmaktav](https://redirect.github.com/myagizmaktav)
- minor fixes to publishing.md
##### Build Infrastructure changes
- GitHub Workflows security hardening in [https://github.com/winstonjs/winston/pull/2252](https://redirect.github.com/winstonjs/winston/pull/2252); thanks to new contributor [@sashashura](https://redirect.github.com/sashashura)
### [`v3.8.2`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v382)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.8.1...v3.8.2)
##### Patch-level changes
- Add `.js` to main entry point in package.json in [https://github.com/winstonjs/winston/pull/2177](https://redirect.github.com/winstonjs/winston/pull/2177); thanks to new contributor [@rumanbsl](https://redirect.github.com/rumanbsl)
- Small grammatical fixes in README.md in [https://github.com/winstonjs/winston/pull/2183](https://redirect.github.com/winstonjs/winston/pull/2183); thanks to new contributor [@mikebarr24](https://redirect.github.com/mikebarr24)
- Move colors to non-dev dependencies by [@wbt](https://redirect.github.com/wbt) in [https://github.com/winstonjs/winston/pull/2190](https://redirect.github.com/winstonjs/winston/pull/2190)
##### Dependency updates by [@dependabot](https://redirect.github.com/dependabot) + CI autotesting
- Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.18.2 to 7.19.0 in [https://github.com/winstonjs/winston/pull/2189](https://redirect.github.com/winstonjs/winston/pull/2189)
- Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.17.10 to 7.18.10 in [https://github.com/winstonjs/winston/pull/2173](https://redirect.github.com/winstonjs/winston/pull/2173)
- Bump eslint from 8.18.0 to 8.23.0 in [https://github.com/winstonjs/winston/pull/2184](https://redirect.github.com/winstonjs/winston/pull/2184)
- Bump [@babel/core](https://redirect.github.com/babel/core) from 7.18.5 to 7.19.0 in [https://github.com/winstonjs/winston/pull/2192](https://redirect.github.com/winstonjs/winston/pull/2192)
- Bump logform from 2.4.1 to 2.4.2 in [https://github.com/winstonjs/winston/pull/2191](https://redirect.github.com/winstonjs/winston/pull/2191)
### [`v3.8.1`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v381)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.8.0...v3.8.1)
##### Patch-level changes
- Update types to match in-code definitions in [https://github.com/winstonjs/winston/pull/2157](https://redirect.github.com/winstonjs/winston/pull/2157); thanks to new contributor [@flappyBug](https://redirect.github.com/flappyBug)
##### Dependency updates by [@dependabot](https://redirect.github.com/dependabot) + CI autotesting
- Bump logform from 2.4.0 to 2.4.1 in [https://github.com/winstonjs/winston/pull/2156](https://redirect.github.com/winstonjs/winston/pull/2156)
- Bump async from 3.2.3 to 3.2.4 in [https://github.com/winstonjs/winston/pull/2147](https://redirect.github.com/winstonjs/winston/pull/2147)
### [`v3.8.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v380--2022-06-23)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.7.2...v3.8.0)
##### Added functionality
- Add the stringify replacer option to the HTTP transport by [@domiins](https://redirect.github.com/domiins) in [https://github.com/winstonjs/winston/pull/2155](https://redirect.github.com/winstonjs/winston/pull/2155)
##### Dependency updates by [@dependabot](https://redirect.github.com/dependabot) + CI autotesting
- Bump [@babel/core](https://redirect.github.com/babel/core) from 7.17.8 to 7.18.5
- Bump eslint from 8.12.0 to 8.18.0
- Bump [@types/node](https://redirect.github.com/types/node) from 17.0.23 to 18.0.0
- Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.16.11 to 7.18.2
- Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.17.6 to 7.17.10
##### Updates facilitating repo maintenance & enhancing documentation
- Explicitly note that the Contributing.md file is out of date
- Add instructions for publishing updated version by [@wbt](https://redirect.github.com/wbt) (docs/publishing.md)
- Prettier Config File by [@jeanpierrecarvalho](https://redirect.github.com/jeanpierrecarvalho) in [https://github.com/winstonjs/winston/pull/2092](https://redirect.github.com/winstonjs/winston/pull/2092)
- Readme update to explain origin of errors for handling ([#2120](https://redirect.github.com/winstonjs/winston/issues/2120))
- update documentation for [#2114](https://redirect.github.com/winstonjs/winston/issues/2114) by [@zizifn](https://redirect.github.com/zizifn) in [https://github.com/winstonjs/winston/pull/2138](https://redirect.github.com/winstonjs/winston/pull/2138)
- enhance message for logs with no transports [#2114](https://redirect.github.com/winstonjs/winston/issues/2114) by [@zizifn](https://redirect.github.com/zizifn) in [https://github.com/winstonjs/winston/pull/2139](https://redirect.github.com/winstonjs/winston/pull/2139)
- Added a new Community Transport option to the list: Worker Thread based async Console Transport by [@arpad1337](https://redirect.github.com/arpad1337) in [https://github.com/winstonjs/winston/pull/2140](https://redirect.github.com/winstonjs/winston/pull/2140)
Thanks especially to new contributors [@zizifn](https://redirect.github.com/zizifn), [@arpad1337](https://redirect.github.com/arpad1337), [@domiins](https://redirect.github.com/domiins), & [@jeanpierrecarvalho](https://redirect.github.com/jeanpierrecarvalho)!
### [`v3.7.2`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v372--2022-04-04)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.7.1...v3.7.2)
This change reverts what should have been the feature-level update in 3.7.0 due to issue [#2103](https://redirect.github.com/winstonjs/winston/issues/2103) showing this to be breaking, unintentionally.
### [`v3.7.1`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v371--2022-04-04)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.6.0...v3.7.1)
This change includes some minor updates to package-lock.json resolving npm audit failures: one in [ansi-regex](https://redirect.github.com/advisories/GHSA-93q8-gq69-wqmw) and another in [minimist](https://redirect.github.com/advisories/GHSA-xvch-5gv4-984h).
### [`v3.6.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v360--2022-02-12)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.5.1...v3.6.0)
- \[[#2057](https://redirect.github.com/winstonjs/winston/issues/2057)] Fix potential memory leak by not waiting for `process.nextTick` before clearing pending callbacks (thanks [@smashah](https://redirect.github.com/smashah)!)
- \[[#2071](https://redirect.github.com/winstonjs/winston/issues/2071)] Update to `logform` 2.4.0, which includes changes such as new options for `JsonOptions` and some typo fixes regarding levels
- Various other dependencies are updated, tests are reorganized and cleaned up, etc. (thanks [@wbt](https://redirect.github.com/wbt), [@Maverick1872](https://redirect.github.com/Maverick1872), [@fearphage](https://redirect.github.com/fearphage)!)
### [`v3.5.1`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v351--2022-01-31)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.5.0...v3.5.1)
This release reverts the changes made in PR [#1896](https://redirect.github.com/winstonjs/winston/issues/1896) which added stricter typing to the available log levels,
and inadvertently broke use of custom levels with TypeScript (Issue [#2047](https://redirect.github.com/winstonjs/winston/issues/2047)). Apologies for that!
### [`v3.5.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v350--2022-01-27)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.4.0...v3.5.0)
This release includes the following, in sequence by first merge in group:
Feature updates:
- Support batch mode in HTTP Transport (Issue [#1970](https://redirect.github.com/winstonjs/winston/issues/1970), PR [#1998](https://redirect.github.com/winstonjs/winston/issues/1998), thanks [@BBE78](https://redirect.github.com/BBE78)!)
Patch-level updates:
- Bump dependency versions (thanks [@dependabot](https://redirect.github.com/dependabot) & [@DABH](https://redirect.github.com/DABH)!)
- Bump [@types/node](https://redirect.github.com/types/node) from 16.11.12 to 17.0.8 (PR [#2009](https://redirect.github.com/winstonjs/winston/issues/2009))
- Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.16.7 to 7.16.8 ([#2036](https://redirect.github.com/winstonjs/winston/issues/2036))
- Bump [@types/node](https://redirect.github.com/types/node) from 17.0.8 to 17.0.9 ([#2035](https://redirect.github.com/winstonjs/winston/issues/2035))
- Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.16.7 to 7.16.8 ([#2034](https://redirect.github.com/winstonjs/winston/issues/2034))
- Bump [@types/node](https://redirect.github.com/types/node) from 17.0.9 to 17.0.10 ([#2042](https://redirect.github.com/winstonjs/winston/issues/2042))
- Bump [@babel/core](https://redirect.github.com/babel/core) from 7.16.7 to 7.16.12 ([#2041](https://redirect.github.com/winstonjs/winston/issues/2041))
- Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.16.8 to 7.16.11 ([#2040](https://redirect.github.com/winstonjs/winston/issues/2040))
- Fixing documentation syntax errors in transports code examples ([#1916](https://redirect.github.com/winstonjs/winston/issues/1916); thanks [@romanzaycev](https://redirect.github.com/romanzaycev)!)
- Fix missing type declarations, especially for `.rejections`
([#1842](https://redirect.github.com/winstonjs/winston/issues/1842), [#1929](https://redirect.github.com/winstonjs/winston/issues/1929), [#2021](https://redirect.github.com/winstonjs/winston/issues/2021); thanks [@vanflux](https://redirect.github.com/vanflux), [@svaj](https://redirect.github.com/svaj), [@glensc](https://redirect.github.com/glensc), & others!)
- More narrowly typing the “level” string ([#1896](https://redirect.github.com/winstonjs/winston/issues/1896), thanks [@yonas-g](https://redirect.github.com/yonas-g)!)
- Using a safer `stringify`, e.g. to avoid issues from circular structures, in the http transport
([#2043](https://redirect.github.com/winstonjs/winston/issues/2043), thanks [@karlwir](https://redirect.github.com/karlwir)!)
Updates to the repo & project which don’t actually affect the running code:
- Add a channel for reporting security vulnerabilities ([#2024](https://redirect.github.com/winstonjs/winston/issues/2024), thanks [@JamieSlome](https://redirect.github.com/JamieSlome)!)
- Add coverage tracking in CI & documentation ([#2025](https://redirect.github.com/winstonjs/winston/issues/2025) and [#2028](https://redirect.github.com/winstonjs/winston/issues/2028), thanks [@fearphage](https://redirect.github.com/fearphage)!)
- Update issue templates ([#2030](https://redirect.github.com/winstonjs/winston/issues/2030) and [#2031](https://redirect.github.com/winstonjs/winston/issues/2031), thanks [@Maverick1872](https://redirect.github.com/Maverick1872)!)
- Remove gitter link from README.md ([#2027](https://redirect.github.com/winstonjs/winston/issues/2027), thanks [@DABH](https://redirect.github.com/DABH)!)
Thanks also to maintainers [@DABH](https://redirect.github.com/DABH), [@fearphage](https://redirect.github.com/fearphage), [@Maverick1872](https://redirect.github.com/Maverick1872), and [@wbt](https://redirect.github.com/wbt) for issue/PR shepherding
and help across multiple parts of the release!
If somebody got missed in the list of thanks, please forgive the accidental oversight
and/or feel free to open a PR on this changelog.
### [`v3.4.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v340--2022-01-10)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/3.3.4...v3.4.0)
Yesterday's release was done with a higher sense of urgency than usual
due to vandalism in the `colors` package.
This release:
- ties up a loose end by including \[[#1973](https://redirect.github.com/winstonjs/winston/issues/1973)] to go with \[[#1824](https://redirect.github.com/winstonjs/winston/issues/1824)]
- adds a missing http property in NpmConfigSetColors \[[#2004](https://redirect.github.com/winstonjs/winston/issues/2004)] (thanks [@SimDaSong](https://redirect.github.com/SimDaSong))
- fixes a minor issue in the build/release process \[[#2014](https://redirect.github.com/winstonjs/winston/issues/2014)]
- pins the version of the testing framework to avoid an issue with a test incorrectly failing \[[#2017](https://redirect.github.com/winstonjs/winston/issues/2017)]
The biggest change in this release, motivating the feature-level update, is
\[[#2006](https://redirect.github.com/winstonjs/winston/issues/2006)] Make winston more ESM friendly, thanks to [@miguelcobain](https://redirect.github.com/miguelcobain).
Thanks also to [@DABH](https://redirect.github.com/DABH), [@wbt](https://redirect.github.com/wbt), and [@fearphage](https://redirect.github.com/fearphage) for contributions and reviews!
### [`v3.3.4`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v334--2022-01-09)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.3.3...3.3.4)
Compared to v3.3.3, this version fixes some issues and includes some updates to project infrastructure,
such as replacing Travis with Github CI and dependabot configuration.
There have also been several relatively minor improvements to documentation, and incorporation of some updated dependencies.
Dependency updates include a critical bug fix \[[#2008](https://redirect.github.com/winstonjs/winston/issues/2008)] in response to self-vandalism by the author of a dependency.
- \[[#1964](https://redirect.github.com/winstonjs/winston/issues/1964)] Added documentation for how to use a new externally maintained [Seq](https://datalust.co/seq) transport.
- \[[#1712](https://redirect.github.com/winstonjs/winston/issues/1712)] Add default metadata when calling log with string level and message.
- \[[#1824](https://redirect.github.com/winstonjs/winston/issues/1824)] Unbind event listeners on close
- \[[#1961](https://redirect.github.com/winstonjs/winston/issues/1961)] Handle undefined rejections
- \[[#1878](https://redirect.github.com/winstonjs/winston/issues/1878)] Correct boolean evaluation of empty-string value for eol option
- \[[#1977](https://redirect.github.com/winstonjs/winston/issues/1977)] Improved consistency of object parameters for better test reliability
### [`v3.3.3`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v333--2020-06-23)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.3.2...v3.3.3)
- \[[#1820](https://redirect.github.com/winstonjs/winston/issues/1820)] Revert \[[#1807](https://redirect.github.com/winstonjs/winston/issues/1807)] to resolve breaking changes for Typescript users.
### [`v3.3.2`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v332--2020-06-22)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.3.1...v3.3.2)
- \[[#1814](https://redirect.github.com/winstonjs/winston/issues/1814)] Use a fork of `diagnostics` published to NPM to avoid git dependency.
### [`v3.3.1`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v331--2020-06-21)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.3.0...v3.3.1)
- \[[#1803](https://redirect.github.com/winstonjs/winston/issues/1803)], \[[#1807](https://redirect.github.com/winstonjs/winston/issues/1807)] Fix TypeScript bugs.
- \[[#1740](https://redirect.github.com/winstonjs/winston/issues/1740)] Add space between `info.message` and `meta.message`.
- \[[#1813](https://redirect.github.com/winstonjs/winston/issues/1813)] Avoid indirect storage-engine dependency.
- \[[#1810](https://redirect.github.com/winstonjs/winston/issues/1810)] README updates.
### [`v3.3.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v330--2020-06-21)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/3.2.1...v3.3.0)
- \[[#1779](https://redirect.github.com/winstonjs/winston/issues/1779)] Fix property name in rejection handler.
- \[[#1768](https://redirect.github.com/winstonjs/winston/issues/1768)] Exclude extraneous files from NPM package.
- \[[#1364](https://redirect.github.com/winstonjs/winston/issues/1364)], \[[#1714](https://redirect.github.com/winstonjs/winston/issues/1714)] Don't remove transport from logger when transport error
occurs.
- \[[#1603](https://redirect.github.com/winstonjs/winston/issues/1603)] Expose `child` property on default logger.
- \[[#1777](https://redirect.github.com/winstonjs/winston/issues/1777)] Allow HTTP transport to pass options to request.
- \[[#1662](https://redirect.github.com/winstonjs/winston/issues/1662)] Add bearer auth capabilities to HTTP transport.
- \[[#1612](https://redirect.github.com/winstonjs/winston/issues/1612)] Remove no-op in file transport.
- \[[#1622](https://redirect.github.com/winstonjs/winston/issues/1622)], \[[#1623](https://redirect.github.com/winstonjs/winston/issues/1623)], \[[#1625](https://redirect.github.com/winstonjs/winston/issues/1625)] Typescript fixes.
- (Minor) \[[#1647](https://redirect.github.com/winstonjs/winston/issues/1647)], \[[#1793](https://redirect.github.com/winstonjs/winston/issues/1793)] Update CI settings.
- (Minor) \[[#1600](https://redirect.github.com/winstonjs/winston/issues/1600)], \[[#1605](https://redirect.github.com/winstonjs/winston/issues/1605)], \[[#1593](https://redirect.github.com/winstonjs/winston/issues/1593)], \[[#1610](https://redirect.github.com/winstonjs/winston/issues/1610)], \[[#1654](https://redirect.github.com/winstonjs/winston/issues/1654)], \[[#1656](https://redirect.github.com/winstonjs/winston/issues/1656)], \[[#1661](https://redirect.github.com/winstonjs/winston/issues/1661)],
\[[#1651](https://redirect.github.com/winstonjs/winston/issues/1651)], \[[#1652](https://redirect.github.com/winstonjs/winston/issues/1652)], \[[#1677](https://redirect.github.com/winstonjs/winston/issues/1677)], \[[#1683](https://redirect.github.com/winstonjs/winston/issues/1683)], \[[#1684](https://redirect.github.com/winstonjs/winston/issues/1684)], \[[#1700](https://redirect.github.com/winstonjs/winston/issues/1700)], \[[#1697](https://redirect.github.com/winstonjs/winston/issues/1697)], \[[#1650](https://redirect.github.com/winstonjs/winston/issues/1650)],
\[[#1705](https://redirect.github.com/winstonjs/winston/issues/1705)], \[[#1723](https://redirect.github.com/winstonjs/winston/issues/1723)], \[[#1737](https://redirect.github.com/winstonjs/winston/issues/1737)], \[[#1733](https://redirect.github.com/winstonjs/winston/issues/1733)], \[[#1743](https://redirect.github.com/winstonjs/winston/issues/1743)], \[[#1750](https://redirect.github.com/winstonjs/winston/issues/1750)], \[[#1754](https://redirect.github.com/winstonjs/winston/issues/1754)], \[[#1780](https://redirect.github.com/winstonjs/winston/issues/1780)],
\[[#1778](https://redirect.github.com/winstonjs/winston/issues/1778)] README, Transports.md, other docs changes.
- \[[#1672](https://redirect.github.com/winstonjs/winston/issues/1672)], \[[#1686](https://redirect.github.com/winstonjs/winston/issues/1686)], \[[#1772](https://redirect.github.com/winstonjs/winston/issues/1772)] Update dependencies.
### [`v3.2.1`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v321--2019-01-29)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/3.2.0...3.2.1)
##### UNBOUND PROTOTYPE AD INFINITUM EDITION
- \#\[1579], ([@indexzero](https://redirect.github.com/indexzero)) Fallback to the "root" instance **always** created by
`createLogger` for level convenience methods (e.g. `.info()`, `.silly()`).
(Fixes \[[#1577](https://redirect.github.com/winstonjs/winston/issues/1577)]).
- \[[#1539](https://redirect.github.com/winstonjs/winston/issues/1539)], ([@indexzero](https://redirect.github.com/indexzero)) Assume message is the empty string when level-helper
methods are invoked with no arguments (Fixed \[[#1501](https://redirect.github.com/winstonjs/winston/issues/1501)]).
- \[[#1583](https://redirect.github.com/winstonjs/winston/issues/1583)], ([@kibertoad](https://redirect.github.com/kibertoad)) Add typings for defaultMeta (Fixes \[[#1582](https://redirect.github.com/winstonjs/winston/issues/1582)])
- \[[#1586](https://redirect.github.com/winstonjs/winston/issues/1586)], ([@kibertoad](https://redirect.github.com/kibertoad)) Update dependencies.
### [`v3.2.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v320--2019-01-26)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/3.1.0...3.2.0)
##### SORRY IT TOO SO LONG EDITION
> **NOTE:** this was our first release using Github Projects. See the
> [3.2.0 Release Project](https://redirect.github.com/orgs/winstonjs/projects/3).
##### New Features!
- \[[#1471](https://redirect.github.com/winstonjs/winston/issues/1471)], ([@kibertoad](https://redirect.github.com/kibertoad)) Implement child loggers.
- \[[#1462](https://redirect.github.com/winstonjs/winston/issues/1462)], ([@drazisil](https://redirect.github.com/drazisil)) Add handleRejection support.
- \[[#1555](https://redirect.github.com/winstonjs/winston/issues/1555)], ([@DABH](https://redirect.github.com/DABH)) Add fixes from \[[#1355](https://redirect.github.com/winstonjs/winston/issues/1355)] to unhandled rejection handler.
- \[[#1418](https://redirect.github.com/winstonjs/winston/issues/1418)], ([@mfrisbey](https://redirect.github.com/mfrisbey)) Precompile ES6 syntax before publishing to npm.
- \[[#1533](https://redirect.github.com/winstonjs/winston/issues/1533)], ([@kibertoad](https://redirect.github.com/kibertoad)) Update to Babel 7.
- \[[#1562](https://redirect.github.com/winstonjs/winston/issues/1562)], ([@indexzero](https://redirect.github.com/indexzero)) \[fix] Better handling of `new Error(string)`
throughout the pipeline(s). (Fixes \[[#1338](https://redirect.github.com/winstonjs/winston/issues/1338)], \[[#1486](https://redirect.github.com/winstonjs/winston/issues/1486)]).
##### Bug Fixes
- \[[#1355](https://redirect.github.com/winstonjs/winston/issues/1355)], ([@DABH](https://redirect.github.com/DABH)) Fix issues with ExceptionHandler (Fixes \[[#1289](https://redirect.github.com/winstonjs/winston/issues/1289)]).
- \[[#1463](https://redirect.github.com/winstonjs/winston/issues/1463)], ([@SerayaEryn](https://redirect.github.com/SerayaEryn)) Bubble transport `warn` events up to logger in
addition to `error`s.
- \[[#1480](https://redirect.github.com/winstonjs/winston/issues/1480)], \[[#1503](https://redirect.github.com/winstonjs/winston/issues/1503)], ([@SerayaEryn](https://redirect.github.com/SerayaEryn)) File tailrolling fix.
- \[[#1483](https://redirect.github.com/winstonjs/winston/issues/1483)], ([@soldair](https://redirect.github.com/soldair)) Assign log levels to un-bound functions.
- \[[#1513](https://redirect.github.com/winstonjs/winston/issues/1513)], ([@TilaTheHun0](https://redirect.github.com/TilaTheHun0)) Set maxListeners for Console transport.
- \[[#1521](https://redirect.github.com/winstonjs/winston/issues/1521)], ([@jamesbechet](https://redirect.github.com/jamesbechet)) Fix Transform from `readable-stream` using CRA.
- \[[#1434](https://redirect.github.com/winstonjs/winston/issues/1434)], ([@Kouzukii](https://redirect.github.com/Kouzukii)) Fixes logger.query function (regression from `3.0.0`)
- \[[#1526](https://redirect.github.com/winstonjs/winston/issues/1526)], ([@pixtron](https://redirect.github.com/pixtron)) Log file without .gz for tailable (Fixes \[[#1525](https://redirect.github.com/winstonjs/winston/issues/1525)]).
- \[[#1559](https://redirect.github.com/winstonjs/winston/issues/1559)], ([@eubnara](https://redirect.github.com/eubnara)) Fix typo related to `exitOnError`.
- \[[#1556](https://redirect.github.com/winstonjs/winston/issues/1556)], ([@adoyle-h](https://redirect.github.com/adoyle-h)) Support to create log directory if it doesn't exist
for FileTransport.
##### New `splat` behavior
- \[[#1552](https://redirect.github.com/winstonjs/winston/issues/1552)], ([@indexzero](https://redirect.github.com/indexzero)) Consistent handling of meta with (and without)
interpolation in `winston` and `logform`.
- \[[#1499](https://redirect.github.com/winstonjs/winston/issues/1499)], ([@DABH](https://redirect.github.com/DABH)) Provide all of `SPLAT` to formats (Fixes \[[#1485](https://redirect.github.com/winstonjs/winston/issues/1485)]).
- \[[#1485](https://redirect.github.com/winstonjs/winston/issues/1485)], ([@mpabst](https://redirect.github.com/mpabst)) Fixing off-by-one when using both meta and splat.
Previously `splat` would have added a `meta` property for any additional
`info[SPLAT]` beyond the expected number of tokens.
**As of `logform@2.0.0`,** `format.splat` assumes additional splat paramters
(aka "metas") are objects and merges enumerable properties into the `info`.
e.g. **BE ADVISED** previous "metas" that *were not objects* will very likely
lead to odd behavior. e.g.
```js
const { createLogger, format, transports } = require('winston');
const { splat } = format;
const { MESSAGE, LEVEL, SPLAT } = require('triple-beam');
const logger = createLogger({
format: format.combine(
format.splat(),
format.json()
),
transports: [new transports.Console()]
});
// Expects two tokens, but four splat parameters provided.
logger.info(
'Let us %s for %j', // message
'objects', // used for %s
{ label: 'sure' }, // used for %j
'lol', ['ok', 'why'] // Multiple additional meta values
);
// winston < 3.2.0 && logform@1.x behavior:
// Added "meta" property.
//
// { level: 'info',
// message: 'Let us objects for {"label":"sure"}',
// meta: ['lol', ['ok', 'why']],
// [Symbol(level)]: 'info',
// [Symbol(message)]: 'Let us %s for %j',
// [Symbol(splat)]: [ 'objects', { label: 'sure' } ] }
// winston >= 3.2.0 && logform@2.x behavior: Enumerable properties
// assigned into `info`. Since **strings and Arrays only have NUMERIC
// enumerable properties we get this behavior!**
//
// { '0': 'ok',
// '1': 'why',
// '2': 'l',
// level: 'info',
// message: 'Let us objects for {"label":"sure"}',
// [Symbol(level)]: 'info',
// [Symbol(message)]: 'Let us %s for %j',
// [Symbol(splat)]: [ 'objects', { label: 'sure' } ] }
```
### [`v3.1.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v310--2018-08-22)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/3.0.1...3.1.0)
##### RELEASES ON A PLANE EDITION
- Minor TypeScript fixes \[[#1362](https://redirect.github.com/winstonjs/winston/issues/1362)], \[[#1395](https://redirect.github.com/winstonjs/winston/issues/1395)], \[[#1440](https://redirect.github.com/winstonjs/winston/issues/1440)]
- Fix minor typos \[[#1359](https://redirect.github.com/winstonjs/winston/issues/1359)], \[[#1363](https://redirect.github.com/winstonjs/winston/issues/1363)], \[[#1372](https://redirect.github.com/winstonjs/winston/issues/1372)], \[[#1378](https://redirect.github.com/winstonjs/winston/issues/1378)], \[[#1390](https://redirect.github.com/winstonjs/winston/issues/1390)]
- \[[#1373](https://redirect.github.com/winstonjs/winston/issues/1373)], ([@revik](https://redirect.github.com/revik)): Add `consoleWarnLevels` property to console transport options for `console.warn` browser support.
- \[[#1394](https://redirect.github.com/winstonjs/winston/issues/1394)], ([@bzoz](https://redirect.github.com/bzoz)): Fix tests on Windows.
- \[[#1447](https://redirect.github.com/winstonjs/winston/issues/1447)], ([@dboshardy](https://redirect.github.com/dboshardy)): Support transport name option to override default names for built-in transports.
- \[[#1420](https://redirect.github.com/winstonjs/winston/issues/1420)], ([@ledbit](https://redirect.github.com/ledbit)): Fix file rotation with `tailing: true` (Fixes \[[#1450](https://redirect.github.com/winstonjs/winston/issues/1450)], \[[#1194](https://redirect.github.com/winstonjs/winston/issues/1194)]).
- \[[#1352](https://redirect.github.com/winstonjs/winston/issues/1352)], ([@lutovich](https://redirect.github.com/lutovich)): Add `isLevelEnabled(string)` & `isXXXEnabled()` to `Logger` class.
- Dependency management
- Regenerate `package-lock.json`.
- Upgrade to `colors@^1.3.2` (Fixes \[[#1439](https://redirect.github.com/winstonjs/winston/issues/1439)]).
- Upgrade to `logform@^1.9.1`.
- Upgrade to `diagnostics@^1.1.1`.
- Upgrade to `@types/node@^10.9.3`.
- Upgrade to `assume@^2.1.0`.
- Upgrade to `hock@^1.3.3`.
- Upgrade to `mocha@^5.2.0`.
- Upgrade to `nyc@^13.0.1`.
- Upgrade to `split2@^3.0.0`.
### [`v3.0.1`](https://redirect.github.com/winstonjs/winston/compare/3.0.0...3.0.1)
[Compare Source](https://redirect.github.com/winstonjs/winston/compare/3.0.0...3.0.1)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
3.0.0
->3.17.0
Release Notes
winstonjs/winston (winston)
### [`v3.17.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.17.0) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.16.0...v3.17.0) - Try winston-transport 4.9.0 [`3e87128`](https://redirect.github.com/winstonjs/winston/commit/3e87128) - Revert "Try bumping winston-transport to 4.8.0" [`69625fc`](https://redirect.github.com/winstonjs/winston/commit/69625fc) - Revert "Try bumping winston-transport to 4.8.0" [`876ef7a`](https://redirect.github.com/winstonjs/winston/commit/876ef7a) - Try bumping winston-transport to 4.8.0 [`7ef2c1d`](https://redirect.github.com/winstonjs/winston/commit/7ef2c1d) - Try bumping winston-transport to 4.8.0 [`fe4b64e`](https://redirect.github.com/winstonjs/winston/commit/fe4b64e) - Bump logform [`c9fd9a4`](https://redirect.github.com/winstonjs/winston/commit/c9fd9a4) - Revert "Update logform and winston-transport" [`14fef0f`](https://redirect.github.com/winstonjs/winston/commit/14fef0f) - Merge branch 'master' of github.com:winstonjs/winston [`545b683`](https://redirect.github.com/winstonjs/winston/commit/545b683) - Update logform and winston-transport [`cceb265`](https://redirect.github.com/winstonjs/winston/commit/cceb265) - Bump mocha from 10.7.3 to 10.8.2 ([#2523](https://redirect.github.com/winstonjs/winston/issues/2523)) [`bb529b6`](https://redirect.github.com/winstonjs/winston/commit/bb529b6) - Bump async from 3.2.5 to 3.2.6 ([#2516](https://redirect.github.com/winstonjs/winston/issues/2516)) [`ae847ab`](https://redirect.github.com/winstonjs/winston/commit/ae847ab) ### [`v3.16.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.16.0) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.15.0...v3.16.0) - Feature - optionally include Error.cause property ([#2447](https://redirect.github.com/winstonjs/winston/issues/2447)) [`201b6f1`](https://redirect.github.com/winstonjs/winston/commit/201b6f1) ### [`v3.15.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.15.0) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.14.2...v3.15.0) Note: we removed LogCallback from the TS definitions because the underlying library didn't actually support these. If this causes issues in your apps, we recommend you remove references to LogCallbacks, since such code was not being executed anyways. See [#2513](https://redirect.github.com/winstonjs/winston/issues/2513) and the issue linked therein. - remove logcallback ([#2513](https://redirect.github.com/winstonjs/winston/issues/2513)) [`3a54777`](https://redirect.github.com/winstonjs/winston/commit/3a54777) - chore(docs): Update README.md w/ usage comments ([#2507](https://redirect.github.com/winstonjs/winston/issues/2507)) [`f110f61`](https://redirect.github.com/winstonjs/winston/commit/f110f61) - Bump nyc from 15.1.0 to 17.1.0 ([#2511](https://redirect.github.com/winstonjs/winston/issues/2511)) [`f5dde86`](https://redirect.github.com/winstonjs/winston/commit/f5dde86) - Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.24.7 to 7.25.6 ([#2512](https://redirect.github.com/winstonjs/winston/issues/2512)) [`d1b8dc6`](https://redirect.github.com/winstonjs/winston/commit/d1b8dc6) - Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.24.8 to 7.25.4 ([#2506](https://redirect.github.com/winstonjs/winston/issues/2506)) [`564161a`](https://redirect.github.com/winstonjs/winston/commit/564161a) - Bump mocha from 10.7.0 to 10.7.3 ([#2500](https://redirect.github.com/winstonjs/winston/issues/2500)) [`eb7e315`](https://redirect.github.com/winstonjs/winston/commit/eb7e315) - Unified Handler Tests ([#2020](https://redirect.github.com/winstonjs/winston/issues/2020)) [`22aab6d`](https://redirect.github.com/winstonjs/winston/commit/22aab6d) ### [`v3.14.2`](https://redirect.github.com/winstonjs/winston/compare/v3.14.1...v3.14.2) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.14.1...v3.14.2) ### [`v3.14.1`](https://redirect.github.com/winstonjs/winston/compare/v3.14.0...b270c4ee8ad8dd7098cf45d64cdab4489512dc8d) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.14.0...v3.14.1) ### [`v3.14.0`](https://redirect.github.com/winstonjs/winston/compare/v3.13.1...c4a15ec02394b6b1e7376fe2979cf1efa6a849f0) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.13.1...v3.14.0) ### [`v3.13.1`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.13.1) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.13.0...v3.13.1) - revert to rimraf 5.0.1, last known version to work with node 18 for now [`1b3a500`](https://redirect.github.com/winstonjs/winston/commit/1b3a500) - Merge branch 'master' of github.com:winstonjs/winston [`b56117e`](https://redirect.github.com/winstonjs/winston/commit/b56117e) - Update dependencies [`a5853b5`](https://redirect.github.com/winstonjs/winston/commit/a5853b5) - Bump [@types/node](https://redirect.github.com/types/node) from 20.12.7 to 20.14.10 ([#2483](https://redirect.github.com/winstonjs/winston/issues/2483)) [`93b52ac`](https://redirect.github.com/winstonjs/winston/commit/93b52ac) - Bump mocha from 10.3.0 to 10.6.0 ([#2484](https://redirect.github.com/winstonjs/winston/issues/2484)) [`33611c9`](https://redirect.github.com/winstonjs/winston/commit/33611c9) - Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.24.0 to 7.24.7 ([#2475](https://redirect.github.com/winstonjs/winston/issues/2475)) [`4aa6550`](https://redirect.github.com/winstonjs/winston/commit/4aa6550) - Update minimum version logform ([#2472](https://redirect.github.com/winstonjs/winston/issues/2472)) [`7f5f014`](https://redirect.github.com/winstonjs/winston/commit/7f5f014) - Add Parseable transport ([#2466](https://redirect.github.com/winstonjs/winston/issues/2466)) [`debf4fa`](https://redirect.github.com/winstonjs/winston/commit/debf4fa) - chore(docs): Update w/ MySQL transport ([#2456](https://redirect.github.com/winstonjs/winston/issues/2456)) [`d567c57`](https://redirect.github.com/winstonjs/winston/commit/d567c57) - fix typo at test/unit/winston/transports/http.test.js ([#2453](https://redirect.github.com/winstonjs/winston/issues/2453)) [`1d5d527`](https://redirect.github.com/winstonjs/winston/commit/1d5d527) - Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.23.9 to 7.24.5 ([#2454](https://redirect.github.com/winstonjs/winston/issues/2454)) [`d89a34e`](https://redirect.github.com/winstonjs/winston/commit/d89a34e) - Bump [@types/node](https://redirect.github.com/types/node) from 20.11.29 to 20.12.7 ([#2448](https://redirect.github.com/winstonjs/winston/issues/2448)) [`947fa79`](https://redirect.github.com/winstonjs/winston/commit/947fa79) - Bump [@babel/core](https://redirect.github.com/babel/core) from 7.24.0 to 7.24.5 ([#2455](https://redirect.github.com/winstonjs/winston/issues/2455)) [`8c58d0a`](https://redirect.github.com/winstonjs/winston/commit/8c58d0a) ### [`v3.13.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.13.0) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.12.1...v3.13.0) - fix(http): allow passing maximumDepth to prevent big object being stringified ([#2425](https://redirect.github.com/winstonjs/winston/issues/2425)) [`a237865`](https://redirect.github.com/winstonjs/winston/commit/a237865) ### [`v3.12.1`](https://redirect.github.com/winstonjs/winston/compare/v3.12.0...b5eecf02f27df645f10bdf2e8f1c205fa2d6681b) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.12.0...v3.12.1) ### [`v3.12.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.12.0) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.11.0...v3.12.0) - missing timestamp format in ready-to-use-pattern example ([#2421](https://redirect.github.com/winstonjs/winston/issues/2421)) [`9e5b407`](https://redirect.github.com/winstonjs/winston/commit/9e5b407) - bump deps ([#2422](https://redirect.github.com/winstonjs/winston/issues/2422)) [`4a85e6b`](https://redirect.github.com/winstonjs/winston/commit/4a85e6b) - \[chore] Run coveralls CI check on Node 20 not 16 ([#2418](https://redirect.github.com/winstonjs/winston/issues/2418)) [`e153c68`](https://redirect.github.com/winstonjs/winston/commit/e153c68) - Bump [@types/node](https://redirect.github.com/types/node) from 20.8.6 to 20.11.19 ([#2413](https://redirect.github.com/winstonjs/winston/issues/2413)) [`587f40f`](https://redirect.github.com/winstonjs/winston/commit/587f40f) - Update README.md ([#2417](https://redirect.github.com/winstonjs/winston/issues/2417)) [`8e99a00`](https://redirect.github.com/winstonjs/winston/commit/8e99a00) - docs: fix anchor in transports docs ([#2416](https://redirect.github.com/winstonjs/winston/issues/2416)) [`0bde36b`](https://redirect.github.com/winstonjs/winston/commit/0bde36b) - add winston-transport-vscode to transports docs ([#2411](https://redirect.github.com/winstonjs/winston/issues/2411)) [`8fb5b41`](https://redirect.github.com/winstonjs/winston/commit/8fb5b41) - Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.23.0 to 7.23.9 ([#2406](https://redirect.github.com/winstonjs/winston/issues/2406)) [`a326743`](https://redirect.github.com/winstonjs/winston/commit/a326743) - Add winston-newrelic-agent-transport to transport documentation ([#2382](https://redirect.github.com/winstonjs/winston/issues/2382)) [`cc731ef`](https://redirect.github.com/winstonjs/winston/commit/cc731ef) - Remove newrelic-winston transport entry. ([#2405](https://redirect.github.com/winstonjs/winston/issues/2405)) [`f077f30`](https://redirect.github.com/winstonjs/winston/commit/f077f30) - Bump eslint from 8.55.0 to 8.56.0 ([#2397](https://redirect.github.com/winstonjs/winston/issues/2397)) [`3943c41`](https://redirect.github.com/winstonjs/winston/commit/3943c41) - Bump the npm_and_yarn group group with 1 update ([#2391](https://redirect.github.com/winstonjs/winston/issues/2391)) [`8260866`](https://redirect.github.com/winstonjs/winston/commit/8260866) - Fix unhandled rejection handling ([#2390](https://redirect.github.com/winstonjs/winston/issues/2390)) [`333b763`](https://redirect.github.com/winstonjs/winston/commit/333b763) - Fix all rimraf usages to the best of my ability; glob is not true by default in rimraf; file archive test only passed every other time using async rimraf, could use further investigation [`c3f3b5b`](https://redirect.github.com/winstonjs/winston/commit/c3f3b5b) - Fix rimraf usage in new test [`8f3c653`](https://redirect.github.com/winstonjs/winston/commit/8f3c653) - Fix rimraf import in test (why didn't this break in PR CI?) [`f3836aa`](https://redirect.github.com/winstonjs/winston/commit/f3836aa) - Added functionality to long broken zippedArchive option ([#2337](https://redirect.github.com/winstonjs/winston/issues/2337)) [`02d4267`](https://redirect.github.com/winstonjs/winston/commit/02d4267) - Bump async from 3.2.4 to 3.2.5 ([#2378](https://redirect.github.com/winstonjs/winston/issues/2378)) [`069a40d`](https://redirect.github.com/winstonjs/winston/commit/069a40d) - Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.23.2 to 7.23.7 ([#2384](https://redirect.github.com/winstonjs/winston/issues/2384)) [`79282e1`](https://redirect.github.com/winstonjs/winston/commit/79282e1) - Bump winston-transport; fix test issue ([#2386](https://redirect.github.com/winstonjs/winston/issues/2386)) [`05788b9`](https://redirect.github.com/winstonjs/winston/commit/05788b9) - Bump eslint from 8.51.0 to 8.55.0 ([#2375](https://redirect.github.com/winstonjs/winston/issues/2375)) [`a7c2eec`](https://redirect.github.com/winstonjs/winston/commit/a7c2eec) - Bump std-mocks from 1.0.1 to 2.0.0 ([#2361](https://redirect.github.com/winstonjs/winston/issues/2361)) [`85c336e`](https://redirect.github.com/winstonjs/winston/commit/85c336e) - Bump actions/setup-node from 3 to 4 ([#2362](https://redirect.github.com/winstonjs/winston/issues/2362)) [`448d11c`](https://redirect.github.com/winstonjs/winston/commit/448d11c) - chore(README.md): adds documentation around coloring json formatted logs [`91ec069`](https://redirect.github.com/winstonjs/winston/commit/91ec069) - Remove nonexistent Logger methods from types [`c3c3911`](https://redirect.github.com/winstonjs/winston/commit/c3c3911) - Update dependencies [`caf2df6`](https://redirect.github.com/winstonjs/winston/commit/caf2df6) ### [`v3.11.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.11.0) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.10.0...v3.11.0) - Bump split2 from 4.1.0 to 4.2.0 ([#2336](https://redirect.github.com/winstonjs/winston/issues/2336)) [`37f4282`](https://redirect.github.com/winstonjs/winston/commit/37f4282) - Bump actions/checkout from 3 to 4 ([#2346](https://redirect.github.com/winstonjs/winston/issues/2346)) [`fdcc893`](https://redirect.github.com/winstonjs/winston/commit/fdcc893) - Bump [@colors/colors](https://redirect.github.com/colors/colors) packgae to 1.6.0 ([#2353](https://redirect.github.com/winstonjs/winston/issues/2353)) [`dcbec34`](https://redirect.github.com/winstonjs/winston/commit/dcbec34) - Bump rimraf from 3.0.2 to 5.0.5 ([#2357](https://redirect.github.com/winstonjs/winston/issues/2357)) [`aaaa4c0`](https://redirect.github.com/winstonjs/winston/commit/aaaa4c0) - feat: add guardrails to the instantiation of a Profiler ([#2226](https://redirect.github.com/winstonjs/winston/issues/2226)) [`914b846`](https://redirect.github.com/winstonjs/winston/commit/914b846) - Bump [@types/node](https://redirect.github.com/types/node) from 20.3.1 to 20.4.2 ([#2329](https://redirect.github.com/winstonjs/winston/issues/2329)) [`23cb80c`](https://redirect.github.com/winstonjs/winston/commit/23cb80c) - Bug Fix: FileTransportOptions type missing lazy:boolean option ([#2334](https://redirect.github.com/winstonjs/winston/issues/2334)) [`1c43f7b`](https://redirect.github.com/winstonjs/winston/commit/1c43f7b) ### [`v3.10.0`](https://redirect.github.com/winstonjs/winston/releases/tag/v3.10.0) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.9.0...v3.10.0) - Avoid potential github issues - relax engines node requirement in package.json [`fc9c83d`](https://redirect.github.com/winstonjs/winston/commit/fc9c83d) - Export Logger class ([#2181](https://redirect.github.com/winstonjs/winston/issues/2181)) [`eda40ef`](https://redirect.github.com/winstonjs/winston/commit/eda40ef) - Added Lazy option to file transport ([#2317](https://redirect.github.com/winstonjs/winston/issues/2317)) [`f7e7f2f`](https://redirect.github.com/winstonjs/winston/commit/f7e7f2f) - Bump eslint from 8.32.0 to 8.44.0 ([#2321](https://redirect.github.com/winstonjs/winston/issues/2321)) [`de2e887`](https://redirect.github.com/winstonjs/winston/commit/de2e887) - docs([#2319](https://redirect.github.com/winstonjs/winston/issues/2319)): Syntax error on README.md ([#2320](https://redirect.github.com/winstonjs/winston/issues/2320)) [`fcc69ec`](https://redirect.github.com/winstonjs/winston/commit/fcc69ec) - fix(types): Allow any object to be passed as meta to logger.profile ([#2314](https://redirect.github.com/winstonjs/winston/issues/2314)) [`9d6001a`](https://redirect.github.com/winstonjs/winston/commit/9d6001a) - Bump [@types/node](https://redirect.github.com/types/node) from 18.11.18 to 20.3.1 ([#2313](https://redirect.github.com/winstonjs/winston/issues/2313)) [`06e3165`](https://redirect.github.com/winstonjs/winston/commit/06e3165) - Update supported Node versions and run npm audit fix ([#2315](https://redirect.github.com/winstonjs/winston/issues/2315)) [`61e2f5b`](https://redirect.github.com/winstonjs/winston/commit/61e2f5b) - Bump [@babel/core](https://redirect.github.com/babel/core) from 7.20.12 to 7.22.1 ([#2309](https://redirect.github.com/winstonjs/winston/issues/2309)) [`7643ad6`](https://redirect.github.com/winstonjs/winston/commit/7643ad6) ### [`v3.9.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v390) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.8.2...v3.9.0) ##### Functionality changes - Handle undefined errors in getAllInfo in exception-handler in [https://github.com/winstonjs/winston/pull/2208](https://redirect.github.com/winstonjs/winston/pull/2208); thanks to new contributor [@eivindrs](https://redirect.github.com/eivindrs) - fix: properly allow passing non-array transport in [https://github.com/winstonjs/winston/pull/2256](https://redirect.github.com/winstonjs/winston/pull/2256); thanks to new contributor [@Tanuel](https://redirect.github.com/Tanuel) - fix [#1732](https://redirect.github.com/winstonjs/winston/issues/1732) (Http Transport uses JSON format options as request options) in [https://github.com/winstonjs/winston/pull/2272](https://redirect.github.com/winstonjs/winston/pull/2272); thanks to new contributor [@MoritzLoewenstein](https://redirect.github.com/MoritzLoewenstein) (minor version bump per comment on the issue) - fix: add guard clause to prevent FD leak in [https://github.com/winstonjs/winston/pull/2301](https://redirect.github.com/winstonjs/winston/pull/2301); thanks to new contributor [@td-tomasz-joniec](https://redirect.github.com/td-tomasz-joniec) ##### Dependency updates by [@dependabot](https://redirect.github.com/dependabot) + CI autotesting - Bump eslint from 8.23.0 to 8.32.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2209](https://redirect.github.com/winstonjs/winston/pull/2209), [https://github.com/winstonjs/winston/pull/2236](https://redirect.github.com/winstonjs/winston/pull/2236), [https://github.com/winstonjs/winston/pull/2258](https://redirect.github.com/winstonjs/winston/pull/2258), & [https://github.com/winstonjs/winston/pull/2271](https://redirect.github.com/winstonjs/winston/pull/2271) - Bump [@babel/core](https://redirect.github.com/babel/core) from 7.19.0 to 7.20.12 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2206](https://redirect.github.com/winstonjs/winston/pull/2206), [https://github.com/winstonjs/winston/pull/2234](https://redirect.github.com/winstonjs/winston/pull/2234), [https://github.com/winstonjs/winston/pull/2259](https://redirect.github.com/winstonjs/winston/pull/2259), & [https://github.com/winstonjs/winston/pull/2275](https://redirect.github.com/winstonjs/winston/pull/2275) - Bump [@types/node](https://redirect.github.com/types/node) from 18.0.0 to 18.11.18 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2215](https://redirect.github.com/winstonjs/winston/pull/2215), [https://github.com/winstonjs/winston/pull/2235](https://redirect.github.com/winstonjs/winston/pull/2235), & [https://github.com/winstonjs/winston/pull/2264](https://redirect.github.com/winstonjs/winston/pull/2264) - Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.19.0 to 7.20.2 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2218](https://redirect.github.com/winstonjs/winston/pull/2218) & [https://github.com/winstonjs/winston/pull/2244](https://redirect.github.com/winstonjs/winston/pull/2244) - Bump safe-stable-stringify from 2.3.1 to 2.4.3 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2217](https://redirect.github.com/winstonjs/winston/pull/2217) & [https://github.com/winstonjs/winston/pull/2292](https://redirect.github.com/winstonjs/winston/pull/2292) - Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.18.10 to 7.19.3 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2216](https://redirect.github.com/winstonjs/winston/pull/2216) - Bump json5 from 2.2.1 to 2.2.3 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/winstonjs/winston/pull/2260](https://redirect.github.com/winstonjs/winston/pull/2260) ##### Documentation changes - Fix readme typo in [https://github.com/winstonjs/winston/pull/2230](https://redirect.github.com/winstonjs/winston/pull/2230); thanks to new contributor [@aretecode](https://redirect.github.com/aretecode) - create new example for ready to use in [https://github.com/winstonjs/winston/pull/2240](https://redirect.github.com/winstonjs/winston/pull/2240); thanks to new contributor [@myagizmaktav](https://redirect.github.com/myagizmaktav) - minor fixes to publishing.md ##### Build Infrastructure changes - GitHub Workflows security hardening in [https://github.com/winstonjs/winston/pull/2252](https://redirect.github.com/winstonjs/winston/pull/2252); thanks to new contributor [@sashashura](https://redirect.github.com/sashashura) ### [`v3.8.2`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v382) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.8.1...v3.8.2) ##### Patch-level changes - Add `.js` to main entry point in package.json in [https://github.com/winstonjs/winston/pull/2177](https://redirect.github.com/winstonjs/winston/pull/2177); thanks to new contributor [@rumanbsl](https://redirect.github.com/rumanbsl) - Small grammatical fixes in README.md in [https://github.com/winstonjs/winston/pull/2183](https://redirect.github.com/winstonjs/winston/pull/2183); thanks to new contributor [@mikebarr24](https://redirect.github.com/mikebarr24) - Move colors to non-dev dependencies by [@wbt](https://redirect.github.com/wbt) in [https://github.com/winstonjs/winston/pull/2190](https://redirect.github.com/winstonjs/winston/pull/2190) ##### Dependency updates by [@dependabot](https://redirect.github.com/dependabot) + CI autotesting - Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.18.2 to 7.19.0 in [https://github.com/winstonjs/winston/pull/2189](https://redirect.github.com/winstonjs/winston/pull/2189) - Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.17.10 to 7.18.10 in [https://github.com/winstonjs/winston/pull/2173](https://redirect.github.com/winstonjs/winston/pull/2173) - Bump eslint from 8.18.0 to 8.23.0 in [https://github.com/winstonjs/winston/pull/2184](https://redirect.github.com/winstonjs/winston/pull/2184) - Bump [@babel/core](https://redirect.github.com/babel/core) from 7.18.5 to 7.19.0 in [https://github.com/winstonjs/winston/pull/2192](https://redirect.github.com/winstonjs/winston/pull/2192) - Bump logform from 2.4.1 to 2.4.2 in [https://github.com/winstonjs/winston/pull/2191](https://redirect.github.com/winstonjs/winston/pull/2191) ### [`v3.8.1`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v381) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.8.0...v3.8.1) ##### Patch-level changes - Update types to match in-code definitions in [https://github.com/winstonjs/winston/pull/2157](https://redirect.github.com/winstonjs/winston/pull/2157); thanks to new contributor [@flappyBug](https://redirect.github.com/flappyBug) ##### Dependency updates by [@dependabot](https://redirect.github.com/dependabot) + CI autotesting - Bump logform from 2.4.0 to 2.4.1 in [https://github.com/winstonjs/winston/pull/2156](https://redirect.github.com/winstonjs/winston/pull/2156) - Bump async from 3.2.3 to 3.2.4 in [https://github.com/winstonjs/winston/pull/2147](https://redirect.github.com/winstonjs/winston/pull/2147) ### [`v3.8.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v380--2022-06-23) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.7.2...v3.8.0) ##### Added functionality - Add the stringify replacer option to the HTTP transport by [@domiins](https://redirect.github.com/domiins) in [https://github.com/winstonjs/winston/pull/2155](https://redirect.github.com/winstonjs/winston/pull/2155) ##### Dependency updates by [@dependabot](https://redirect.github.com/dependabot) + CI autotesting - Bump [@babel/core](https://redirect.github.com/babel/core) from 7.17.8 to 7.18.5 - Bump eslint from 8.12.0 to 8.18.0 - Bump [@types/node](https://redirect.github.com/types/node) from 17.0.23 to 18.0.0 - Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.16.11 to 7.18.2 - Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.17.6 to 7.17.10 ##### Updates facilitating repo maintenance & enhancing documentation - Explicitly note that the Contributing.md file is out of date - Add instructions for publishing updated version by [@wbt](https://redirect.github.com/wbt) (docs/publishing.md) - Prettier Config File by [@jeanpierrecarvalho](https://redirect.github.com/jeanpierrecarvalho) in [https://github.com/winstonjs/winston/pull/2092](https://redirect.github.com/winstonjs/winston/pull/2092) - Readme update to explain origin of errors for handling ([#2120](https://redirect.github.com/winstonjs/winston/issues/2120)) - update documentation for [#2114](https://redirect.github.com/winstonjs/winston/issues/2114) by [@zizifn](https://redirect.github.com/zizifn) in [https://github.com/winstonjs/winston/pull/2138](https://redirect.github.com/winstonjs/winston/pull/2138) - enhance message for logs with no transports [#2114](https://redirect.github.com/winstonjs/winston/issues/2114) by [@zizifn](https://redirect.github.com/zizifn) in [https://github.com/winstonjs/winston/pull/2139](https://redirect.github.com/winstonjs/winston/pull/2139) - Added a new Community Transport option to the list: Worker Thread based async Console Transport by [@arpad1337](https://redirect.github.com/arpad1337) in [https://github.com/winstonjs/winston/pull/2140](https://redirect.github.com/winstonjs/winston/pull/2140) Thanks especially to new contributors [@zizifn](https://redirect.github.com/zizifn), [@arpad1337](https://redirect.github.com/arpad1337), [@domiins](https://redirect.github.com/domiins), & [@jeanpierrecarvalho](https://redirect.github.com/jeanpierrecarvalho)! ### [`v3.7.2`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v372--2022-04-04) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.7.1...v3.7.2) This change reverts what should have been the feature-level update in 3.7.0 due to issue [#2103](https://redirect.github.com/winstonjs/winston/issues/2103) showing this to be breaking, unintentionally. ### [`v3.7.1`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v371--2022-04-04) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.6.0...v3.7.1) This change includes some minor updates to package-lock.json resolving npm audit failures: one in [ansi-regex](https://redirect.github.com/advisories/GHSA-93q8-gq69-wqmw) and another in [minimist](https://redirect.github.com/advisories/GHSA-xvch-5gv4-984h). ### [`v3.6.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v360--2022-02-12) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.5.1...v3.6.0) - \[[#2057](https://redirect.github.com/winstonjs/winston/issues/2057)] Fix potential memory leak by not waiting for `process.nextTick` before clearing pending callbacks (thanks [@smashah](https://redirect.github.com/smashah)!) - \[[#2071](https://redirect.github.com/winstonjs/winston/issues/2071)] Update to `logform` 2.4.0, which includes changes such as new options for `JsonOptions` and some typo fixes regarding levels - Various other dependencies are updated, tests are reorganized and cleaned up, etc. (thanks [@wbt](https://redirect.github.com/wbt), [@Maverick1872](https://redirect.github.com/Maverick1872), [@fearphage](https://redirect.github.com/fearphage)!) ### [`v3.5.1`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v351--2022-01-31) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.5.0...v3.5.1) This release reverts the changes made in PR [#1896](https://redirect.github.com/winstonjs/winston/issues/1896) which added stricter typing to the available log levels, and inadvertently broke use of custom levels with TypeScript (Issue [#2047](https://redirect.github.com/winstonjs/winston/issues/2047)). Apologies for that! ### [`v3.5.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v350--2022-01-27) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.4.0...v3.5.0) This release includes the following, in sequence by first merge in group: Feature updates: - Support batch mode in HTTP Transport (Issue [#1970](https://redirect.github.com/winstonjs/winston/issues/1970), PR [#1998](https://redirect.github.com/winstonjs/winston/issues/1998), thanks [@BBE78](https://redirect.github.com/BBE78)!) Patch-level updates: - Bump dependency versions (thanks [@dependabot](https://redirect.github.com/dependabot) & [@DABH](https://redirect.github.com/DABH)!) - Bump [@types/node](https://redirect.github.com/types/node) from 16.11.12 to 17.0.8 (PR [#2009](https://redirect.github.com/winstonjs/winston/issues/2009)) - Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.16.7 to 7.16.8 ([#2036](https://redirect.github.com/winstonjs/winston/issues/2036)) - Bump [@types/node](https://redirect.github.com/types/node) from 17.0.8 to 17.0.9 ([#2035](https://redirect.github.com/winstonjs/winston/issues/2035)) - Bump [@babel/cli](https://redirect.github.com/babel/cli) from 7.16.7 to 7.16.8 ([#2034](https://redirect.github.com/winstonjs/winston/issues/2034)) - Bump [@types/node](https://redirect.github.com/types/node) from 17.0.9 to 17.0.10 ([#2042](https://redirect.github.com/winstonjs/winston/issues/2042)) - Bump [@babel/core](https://redirect.github.com/babel/core) from 7.16.7 to 7.16.12 ([#2041](https://redirect.github.com/winstonjs/winston/issues/2041)) - Bump [@babel/preset-env](https://redirect.github.com/babel/preset-env) from 7.16.8 to 7.16.11 ([#2040](https://redirect.github.com/winstonjs/winston/issues/2040)) - Fixing documentation syntax errors in transports code examples ([#1916](https://redirect.github.com/winstonjs/winston/issues/1916); thanks [@romanzaycev](https://redirect.github.com/romanzaycev)!) - Fix missing type declarations, especially for `.rejections` ([#1842](https://redirect.github.com/winstonjs/winston/issues/1842), [#1929](https://redirect.github.com/winstonjs/winston/issues/1929), [#2021](https://redirect.github.com/winstonjs/winston/issues/2021); thanks [@vanflux](https://redirect.github.com/vanflux), [@svaj](https://redirect.github.com/svaj), [@glensc](https://redirect.github.com/glensc), & others!) - More narrowly typing the “level” string ([#1896](https://redirect.github.com/winstonjs/winston/issues/1896), thanks [@yonas-g](https://redirect.github.com/yonas-g)!) - Using a safer `stringify`, e.g. to avoid issues from circular structures, in the http transport ([#2043](https://redirect.github.com/winstonjs/winston/issues/2043), thanks [@karlwir](https://redirect.github.com/karlwir)!) Updates to the repo & project which don’t actually affect the running code: - Add a channel for reporting security vulnerabilities ([#2024](https://redirect.github.com/winstonjs/winston/issues/2024), thanks [@JamieSlome](https://redirect.github.com/JamieSlome)!) - Add coverage tracking in CI & documentation ([#2025](https://redirect.github.com/winstonjs/winston/issues/2025) and [#2028](https://redirect.github.com/winstonjs/winston/issues/2028), thanks [@fearphage](https://redirect.github.com/fearphage)!) - Update issue templates ([#2030](https://redirect.github.com/winstonjs/winston/issues/2030) and [#2031](https://redirect.github.com/winstonjs/winston/issues/2031), thanks [@Maverick1872](https://redirect.github.com/Maverick1872)!) - Remove gitter link from README.md ([#2027](https://redirect.github.com/winstonjs/winston/issues/2027), thanks [@DABH](https://redirect.github.com/DABH)!) Thanks also to maintainers [@DABH](https://redirect.github.com/DABH), [@fearphage](https://redirect.github.com/fearphage), [@Maverick1872](https://redirect.github.com/Maverick1872), and [@wbt](https://redirect.github.com/wbt) for issue/PR shepherding and help across multiple parts of the release! If somebody got missed in the list of thanks, please forgive the accidental oversight and/or feel free to open a PR on this changelog. ### [`v3.4.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v340--2022-01-10) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/3.3.4...v3.4.0) Yesterday's release was done with a higher sense of urgency than usual due to vandalism in the `colors` package. This release: - ties up a loose end by including \[[#1973](https://redirect.github.com/winstonjs/winston/issues/1973)] to go with \[[#1824](https://redirect.github.com/winstonjs/winston/issues/1824)] - adds a missing http property in NpmConfigSetColors \[[#2004](https://redirect.github.com/winstonjs/winston/issues/2004)] (thanks [@SimDaSong](https://redirect.github.com/SimDaSong)) - fixes a minor issue in the build/release process \[[#2014](https://redirect.github.com/winstonjs/winston/issues/2014)] - pins the version of the testing framework to avoid an issue with a test incorrectly failing \[[#2017](https://redirect.github.com/winstonjs/winston/issues/2017)] The biggest change in this release, motivating the feature-level update, is \[[#2006](https://redirect.github.com/winstonjs/winston/issues/2006)] Make winston more ESM friendly, thanks to [@miguelcobain](https://redirect.github.com/miguelcobain). Thanks also to [@DABH](https://redirect.github.com/DABH), [@wbt](https://redirect.github.com/wbt), and [@fearphage](https://redirect.github.com/fearphage) for contributions and reviews! ### [`v3.3.4`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v334--2022-01-09) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.3.3...3.3.4) Compared to v3.3.3, this version fixes some issues and includes some updates to project infrastructure, such as replacing Travis with Github CI and dependabot configuration. There have also been several relatively minor improvements to documentation, and incorporation of some updated dependencies. Dependency updates include a critical bug fix \[[#2008](https://redirect.github.com/winstonjs/winston/issues/2008)] in response to self-vandalism by the author of a dependency. - \[[#1964](https://redirect.github.com/winstonjs/winston/issues/1964)] Added documentation for how to use a new externally maintained [Seq](https://datalust.co/seq) transport. - \[[#1712](https://redirect.github.com/winstonjs/winston/issues/1712)] Add default metadata when calling log with string level and message. - \[[#1824](https://redirect.github.com/winstonjs/winston/issues/1824)] Unbind event listeners on close - \[[#1961](https://redirect.github.com/winstonjs/winston/issues/1961)] Handle undefined rejections - \[[#1878](https://redirect.github.com/winstonjs/winston/issues/1878)] Correct boolean evaluation of empty-string value for eol option - \[[#1977](https://redirect.github.com/winstonjs/winston/issues/1977)] Improved consistency of object parameters for better test reliability ### [`v3.3.3`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v333--2020-06-23) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.3.2...v3.3.3) - \[[#1820](https://redirect.github.com/winstonjs/winston/issues/1820)] Revert \[[#1807](https://redirect.github.com/winstonjs/winston/issues/1807)] to resolve breaking changes for Typescript users. ### [`v3.3.2`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v332--2020-06-22) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.3.1...v3.3.2) - \[[#1814](https://redirect.github.com/winstonjs/winston/issues/1814)] Use a fork of `diagnostics` published to NPM to avoid git dependency. ### [`v3.3.1`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v331--2020-06-21) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/v3.3.0...v3.3.1) - \[[#1803](https://redirect.github.com/winstonjs/winston/issues/1803)], \[[#1807](https://redirect.github.com/winstonjs/winston/issues/1807)] Fix TypeScript bugs. - \[[#1740](https://redirect.github.com/winstonjs/winston/issues/1740)] Add space between `info.message` and `meta.message`. - \[[#1813](https://redirect.github.com/winstonjs/winston/issues/1813)] Avoid indirect storage-engine dependency. - \[[#1810](https://redirect.github.com/winstonjs/winston/issues/1810)] README updates. ### [`v3.3.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v330--2020-06-21) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/3.2.1...v3.3.0) - \[[#1779](https://redirect.github.com/winstonjs/winston/issues/1779)] Fix property name in rejection handler. - \[[#1768](https://redirect.github.com/winstonjs/winston/issues/1768)] Exclude extraneous files from NPM package. - \[[#1364](https://redirect.github.com/winstonjs/winston/issues/1364)], \[[#1714](https://redirect.github.com/winstonjs/winston/issues/1714)] Don't remove transport from logger when transport error occurs. - \[[#1603](https://redirect.github.com/winstonjs/winston/issues/1603)] Expose `child` property on default logger. - \[[#1777](https://redirect.github.com/winstonjs/winston/issues/1777)] Allow HTTP transport to pass options to request. - \[[#1662](https://redirect.github.com/winstonjs/winston/issues/1662)] Add bearer auth capabilities to HTTP transport. - \[[#1612](https://redirect.github.com/winstonjs/winston/issues/1612)] Remove no-op in file transport. - \[[#1622](https://redirect.github.com/winstonjs/winston/issues/1622)], \[[#1623](https://redirect.github.com/winstonjs/winston/issues/1623)], \[[#1625](https://redirect.github.com/winstonjs/winston/issues/1625)] Typescript fixes. - (Minor) \[[#1647](https://redirect.github.com/winstonjs/winston/issues/1647)], \[[#1793](https://redirect.github.com/winstonjs/winston/issues/1793)] Update CI settings. - (Minor) \[[#1600](https://redirect.github.com/winstonjs/winston/issues/1600)], \[[#1605](https://redirect.github.com/winstonjs/winston/issues/1605)], \[[#1593](https://redirect.github.com/winstonjs/winston/issues/1593)], \[[#1610](https://redirect.github.com/winstonjs/winston/issues/1610)], \[[#1654](https://redirect.github.com/winstonjs/winston/issues/1654)], \[[#1656](https://redirect.github.com/winstonjs/winston/issues/1656)], \[[#1661](https://redirect.github.com/winstonjs/winston/issues/1661)], \[[#1651](https://redirect.github.com/winstonjs/winston/issues/1651)], \[[#1652](https://redirect.github.com/winstonjs/winston/issues/1652)], \[[#1677](https://redirect.github.com/winstonjs/winston/issues/1677)], \[[#1683](https://redirect.github.com/winstonjs/winston/issues/1683)], \[[#1684](https://redirect.github.com/winstonjs/winston/issues/1684)], \[[#1700](https://redirect.github.com/winstonjs/winston/issues/1700)], \[[#1697](https://redirect.github.com/winstonjs/winston/issues/1697)], \[[#1650](https://redirect.github.com/winstonjs/winston/issues/1650)], \[[#1705](https://redirect.github.com/winstonjs/winston/issues/1705)], \[[#1723](https://redirect.github.com/winstonjs/winston/issues/1723)], \[[#1737](https://redirect.github.com/winstonjs/winston/issues/1737)], \[[#1733](https://redirect.github.com/winstonjs/winston/issues/1733)], \[[#1743](https://redirect.github.com/winstonjs/winston/issues/1743)], \[[#1750](https://redirect.github.com/winstonjs/winston/issues/1750)], \[[#1754](https://redirect.github.com/winstonjs/winston/issues/1754)], \[[#1780](https://redirect.github.com/winstonjs/winston/issues/1780)], \[[#1778](https://redirect.github.com/winstonjs/winston/issues/1778)] README, Transports.md, other docs changes. - \[[#1672](https://redirect.github.com/winstonjs/winston/issues/1672)], \[[#1686](https://redirect.github.com/winstonjs/winston/issues/1686)], \[[#1772](https://redirect.github.com/winstonjs/winston/issues/1772)] Update dependencies. ### [`v3.2.1`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v321--2019-01-29) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/3.2.0...3.2.1) ##### UNBOUND PROTOTYPE AD INFINITUM EDITION - \#\[1579], ([@indexzero](https://redirect.github.com/indexzero)) Fallback to the "root" instance **always** created by `createLogger` for level convenience methods (e.g. `.info()`, `.silly()`). (Fixes \[[#1577](https://redirect.github.com/winstonjs/winston/issues/1577)]). - \[[#1539](https://redirect.github.com/winstonjs/winston/issues/1539)], ([@indexzero](https://redirect.github.com/indexzero)) Assume message is the empty string when level-helper methods are invoked with no arguments (Fixed \[[#1501](https://redirect.github.com/winstonjs/winston/issues/1501)]). - \[[#1583](https://redirect.github.com/winstonjs/winston/issues/1583)], ([@kibertoad](https://redirect.github.com/kibertoad)) Add typings for defaultMeta (Fixes \[[#1582](https://redirect.github.com/winstonjs/winston/issues/1582)]) - \[[#1586](https://redirect.github.com/winstonjs/winston/issues/1586)], ([@kibertoad](https://redirect.github.com/kibertoad)) Update dependencies. ### [`v3.2.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v320--2019-01-26) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/3.1.0...3.2.0) ##### SORRY IT TOO SO LONG EDITION > **NOTE:** this was our first release using Github Projects. See the > [3.2.0 Release Project](https://redirect.github.com/orgs/winstonjs/projects/3). ##### New Features! - \[[#1471](https://redirect.github.com/winstonjs/winston/issues/1471)], ([@kibertoad](https://redirect.github.com/kibertoad)) Implement child loggers. - \[[#1462](https://redirect.github.com/winstonjs/winston/issues/1462)], ([@drazisil](https://redirect.github.com/drazisil)) Add handleRejection support. - \[[#1555](https://redirect.github.com/winstonjs/winston/issues/1555)], ([@DABH](https://redirect.github.com/DABH)) Add fixes from \[[#1355](https://redirect.github.com/winstonjs/winston/issues/1355)] to unhandled rejection handler. - \[[#1418](https://redirect.github.com/winstonjs/winston/issues/1418)], ([@mfrisbey](https://redirect.github.com/mfrisbey)) Precompile ES6 syntax before publishing to npm. - \[[#1533](https://redirect.github.com/winstonjs/winston/issues/1533)], ([@kibertoad](https://redirect.github.com/kibertoad)) Update to Babel 7. - \[[#1562](https://redirect.github.com/winstonjs/winston/issues/1562)], ([@indexzero](https://redirect.github.com/indexzero)) \[fix] Better handling of `new Error(string)` throughout the pipeline(s). (Fixes \[[#1338](https://redirect.github.com/winstonjs/winston/issues/1338)], \[[#1486](https://redirect.github.com/winstonjs/winston/issues/1486)]). ##### Bug Fixes - \[[#1355](https://redirect.github.com/winstonjs/winston/issues/1355)], ([@DABH](https://redirect.github.com/DABH)) Fix issues with ExceptionHandler (Fixes \[[#1289](https://redirect.github.com/winstonjs/winston/issues/1289)]). - \[[#1463](https://redirect.github.com/winstonjs/winston/issues/1463)], ([@SerayaEryn](https://redirect.github.com/SerayaEryn)) Bubble transport `warn` events up to logger in addition to `error`s. - \[[#1480](https://redirect.github.com/winstonjs/winston/issues/1480)], \[[#1503](https://redirect.github.com/winstonjs/winston/issues/1503)], ([@SerayaEryn](https://redirect.github.com/SerayaEryn)) File tailrolling fix. - \[[#1483](https://redirect.github.com/winstonjs/winston/issues/1483)], ([@soldair](https://redirect.github.com/soldair)) Assign log levels to un-bound functions. - \[[#1513](https://redirect.github.com/winstonjs/winston/issues/1513)], ([@TilaTheHun0](https://redirect.github.com/TilaTheHun0)) Set maxListeners for Console transport. - \[[#1521](https://redirect.github.com/winstonjs/winston/issues/1521)], ([@jamesbechet](https://redirect.github.com/jamesbechet)) Fix Transform from `readable-stream` using CRA. - \[[#1434](https://redirect.github.com/winstonjs/winston/issues/1434)], ([@Kouzukii](https://redirect.github.com/Kouzukii)) Fixes logger.query function (regression from `3.0.0`) - \[[#1526](https://redirect.github.com/winstonjs/winston/issues/1526)], ([@pixtron](https://redirect.github.com/pixtron)) Log file without .gz for tailable (Fixes \[[#1525](https://redirect.github.com/winstonjs/winston/issues/1525)]). - \[[#1559](https://redirect.github.com/winstonjs/winston/issues/1559)], ([@eubnara](https://redirect.github.com/eubnara)) Fix typo related to `exitOnError`. - \[[#1556](https://redirect.github.com/winstonjs/winston/issues/1556)], ([@adoyle-h](https://redirect.github.com/adoyle-h)) Support to create log directory if it doesn't exist for FileTransport. ##### New `splat` behavior - \[[#1552](https://redirect.github.com/winstonjs/winston/issues/1552)], ([@indexzero](https://redirect.github.com/indexzero)) Consistent handling of meta with (and without) interpolation in `winston` and `logform`. - \[[#1499](https://redirect.github.com/winstonjs/winston/issues/1499)], ([@DABH](https://redirect.github.com/DABH)) Provide all of `SPLAT` to formats (Fixes \[[#1485](https://redirect.github.com/winstonjs/winston/issues/1485)]). - \[[#1485](https://redirect.github.com/winstonjs/winston/issues/1485)], ([@mpabst](https://redirect.github.com/mpabst)) Fixing off-by-one when using both meta and splat. Previously `splat` would have added a `meta` property for any additional `info[SPLAT]` beyond the expected number of tokens. **As of `logform@2.0.0`,** `format.splat` assumes additional splat paramters (aka "metas") are objects and merges enumerable properties into the `info`. e.g. **BE ADVISED** previous "metas" that *were not objects* will very likely lead to odd behavior. e.g. ```js const { createLogger, format, transports } = require('winston'); const { splat } = format; const { MESSAGE, LEVEL, SPLAT } = require('triple-beam'); const logger = createLogger({ format: format.combine( format.splat(), format.json() ), transports: [new transports.Console()] }); // Expects two tokens, but four splat parameters provided. logger.info( 'Let us %s for %j', // message 'objects', // used for %s { label: 'sure' }, // used for %j 'lol', ['ok', 'why'] // Multiple additional meta values ); // winston < 3.2.0 && logform@1.x behavior: // Added "meta" property. // // { level: 'info', // message: 'Let us objects for {"label":"sure"}', // meta: ['lol', ['ok', 'why']], // [Symbol(level)]: 'info', // [Symbol(message)]: 'Let us %s for %j', // [Symbol(splat)]: [ 'objects', { label: 'sure' } ] } // winston >= 3.2.0 && logform@2.x behavior: Enumerable properties // assigned into `info`. Since **strings and Arrays only have NUMERIC // enumerable properties we get this behavior!** // // { '0': 'ok', // '1': 'why', // '2': 'l', // level: 'info', // message: 'Let us objects for {"label":"sure"}', // [Symbol(level)]: 'info', // [Symbol(message)]: 'Let us %s for %j', // [Symbol(splat)]: [ 'objects', { label: 'sure' } ] } ``` ### [`v3.1.0`](https://redirect.github.com/winstonjs/winston/blob/HEAD/CHANGELOG.md#v310--2018-08-22) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/3.0.1...3.1.0) ##### RELEASES ON A PLANE EDITION - Minor TypeScript fixes \[[#1362](https://redirect.github.com/winstonjs/winston/issues/1362)], \[[#1395](https://redirect.github.com/winstonjs/winston/issues/1395)], \[[#1440](https://redirect.github.com/winstonjs/winston/issues/1440)] - Fix minor typos \[[#1359](https://redirect.github.com/winstonjs/winston/issues/1359)], \[[#1363](https://redirect.github.com/winstonjs/winston/issues/1363)], \[[#1372](https://redirect.github.com/winstonjs/winston/issues/1372)], \[[#1378](https://redirect.github.com/winstonjs/winston/issues/1378)], \[[#1390](https://redirect.github.com/winstonjs/winston/issues/1390)] - \[[#1373](https://redirect.github.com/winstonjs/winston/issues/1373)], ([@revik](https://redirect.github.com/revik)): Add `consoleWarnLevels` property to console transport options for `console.warn` browser support. - \[[#1394](https://redirect.github.com/winstonjs/winston/issues/1394)], ([@bzoz](https://redirect.github.com/bzoz)): Fix tests on Windows. - \[[#1447](https://redirect.github.com/winstonjs/winston/issues/1447)], ([@dboshardy](https://redirect.github.com/dboshardy)): Support transport name option to override default names for built-in transports. - \[[#1420](https://redirect.github.com/winstonjs/winston/issues/1420)], ([@ledbit](https://redirect.github.com/ledbit)): Fix file rotation with `tailing: true` (Fixes \[[#1450](https://redirect.github.com/winstonjs/winston/issues/1450)], \[[#1194](https://redirect.github.com/winstonjs/winston/issues/1194)]). - \[[#1352](https://redirect.github.com/winstonjs/winston/issues/1352)], ([@lutovich](https://redirect.github.com/lutovich)): Add `isLevelEnabled(string)` & `isXXXEnabled()` to `Logger` class. - Dependency management - Regenerate `package-lock.json`. - Upgrade to `colors@^1.3.2` (Fixes \[[#1439](https://redirect.github.com/winstonjs/winston/issues/1439)]). - Upgrade to `logform@^1.9.1`. - Upgrade to `diagnostics@^1.1.1`. - Upgrade to `@types/node@^10.9.3`. - Upgrade to `assume@^2.1.0`. - Upgrade to `hock@^1.3.3`. - Upgrade to `mocha@^5.2.0`. - Upgrade to `nyc@^13.0.1`. - Upgrade to `split2@^3.0.0`. ### [`v3.0.1`](https://redirect.github.com/winstonjs/winston/compare/3.0.0...3.0.1) [Compare Source](https://redirect.github.com/winstonjs/winston/compare/3.0.0...3.0.1)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.