mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-07-24 00:42:18 +00:00
2.4 KiB
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, andRuntimeFileStateto the newfile_modelowner package - refactor: keep
FileSinkbehavior ownership infile_runtimewhile exposing file-facing helpers through a truthful root facade - fix: stop exposing backend and ref internals through the public
FileSinkstruct layout
Queue And Config Models
- refactor: move
QueueOverflowPolicyinto the dedicatedqueue_modelpackage 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