Releases: PsychoLlama/holz
Releases · PsychoLlama/holz
v0.6.1
v0.6.0
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
Added
[@holz/env-filter]
New optionslocalStorageKey
andenvironmentVariable
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 }
becomesimport { createFooBackend }
. [@holz/core]
Renamedlogger.origin
tologger.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
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
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
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
Fixed
[@holz/env-filter]
Don't save pattern tolocalStorage
by default.
v0.1.0
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]
Exposedlogger.origin
as a read-only property.[@holz/ansi-terminal-backend]
Send all logs to stderr.[@holz/logger]
Log filtering fromDEBUG
/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 useconsole.info
/console.debug
APIs instead.
v0.0.0
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