Document breaking change in library

pull/2896/merge^2
Tau Gärtli 2 months ago
parent 4aeb3cd0ea
commit 2bebe8a20c
No known key found for this signature in database

@ -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

Loading…
Cancel
Save