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 multiple help hints
- Support for multi-line help hints
- Implemented
Cachefor&Source
- The Minimum Supported Rust Version (MSRV) is now 1.85.0
- Label ordering is now respected across multiple source files
ColorGeneratoris now usable in const contexts- File references now have spaces, improving support for terminal emulator click-through
- impl
Cachefor&Source - Multiple and multiline help support
- Use RPITIT instead of
Box<dyn ...>for caches
- Support for multi-line notes
- Support for
RangeInclusiveas spans
- Made
Report::buildaccept 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
&strof aSourceusingsource.as_ref()
- Upgraded
yansito1.0
-
Added missing
S: Spanbound forLabel::newconstructor. -
Previously labels with backwards spans could be constructed and only resulted in a panic when writing (or printing) the report. Now
Label::newpanics 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.