@contrast/agent 4.16.2 → 4.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/esm.mjs +21 -11
  2. package/lib/assess/policy/propagators.json +4 -0
  3. package/lib/assess/policy/signatures.json +5 -0
  4. package/lib/assess/propagators/fastify-static/allowed-path.js +85 -0
  5. package/lib/contrast.js +1 -1
  6. package/lib/core/rewrite/index.js +2 -2
  7. package/node_modules/@colors/colors/LICENSE +26 -0
  8. package/node_modules/@colors/colors/README.md +219 -0
  9. package/node_modules/@colors/colors/examples/normal-usage.js +83 -0
  10. package/node_modules/@colors/colors/examples/safe-string.js +80 -0
  11. package/node_modules/@colors/colors/index.d.ts +136 -0
  12. package/node_modules/@colors/colors/lib/colors.js +211 -0
  13. package/node_modules/@colors/colors/lib/custom/trap.js +46 -0
  14. package/node_modules/@colors/colors/lib/custom/zalgo.js +110 -0
  15. package/node_modules/@colors/colors/lib/extendStringPrototype.js +110 -0
  16. package/node_modules/@colors/colors/lib/index.js +13 -0
  17. package/node_modules/@colors/colors/lib/maps/america.js +10 -0
  18. package/node_modules/@colors/colors/lib/maps/rainbow.js +12 -0
  19. package/node_modules/@colors/colors/lib/maps/random.js +11 -0
  20. package/node_modules/@colors/colors/lib/maps/zebra.js +5 -0
  21. package/node_modules/@colors/colors/lib/styles.js +95 -0
  22. package/node_modules/@colors/colors/lib/system/has-flag.js +35 -0
  23. package/node_modules/@colors/colors/lib/system/supports-colors.js +151 -0
  24. package/node_modules/@colors/colors/package.json +49 -0
  25. package/node_modules/@colors/colors/safe.d.ts +48 -0
  26. package/node_modules/@colors/colors/safe.js +10 -0
  27. package/node_modules/@colors/colors/themes/generic-logging.js +12 -0
  28. package/node_modules/@dabh/diagnostics/README.md +16 -16
  29. package/node_modules/@dabh/diagnostics/package.json +9 -9
  30. package/node_modules/color/README.md +9 -0
  31. package/node_modules/color/index.js +4 -1
  32. package/node_modules/color/package.json +8 -8
  33. package/node_modules/color-string/README.md +6 -2
  34. package/node_modules/color-string/index.js +21 -13
  35. package/node_modules/color-string/package.json +4 -4
  36. package/node_modules/colorspace/package.json +5 -5
  37. package/node_modules/fecha/dist/fecha.min.js +1 -1
  38. package/node_modules/fecha/dist/fecha.min.js.map +1 -0
  39. package/node_modules/fecha/lib/fecha.d.ts +2 -2
  40. package/node_modules/fecha/lib/fecha.js +35 -18
  41. package/node_modules/fecha/lib/fecha.js.map +1 -0
  42. package/node_modules/fecha/lib/fecha.umd.js +35 -18
  43. package/node_modules/fecha/lib/fecha.umd.js.map +1 -0
  44. package/node_modules/fecha/package.json +9 -10
  45. package/node_modules/fecha/src/fecha.ts +524 -0
  46. package/node_modules/logform/.eslintrc +1 -1
  47. package/node_modules/logform/CHANGELOG.md +24 -0
  48. package/node_modules/logform/README.md +15 -17
  49. package/node_modules/logform/browser.js +3 -1
  50. package/node_modules/logform/cli.js +1 -1
  51. package/node_modules/logform/colorize.js +2 -2
  52. package/node_modules/logform/dist/browser.js +8 -2
  53. package/node_modules/logform/dist/cli.js +2 -2
  54. package/node_modules/logform/dist/colorize.js +5 -5
  55. package/node_modules/logform/dist/errors.js +1 -1
  56. package/node_modules/logform/dist/format.js +9 -5
  57. package/node_modules/logform/dist/index.js +53 -20
  58. package/node_modules/logform/dist/json.js +7 -6
  59. package/node_modules/logform/dist/logstash.js +1 -1
  60. package/node_modules/logform/dist/pad-levels.js +4 -4
  61. package/node_modules/logform/dist/printf.js +1 -1
  62. package/node_modules/logform/dist/simple.js +1 -1
  63. package/node_modules/logform/dist/splat.js +2 -2
  64. package/node_modules/logform/dist/uncolorize.js +1 -1
  65. package/node_modules/logform/errors.js +1 -1
  66. package/node_modules/logform/index.d.ts +36 -0
  67. package/node_modules/logform/index.js +19 -20
  68. package/node_modules/logform/json.js +7 -7
  69. package/node_modules/logform/logstash.js +1 -1
  70. package/node_modules/logform/package.json +10 -9
  71. package/node_modules/logform/simple.js +1 -1
  72. package/node_modules/logform/uncolorize.js +1 -1
  73. package/node_modules/safe-stable-stringify/CHANGELOG.md +75 -0
  74. package/node_modules/safe-stable-stringify/LICENSE +21 -0
  75. package/node_modules/safe-stable-stringify/esm/package.json +4 -0
  76. package/node_modules/safe-stable-stringify/esm/wrapper.js +6 -0
  77. package/node_modules/safe-stable-stringify/index.d.ts +18 -0
  78. package/node_modules/safe-stable-stringify/index.js +618 -0
  79. package/node_modules/safe-stable-stringify/package.json +69 -0
  80. package/node_modules/safe-stable-stringify/readme.md +170 -0
  81. package/node_modules/safe-stable-stringify/tsconfig.json +22 -0
  82. package/node_modules/winston/LICENSE +18 -18
  83. package/node_modules/winston/README.md +1231 -1230
  84. package/node_modules/winston/dist/winston/common.js +10 -10
  85. package/node_modules/winston/dist/winston/config/index.js +17 -17
  86. package/node_modules/winston/dist/winston/container.js +46 -46
  87. package/node_modules/winston/dist/winston/create-logger.js +28 -24
  88. package/node_modules/winston/dist/winston/exception-handler.js +49 -49
  89. package/node_modules/winston/dist/winston/exception-stream.js +27 -27
  90. package/node_modules/winston/dist/winston/logger.js +152 -138
  91. package/node_modules/winston/dist/winston/profiler.js +22 -22
  92. package/node_modules/winston/dist/winston/rejection-handler.js +54 -54
  93. package/node_modules/winston/dist/winston/tail-file.js +14 -14
  94. package/node_modules/winston/dist/winston/transports/console.js +31 -31
  95. package/node_modules/winston/dist/winston/transports/file.js +101 -101
  96. package/node_modules/winston/dist/winston/transports/http.js +119 -41
  97. package/node_modules/winston/dist/winston/transports/index.js +17 -17
  98. package/node_modules/winston/dist/winston/transports/stream.js +24 -24
  99. package/node_modules/winston/dist/winston.js +91 -97
  100. package/node_modules/winston/index.d.ts +213 -193
  101. package/node_modules/winston/lib/winston/common.js +61 -61
  102. package/node_modules/winston/lib/winston/config/index.d.ts +99 -98
  103. package/node_modules/winston/lib/winston/config/index.js +35 -35
  104. package/node_modules/winston/lib/winston/container.js +114 -114
  105. package/node_modules/winston/lib/winston/create-logger.js +104 -104
  106. package/node_modules/winston/lib/winston/exception-handler.js +245 -245
  107. package/node_modules/winston/lib/winston/exception-stream.js +54 -54
  108. package/node_modules/winston/lib/winston/logger.js +676 -667
  109. package/node_modules/winston/lib/winston/profiler.js +51 -51
  110. package/node_modules/winston/lib/winston/rejection-handler.js +251 -251
  111. package/node_modules/winston/lib/winston/tail-file.js +124 -124
  112. package/node_modules/winston/lib/winston/transports/console.js +117 -117
  113. package/node_modules/winston/lib/winston/transports/file.js +695 -695
  114. package/node_modules/winston/lib/winston/transports/http.js +267 -202
  115. package/node_modules/winston/lib/winston/transports/index.d.ts +103 -100
  116. package/node_modules/winston/lib/winston/transports/index.js +56 -56
  117. package/node_modules/winston/lib/winston/transports/stream.js +63 -63
  118. package/node_modules/winston/lib/winston.js +176 -182
  119. package/node_modules/winston/node_modules/winston-transport/.babelrc +3 -0
  120. package/node_modules/winston/node_modules/winston-transport/.eslintrc +7 -0
  121. package/node_modules/winston/node_modules/winston-transport/.gitattributes +1 -0
  122. package/node_modules/winston/node_modules/winston-transport/.nyc_output/c3d7ddb9-cc26-466b-a4f6-993ad69e86f6.json +1 -0
  123. package/node_modules/winston/node_modules/winston-transport/.nyc_output/processinfo/c3d7ddb9-cc26-466b-a4f6-993ad69e86f6.json +1 -0
  124. package/node_modules/winston/node_modules/winston-transport/.nyc_output/processinfo/index.json +1 -0
  125. package/node_modules/winston/node_modules/winston-transport/CHANGELOG.md +126 -0
  126. package/node_modules/winston/node_modules/winston-transport/LICENSE +22 -0
  127. package/node_modules/winston/node_modules/winston-transport/README.md +50 -0
  128. package/node_modules/winston/node_modules/winston-transport/dist/index.js +215 -0
  129. package/node_modules/winston/node_modules/winston-transport/dist/legacy.js +116 -0
  130. package/node_modules/winston/node_modules/winston-transport/index.d.ts +39 -0
  131. package/node_modules/winston/node_modules/winston-transport/index.js +215 -0
  132. package/node_modules/winston/node_modules/winston-transport/legacy.js +119 -0
  133. package/node_modules/winston/node_modules/winston-transport/package.json +56 -0
  134. package/node_modules/winston/package.json +76 -75
  135. package/package.json +6 -4
  136. package/node_modules/@dabh/diagnostics/example.png +0 -0
  137. package/node_modules/color-string/CHANGELOG.md +0 -18
  138. package/node_modules/colorspace/test.js +0 -14
  139. package/node_modules/fecha/CHANGELOG.md +0 -67
  140. package/node_modules/logform/.travis.yml +0 -17
  141. package/node_modules/winston/CHANGELOG.md +0 -560
