Consola Versions Save

🐨 Elegant Console Logger for Node.js and Browser

v3.0.0-3

1 year ago

compare changes

💅 Refactors

  • Remove globalThis caching (4e7b909)

📦 Build

  • Use backward compatible cjs wrapper for default export (e2e6aa6)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.0.0-2

1 year ago

compare changes

🚀 Enhancements

  • consola.prompt util (#170)

v3.0.0-1

1 year ago

Today consola is being downloaded more than 19M times per month and used by over 1,700 dependencies and 850K projects!! Thank you everyone for trusting and using Consola 🐨 ❤️

This is the first prerelease version for consola v3, with a new codebase, typescript rewrite, fewer dependencies (no more chalk and dayjs bundled), and first-class ESM support.

You can try this version by installing consola@3x and changing to named imports:

// ESM
import { consola } from "consola";

// CommonJS
const { consola } = require("consola");

Stay tuned for more features and enhancements and please report any issues you could find in this release.


compare changes

🚀 Enhancements

  • Default logLevel to 1 in test environments (#134)
  • Support literal for logLevels (#133)
  • Expose createConsola and named exports (ef6e5e5)

🔥 Performance

  • Switch from chalk to colorette (271b4db)
  • Remove dayjs dependency (d6a3776)

💅 Refactors

  • ⚠️ Rewrite consola with typescript (4479d2f)
  • Rename global to globalThis (bd03098)
  • utils: Rename global to globalThis (8c3ef77)
  • Strict typechecks (63bbd56)

🏡 Chore

  • 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)

⚠️ Breaking Changes

  • ⚠️ Rewrite consola with typescript (4479d2f)

❤️ Contributors

v2.15.2

3 years ago

Bug Fixes

v2.15.1

3 years ago

Bug Fixes

  • skip logObj check for wrapped calls (fixes #109) (091a244)

v2.15.0

3 years ago

Features

  • types: use union type for ConsolaLogObject.type (#100) (a6eba53)
  • support formatOptions.date to optionally hide date (#101) (6bf733f)

v2.13.0

3 years ago

Features

  • remove level boundary check (8972d47)

v2.14.0

3 years ago

Features

v2.12.2

3 years ago

Bug Fixes

v2.12.1

3 years ago

Bug Fixes