v3.0.0-4
Pre-release
Pre-release
π 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 thedefaults
(#129) - consola: Type defaults overrides generic defaults (d3d3c05)
π Refactors
- 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)
π Documentation
- Fix links to the source files (#172)
π‘ Chore
- Fix import in examples (c4fff18)
β Tests
- Update test (64fa81d)
π¨ Styles
- Prefer object spread instead of
Object.assign
(c03268a)
β οΈ Breaking Changes
β οΈ Move log levels and types to constants (514f5b3)
β€οΈ Contributors
- Pooya Parsa (@pi0)
- With-heart (@with-heart)