@@ -1,560 +0,0 @@
1
- # CHANGELOG
2
-
3
- ## v3.3.3 / 2020-06-23
4
-
5
- - [#1820] Revert [#1807] to resolve breaking changes for Typescript users.
6
-
7
- ## v3.3.2 / 2020-06-22
8
-
9
- - [#1814] Use a fork of `diagnostics` published to NPM to avoid git dependency.
10
-
11
- ## v3.3.1 / 2020-06-21
12
-
13
- - [#1803], [#1807] Fix TypeScript bugs.
14
- - [#1740] Add space between `info.message` and `meta.message`.
15
- - [#1813] Avoid indirect storage-engine dependency.
16
- - [#1810] README updates.
17
-
18
- ## v3.3.0 / 2020-06-21
19
-
20
- - [#1779] Fix property name in rejection handler.
21
- - [#1768] Exclude extraneous files from NPM package.
22
- - [#1364], [#1714] Don't remove transport from logger when transport error
23
- occurs.
24
- - [#1603] Expose `child` property on default logger.
25
- - [#1777] Allow HTTP transport to pass options to request.
26
- - [#1662] Add bearer auth capabilities to HTTP transport.
27
- - [#1612] Remove no-op in file transport.
28
- - [#1622], [#1623], [#1625] Typescript fixes.
29
- - (Minor) [#1647], [#1793] Update CI settings.
30
- - (Minor) [#1600], [#1605], [#1593], [#1610], [#1654], [#1656], [#1661],
31
- [#1651], [#1652], [#1677], [#1683], [#1684], [#1700], [#1697], [#1650],
32
- [#1705], [#1723], [#1737], [#1733], [#1743], [#1750], [#1754], [#1780],
33
- [#1778] README, Transports.md, other docs changes.
34
- - [#1672], [#1686], [#1772] Update dependencies.
35
-
36
- ## v3.2.1 / 2019-01-29
37
- ### UNBOUND PROTOTYPE AD INFINITUM EDITION
38
-
39
- - #[1579], (@indexzero) Fallback to the "root" instance **always** created by
40
- `createLogger` for level convenience methods (e.g. `.info()`, `.silly()`).
41
- (Fixes [#1577]).
42
- - [#1539], (@indexzero) Assume message is the empty string when level-helper
43
- methods are invoked with no arguments (Fixed [#1501]).
44
- - [#1583], (@kibertoad) Add typings for defaultMeta (Fixes [#1582])
45
- - [#1586], (@kibertoad) Update dependencies.
46
-
47
- ## v3.2.0 / 2019-01-26
48
- ### SORRY IT TOO SO LONG EDITION
49
-
50
- > **NOTE:** this was our first release using Github Projects. See the
51
- > [3.2.0 Release Project](https://github.com/orgs/winstonjs/projects/3).
52
-
53
- ### New Features!
54
-
55
- - [#1471], (@kibertoad) Implement child loggers.
56
- - [#1462], (@drazisil) Add handleRejection support.
57
- - [#1555], (@DABH) Add fixes from [#1355] to unhandled rejection handler.
58
- - [#1418], (@mfrisbey) Precompile ES6 syntax before publishing to npm.
59
- - [#1533], (@kibertoad) Update to Babel 7.
60
- - [#1562], (@indexzero) [fix] Better handling of `new Error(string)`
61
- throughout the pipeline(s). (Fixes [#1338], [#1486]).
62
-
63
- ### Bug Fixes
64
-
65
- - [#1355], (@DABH) Fix issues with ExceptionHandler (Fixes [#1289]).
66
- - [#1463], (@SerayaEryn) Bubble transport `warn` events up to logger in
67
- addition to `error`s.
68
- - [#1480], [#1503], (@SerayaEryn) File tailrolling fix.
69
- - [#1483], (@soldair) Assign log levels to un-bound functions.
70
- - [#1513], (@TilaTheHun0) Set maxListeners for Console transport.
71
- - [#1521], (@jamesbechet) Fix Transform from `readable-stream` using CRA.
72
- - [#1434], (@Kouzukii) Fixes logger.query function (regression from `3.0.0`)
73
- - [#1526], (@pixtron) Log file without .gz for tailable (Fixes [#1525]).
74
- - [#1559], (@eubnara) Fix typo related to `exitOnError`.
75
- - [#1556], (@adoyle-h) Support to create log directory if it doesn't exist
76
- for FileTransport.
77
-
78
- #### New `splat` behavior
79
-
80
- - [#1552], (@indexzero) Consistent handling of meta with (and without)
81
- interpolation in `winston` and `logform`.
82
- - [#1499], (@DABH) Provide all of `SPLAT` to formats (Fixes [#1485]).
83
- - [#1485], (@mpabst) Fixing off-by-one when using both meta and splat.
84
-
85
- Previously `splat` would have added a `meta` property for any additional
86
- `info[SPLAT]` beyond the expected number of tokens.
87
-
88
- **As of `logform@2.0.0`,** `format.splat` assumes additional splat paramters
89
- (aka "metas") are objects and merges enumerable properties into the `info`.
90
- e.g. **BE ADVISED** previous "metas" that _were not objects_ will very likely
91
- lead to odd behavior. e.g.
92
-
93
- ``` js
94
- const { createLogger, format, transports } = require('winston');
95
- const { splat } = format;
96
- const { MESSAGE, LEVEL, SPLAT } = require('triple-beam');
97
-
98
- const logger = createLogger({
99
- format: format.combine(
100
- format.splat(),
101
- format.json()
102
- ),
103
- transports: [new transports.Console()]
104
- });
105
-
106
- // Expects two tokens, but four splat parameters provided.
107
- logger.info(
108
- 'Let us %s for %j', // message
109
- 'objects', // used for %s
110
- { label: 'sure' }, // used for %j
111
- 'lol', ['ok', 'why'] // Multiple additional meta values
112
- );
113
-
114
- // winston < 3.2.0 && logform@1.x behavior:
115
- // Added "meta" property.
116
- //
117
- // { level: 'info',
118
- // message: 'Let us objects for {"label":"sure"}',
119
- // meta: ['lol', ['ok', 'why']],
120
- // [Symbol(level)]: 'info',
121
- // [Symbol(message)]: 'Let us %s for %j',
122
- // [Symbol(splat)]: [ 'objects', { label: 'sure' } ] }
123
-
124
- // winston >= 3.2.0 && logform@2.x behavior: Enumerable properties
125
- // assigned into `info`. Since **strings and Arrays only have NUMERIC
126
- // enumerable properties we get this behavior!**
127
- //
128
- // { '0': 'ok',
129
- // '1': 'why',
130
- // '2': 'l',
131
- // level: 'info',
132
- // message: 'Let us objects for {"label":"sure"}',
133
- // [Symbol(level)]: 'info',
134
- // [Symbol(message)]: 'Let us %s for %j',
135
- // [Symbol(splat)]: [ 'objects', { label: 'sure' } ] }
136
- ```
137
-
138
- ## Maintenance & Documentation
139
-
140
- - Documentation Updates
141
- - [#1410], (@hakanostrom) Add docs reference to transport for Cloudant.
142
- - [#1467], (@SeryaEryn) Add fast-file-rotate transport to transport.md.
143
- - [#1488], (@adamcohen) Fix multi logger documentation.
144
- - [#1531], (@mapleeit) Add links to transports.
145
- - [#1548], (@ejmartin504) Fix `README.md` for awaiting logs.
146
- - [#1554], (@indexzero) Document the solution to [#1486] as by design.
147
- - Other small improvements: [#1509].
148
- - Improved TypeScript support
149
- - [#1470], (@jd-carroll) Export all transport options (Fixes [#1469]).
150
- - [#1474], (@jd-carroll) Correct import to avoid conflict (Fixed [#1472]).
151
- - [#1546], (@alewiahmed) Add consoleWarnLevels field to the
152
- `ConsoleTransportOptions` interface type definition.
153
- - [#1557], (@negezor) Add missing `child()` method.
154
- - Dependency management
155
- - [#1560], (@kibertoad) Update dependencies.
156
- - [#1512], (@SerayaEryn) Add node@11 and disallow failures on node@10.
157
- - [#1516], (@SerayaEryn) Update `readable-stream` to `v3.0.6`.
158
- - [#1534], (@kibertoad) Update `@types/node`, `nyc`, and `through2`.
159
-
160
- ## v3.1.0 / 2018-08-22
161
- ### RELEASES ON A PLANE EDITION
162
-
163
- - Minor TypeScript fixes [#1362], [#1395], [#1440]
164
- - Fix minor typos [#1359], [#1363], [#1372], [#1378], [#1390]
165
- - [#1373], (@revik): Add `consoleWarnLevels` property to console transport options for `console.warn` browser support.
166
- - [#1394], (@bzoz): Fix tests on Windows.
167
- - [#1447], (@dboshardy): Support transport name option to override default names for built-in transports.
168
- - [#1420], (@ledbit): Fix file rotation with `tailing: true` (Fixes [#1450], [#1194]).
169
- - [#1352], (@lutovich): Add `isLevelEnabled(string)` & `isXXXEnabled()` to `Logger` class.
170
- - Dependency management
171
- - Regenerate `package-lock.json`.
172
- - Upgrade to `colors@^1.3.2` (Fixes [#1439]).
173
- - Upgrade to `logform@^1.9.1`.
174
- - Upgrade to `diagnostics@^1.1.1`.
175
- - Upgrade to `@types/node@^10.9.3`.
176
- - Upgrade to `assume@^2.1.0`.
177
- - Upgrade to `hock@^1.3.3`.
178
- - Upgrade to `mocha@^5.2.0`.
179
- - Upgrade to `nyc@^13.0.1`.
180
- - Upgrade to `split2@^3.0.0`.
181
-
182
- ## v3.0.0 / 2018-06-12
183
- ### GET IN THE CHOPPA EDITION
184
-
185
- - [#1332], (@DABH): logger.debug is sent to stderr (Fixed [#1024])
186
- - [#1328], (@ChrisAlderson): Logger level doesn't update transports level (Fixes [#1191]).
187
- - [#1356], (@indexzero) Move splat functionality into logform. (Fixes [#1298]).
188
- - [#1340], (@indexzero): Check log.length when evaluating "legacyness" of transports (Fixes [#1280]).
189
- - [#1346], (@indexzero): Implement `_final` from Node.js streams. (Related to winston-transport#24, Fixes [#1250]).
190
- - [#1347], (@indexzero): Wrap calls to `format.transform` with try / catch (Fixes [#1261]).
191
- - [#1357], (@indexzero): Remove paddings as we have no use for it in the current API.
192
- - [TODO]: REMAINS OPEN, NO PR (Fixes [#1289])
193
- - Documentation
194
- - [#1301], (@westonpace) Cleaned up some of the documentation on `colorize`
195
- to address concerns in [#1095].
196
- - First pass at a heavy refactor of `docs/transports.md`.
197
- - Dependency management
198
- - Regenerate `package-lock.json`.
199
- - Upgrade to `logform@^1.9.0`.
200
-
201
- ## v3.0.0-rc6 / 2018-05-30
202
- ### T-MINUS 6-DAY TO WINSTON@3 EDITION
203
-
204
- - **Document that we are pushing for a June 5th, 2018 release of `winston@3.0.0`**
205
- - [#1287], (@DABH) Added types for Typescript.
206
- - [#1335] Typescript: silent is boolean.
207
- - [#1323] Add level method to default logger.
208
- - [#1286], (@ChrisAlderson) Migrate codebase to ES6
209
- - [#1324], (@ChrisAlderson) Fix regression introduced by ES6 migration for
210
- exception handling.
211
- - [#1333], (@ChrisAlderson) Fix removing all loggers from a container.
212
- - [#1291], [#1294], [#1318], (@indexzero, @ChrisAlderson, @mempf) Improvements
213
- to `File` transport core functionality. Fixes [#1194].
214
- - [#1311], (@ChrisAlderson) Add `eol` option to `Stream` transport.
215
- - [#1297], (@ChrisAlderson) Move `winston.config` to `triple-beam`. Expose
216
- for backwards compatibility.
217
- - [#1320], (@ChrisAlderson) Enhance tests to run on Windows.
218
- - Internal project maintenance
219
- - Bump to `winston-transport@4.0.0` which may cause incompatibilities if
220
- your custom transport does not explicitly require `winston-transport`
221
- itself.
222
- - [#1292], (@ChrisAlderson) Add node v10 to TravisCI build matrix.
223
- - [#1296], (@indexzero) Improve `UPGRADE-3.0.md`. Add Github Issue Template.
224
- - Remove "npm run report" in favor of reports being automatically generate.
225
- - Update `logform`, `triple-beam`, and `winston-transport` to latest.
226
-
227
- > Special thanks to our newest `winston` core team member – @ChrisAlderson for
228
- > helping make `winston@3.0.0` a reality next week!
229
-
230
- ## v3.0.0-rc5 / 2018-04-20
231
- ### UNOFFICIAL NATIONAL HOLIDAY EDITION
232
-
233
- - [#1281] Use `Buffer.alloc` and `Buffer.from` instead of `new Buffer`.
234
- - Better browser support
235
- - [#1142] Move common tailFile to a separate file
236
- - [#1279] Use feature detection to be safer for browser usage.
237
- - MOAR Docs!
238
- - **Document that we are pushing for a May 29th, 2018 release of `winston@3.0.0`**
239
- - **Add David Hyde as official contributor.**
240
- - [#1278] Final Draft of Upgrade Guide in `UPGRADE-3.0.md`
241
- - Merge Roadmap from `3.0.0.md` into `CONTRIBUTING.md` and other
242
- improvements to `CONTRIBUTING.md`
243
- - Improve & expand examples
244
- - [#1175] Add more copy about printf formats based on issue feedback.
245
- - [#1134] Add sampleto document timestamps more clearly as an example.
246
- - [#1273] Add example using multiple formats.
247
- - [#1250] Add an example illustrating the "finish" event for AWS Lambda scenarios.
248
- - Use simple format to better show that `humanReadableUnhandledException` is now the default message format.
249
- - Add example to illustrate that example code from winston-transport
250
- `README.md` is correct.
251
- - Update `devDependencies`
252
- - Bump `assume` to `^2.0.1`.
253
- - Bump `winston-compat` to `^0.1.1`.
254
-
255
- ## v3.0.0-rc4 / 2018-04-06
256
- ### IF A TREE FALLS IN THE FORREST DOES IT MAKE A LOG EDITION
257
-
258
- - (@indexzero, @dabh) Add support for `{ silent }` option to
259
- ``` js
260
- require('winston').Logger;
261
- require('winston-transport').TransportStream;
262
- ```
263
- - Better browser support
264
- - [#1145], (@Jasu) Replace `isstream` with `is-stream` to make stream detection work in browser.
265
- - [#1146], (@Jasu) Rename query to different than function name, to support Babel 6.26.
266
- - Better Typescript support in all supporting libraries
267
- - `logform@1.4.1`
268
- - Update documentation
269
- - (@indexzero) Correct link to upgrade guide. Fixes #1255.
270
- - [#1258], (@morenoh149) Document how to colorize levels. Fixes #1135.
271
- - [#1246], (@KlemenPlazar) Update colors argument when adding custom colors
272
- - Update `CONTRIBUTING.md`
273
- - [#1239], (@dabh) Add changelog entries for `v3.0.0-rc3`
274
- - Add example showing that `{ level }` can be deleted from info objects because `Symbol.for('level')` is what `winston` uses internally. Fixes #1184.
275
-
276
- ## v3.0.0-rc3 / 2018-03-16
277
- ### I GOT NOTHING EDITION
278
-
279
- - [#1195], (@Nilegfx) Fix type error when creating `new stream.Stream()`
280
- - [#1109], (@vsetka) Fix file transprot bug where `self.filename` was not being updated on `ENOENT`
281
- - [#1153], (@wizardnet972) Make prototype methods return like the original method
282
- - [#1234], (@guiguan, @indexzero) Add tests for properly handling logging of `undefined`, `null` and `Error` values
283
- - [#1235], (@indexzero) Add example demonstrating how `meta` objects BECOME the `info` object
284
- - Minor fixes to docs & examples: [#1232], [#1185]
285
-
286
- ## v3.0.0-rc2 / 2018-03-09
287
- ### MAINTENANCE RESUMES EDITION
288
-
289
- - [#1209], (@dabh) Use new version of colors, solving a number of issues.
290
- - [#1197], (@indexzero) Roadmap & guidelines for contributors.
291
- - [#1100] Require the package.json by its full name.
292
- - [#1149] Updates `async` to latest (`2.6.0`)
293
- - [#1228], (@mcollina) Always pass a function to `fs.close`.
294
- - Minor fixes to docs & examples: [#1177], [#1182], [#1208], [#1198], [#1165], [#1110], [#1117], [#1097], [#1155], [#1084], [#1141], [#1210], [#1223].
295
-
296
- ## v3.0.0-rc1 / 2017-10-19
297
- ### OMG THEY FORGOT TO NAME IT EDITION
298
-
299
- - Fix file transport improper binding of `_onDrain` and `_onError` [#1104](https://github.com/winstonjs/winston/pull/1104)
300
-
301
- ## v3.0.0-rc0 / 2017-10-02
302
- ### IT'S-DONE.GIF EDITION
303
-
304
- **See [UPGRADE-3.0.md](UPGRADE-3.0.md) for a complete & living upgrade guide.**
305
-
306
- **See [3.0.0.md](3.0.0.md) for a list of remaining RC tasks.**
307
-
308
- - **Rewrite of core logging internals:** `Logger` & `Transport` are now implemented using Node.js `objectMode` streams.
309
- - **Your transports _should_ not break:** Special attention has been given to ensure backwards compatibility with existing transports. You will likely see this:
310
- ```
311
- YourTransport is a legacy winston transport. Consider upgrading to winston@3:
312
- - Upgrade docs: https://github.com/winstonjs/winston/tree/master/UPGRADE.md
313
- ```
314
- - **`filters`, `rewriters`, and `common.log` are now _formats_:** `winston.format` offers a simple mechanism for user-land formatting & style features. The organic & frankly messy growth of `common.log` is of the past; these feature requests can be implemented entirely outside of `winston` itself.
315
- ``` js
316
- const { createLogger, format, transports } = require('winston');
317
- const { combine, timestamp, label, printf } = format;
318
-
319
- const myFormat = printf(info => {
320
- return `${info.timestamp} [${info.label}] ${info.level}: ${info.message}`;
321
- });
322
-
323
- const logger = createLogger({
324
- combine(
325
- label({ label: 'right meow!' }),
326
- timestamp(),
327
- myFormat
328
- ),
329
- transports: [new transports.Console()]
330
- });
331
- ```
332
- - **Increased modularity:** several subsystems are now stand-alone packages:
333
- - [logform] exposed as `winston.format`
334
- - [winston-transport] exposed as `winston.Transport`
335
- - [abstract-winston-transport] used for reusable unit test suites for transport authors.
336
- - **`2.x` branch will get little to no maintenance:** no feature requests will be accepted – only a limited number of open PRs will be merged. Hoping the [significant performance benefits][perf-bench] incentivizes folks to upgrade quickly. Don't agree? Say something!
337
- - **No guaranteed support for `node@4` or below:** all code will be migrated to ES6 over time. This release was started when ES5 was still a hard requirement due to the current LTS needs.
338
-
339
- ## v2.4.0 / 2017-10-01
340
- ### ZOMFG WINSTON@3.0.0-RC0 EDITION
341
-
342
- - [#1036] Container.add() 'filters' and 'rewriters' option passing to logger.
343
- - [#1066] Fixed working of "humanReadableUnhandledException" parameter when additional data is added in meta.
344
- - [#1040] Added filtering by log level
345
- - [#1042] Fix regressions brought by `2.3.1`.
346
- - Fix regression on array printing.
347
- - Fix regression on falsy value.
348
- - [#977] Always decycle objects before cloning.
349
- - Fixes [#862]
350
- - Fixes [#474]
351
- - Fixes [#914]
352
- - [57af38a] Missing context in `.lazyDrain` of `File` transport.
353
- - [178935f] Suppress excessive Node warning from `fs.unlink`.
354
- - [fcf04e1] Add `label` option to `File` transport docs.
355
- - [7e736b4], [24300e2] Added more info about undocumented `winston.startTimer()` method.
356
- - [#1076], [#1082], [#1029], [#989], [e1e7188] Minor grammatical & style updates to `README.md`.
357
-
358
- ## v2.3.1 / 2017-01-20
359
- ### WELCOME TO THE APOCALYPSE EDITION
360
-
361
- - [#868](https://github.com/winstonjs/winston/pull/868), Fix 'Maximum call stack size exceeded' error with custom formatter.
362
-
363
- ## v2.3.0 / 2016-11-02
364
- ### ZOMG WHY WOULD YOU ASK EDITION
365
-
366
- - Full `CHANGELOG.md` entry forthcoming. See [the `git` diff for `2.3.0`](https://github.com/winstonjs/winston/compare/2.2.0...2.3.0) for now.
367
-
368
- ## v2.2.0 / 2016-02-25
369
- ### LEAVING CALIFORNIA EDITION
370
-
371
- - Full `CHANGELOG.md` entry forthcoming. See [the `git` diff for `2.2.0`](https://github.com/winstonjs/winston/compare/2.1.1...2.2.0) for now.
372
-
373
- ## v2.1.1 / 2015-11-18
374
- ### COLOR ME IMPRESSED EDITION
375
-
376
- - [#751](https://github.com/winstonjs/winston/pull/751), Fix colors not appearing in non-tty environments. Fixes [#609](https://github.com/winstonjs/winston/issues/609), [#616](https://github.com/winstonjs/winston/issues/616), [#669](https://github.com/winstonjs/winston/issues/669), [#648](https://github.com/winstonjs/winston/issues/648) (`fiznool`).
377
- - [#752](https://github.com/winstonjs/winston/pull/752) Correct syslog RFC number. 5424 instead of 524. (`jbenoit2011`)
378
-
379
- ## v2.1.0 / 2015-11-03
380
- ### TEST ALL THE ECOSYSTEM EDITION
381
-
382
- - [#742](https://github.com/winstonjs/winston/pull/742), [32d52b7](https://github.com/winstonjs/winston/commit/32d52b7) Distribute common test files used by transports in the `winston` ecosystem.
383
-
384
- ## v2.0.1 / 2015-11-02
385
- ### BUGS ALWAYS HAPPEN OK EDITION
386
-
387
- - [#739](https://github.com/winstonjs/winston/issues/739), [1f16861](https://github.com/winstonjs/winston/commit/1f16861) Ensure that `logger.log("info", undefined)` does not throw.
388
-
389
- ## v2.0.0 / 2015-10-29
390
- ### OMG IT'S MY SISTER'S BIRTHDAY EDITION
391
-
392
- #### Breaking changes
393
-
394
- **Most important**
395
- - **[0f82204](https://github.com/winstonjs/winston/commit/0f82204) Move `winston.transports.DailyRotateFile` [into a separate module](https://github.com/winstonjs/winston-daily-rotate-file)**: `require('winston-daily-rotate-file');`
396
- - **[fb9eec0](https://github.com/winstonjs/winston/commit/fb9eec0) Reverse log levels in `npm` and `cli` configs to conform to [RFC524](https://tools.ietf.org/html/rfc5424). Fixes [#424](https://github.com/winstonjs/winston/pull/424) [#406](https://github.com/winstonjs/winston/pull/406) [#290](https://github.com/winstonjs/winston/pull/290)**
397
- - **[8cd8368](https://github.com/winstonjs/winston/commit/8cd8368) Change the method signature to a `filter` function to be consistent with `rewriter` and log functions:**
398
- ``` js
399
- function filter (level, msg, meta, inst) {
400
- // Filter logic goes here...
401
- }
402
- ```
403
-
404
- **Other breaking changes**
405
- - [e0c9dde](https://github.com/winstonjs/winston/commit/e0c9dde) Remove `winston.transports.Webhook`. Use `winston.transports.Http` instead.
406
- - [f71e638](https://github.com/winstonjs/winston/commit/f71e638) Remove `Logger.prototype.addRewriter` and `Logger.prototype.addFilter` since they just push to an Array of functions. Use `logger.filters.push` or `logger.rewriters.push` explicitly instead.
407
- - [a470ab5](https://github.com/winstonjs/winston/commit/a470ab5) No longer respect the `handleExceptions` option to `new winston.Logger`. Instead just pass in the `exceptionHandlers` option itself.
408
- - [8cb7048](https://github.com/winstonjs/winston/commit/8cb7048) Removed `Logger.prototype.extend` functionality
409
-
410
- #### New features
411
- - [3aa990c](https://github.com/winstonjs/winston/commit/3aa990c) Added `Logger.prototype.configure` which now contains all logic previously in the `winston.Logger` constructor function. (`indexzero`)
412
- - [#726](https://github.com/winstonjs/winston/pull/726) Update .npmignore (`coreybutler`)
413
- - [#700](https://github.com/winstonjs/winston/pull/700) Add an `eol` option to the `Console` transport. (`aquavitae`)
414
- - [#731](https://github.com/winstonjs/winston/pull/731) Update `lib/transports.js` for better static analysis. (`indexzero`)
415
-
416
- #### Fixes, refactoring, and optimizations. OH MY!
417
- - [#632](https://github.com/winstonjs/winston/pull/632) Allow `File` transport to be an `objectMode` writable stream. (`stambata`)
418
- - [#527](https://github.com/winstonjs/winston/issues/527), [163f4f9](https://github.com/winstonjs/winston/commit/163f4f9), [3747ccf](https://github.com/winstonjs/winston/commit/3747ccf) Performance optimizations and string interpolation edge cases (`indexzero`)
419
- - [f0edafd](https://github.com/winstonjs/winston/commit/f0edafd) Code cleanup for reability, ad-hoc styleguide enforcement (`indexzero`)
420
-
421
- ## v1.1.1 - v1.1.2 / 2015-10
422
- ### MINOR FIXES EDITION
423
-
424
- #### Notable changes
425
- * [727](https://github.com/winstonjs/winston/pull/727) Fix "raw" mode (`jcrugzz`)
426
- * [703](https://github.com/winstonjs/winston/pull/703) Do not modify Error or Date objects when logging. Fixes #610 (`harriha`).
427
-
428
- ## v1.1.0 / 2015-10-09
429
- ### GREETINGS FROM CARTAGENA EDITION
430
-
431
- #### Notable Changes
432
- * [#721](https://github.com/winstonjs/winston/pull/721) Fixed octal literal to work with node 4 strict mode (`wesleyeff`)
433
- * [#630](https://github.com/winstonjs/winston/pull/630) Add stderrLevels option to Console Transport and update docs (`paulhroth`)
434
- * [#626](https://github.com/winstonjs/winston/pull/626) Add the logger (this) in the fourth argument in the rewriters and filters functions (`christophehurpeau `)
435
- * [#623](https://github.com/winstonjs/winston/pull/623) Fix Console Transport's align option tests (`paulhroth`, `kikobeats`)
436
- * [#692](https://github.com/winstonjs/winston/pull/692) Adding winston-aws-cloudwatch to transport docs (`timdp`)
437
-
438
- ## v1.0.2 2015-09-25
439
- ### LET'S TALK ON GITTER EDITION
440
-
441
- #### Notable Changes
442
- * [de80160](https://github.com/winstonjs/winston/commit/de80160) Add Gitter badge (`The Gitter Badger`)
443
- * [44564de](https://github.com/winstonjs/winston/commit/44564de) [fix] Correct listeners in `logException`. Fixes [#218](https://github.com/winstonjs/winston/issues/218) [#213](https://github.com/winstonjs/winston/issues/213) [#327](https://github.com/winstonjs/winston/issues/327). (`indexzero`)
444
- * [45b1eeb](https://github.com/winstonjs/winston/commit/45b1eeb) [fix] Get `tailFile` function working on latest/all node versions (`Christopher Jeffrey`)
445
- * [c6d45f9](https://github.com/winstonjs/winston/commit/c6d45f9) Fixed event subscription on close (`Roman Stetsyshin`)
446
-
447
- #### Other changes
448
- * TravisCI updates & best practices [87b97cc](https://github.com/winstonjs/winston/commit/87b97cc) [91a5bc4](https://github.com/winstonjs/winston/commit/91a5bc4), [cf24e6a](https://github.com/winstonjs/winston/commit/cf24e6a) (`indexzero`)
449
- * [d5397e7](https://github.com/winstonjs/winston/commit/d5397e7) Bump async version (`Roderick Hsiao`)
450
- * Documentation updates & fixes [86d7527](https://github.com/winstonjs/winston/commit/86d7527), [38254c1](https://github.com/winstonjs/winston/commit/38254c1), [04e2928](https://github.com/winstonjs/winston/commit/04e2928), [61c8a89](https://github.com/winstonjs/winston/commit/61c8a89), [c42a783](https://github.com/winstonjs/winston/commit/c42a783), [0688a22](https://github.com/winstonjs/winston/commit/0688a22), [eabc113](https://github.com/winstonjs/winston/commit/eabc113) [c9506b7](https://github.com/winstonjs/winston/commit/c9506b7), [17534d2](https://github.com/winstonjs/winston/commit/17534d2), [b575e7b](https://github.com/winstonjs/winston/commit/b575e7b) (`Stefan Thies`, `charukiewicz`, `unLucio`, `Adam Cohen`, `Denis Gorbachev`, `Frederik Ring`, `Luigi Pinca`, `jeffreypriebe`)
451
- * Documentation refactor & cleanup [a19607e](https://github.com/winstonjs/winston/commit/a19607e), [d1932b4](https://github.com/winstonjs/winston/commit/d1932b4), [7a13132](https://github.com/winstonjs/winston/commit/7a13132) (`indexzero`)
452
-
453
-
454
- ## v1.0.1 / 2015-06-26
455
- ### YAY DOCS EDITION
456
-
457
- * [#639](https://github.com/winstonjs/winston/pull/639) Fix for [#213](https://github.com/winstonjs/winston/issues/213): More than 10 containers triggers EventEmitter memory leak warning (`marcus`)
458
- * Documentation and `package.json` updates [cec892c](https://github.com/winstonjs/winston/commit/cec892c), [2f13b4f](https://github.com/winstonjs/winston/commit/2f13b4f), [b246efd](https://github.com/winstonjs/winston/commit/b246efd), [22a5f5a](https://github.com/winstonjs/winston/commit/22a5f5a), [5868b78](https://github.com/winstonjs/winston/commit/5868b78), [99b6b44](https://github.com/winstonjs/winston/commit/99b6b44), [447a813](https://github.com/winstonjs/winston/commit/447a813), [7f75b48](https://github.com/winstonjs/winston/commit/7f75b48) (`peteward44`, `Gilad Peleg`, `Anton Ian Sipos`, `nimrod-becker`, `LarsTi`, `indexzero`)
459
-
460
- ## v1.0.0 / 2015-04-07
461
- ### OMG 1.0.0 FINALLY EDITION
462
-
463
- #### Breaking Changes
464
- * [#587](https://github.com/winstonjs/winston/pull/587) Do not extend `String` prototypes as a side effect of using `colors`. (`kenperkins`)
465
- * [#581](https://github.com/winstonjs/winston/pull/581) File transports now emit `error` on error of the underlying streams after `maxRetries` attempts. (`ambbell`).
466
- * [#583](https://github.com/winstonjs/winston/pull/583), [92729a](https://github.com/winstonjs/winston/commit/92729a68d71d07715501c35d94d2ac06ac03ca08) Use `os.EOL` for all file writing by default. (`Mik13`, `indexzero`)
467
- * [#532](https://github.com/winstonjs/winston/pull/532) Delete logger instance from `Container` when `close` event is emitted. (`snater`)
468
- * [#380](https://github.com/winstonjs/winston/pull/380) Rename `duration` to `durationMs`, which is now a number a not a string ending in `ms`. (`neoziro`)
469
- * [#253](https://github.com/winstonjs/winston/pull/253) Do not set a default level. When `level` is falsey on any `Transport` instance, any `Logger` instance uses the configured level (instead of the Transport level) (`jstamerj`).
470
-
471
- #### Other changes
472
-
473
- * [b83de62](https://github.com/winstonjs/winston/commit/b83de62) Fix rendering of stack traces.
474
- * [c899cc](https://github.com/winstonjs/winston/commit/c899cc1f0719e49b26ec933e0fa263578168ea3b) Update documentation (Fixes [#549](https://github.com/winstonjs/winston/issues/549))
475
- * [#551](https://github.com/winstonjs/winston/pull/551) Filter metadata along with messages
476
- * [#578](https://github.com/winstonjs/winston/pull/578) Fixes minor issue with `maxFiles` in `File` transport (Fixes [#556](https://github.com/winstonjs/winston/issues/556)).
477
- * [#560](https://github.com/winstonjs/winston/pull/560) Added `showLevel` support to `File` transport.
478
- * [#558](https://github.com/winstonjs/winston/pull/558) Added `showLevel` support to `Console` transport.
479
-
480
- ## v0.9.0 / 2015-02-03
481
-
482
- * [#496](https://github.com/flatiron/winston/pull/496) Updated default option handling for CLI (`oojacoboo`).
483
- * [f37634b](https://github.com/flatiron/winston/commit/f37634b) [dist] Only support `node >= 0.8.0`. (`indexzero`)
484
- * [91a1e90](https://github.com/flatiron/winston/commit/91a1e90), [50163a0](https://github.com/flatiron/winston/commit/50163a0) Fix #84 [Enable a better unhandled exception experience](https://github.com/flatiron/winston/issues/84) (`samz`)
485
- * [8b5fbcd](https://github.com/flatiron/winston/commit/8b5fbcd) #448 Added tailable option to file transport which rolls files backwards instead of creating incrementing appends. Implements #268 (`neouser99`)
486
- * [a34f7d2](https://github.com/flatiron/winston/commit/a34f7d2) Custom log formatter functionality were added. (`Melnyk Andii`)
487
- * [4c08191](https://github.com/flatiron/winston/commit/4c08191) Added showLevel flag to common.js, file*, memory and console transports. (`Tony Germaneri`)
488
- * [64ed8e0](https://github.com/flatiron/winston/commit/64ed8e0) Adding custom pretty print function test. (`Alberto Pose`)
489
- * [3872dfb](https://github.com/flatiron/winston/commit/3872dfb) Adding prettyPrint parameter as function example. (`Alberto Pose`)
490
- * [2b96eee](https://github.com/flatiron/winston/commit/2b96eee) implemented filters #526 (`Chris Oloff`)
491
- * [72273b1](https://github.com/flatiron/winston/commit/72273b1) Added the options to colorize only the level, only the message or all. Default behavior is kept. Using true will only colorize the level and false will not colorize anything. (`Michiel De Mey`)
492
- * [178e8a6](https://github.com/flatiron/winston/commit/178e8a6) Prevent message from meta input being overwritten (`Leonard Martin`)
493
- * [270be86](https://github.com/flatiron/winston/commit/270be86) [api] Allow for transports to be removed by their string name [test fix] Add test coverage for multiple transports of the same type added in #187. [doc] Document using multiple transports of the same type (`indexzero`)
494
- * [0a848fa](https://github.com/flatiron/winston/commit/0a848fa) Add depth options for meta pretty print (`Loïc Mahieu`)
495
- * [106b670](https://github.com/flatiron/winston/commit/106b670) Allow debug messages to be sent to stdout (`John Frizelle`)
496
- * [ad2d5e1](https://github.com/flatiron/winston/commit/ad2d5e1) [fix] Handle Error instances in a sane way since their properties are non-enumerable __by default.__ Fixes #280. (`indexzero`)
497
- * [5109dd0](https://github.com/flatiron/winston/commit/5109dd0) [fix] Have a default `until` before a default `from`. Fixes #478. (`indexzero`)
498
- * [d761960](https://github.com/flatiron/winston/commit/d761960) Fix logging regular expression objects (`Chasen Le Hara`)
499
- * [2632eb8](https://github.com/flatiron/winston/commit/2632eb8) Add option for EOL chars on FileTransport (`José F. Romaniello`)
500
- * [bdecce7](https://github.com/flatiron/winston/commit/bdecce7) Remove duplicate logstash option (`José F. Romaniello`)
501
- * [7a01f9a](https://github.com/flatiron/winston/commit/7a01f9a) Update declaration block according to project's style guide (`Ricardo Torres`)
502
- * [ae27a19](https://github.com/flatiron/winston/commit/ae27a19) Fixes #306: Can't set customlevels to my loggers (RangeError: Maximum call stack size exceeded) (`Alberto Pose`)
503
- * [1ba4f51](https://github.com/flatiron/winston/commit/1ba4f51) [fix] Call `res.resume()` in HttpTransport to get around known issues in streams2. (`indexzero`)
504
- * [39e0258](https://github.com/flatiron/winston/commit/39e0258) Updated default option handling for CLI (`Jacob Thomason`)
505
- * [8252801](https://github.com/flatiron/winston/commit/8252801) Added logstash support to console transport (`Ramon Snir`)
506
- * [18aa301](https://github.com/flatiron/winston/commit/18aa301) Module isStream should be isstream (`Michael Neil`)
507
- * [2f5f296](https://github.com/flatiron/winston/commit/2f5f296) options.prettyPrint can now be a function (`Matt Zukowski`)
508
- * [a87a876](https://github.com/flatiron/winston/commit/a87a876) Adding rotationFormat prop to file.js (`orcaman`)
509
- * [ff187f4](https://github.com/flatiron/winston/commit/ff187f4) Allow custom exception level (`jupiter`)
510
-
511
- ## 0.8.3 / 2014-11-04
512
-
513
- * [fix lowercase issue (`jcrugzz`)](https://github.com/flatiron/winston/commit/b3ffaa10b5fe9d2a510af5348cf4fb3870534123)
514
-
515
- ## 0.8.2 / 2014-11-04
516
-
517
- * [Full fix for #296 with proper streams2 detection with `isstream` for file transport (`jcrugzz`)](https://github.com/flatiron/winston/commit/5c4bd4191468570e46805ed399cad63cfb1856cc)
518
- * [Add isstream module (`jcrugzz`)](https://github.com/flatiron/winston/commit/498b216d0199aebaef72ee4d8659a00fb737b9ae)
519
- * [Partially fix #296 with streams2 detection for file transport (`indexzero`)](https://github.com/flatiron/winston/commit/b0227b6c27cf651ffa8b8192ef79ab24296362e3)
520
- * [add stress test for issue #288 (`indexzero`)](https://github.com/flatiron/winston/commit/e08e504b5b3a00f0acaade75c5ba69e6439c84a6)
521
- * [lessen timeouts to check test sanity (`indexzero`)](https://github.com/flatiron/winston/commit/e925f5bc398a88464f3e796545ff88912aff7568)
522
- * [update winston-graylog2 documentation (`unlucio`)](https://github.com/flatiron/winston/commit/49fa86c31baf12c8ac3adced3bdba6deeea2e363)
523
- * [fix test formatting (`indexzero`)](https://github.com/flatiron/winston/commit/8e2225799520a4598044cdf93006d216812a27f9)
524
- * [fix so options are not redefined (`indexzero`)](https://github.com/flatiron/winston/commit/d1d146e8a5bb73dcb01579ad433f6d4f70b668ea)
525
- * [fix self/this issue that broke `http` transport (`indexzero`)](https://github.com/flatiron/winston/commit/d10cbc07755c853b60729ab0cd14aa665da2a63b)
526
-
527
-
528
- ## 0.8.1 / 2014-10-06
529
-
530
- * [Add label option for DailyRotateFile transport (`francoisTemasys`)](https://github.com/flatiron/winston/pull/459)
531
- * [fix Logger#transports length check upon Logger#log (`adriano-di-giovanni`, `indexzero`)](https://github.com/flatiron/winston/pull/404)
532
- * [err can be a string. (`gdw2`, `indexzero`)](https://github.com/flatiron/winston/pull/396)
533
- * [Added color for pre-defined cli set. (`danilo1105`, `indexzero`)](https://github.com/flatiron/winston/pull/365)
534
- * [Fix dates on transport test (`revington`)](https://github.com/flatiron/winston/pull/346)
535
- * [Included the label from options to the output in JSON mode. (`arxony`)](https://github.com/flatiron/winston/pull/326)
536
- * [Allow using logstash option with the File transport (`gmajoulet`)](https://github.com/flatiron/winston/pull/299)
537
- * [Be more defensive when working with `query` methods from Transports. Fixes #356. (indexzero)](https://github.com/flatiron/winston/commit/b80638974057f74b521dbe6f43fef2105110afa2)
538
- * [Catch exceptions for file transport unlinkSync (`calvinfo`)](https://github.com/flatiron/winston/pull/266)
539
- * [Adding the 'addRewriter' to winston (`machadogj`)](https://github.com/flatiron/winston/pull/258)
540
- * [Updates to transport documentation (`pose`)](https://github.com/flatiron/winston/pull/262)
541
- * [fix typo in "Extending another object with Logging" section.](https://github.com/flatiron/winston/pull/281)
542
- * [Updated README.md - Replaced properties with those listed in winston-mongodb module](https://github.com/flatiron/winston/pull/264)
543
-
544
- ## 0.8.0 / 2014-09-15
545
- * [Fixes for HTTP Transport](https://github.com/flatiron/winston/commit/a876a012641f8eba1a976eada15b6687d4a03f82)
546
- * Removing [jsonquest](https://github.com/flatiron/winston/commit/4f088382aeda28012b7a0498829ceb243ed74ac1) and [request](https://github.com/flatiron/winston/commit/a5676313b4e9744802cc3b8e1468e4af48830876) dependencies.
547
- * Configuration is now [shalow cloned](https://github.com/flatiron/winston/commit/08fccc81d18536d33050496102d98bde648853f2).
548
- * [Added logstash support](https://github.com/flatiron/winston/pull/445/files)
549
- * Fix for ["flush" event should always fire after "flush" call bug](https://github.com/flatiron/winston/pull/446/files)
550
- * Added tests for file: [open and stress](https://github.com/flatiron/winston/commit/47d885797a2dd0d3cd879305ca813a0bd951c378).
551
- * [Test fixes](https://github.com/flatiron/winston/commit/9e39150e0018f43d198ca4c160acef2af9860bf4)
552
- * [Fix ")" on string interpolation](https://github.com/flatiron/winston/pull/394/files)
553
-
554
- ## 0.6.2 / 2012-07-08
555
-
556
- * Added prettyPrint option for console logging
557
- * Multi-line values for conditional returns are not allowed
558
- * Added acceptance of `stringify` option
559
- * Fixed padding for log levels
560
-