Skip to content

Releases: PsychoLlama/holz

v0.6.1

02 Aug 16:22
Compare
Choose a tag to compare

Fixed

  • Resolved a TypeScript error when using PnP where @holz/core was unresolvable.

v0.6.0

05 Mar 19:11
Compare
Choose a tag to compare

Added

  • [@holz/core] Bound logging methods so they can be passed as first-class functions.
  • Documentation for all packages.

Changed

  • [@holz/logger] Disable all logs by default. This makes it reasonable to use Holz as a logging solution in other libraries.

v0.5.0

04 Mar 16:59
Compare
Choose a tag to compare

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.

v0.4.0

25 Feb 01:10
Compare
Choose a tag to compare

Added

  • [@holz/json-backend] Initial release.

Changed

  • [@holz/stream-backend] Use OS-sensitive line endings.

Fixed

  • [@holz/stream-backend] Avoid bundling core, list as peer dependency.
  • [@holz/ansi-terminal-backend] Avoid bundling core, list as peer dependency.

v0.3.0

23 Feb 23:42
Compare
Choose a tag to compare

Changed

  • [@holz/logger] Enable all server logs by default.
  • [@holz/logger] Hide logs in unit tests.
  • [@holz/console-backend] Make log styling more consistent and reduce bundle size.
  • [@holz/console-backend] Add time deltas to log messages.

v0.2.0

23 Feb 23:42
Compare
Choose a tag to compare

Fixed

  • [@holz/env-filter] Last publish included outdated artifacts.
  • [@holz/env-filter] Avoid bundling pattern-filter dependency into dist.
  • Migrated all compilation scripts to run before publish to avoid stale publishes in the future.
  • Replaced UMD bundles with commonjs on all packages (used for require).

v0.1.1

23 Feb 06:52
Compare
Choose a tag to compare

Fixed

  • [@holz/env-filter] Don't save pattern to localStorage by default.

v0.1.0

23 Feb 06:27
Compare
Choose a tag to compare

Added

  • [@holz/pattern-filter] Initial release.
  • [@holz/env-filter] Initial release.
  • [@holz/stream-backend] Initial release.
  • [@holz/ansi-terminal-backend] Now logs include timestamps.

Changed

  • [@holz/core] Exposed logger.origin as a read-only property.
  • [@holz/ansi-terminal-backend] Send all logs to stderr.
  • [@holz/logger] Log filtering from DEBUG/localStorage.debug. Logging is no longer enabled by default.
  • [@holz/logger] Use the stream backend when destination is not a TTY.
  • [@holz/console-backend] Remove log level prefix and use console.info/console.debug APIs instead.

v0.0.0

21 Feb 04:31
Compare
Choose a tag to compare

Initial release

  • @holz/ansi-terminal-backend@v0.0.0
  • @holz/console-backend@v0.0.0
  • @holz/core@v0.0.0
  • @holz/logger@v0.0.0