Skip to content

v0.5.0

Compare
Choose a tag to compare
@PsychoLlama PsychoLlama released this 04 Mar 16:59
· 373 commits to main since this release

Added

  • [@holz/env-filter] New options localStorageKey and environmentVariable configure where to look for patterns.
  • [@holz/ansi-terminal-backend] Auto-indent for messages spanning multiple lines.

Changed

  • Plugins are functions now. This improves bundle size and composition at the expense of broad changes.
  • Every plugin's export was replaced with a function instead of a class, so import { FooBackend } becomes import { createFooBackend }.
  • [@holz/core] Renamed logger.origin to logger.owner.

Removed

  • All classes and default entrypoints were removed. They were replaced with the plain functions described above.
  • [@holz/env-filter] Changing the pattern at runtime is no longer supported. It's better to create a new instance of the plugin.