fd22b0bf58
V2 (Laravel re-make)
23 KiB
23 KiB
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.15.3 (2021-02-07)
Bug Fixes
- add
.raw
to mocked functions (987dadc)
2.15.2 (2021-02-03)
Bug Fixes
- add isRaw flag only for wrapped calls (23b1184), closes nuxt/nuxt.js#8752
2.15.1 (2021-02-02)
Bug Fixes
2.15.0 (2020-08-05)
Features
- types: use union type for
ConsolaLogObject.type
(#100) (a6eba53) - support
formatOptions.date
to optionally hide date (#101) (6bf733f)
2.14.0 (2020-06-26)
Features
- improve spam throttle (5314eee)
2.13.0 (2020-06-12)
Features
- remove level boundary check (8972d47)
Bug Fixes
- types: fix silent/verbose levels (7ab0a65)
2.12.2 (2020-05-26)
Bug Fixes
2.12.1 (2020-05-07)
Bug Fixes
2.12.0 (2020-05-07)
Features
2.11.3 (2019-12-31)
Bug Fixes
2.11.2 (2019-12-27)
Bug Fixes
- types:
const consola = require('consola')
type is wrong (#80) (5c22d8c) - throttle expiration (#81) (940474d), closes #68
2.11.1 (2019-12-17)
Bug Fixes
2.11.0 (2019-11-10)
Features
Bug Fixes
- typecheck type and tag before normalize (1984deb)
- types: reporter in remove methods are optional (#70) (a17cdb1)
2.10.1 (2019-08-05)
2.10.0 (2019-08-05)
Bug Fixes
Features
2.9.0 (2019-06-18)
Features
- count spam log (197a6b3)
2.8.0 (2019-06-18)
Features
- spam preventation (7da806b)
2.7.1 (2019-05-26)
Bug Fixes
- browser: hide
:
with tag and normal log (8250d5a)
2.7.0 (2019-05-26)
Bug Fixes
- correctly calculate line width when using grave accent (bad52bd)
Features
- always hide right side on width < 80 (07d8246)
- improve basic logs (ea6ce59)
- browser: fancier logs (b64f337)
- hide time from basic logger as it is commonly used in CI environments (68c3bae)
- smart hide time and tag when there is no space (00a375f)
2.6.2 (2019-05-15)
Bug Fixes
- transpile browser dist to ES5 (1f81eea), closes nuxt/nuxt.js#5743
2.6.1 (2019-05-08)
Bug Fixes
2.6.0 (2019-04-12)
Features
- expose constructor and reporters (3a8f662)
2.5.8 (2019-03-29)
Bug Fixes
2.5.7 (2019-03-19)
Bug Fixes
2.5.6 (2019-02-25)
Bug Fixes
2.4.1 (2019-02-12)
Bug Fixes
2.4.0 (2019-02-05)
Bug Fixes
- esm: fix esm compatibility (8ddecc3)
- consola: return
this
in setReporters (544a887) - types: set message type to "any" (#39) (ff97b09), closes #38
Features
- types: update types (d0d7455)
2.3.2 (2019-01-06)
Bug Fixes
2.3.1 (2019-01-02)
Bug Fixes
- bypass webpack for lazy required version of winston (500b509)
2.3.0 (2018-11-19)
Bug Fixes
- isLogObj: handle non-standard error objects (8748c81)
Features
2.2.6 (2018-11-14)
Bug Fixes
2.2.5 (2018-11-14)
Bug Fixes
- expose typescript typings (f0398ed)
2.2.4 (2018-11-08)
Bug Fixes
- use basic reporter only for ci and test environments (33220e4)
2.2.3 (2018-11-07)
Bug Fixes
- fancy: honor logObj.icon (d56fa38)
2.2.2 (2018-11-04)
Bug Fixes
- update std-env to 2.1.1 (32a9c67)
2.2.1 (2018-11-04)
Bug Fixes
- remove file:// from error stack traces (ff24b69)
2.2.0 (2018-11-04)
Bug Fixes
- correctly handle falsy values (367fb19)
Features
2.1.1 (2018-11-03)
Bug Fixes
- add legacy ready and start levels for more backward compatibility (f54b5c2)
2.1.0 (2018-11-03)
Features
2.0.9 (2018-11-03)
2.0.8 (2018-11-03)
2.0.7 (2018-11-02)
Bug Fixes
- always use computed values for stdout/stderr (f91abc0)
2.0.6 (2018-11-02)
2.0.5 (2018-11-02)
2.0.4 (2018-11-02)
Bug Fixes
- fancy: remove extra icons (b66fde0)
2.0.3 (2018-11-02)
Bug Fixes
- pkg: exclude src from package (4b1fb7d)
- use live console._stdout bindings for default stream (d9573c3)
2.0.2 (2018-11-02)
Bug Fixes
- error: always strip first line from stack (3afa9aa)
2.0.1 (2018-11-02)
Bug Fixes
- fancy: use proper color for log paths (7c75283)
2.0.0 (2018-11-02)
2.0.0-2 (2018-11-02)
Bug Fixes
- add methods for legacy support (4bdd034)
- preserve additional new lines (340a001)
- update std-env to 2.1.0 (2dc2a50)
Features
- support badge with fancy (38600fe)
2.0.0-1 (2018-10-31)
2.0.0-0 (2018-10-31)
Bug Fixes
- add schmance.js (2929648)
- docs: update readme (#22) (e75f2a0)
- add default/undefined color for browser (39584d2)
- add missing parseStack import (da53dee)
- also copy symbols in assignGlobalReference (b0eefb5)
- don't return this when calling log functions (f07e056)
- fix badge display (e036eed)
- fix main field (4b56e48)
- fix typos (45e2f99)
- handle null value of obj for assignToLogObj (d2402af)
- improve browser packaging (4d8c8d0)
- lint (f909761)
- lint (d976620)
- only one color ending parameter is enough (d213634)
- readme: icon string length is digit (31f1894)
- remove name assignment (8d59075)
- remove pushes for better readability (418d84a)
- rename private fields (244fe5c)
- rename require test file (cfc8f9e)
- return earlier on not displaying levels (cfdcf04)
- support Error as logObject (134ff54)
- text color comment (9336fbc)
- update demo (3842e0e)
- use symbols for private property access (8e6343c)
Code Refactoring
- additionalStyle ~> additionalColor (3f808e9)
Features
- add VERSION to consola prototype (982c8ca)
- add assignGlobalConsola helper (1af28f7)
- add getter/setter for level (7af5ed5)
- add global.consola (4da784d)
- add shmancy reporter (dc6121a)
- add symbols to browser (30cd4f0)
- add sync/async write (8525525)
- add typescript typings (#24) (0853a6f)
- align basic and fancy reporter tags (38a4729)
- better stack formater (f5acb3c)
- detect version changes and throw a warning (73bdd1a)
- improve packaging and exports (90da862)
- improve packaging for browser support (47af1df)
- initial works for v2.0.0 (455b6f9)
- log formatting using printf (2afb025)
- no more side effects (c015c31)
- pause/resume (f217cc1)
- return new consola instance with consola.create (4ae3614)
- rework _createLogFn with better argument handling (2d4af39)
- scope inheritance support (#23) (0070c54)
- fancy/basic: support logObj.stack field (aa2216f)
- setReporters, withDefaults and withTag (912446f)
- showType option (ed294e4)
- style browser reporter (d39684d)
- support all chalk colors (2cec678), closes #20
- wrapConsole (3962a1f)
- wrapStd (f8bfbeb)
- write error and warns to process.stderr by default (6565254)
Performance Improvements
- basic: refactor getWriteMethod (c52db69)
- remove all DEPRECATED helpers for less bundle size (fe39d37)
BREAKING CHANGES
- Use new additionalColor prop
- lot's of internals had been changed.
- Behavior may be changed in some conditions
1.4.4 (2018-10-13)
Bug Fixes
- add global.consola (558cae5)
1.4.3 (2018-08-18)
Bug Fixes
- use more compatible string to clear the console (82ce410)
1.4.2 (2018-08-12)
Bug Fixes
- cannot set level as 0 in options (4c1ecce)
1.4.1 (2018-05-27)
Bug Fixes
- fancy: logObj.type (418be28)
1.4.0 (2018-05-27)
Features
1.3.0 (2018-04-15)
Bug Fixes
- reporters/fancy: extra space for additional (efeab44)
- prevent duplicate consola instances when different versions used by packages (0bce262)
Features
- support extra log arguments (8b6d3d2)
1.2.0 (2018-04-02)
Features
Performance Improvements
- require needed lodash methods only (91065e4)
1.1.4 (2018-03-31)
Bug Fixes
- package: add chalk to dependencies (3f738e9)
1.1.3 (2018-03-31)
Bug Fixes
- only include dist and src in package (8b477ec)
1.1.2 (2018-03-31)
Bug Fixes
- handle null and undefined calls (1f98bb1)
1.1.1 (2018-03-31)
Bug Fixes
- add prepublish script (8dd8700)
1.1.0 (2018-03-31)
Features
- rewrite FancyReporter without ora (73c1ddc)
1.0.0 (2018-03-31)
0.1.0 (2018-03-31)
Features
- add log type for console compability (96a8162)