All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- Pooya Parsa (@pi0)
- Alexander Topalo [email protected]
- Estéban (@Barbapapazes)
- fancy: Add node 14 compatibility (#204)
- pkg: Add supported engines field (#179)
- Pooya Parsa (@pi0)
- box: Fix preset naming for
singleThick
(#201) - fancy: Style underscore with surrounding spaces (#203)
- Pooya Parsa (@pi0)
- Christian Preston (@cpreston321)
- fancy: Support underlining (#191)
consola.box
(#193)consola/utils
subpath export (#199)- Color utils (#200)
- Inherit mocks (#183)
- Correct and improve return types for single and multi select prompts (#197)
- Preserve tag casing (#190)
- Pooya Parsa (@pi0)
- Christian Preston (@cpreston321)
- Leex (@jsonleex)
- Inesh Bose
- Damian Głowala
- Support
fancy
option forcreateConsola
and improve docs (#177) /basic
,/core
and/browser
subpath exports (#178)
- Pooya Parsa (@pi0)
- Use individual named exports of reporters (57bb579)
- Pooya Parsa (@pi0)
- utils: Use default
stream.write
for workers support (#173) - Wrap
options.stdout
andoptions.stderr
for wrapStd (ab59db6)
- fancy: More minimal badges when width cannot be determined (ad24029)
- Pooya Parsa (@pi0)
- Default
logLevel
to 1 in test environments (#134) - Support literal for logLevels (#133)
- Expose
createConsola
and named exports (ef6e5e5) consola.prompt
util (#170)consola.fail
log level (#153)- Pass
formatOptions
and other options to reporters (d77286a) - Show stack trace with
consola.trace
(#151)
- Add
.raw
to mocked functions (987dadc) - Type consola instance with built-in type functions (1a4b893)
- Default value for color format utils (ec9be78)
- fancy: Show time and tag on right when width cannot be determined (#128)
- Pass level from
CONSOLA_LEVEL
to thedefaults
(#129) - consola: Type defaults overrides generic defaults (d3d3c05)
- fancy: Improve colors (99c2a4f)
- promp: Options is optional (817626f)
⚠️ Rewrite consola with typescript (4479d2f)- Rename
global
toglobalThis
(bd03098) - utils: Rename
global
toglobalThis
(8c3ef77) - Strict typechecks (63bbd56)
- Remove
globalThis
caching (4e7b909) - Drop
json
andwinston
reporters (5af0e99) - Move all options to
consola.options
without duplication (2d31ef4) - Move spam logic into
_lastLog
object (cabd04f) - Remove global
async
option (edd1bb9) - types: Merge
LogTypeLiteral
andlogtype
types toLogType
(da1bc73) ⚠️ Move log levels and types to constants (514f5b3)- Use
index.node.ts
for main build (b92d23b) - Improve types and exports (b380d21)
- Improve fancy reporter (bc90db8)
- Revert back to
dist/index.*
for bw compatibility (98e300f) - fancy: Better start color and icon (5a01d53)
- Fix links to the source files (#172)
- Use backward compatible cjs wrapper for default export (e2e6aa6)
- release: 2.15.3 (c99ff6c)
- Make example/index.js working (#110)
- Add LICENSE (#121)
- npm: Update repository to unjs orgnization (#125)
- Add prerelease script (cfaba5e)
- Hide rollup warn (5c3b7f1)
- Ignore coverage (da557ac)
- Update examples (e07e3ab)
- release: V3.0.0-1 (c24ae27)
- Rename dist-tag to 3.x (3e8f1e0)
- Update readme (85bbe3a)
- Update badges (cf7c6e5)
- Update badges (566ff68)
- release: V3.0.0-2 (4a01304)
- Update shared exports (8fc0fdd)
- release: V3.0.0-3 (6253fb0)
- Fix import in examples (c4fff18)
- release: V3.0.0-4 (474f82f)
- release: V3.0.0-5 (ad20f89)
- Add example for readme (2bb5813)
- Update readme (0568e61)
- Update readme (6a5fb0c)
- Lint changelog (11ba5be)
- Update package.json (f698f88)
- Remove browser cjs (a5db8db)
- Update release script to normal (2634c71)
- Update test (64fa81d)
- Prefer object spread instead of
Object.assign
(c03268a)
- Pooya Parsa (@pi0)
- With-heart (@with-heart)
- Anthony Fu [email protected]
- Xin Du (Clark) [email protected]
- Sébastien Chopin [email protected]
- Thomas K (@ThomasKoscheck)
- fancy: Improve colors (99c2a4f)
- fancy: Better start color and icon (5a01d53)
- Pooya Parsa (@pi0)
consola.fail
log level (#153)- Pass
formatOptions
and other options to reporters (d77286a) - Show stack trace with
consola.trace
(#151)
- Type consola instance with built-in type functions (1a4b893)
- Default value for color format utils (ec9be78)
- fancy: Show time and tag on right when width cannot be determined (#128)
- Pass level from
CONSOLA_LEVEL
to thedefaults
(#129) - consola: Type defaults overrides generic defaults (d3d3c05)
- Drop
json
andwinston
reporters (5af0e99) - Move all options to
consola.options
without duplication (2d31ef4) - Move spam logic into
_lastLog
object (cabd04f) - Remove global
async
option (edd1bb9) - types: Merge
LogTypeLiteral
andlogtype
types toLogType
(da1bc73) ⚠️ Move log levels and types to constants (514f5b3)- Use
index.node.ts
for main build (b92d23b) - Improve types and exports (b380d21)
- Improve fancy reporter (bc90db8)
- Revert back to
dist/index.*
for bw compatibility (98e300f)
- Fix links to the source files (#172)
- Fix import in examples (c4fff18)
- Update test (64fa81d)
- Prefer object spread instead of
Object.assign
(c03268a)
⚠️ Move log levels and types to constants (514f5b3)
- Pooya Parsa (@pi0)
- With-heart (@with-heart)
- Remove
globalThis
caching (4e7b909)
- Use backward compatible cjs wrapper for default export (e2e6aa6)
- Update shared exports (8fc0fdd)
- Pooya Parsa (@pi0)
consola.prompt
util (#170)
- Rename dist-tag to 3.x (3e8f1e0)
- Update readme (85bbe3a)
- Update badges (cf7c6e5)
- Update badges (566ff68)
- Pooya Parsa (@pi0)
- Default
logLevel
to 1 in test environments (#134) - Support literal for logLevels (#133)
- Expose
createConsola
and named exports (ef6e5e5)
⚠️ Rewrite consola with typescript (4479d2f)- Rename
global
toglobalThis
(bd03098) - utils: Rename
global
toglobalThis
(8c3ef77) - Strict typechecks (63bbd56)
- Make example/index.js working (#110)
- Add LICENSE (#121)
- npm: Update repository to unjs orgnization (#125)
- Add prerelease script (cfaba5e)
- Hide rollup warn (5c3b7f1)
- Ignore coverage (da557ac)
- Update examples (e07e3ab)
⚠️ Rewrite consola with typescript (4479d2f)
- Pooya Parsa (@pi0)
- Anthony Fu [email protected]
- Xin Du (Clark) [email protected]
- Sébastien Chopin [email protected]
- Thomas K (@ThomasKoscheck)
2.15.3 (2021-02-07)
- add
.raw
to mocked functions (987dadc)
2.15.2 (2021-02-03)
- add isRaw flag only for wrapped calls (23b1184), closes unjs/unjs.js#8752
2.15.1 (2021-02-02)
2.15.0 (2020-08-05)
- types: use union type for
ConsolaLogObject.type
(#100) (a6eba53) - support
formatOptions.date
to optionally hide date (#101) (6bf733f)
2.14.0 (2020-06-26)
- improve spam throttle (5314eee)
2.13.0 (2020-06-12)
- remove level boundary check (8972d47)
- types: fix silent/verbose levels (7ab0a65)
2.12.2 (2020-05-26)
2.12.1 (2020-05-07)
2.12.0 (2020-05-07)
2.11.3 (2019-12-31)
2.11.2 (2019-12-27)
- types:
const consola = require('consola')
type is wrong (#80) (5c22d8c) - throttle expiration (#81) (940474d), closes #68
2.11.1 (2019-12-17)
2.11.0 (2019-11-10)
- 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)
2.9.0 (2019-06-18)
- count spam log (197a6b3)
2.8.0 (2019-06-18)
- spam preventation (7da806b)
2.7.1 (2019-05-26)
- browser: hide
:
with tag and normal log (8250d5a)
2.7.0 (2019-05-26)
- 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)
2.6.2 (2019-05-15)
- transpile browser dist to ES5 (1f81eea), closes unjs/unjs.js#5743
2.6.1 (2019-05-08)
2.6.0 (2019-04-12)
- expose constructor and reporters (3a8f662)
2.5.8 (2019-03-29)
2.5.7 (2019-03-19)
2.5.6 (2019-02-25)
2.4.1 (2019-02-12)
2.4.0 (2019-02-05)
- esm: fix esm compatibility (8ddecc3)
- consola: return
this
in setReporters (544a887) - types: set message type to "any" (#39) (ff97b09), closes #38
- types: update types (d0d7455)
2.3.2 (2019-01-06)
2.3.1 (2019-01-02)
- bypass webpack for lazy required version of winston (500b509)
2.3.0 (2018-11-19)
- isLogObj: handle non-standard error objects (8748c81)
2.2.6 (2018-11-14)
2.2.5 (2018-11-14)
- expose typescript typings (f0398ed)
2.2.4 (2018-11-08)
- use basic reporter only for ci and test environments (33220e4)
2.2.3 (2018-11-07)
- fancy: honor logObj.icon (d56fa38)
2.2.2 (2018-11-04)
- update std-env to 2.1.1 (32a9c67)
2.2.1 (2018-11-04)
- remove file:// from error stack traces (ff24b69)
2.2.0 (2018-11-04)
- correctly handle falsy values (367fb19)
2.1.1 (2018-11-03)
- add legacy ready and start levels for more backward compatibility (f54b5c2)
2.1.0 (2018-11-03)
2.0.9 (2018-11-03)
2.0.8 (2018-11-03)
2.0.7 (2018-11-02)
- 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)
- fancy: remove extra icons (b66fde0)
2.0.3 (2018-11-02)
- pkg: exclude src from package (4b1fb7d)
- use live console._stdout bindings for default stream (d9573c3)
2.0.2 (2018-11-02)
- error: always strip first line from stack (3afa9aa)
2.0.1 (2018-11-02)
- fancy: use proper color for log paths (7c75283)
2.0.0 (2018-11-02)
2.0.0-2 (2018-11-02)
- add methods for legacy support (4bdd034)
- preserve additional new lines (340a001)
- update std-env to 2.1.0 (2dc2a50)
- support badge with fancy (38600fe)
2.0.0-1 (2018-10-31)
2.0.0-0 (2018-10-31)
- 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
1.4.4 (2018-10-13)
- add global.consola (558cae5)
1.4.3 (2018-08-18)
- use more compatible string to clear the console (82ce410)
1.4.2 (2018-08-12)
- cannot set level as 0 in options (4c1ecce)
1.4.1 (2018-05-27)
- fancy: logObj.type (418be28)
1.4.0 (2018-05-27)
1.3.0 (2018-04-15)
- reporters/fancy: extra space for additional (efeab44)
- prevent duplicate consola instances when different versions used by packages (0bce262)
- support extra log arguments (8b6d3d2)
1.2.0 (2018-04-02)
- require needed lodash methods only (91065e4)
1.1.4 (2018-03-31)
- package: add chalk to dependencies (3f738e9)
1.1.3 (2018-03-31)
- only include dist and src in package (8b477ec)
1.1.2 (2018-03-31)
- handle null and undefined calls (1f98bb1)
1.1.1 (2018-03-31)
- add prepublish script (8dd8700)
1.1.0 (2018-03-31)
- rewrite FancyReporter without ora (73c1ddc)
1.0.0 (2018-03-31)
- add log type for console compability (96a8162)