Files
BitLogger/docs/changes/1.1.0(0.7.0).md
T
2026-07-17 15:53:21 +08:00

2.4 KiB

BitLogger Update Changes

version 1.1.0(0.7.0)

Structure

  • refactor: split the synchronous logging surface into dedicated public packages for config, formatting, runtime, record operations, sink graph, presets, file runtime, file model, and queue model
  • refactor: keep the root package as a stable facade layer instead of a second concrete owner for runtime, file, and model types
  • refactor: thin the configured logger source declarations so runtime-specialized methods are hosted by Logger[RuntimeSink] rather than by an alias shell

File Runtime And Models

  • refactor: move FileRotation, FileSinkPolicy, FileSinkState, and RuntimeFileState to the new file_model owner package
  • refactor: keep FileSink behavior ownership in file_runtime while exposing file-facing helpers through a truthful root facade
  • fix: stop exposing backend and ref internals through the public FileSink struct layout

Queue And Config Models

  • refactor: move QueueOverflowPolicy into the dedicated queue_model package shared by config, presets, sink graph, and the root facade
  • refactor: align synchronous config and preset surfaces with their concrete owner packages instead of legacy support-package paths

Tests

  • test: split synchronous tests by boundary so native backend truth, runtime behavior, file sink surface, sink graph surface, configured facade parity, and parse/build behavior are validated in narrower files
  • test: keep the white-box native file tests focused on real backend lifecycle and rotation behavior instead of generic synchronous surface coverage
  • test: keep the synchronous release line passing after the owner migration, facade thinning, and queue-model cleanup

Docs

  • docs: align synchronous API references with the live owner packages for file, runtime, config, queue, preset, and root facade surfaces
  • docs: rewrite root facade pages so they describe re-export and forwarding behavior instead of claiming concrete ownership that now lives in subpackages

Verification

  • verify: keep the repository passing moon check src, moon test src, and release-scope health checks after the synchronous structure cleanup

Notes

  • this release covers the synchronous API structure cleanup and owner-alignment line only
  • the concurrent async lifecycle and state API changes are intentionally excluded from 1.1.0(0.7.0) and remain a separate follow-up line