All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support for multi-line notes
- Support for
RangeInclusive
as spans
- Made
Report::build
accept a proper span, avoiding much type annotation trouble
- Handling of empty lines
Config::new()
is nowconst
- Several subtle formatting bugs
-
Support for byte spans
-
The ability to fetch the underlying
&str
of aSource
usingsource.as_ref()
- Upgraded
yansi
to1.0
-
Added missing
S: Span
bound forLabel::new
constructor. -
Previously labels with backwards spans could be constructed and only resulted in a panic when writing (or printing) the report. Now
Label::new
panics immediately when passed a backwards span.
- Support for alternative string-like types in
Source
- Memory & performance improvements
-
Panic when provided with an empty input
-
Invalid unicode characters for certain arrows
- Upgraded concolor to
0.1
.