Warning: this release suffers from #1022. bat
will panic when called with a relative file path.
Bugfixes
--map-syntax
doesn't work with names provided through--file-name
(@eth-p)- Fix syntax detection for files called 'rails', see #1008
- Fix potential errors with syntax detection for symlinked files, see #1001
Other
- Add padding above headers when not using a grid, see #968 and #981 (@pt2121)
- bat now prints an error if an invalid syntax is specified via
-l
or--map-syntax
, see #1004 (@eth-p)
bat
as a library
PrettyPrinter::vcs_modification_markers
has been marked deprecated when building without thegit
feature, see #997 and #1020 (@eth-p, @sharkdp)
Packaging
- Compilation problems with
onig_sys
on various platforms have been resolved by upgrading tosyntect 4.2
, which includes a newonig
version that allows to buildonig_sys
without thebindgen
dependency. This removes the need forlibclang(-dev)
to be installed to compilebat
. Package maintainers might want to removeclang
as a build dependency. See #650 for more details.