Skip to content

v0.25.0

Latest
Compare
Choose a tag to compare
@keith-hall keith-hall released this 07 Jan 19:08
· 4 commits to master since this release
25f4f96

v0.25.0

Features

Bugfixes

Other

Syntaxes

Themes

  • Patched/improved themes for better Manpage syntax highlighting support, see #2994 (@keith-hall).

bat as a library

  • 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
    • [BREAKING] SyntaxMapping::mappings is replaced by SyntaxMapping::{builtin,custom,all}_mappings
  • Make Controller::run_with_error_handler's error handler FnMut, see #2831 (@rhysd)
  • Improve compile time by 20%, see #2815 (@dtolnay)
  • 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.
  • Add PrettyPrinter::print_with_writer for custom output destinations, see #3070 (@kojix2)