mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-05-30 15:42:25 +00:00
Prepare 0.4.1 release documentation
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
version 0.4.0
|
||||
|
||||
### Feature
|
||||
|
||||
- feat: add `ColorMode = Never | Auto | Always` for text formatter color control
|
||||
- feat: add ANSI level, target, timestamp, and field rendering to `format_text(...)`
|
||||
- feat: add `color_mode` to `TextFormatter` and `TextFormatterConfig`
|
||||
@@ -22,7 +21,6 @@ version 0.4.0
|
||||
- feat: add `ColorSupport = Basic | TrueColor` and support `sink.text_formatter.color_support` so hex / RGB styles can downgrade to basic ANSI colors
|
||||
|
||||
### Test
|
||||
|
||||
- test: cover ANSI text formatter rendering in `Always` mode
|
||||
- test: cover `Auto` mode fallback behavior when `NO_COLOR` is present
|
||||
- test: cover config parsing and serialization for `color_mode`
|
||||
@@ -43,7 +41,6 @@ version 0.4.0
|
||||
- docs: add runtime and JSON examples for toggling style markup parsing
|
||||
|
||||
### Notes
|
||||
|
||||
- `Auto` currently uses a conservative rule: if `NO_COLOR` exists, ANSI is disabled; otherwise ANSI is enabled
|
||||
- inline style markup supports both short close `</>` and named closing tags like `</red>`
|
||||
- unknown or invalid inline tags currently fall back to plain text and do not raise formatter errors
|
||||
|
||||
Reference in New Issue
Block a user