consola v2.0.0-0 Release Notes

Release Date: 2018-10-31 // over 5 years ago
  • ๐Ÿ› 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)
    • 0๏ธโƒฃ setReporters, withDefaults and withTag (912446f)
    • ๐Ÿ‘‰ showType option (ed294e4)
    • ๐Ÿ’… style browser reporter (d39684d)
    • ๐Ÿ‘Œ support all chalk colors (2cec678), closes #20
    • wrapConsole (3962a1f)
    • wrapStd (f8bfbeb)
    • 0๏ธโƒฃ 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