1 | # Change Log
|
2 |
|
3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4 |
|
5 | <a name="2.2.5"></a>
|
6 | ## [2.2.5](https://github.com/nuxt/consola/compare/v2.2.4...v2.2.5) (2018-11-14)
|
7 |
|
8 |
|
9 | ### Bug Fixes
|
10 |
|
11 | * expose typescript typings ([f0398ed](https://github.com/nuxt/consola/commit/f0398ed))
|
12 |
|
13 |
|
14 |
|
15 | <a name="2.2.4"></a>
|
16 | ## [2.2.4](https://github.com/nuxt/consola/compare/v2.2.3...v2.2.4) (2018-11-08)
|
17 |
|
18 |
|
19 | ### Bug Fixes
|
20 |
|
21 | * use basic reporter only for ci and test environments ([33220e4](https://github.com/nuxt/consola/commit/33220e4))
|
22 |
|
23 |
|
24 |
|
25 | <a name="2.2.3"></a>
|
26 | ## [2.2.3](https://github.com/nuxt/consola/compare/v2.2.2...v2.2.3) (2018-11-07)
|
27 |
|
28 |
|
29 | ### Bug Fixes
|
30 |
|
31 | * **fancy:** honor logObj.icon ([d56fa38](https://github.com/nuxt/consola/commit/d56fa38))
|
32 |
|
33 |
|
34 |
|
35 | <a name="2.2.2"></a>
|
36 | ## [2.2.2](https://github.com/nuxt/consola/compare/v2.2.1...v2.2.2) (2018-11-04)
|
37 |
|
38 |
|
39 | ### Bug Fixes
|
40 |
|
41 | * update std-env to 2.1.1 ([32a9c67](https://github.com/nuxt/consola/commit/32a9c67))
|
42 |
|
43 |
|
44 |
|
45 | <a name="2.2.1"></a>
|
46 | ## [2.2.1](https://github.com/nuxt/consola/compare/v2.2.0...v2.2.1) (2018-11-04)
|
47 |
|
48 |
|
49 | ### Bug Fixes
|
50 |
|
51 | * remove file:// from error stack traces ([ff24b69](https://github.com/nuxt/consola/commit/ff24b69))
|
52 |
|
53 |
|
54 |
|
55 | <a name="2.2.0"></a>
|
56 | # [2.2.0](https://github.com/nuxt/consola/compare/v2.1.1...v2.2.0) (2018-11-04)
|
57 |
|
58 |
|
59 | ### Bug Fixes
|
60 |
|
61 | * correctly handle falsy values ([367fb19](https://github.com/nuxt/consola/commit/367fb19))
|
62 |
|
63 |
|
64 | ### Features
|
65 |
|
66 | * support formatOptions. resolves [#29](https://github.com/nuxt/consola/issues/29). ([7ed640f](https://github.com/nuxt/consola/commit/7ed640f))
|
67 |
|
68 |
|
69 |
|
70 | <a name="2.1.1"></a>
|
71 | ## [2.1.1](https://github.com/nuxt/consola/compare/v2.1.0...v2.1.1) (2018-11-03)
|
72 |
|
73 |
|
74 | ### Bug Fixes
|
75 |
|
76 | * add legacy ready and start levels for more backward compatibility ([f54b5c2](https://github.com/nuxt/consola/commit/f54b5c2))
|
77 |
|
78 |
|
79 |
|
80 | <a name="2.1.0"></a>
|
81 | # [2.1.0](https://github.com/nuxt/consola/compare/v2.0.9...v2.1.0) (2018-11-03)
|
82 |
|
83 |
|
84 | ### Features
|
85 |
|
86 | * add aliases ([cbea7bd](https://github.com/nuxt/consola/commit/cbea7bd))
|
87 | * mockTypes for easy mocking ([a332890](https://github.com/nuxt/consola/commit/a332890))
|
88 |
|
89 |
|
90 |
|
91 | <a name="2.0.9"></a>
|
92 | ## [2.0.9](https://github.com/nuxt/consola/compare/v2.0.8...v2.0.9) (2018-11-03)
|
93 |
|
94 |
|
95 |
|
96 | <a name="2.0.8"></a>
|
97 | ## [2.0.8](https://github.com/nuxt/consola/compare/v2.0.7...v2.0.8) (2018-11-03)
|
98 |
|
99 |
|
100 |
|
101 | <a name="2.0.7"></a>
|
102 | ## [2.0.7](https://github.com/nuxt/consola/compare/v2.0.6...v2.0.7) (2018-11-02)
|
103 |
|
104 |
|
105 | ### Bug Fixes
|
106 |
|
107 | * always use computed values for stdout/stderr ([f91abc0](https://github.com/nuxt/consola/commit/f91abc0))
|
108 |
|
109 |
|
110 |
|
111 | <a name="2.0.6"></a>
|
112 | ## [2.0.6](https://github.com/nuxt/consola/compare/v2.0.5...v2.0.6) (2018-11-02)
|
113 |
|
114 |
|
115 |
|
116 | <a name="2.0.5"></a>
|
117 | ## [2.0.5](https://github.com/nuxt/consola/compare/v2.0.4...v2.0.5) (2018-11-02)
|
118 |
|
119 |
|
120 |
|
121 | <a name="2.0.4"></a>
|
122 | ## [2.0.4](https://github.com/nuxt/consola/compare/v2.0.3...v2.0.4) (2018-11-02)
|
123 |
|
124 |
|
125 | ### Bug Fixes
|
126 |
|
127 | * **fancy:** remove extra icons ([b66fde0](https://github.com/nuxt/consola/commit/b66fde0))
|
128 |
|
129 |
|
130 |
|
131 | <a name="2.0.3"></a>
|
132 | ## [2.0.3](https://github.com/nuxt/consola/compare/v2.0.2...v2.0.3) (2018-11-02)
|
133 |
|
134 |
|
135 | ### Bug Fixes
|
136 |
|
137 | * **pkg:** exclude src from package ([4b1fb7d](https://github.com/nuxt/consola/commit/4b1fb7d))
|
138 | * use live console._stdout bindings for default stream ([d9573c3](https://github.com/nuxt/consola/commit/d9573c3))
|
139 |
|
140 |
|
141 |
|
142 | <a name="2.0.2"></a>
|
143 | ## [2.0.2](https://github.com/nuxt/consola/compare/v2.0.1...v2.0.2) (2018-11-02)
|
144 |
|
145 |
|
146 | ### Bug Fixes
|
147 |
|
148 | * **error:** always strip first line from stack ([3afa9aa](https://github.com/nuxt/consola/commit/3afa9aa))
|
149 |
|
150 |
|
151 |
|
152 | <a name="2.0.1"></a>
|
153 | ## [2.0.1](https://github.com/nuxt/consola/compare/v2.0.0...v2.0.1) (2018-11-02)
|
154 |
|
155 |
|
156 | ### Bug Fixes
|
157 |
|
158 | * **fancy:** use proper color for log paths ([7c75283](https://github.com/nuxt/consola/commit/7c75283))
|
159 |
|
160 |
|
161 |
|
162 | <a name="2.0.0"></a>
|
163 | # [2.0.0](https://github.com/nuxt/consola/compare/v2.0.0-2...v2.0.0) (2018-11-02)
|
164 |
|
165 |
|
166 |
|
167 | <a name="2.0.0-2"></a>
|
168 | # [2.0.0-2](https://github.com/nuxt/consola/compare/v2.0.0-1...v2.0.0-2) (2018-11-02)
|
169 |
|
170 |
|
171 | ### Bug Fixes
|
172 |
|
173 | * add methods for legacy support ([4bdd034](https://github.com/nuxt/consola/commit/4bdd034))
|
174 | * preserve additional new lines ([340a001](https://github.com/nuxt/consola/commit/340a001))
|
175 | * update std-env to 2.1.0 ([2dc2a50](https://github.com/nuxt/consola/commit/2dc2a50))
|
176 |
|
177 |
|
178 | ### Features
|
179 |
|
180 | * support badge with fancy ([38600fe](https://github.com/nuxt/consola/commit/38600fe))
|
181 |
|
182 |
|
183 |
|
184 | <a name="2.0.0-1"></a>
|
185 | # [2.0.0-1](https://github.com/nuxt/consola/compare/v2.0.0-0...v2.0.0-1) (2018-10-31)
|
186 |
|
187 |
|
188 |
|
189 | <a name="2.0.0-0"></a>
|
190 | # [2.0.0-0](https://github.com/nuxt/consola/compare/v1.4.4...v2.0.0-0) (2018-10-31)
|
191 |
|
192 |
|
193 | ### Bug Fixes
|
194 |
|
195 | * add schmance.js ([2929648](https://github.com/nuxt/consola/commit/2929648))
|
196 | * **docs:** update readme ([#22](https://github.com/nuxt/consola/issues/22)) ([e75f2a0](https://github.com/nuxt/consola/commit/e75f2a0))
|
197 | * add default/undefined color for browser ([39584d2](https://github.com/nuxt/consola/commit/39584d2))
|
198 | * add missing parseStack import ([da53dee](https://github.com/nuxt/consola/commit/da53dee))
|
199 | * also copy symbols in assignGlobalReference ([b0eefb5](https://github.com/nuxt/consola/commit/b0eefb5))
|
200 | * don't return this when calling log functions ([f07e056](https://github.com/nuxt/consola/commit/f07e056))
|
201 | * fix badge display ([e036eed](https://github.com/nuxt/consola/commit/e036eed))
|
202 | * fix main field ([4b56e48](https://github.com/nuxt/consola/commit/4b56e48))
|
203 | * fix typos ([45e2f99](https://github.com/nuxt/consola/commit/45e2f99))
|
204 | * handle null value of obj for assignToLogObj ([d2402af](https://github.com/nuxt/consola/commit/d2402af))
|
205 | * improve browser packaging ([4d8c8d0](https://github.com/nuxt/consola/commit/4d8c8d0))
|
206 | * lint ([f909761](https://github.com/nuxt/consola/commit/f909761))
|
207 | * lint ([d976620](https://github.com/nuxt/consola/commit/d976620))
|
208 | * only one color ending parameter is enough ([d213634](https://github.com/nuxt/consola/commit/d213634))
|
209 | * readme: icon string length is digit ([31f1894](https://github.com/nuxt/consola/commit/31f1894))
|
210 | * remove name assignment ([8d59075](https://github.com/nuxt/consola/commit/8d59075))
|
211 | * remove pushes for better readability ([418d84a](https://github.com/nuxt/consola/commit/418d84a))
|
212 | * rename private fields ([244fe5c](https://github.com/nuxt/consola/commit/244fe5c))
|
213 | * rename require test file ([cfc8f9e](https://github.com/nuxt/consola/commit/cfc8f9e))
|
214 | * return earlier on not displaying levels ([cfdcf04](https://github.com/nuxt/consola/commit/cfdcf04))
|
215 | * support Error as logObject ([134ff54](https://github.com/nuxt/consola/commit/134ff54))
|
216 | * text color comment ([9336fbc](https://github.com/nuxt/consola/commit/9336fbc))
|
217 | * update demo ([3842e0e](https://github.com/nuxt/consola/commit/3842e0e))
|
218 | * use symbols for private property access ([8e6343c](https://github.com/nuxt/consola/commit/8e6343c))
|
219 |
|
220 |
|
221 | ### Code Refactoring
|
222 |
|
223 | * additionalStyle ~> additionalColor ([3f808e9](https://github.com/nuxt/consola/commit/3f808e9))
|
224 |
|
225 |
|
226 | ### Features
|
227 |
|
228 | * add __VERSION__ to consola prototype ([982c8ca](https://github.com/nuxt/consola/commit/982c8ca))
|
229 | * add assignGlobalConsola helper ([1af28f7](https://github.com/nuxt/consola/commit/1af28f7))
|
230 | * add getter/setter for level ([7af5ed5](https://github.com/nuxt/consola/commit/7af5ed5))
|
231 | * add global.consola ([4da784d](https://github.com/nuxt/consola/commit/4da784d))
|
232 | * add shmancy reporter ([dc6121a](https://github.com/nuxt/consola/commit/dc6121a))
|
233 | * add symbols to browser ([30cd4f0](https://github.com/nuxt/consola/commit/30cd4f0))
|
234 | * add sync/async write ([8525525](https://github.com/nuxt/consola/commit/8525525))
|
235 | * add typescript typings ([#24](https://github.com/nuxt/consola/issues/24)) ([0853a6f](https://github.com/nuxt/consola/commit/0853a6f))
|
236 | * align basic and fancy reporter tags ([38a4729](https://github.com/nuxt/consola/commit/38a4729))
|
237 | * better stack formater ([f5acb3c](https://github.com/nuxt/consola/commit/f5acb3c))
|
238 | * detect version changes and throw a warning ([73bdd1a](https://github.com/nuxt/consola/commit/73bdd1a))
|
239 | * improve packaging and exports ([90da862](https://github.com/nuxt/consola/commit/90da862))
|
240 | * improve packaging for browser support ([47af1df](https://github.com/nuxt/consola/commit/47af1df))
|
241 | * initial works for v2.0.0 ([455b6f9](https://github.com/nuxt/consola/commit/455b6f9))
|
242 | * log formatting using printf ([2afb025](https://github.com/nuxt/consola/commit/2afb025))
|
243 | * no more side effects ([c015c31](https://github.com/nuxt/consola/commit/c015c31))
|
244 | * pause/resume ([f217cc1](https://github.com/nuxt/consola/commit/f217cc1))
|
245 | * return new consola instance with consola.create ([4ae3614](https://github.com/nuxt/consola/commit/4ae3614))
|
246 | * rework _createLogFn with better argument handling ([2d4af39](https://github.com/nuxt/consola/commit/2d4af39))
|
247 | * scope inheritance support ([#23](https://github.com/nuxt/consola/issues/23)) ([0070c54](https://github.com/nuxt/consola/commit/0070c54))
|
248 | * **fancy/basic:** support logObj.stack field ([aa2216f](https://github.com/nuxt/consola/commit/aa2216f))
|
249 | * setReporters, withDefaults and withTag ([912446f](https://github.com/nuxt/consola/commit/912446f))
|
250 | * showType option ([ed294e4](https://github.com/nuxt/consola/commit/ed294e4))
|
251 | * style browser reporter ([d39684d](https://github.com/nuxt/consola/commit/d39684d))
|
252 | * support all chalk colors ([2cec678](https://github.com/nuxt/consola/commit/2cec678)), closes [#20](https://github.com/nuxt/consola/issues/20)
|
253 | * wrapConsole ([3962a1f](https://github.com/nuxt/consola/commit/3962a1f))
|
254 | * wrapStd ([f8bfbeb](https://github.com/nuxt/consola/commit/f8bfbeb))
|
255 | * write error and warns to process.stderr by default ([6565254](https://github.com/nuxt/consola/commit/6565254))
|
256 |
|
257 |
|
258 | ### Performance Improvements
|
259 |
|
260 | * **basic:** refactor getWriteMethod ([c52db69](https://github.com/nuxt/consola/commit/c52db69))
|
261 | * remove all DEPRECATED helpers for less bundle size ([fe39d37](https://github.com/nuxt/consola/commit/fe39d37))
|
262 |
|
263 |
|
264 | ### BREAKING CHANGES
|
265 |
|
266 | * Use new additionalColor prop
|
267 | * lot's of internals had been changed.
|
268 | * Behavior may be changed in some conditions
|
269 |
|
270 |
|
271 |
|
272 | <a name="1.4.4"></a>
|
273 | ## [1.4.4](https://github.com/nuxt/consola/compare/v1.4.3...v1.4.4) (2018-10-13)
|
274 |
|
275 |
|
276 | ### Bug Fixes
|
277 |
|
278 | * add global.consola ([558cae5](https://github.com/nuxt/consola/commit/558cae5))
|
279 |
|
280 |
|
281 |
|
282 | <a name="1.4.3"></a>
|
283 | ## [1.4.3](https://github.com/nuxt/consola/compare/v1.4.2...v1.4.3) (2018-08-18)
|
284 |
|
285 |
|
286 | ### Bug Fixes
|
287 |
|
288 | * use more compatible string to clear the console ([82ce410](https://github.com/nuxt/consola/commit/82ce410))
|
289 |
|
290 |
|
291 |
|
292 | <a name="1.4.2"></a>
|
293 | ## [1.4.2](https://github.com/nuxt/consola/compare/v1.4.1...v1.4.2) (2018-08-12)
|
294 |
|
295 |
|
296 | ### Bug Fixes
|
297 |
|
298 | * cannot set level as 0 in options ([4c1ecce](https://github.com/nuxt/consola/commit/4c1ecce))
|
299 |
|
300 |
|
301 |
|
302 | <a name="1.4.1"></a>
|
303 | ## [1.4.1](https://github.com/nuxt/consola/compare/v1.4.0...v1.4.1) (2018-05-27)
|
304 |
|
305 |
|
306 | ### Bug Fixes
|
307 |
|
308 | * **fancy:** logObj.type ([418be28](https://github.com/nuxt/consola/commit/418be28))
|
309 |
|
310 |
|
311 |
|
312 | <a name="1.4.0"></a>
|
313 | # [1.4.0](https://github.com/nuxt/consola/compare/v1.3.0...v1.4.0) (2018-05-27)
|
314 |
|
315 |
|
316 | ### Features
|
317 |
|
318 | * support custom additional style ([#18](https://github.com/nuxt/consola/issues/18)) ([7a750bf](https://github.com/nuxt/consola/commit/7a750bf))
|
319 | * **fancy:** support icon field ([0123bed](https://github.com/nuxt/consola/commit/0123bed))
|
320 |
|
321 |
|
322 |
|
323 | <a name="1.3.0"></a>
|
324 | # [1.3.0](https://github.com/nuxt/consola/compare/v1.2.0...v1.3.0) (2018-04-15)
|
325 |
|
326 |
|
327 | ### Bug Fixes
|
328 |
|
329 | * **reporters/fancy:** extra space for additional ([efeab44](https://github.com/nuxt/consola/commit/efeab44))
|
330 | * prevent duplicate consola instances when different versions used by packages ([0bce262](https://github.com/nuxt/consola/commit/0bce262))
|
331 |
|
332 |
|
333 | ### Features
|
334 |
|
335 | * support extra log arguments ([8b6d3d2](https://github.com/nuxt/consola/commit/8b6d3d2))
|
336 |
|
337 |
|
338 |
|
339 | <a name="1.2.0"></a>
|
340 | # [1.2.0](https://github.com/nuxt/consola/compare/v1.1.4...v1.2.0) (2018-04-02)
|
341 |
|
342 |
|
343 | ### Features
|
344 |
|
345 | * **basic:** support additional field ([b50cad8](https://github.com/nuxt/consola/commit/b50cad8))
|
346 | * improve packaging ([158e8ef](https://github.com/nuxt/consola/commit/158e8ef))
|
347 |
|
348 |
|
349 | ### Performance Improvements
|
350 |
|
351 | * require needed lodash methods only ([91065e4](https://github.com/nuxt/consola/commit/91065e4))
|
352 |
|
353 |
|
354 |
|
355 | <a name="1.1.4"></a>
|
356 | ## [1.1.4](https://github.com/nuxt/consola/compare/v1.1.3...v1.1.4) (2018-03-31)
|
357 |
|
358 |
|
359 | ### Bug Fixes
|
360 |
|
361 | * **package:** add chalk to dependencies ([3f738e9](https://github.com/nuxt/consola/commit/3f738e9))
|
362 |
|
363 |
|
364 |
|
365 | <a name="1.1.3"></a>
|
366 | ## [1.1.3](https://github.com/nuxt/consola/compare/v1.1.2...v1.1.3) (2018-03-31)
|
367 |
|
368 |
|
369 | ### Bug Fixes
|
370 |
|
371 | * only include dist and src in package ([8b477ec](https://github.com/nuxt/consola/commit/8b477ec))
|
372 |
|
373 |
|
374 |
|
375 | <a name="1.1.2"></a>
|
376 | ## [1.1.2](https://github.com/nuxt/consola/compare/v1.1.1...v1.1.2) (2018-03-31)
|
377 |
|
378 |
|
379 | ### Bug Fixes
|
380 |
|
381 | * handle null and undefined calls ([1f98bb1](https://github.com/nuxt/consola/commit/1f98bb1))
|
382 |
|
383 |
|
384 |
|
385 | <a name="1.1.1"></a>
|
386 | ## [1.1.1](https://github.com/nuxt/consola/compare/v1.1.0...v1.1.1) (2018-03-31)
|
387 |
|
388 |
|
389 | ### Bug Fixes
|
390 |
|
391 | * add prepublish script ([8dd8700](https://github.com/nuxt/consola/commit/8dd8700))
|
392 |
|
393 |
|
394 |
|
395 | <a name="1.1.0"></a>
|
396 | # [1.1.0](https://github.com/nuxt/consola/compare/v1.0.0...v1.1.0) (2018-03-31)
|
397 |
|
398 |
|
399 | ### Features
|
400 |
|
401 | * rewrite FancyReporter without ora ([73c1ddc](https://github.com/nuxt/consola/commit/73c1ddc))
|
402 |
|
403 |
|
404 |
|
405 | <a name="1.0.0"></a>
|
406 | # [1.0.0](https://github.com/nuxt/consola/compare/v0.1.0...v1.0.0) (2018-03-31)
|
407 |
|
408 |
|
409 |
|
410 | <a name="0.1.0"></a>
|
411 | # 0.1.0 (2018-03-31)
|
412 |
|
413 |
|
414 | ### Features
|
415 |
|
416 | * add log type for console compability ([96a8162](https://github.com/nuxt/consola/commit/96a8162))
|