All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- add
.raw
to mocked functions (987dadc)
- skip logObj check for wrapped calls (fixes #109) (091a244)
- types: use union type for
ConsolaLogObject.type
(#100) (a6eba53)
- support
formatOptions.date
to optionally hide date (#101) (6bf733f)
- remove level boundary check (8972d47)
- types: fix silent/verbose levels (7ab0a65)
- types: add missing typescript definitions for reporters (#94) (4a08ef0)
- typescript: remove cjs export (fixes #88) (0d9ab1b)
- types:
const consola = require('consola')
type is wrong (#80) (5c22d8c)
- throttle expiration (#81) (940474d), closes #68
- browser: add support of formatted strings (#66) (920f313)
- typecheck type and tag before normalize (1984deb)
- types: reporter in remove methods are optional (#70) (a17cdb1)
- add missing typescript declaration for level, stdout and stderr (#58) (a149dbb)
- improve typescript type definitions (#57) (80eefd8)
- browser: hide
:
with tag and normal log (8250d5a)
- correctly calculate line width when using grave accent (bad52bd)
- 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)
- browser: use
console.warn
when possible (#49) (e386ede)
- expose constructor and reporters (3a8f662)
- types: allow passing extra arguments (#46) (d29fc46)
- formatting: fix formatting when multiple back-quotes (#44) (669a12e)
- ts: revert export consola ts declarations (#43) (6bd4f85)
- esm: fix esm compatibility (8ddecc3)
- consola: return
this
in setReporters (544a887)
- types: set message type to "any" (#39) (ff97b09), closes #38
- bypass webpack for lazy required version of winston (500b509)
- isLogObj: handle non-standard error objects (8748c81)
- browser reporter improvements (591d0b4), closes #31
- fancy: look like jest traces (ecae238)
- json-reporter: add a default value to the constructor (#33) (c59db36)
- expose typescript typings (f0398ed)
- use basic reporter only for ci and test environments (33220e4)
- remove file:// from error stack traces (ff24b69)
- correctly handle falsy values (367fb19)
- add legacy ready and start levels for more backward compatibility (f54b5c2)
- always use computed values for stdout/stderr (f91abc0)
- fancy: remove extra icons (b66fde0)
- pkg: exclude src from package (4b1fb7d)
- use live console._stdout bindings for default stream (d9573c3)
- error: always strip first line from stack (3afa9aa)
- fancy: use proper color for log paths (7c75283)
- add methods for legacy support (4bdd034)
- preserve additional new lines (340a001)
- update std-env to 2.1.0 (2dc2a50)
- 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)
- additionalStyle ~> additionalColor (3f808e9)
- 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)
- basic: refactor getWriteMethod (c52db69)
- remove all DEPRECATED helpers for less bundle size (fe39d37)
- Use new additionalColor prop
- lot's of internals had been changed.
- Behavior may be changed in some conditions
- use more compatible string to clear the console (82ce410)
- cannot set level as 0 in options (4c1ecce)
- reporters/fancy: extra space for additional (efeab44)
- prevent duplicate consola instances when different versions used by packages (0bce262)
- support extra log arguments (8b6d3d2)
- require needed lodash methods only (91065e4)
- package: add chalk to dependencies (3f738e9)
- only include dist and src in package (8b477ec)
- handle null and undefined calls (1f98bb1)
- rewrite FancyReporter without ora (73c1ddc)
- add log type for console compability (96a8162)