Skip to content

Releases: unjs/consola

v2.7.0

26 May 09:38
@pi0 pi0
Compare
Choose a tag to compare

DX Improvements

Browser reporter

The initial version of browser reporter was not fancier enough. Now it is! We also hide the time so the output is less verbose:

image

image

Basic reporter

The basic reporter is often used in CI environments when they append log time themselves. Thus we now omit time. Also ordering is changed for more readability:

image

Fancy reporter

When there is no space or terminal width is smaller than 80 characters, type and time will be hidden:

image

Bug Fixes

  • fancy: correctly calculate line width when using grave accent (bad52bd)

Features

  • fancy: always hide right side on width < 80 (07d8246)
  • fancy: smart hide time and tag when there is no space (00a375f)
  • basic: improve basic logs (ea6ce59)
  • basic: hide time from basic logger as it is commonly used in CI environments (68c3bae)
  • browser: fancier logs (b64f337)

v2.6.2

19 May 19:06
@pi0 pi0
Compare
Choose a tag to compare

Bug Fixes

v2.6.1

08 May 17:49
@pi0 pi0
Compare
Choose a tag to compare

Bug Fixes

  • browser: use console.warn when possible (#49) (e386ede)

v2.6.0

08 May 16:11
Compare
Choose a tag to compare

Features

  • expose constructor and reporters (3a8f662)

v2.5.8

29 Mar 18:25
@pi0 pi0
Compare
Choose a tag to compare

Bug Fixes

  • types: allow passing extra arguments (#46) (d29fc46)

v2.5.7

29 Mar 18:25
@pi0 pi0
Compare
Choose a tag to compare

Bug Fixes

  • formatting: fix formatting when multiple back-quotes (#44) (669a12e)

v2.5.6

29 Mar 18:25
@pi0 pi0
Compare
Choose a tag to compare

Bug Fixes

  • ts: revert export consola ts declarations (#43) (6bd4f85)

v2.5.5

25 Feb 17:51
@pi0 pi0
Compare
Choose a tag to compare

Bug Fixes

v2.5.4

24 Feb 17:57
@pi0 pi0
Compare
Choose a tag to compare
  • chore(build): Use the --no-map flag (#41) (@egoist)
  • refactor(browser): Improve export (0049c4b)
  • chore(browser): Ensure umd build is running in browser (4b22e7c)

v2.5.2

23 Feb 19:29
@pi0 pi0
Compare
Choose a tag to compare

Bug Fixes

  • bundle std-env and entrypoint (7b0f838)