Skip to content

Upgrade to Pino 8 and rewrite in ESM

Pre-release
Pre-release
Compare
Choose a tag to compare
@thetutlage thetutlage released this 10 Nov 04:58

Breaking changes

  • The package is re-rewritten to work with ESM projects only.
  • Removed the concept of FakeLogger. AdonisJS apps never used the fake logger. It was mainly for package development.
  • Upgraded to pino@8. Pino 7 and above has changed the way transports work and also the pretty option in config is no longer valid.

The logging API is still the same and has zero breaking changes :)

Commits

  • docs: do not center labels 7c14c97
  • docs(README): update adb8679
  • refactor: export targets helper from the main module 402a426
  • refactor: rewrite in ESM with support for multiple managed loggers c4e317c

Full Changelog: v4.1.5...v5.0.0-0