• 1.2.2 74c0c2a486

    1.2.2
    All checks were successful
    Run Tests / test (pull_request) Successful in 1m9s
    Run Tests / test (push) Successful in 1m10s
    Publish Package to npmjs / build (release) Successful in 55s
    Stable

    mburchard released this 2026-02-26 11:31:56 +00:00 | 0 commits to main since this release

    Logging Stability and Test Hardening

    This patch release improves runtime robustness in log level handling and lazy payload evaluation, and hardens the test suite to reduce brittle assertions and timing-related flakiness.

    Runtime Behavior

    • Log levels are now normalized consistently across logger and appender entry points.
    • Invalid log levels now emit a warning instead of being silently accepted.
    • Lazy-evaluated log payloads are wrapped as a single payload element to avoid runtime errors in appenders.

    Documentation

    • Added explicit README documentation for lazy evaluation behavior.
    • Clarified stack-trace/source-map comments with time-bound assumptions and cleaner wording.

    Test and Quality Improvements

    • Replaced fragile file-size assertions with semantic content checks.
    • Replaced fixed-delay synchronization (setTimeout) with robust async waiting.
    • Replaced brittle exact Error object matching with robust message/object matching.
    • Deduplicated repeated SQLite log entry assertions.

    Other Changes

    • Update dependencies
    • Bump version to 1.2.2
    Downloads