Skip to content

v3.0.0-4

Pre-release
Pre-release
Compare
Choose a tag to compare
@pi0 pi0 released this 11 Apr 00:17
· 90 commits to main since this release

compare changes

πŸš€ Enhancements

  • consola.fail log level (#153)
  • Pass formatOptions and other options to reporters (d77286a)
  • Show stack trace with consola.trace (#151)

🩹 Fixes

  • 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 the defaults (#129)
  • consola: Type defaults overrides generic defaults (d3d3c05)

πŸ’… Refactors

  • Drop json and winston 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 and logtype types to LogType (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)

πŸ“– Documentation

  • Fix links to the source files (#172)

🏑 Chore

βœ… Tests

🎨 Styles

  • Prefer object spread instead of Object.assign (c03268a)

⚠️ Breaking Changes

  • ⚠️ Move log levels and types to constants (514f5b3)

❀️ Contributors