Skip to content

2.0.0-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@LayZeeDK LayZeeDK released this 19 Jan 11:20
· 124 commits to main since this release

2.0.0-rc.0 (2021-01-19)

⚠ BREAKING CHANGES

  • driver authors need to implement the new interface

  • LumberjackLog property context was renamed to scope

  • Interfaces exposed in version 1 now have properties with readonly access.

  • LumberjackLogLevel is renamed to LumberjackLevel.

  • LumberjackLogEntryLevel is renamed to LumberjackLogLevel.

  • LumberjackLogConfigLevels is renamed to LumberjackConfigLevels

  • HttpLogEntry is renamed to HttpLog.

  • HttpLog#log is renamed to formattedLog.

  • drivers now need to be imported from their respective paths

Features

  • 🎸 include required driver configuration identifier (#54) (7fc96eb)
  • 🎸 pass log object to drivers as log method argument (#49) (5004d39)
  • 🎸 add prodMode option to config used for configure levels (#42) (6f43438)
  • 🎸 rename LumberjackLog property context to scope (#53) (4738a16)
  • add console logger (#38) (d432999)
  • add Critical and Trace log levels (#37) (5a18941)
  • add separate config token for console driver and support verbose logging (#27) (e1ba4d2)
  • add timestamp to log entries (#31) (dca4c8e)
  • guard against importing ConsoleDriverModule without forRoot (#12) (a39c01c)
  • require log levels in driver config (#36) (e0b5777)

Bug Fixes

  • 🐛 change to strict mode and fix related errors (#9) (bf14217)
  • 🐛 make log signature not to support promise or observable (#10) (06b6fa1)
  • 🐛 subscribe to http driver observables (#13) (aecb807)
  • add Critical and Trace to LumberjackLogger (#47) (96c6634)
  • handle error-throwing log drivers (#44) (6164c37)
  • send log wagon from all log methods (#7) (083bce9)
  • use valid default config in ConsoleDriverModule.forRoot (#11) (57965e2)

perf

  • ⚡️ create secondary entrypoints for drivers (#17) (6bb416a)

Tests

  • fix Wallaby and driver tests (#43) (c1892e9)
  • increase test coverage and extract test-util library (#22) (6cb159c)

refactor

  • normalize terminology and project structure (#50) (6001525)