Document breaking change in library

This commit is contained in:
Tau Gärtli 2024-04-16 14:43:48 +02:00
parent 4aeb3cd0ea
commit 2bebe8a20c
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@
## `bat` as a library
- Add `theme::theme` for choosing an appropriate theme based on the
terminal's color scheme, see #2896 (@bash)
- [BREAKING] Remove `HighlightingAssets::default_theme`. Use `theme::default_theme` instead.
- Changes to `syntax_mapping::SyntaxMapping` #2755 (@cyqsimon)
- `SyntaxMapping::get_syntax_for` is now correctly public
- [BREAKING] `SyntaxMapping::{empty,builtin}` are removed; use `SyntaxMapping::new` instead