| 1 |
# Changelog |
| 2 |
|
| 3 |
All notable changes to this project will be documented in this file. |
| 4 |
|
| 5 |
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 |
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 |
|
| 8 |
# Unreleased |
| 9 |
|
| 10 |
### Breaking changes |
| 11 |
|
| 12 |
### Added |
| 13 |
|
| 14 |
### Removed |
| 15 |
|
| 16 |
### Changed |
| 17 |
|
| 18 |
### Fixed |
| 19 |
|
| 20 |
# [0.6.0] - 2025-10-28 |
| 21 |
|
| 22 |
### Added |
| 23 |
|
| 24 |
- Support for multiple help hints |
| 25 |
- Support for multi-line help hints |
| 26 |
- Implemented `Cache` for `&Source` |
| 27 |
|
| 28 |
### Changed |
| 29 |
|
| 30 |
- The Minimum Supported Rust Version (MSRV) is now 1.85.0 |
| 31 |
- Label ordering is now respected across multiple source files |
| 32 |
- `ColorGenerator` is now usable in const contexts |
| 33 |
- File references now have spaces, improving support for terminal emulator click-through |
| 34 |
|
| 35 |
# [0.5.1] - 2025-03-13 |
| 36 |
|
| 37 |
### Added |
| 38 |
|
| 39 |
- impl `Cache` for `&Source` |
| 40 |
- Multiple and multiline help support |
| 41 |
|
| 42 |
## Changed |
| 43 |
|
| 44 |
- Use RPITIT instead of `Box<dyn ...>` for caches |
| 45 |
|
| 46 |
# [0.5.0] - 2024-10-28 |
| 47 |
|
| 48 |
### Added |
| 49 |
|
| 50 |
- Support for multi-line notes |
| 51 |
- Support for `RangeInclusive` as spans |
| 52 |
|
| 53 |
### Changed |
| 54 |
|
| 55 |
- Made `Report::build` accept a proper span, avoiding much type annotation trouble |
| 56 |
|
| 57 |
### Fixed |
| 58 |
|
| 59 |
- Handling of empty lines |
| 60 |
- `Config::new()` is now `const` |
| 61 |
- Several subtle formatting bugs |
| 62 |
|
| 63 |
# [0.4.1] - 2024-04-25 |
| 64 |
|
| 65 |
### Added |
| 66 |
|
| 67 |
- Support for byte spans |
| 68 |
|
| 69 |
- The ability to fetch the underlying `&str` of a `Source` using `source.as_ref()` |
| 70 |
|
| 71 |
### Changed |
| 72 |
|
| 73 |
- Upgraded `yansi` to `1.0` |
| 74 |
|
| 75 |
# [0.4.0] - 2024-01-01 |
| 76 |
|
| 77 |
### Breaking changes |
| 78 |
|
| 79 |
- Added missing `S: Span` bound for `Label::new` constructor. |
| 80 |
|
| 81 |
- Previously labels with backwards spans could be constructed and |
| 82 |
only resulted in a panic when writing (or printing) the report. |
| 83 |
Now `Label::new` panics immediately when passed a backwards span. |
| 84 |
|
| 85 |
### Added |
| 86 |
|
| 87 |
- Support for alternative string-like types in `Source` |
| 88 |
|
| 89 |
### Changed |
| 90 |
|
| 91 |
- Memory & performance improvements |
| 92 |
|
| 93 |
### Fixed |
| 94 |
|
| 95 |
- Panic when provided with an empty input |
| 96 |
|
| 97 |
- Invalid unicode characters for certain arrows |
| 98 |
|
| 99 |
# [0.3.0] - 2023-06-07 |
| 100 |
|
| 101 |
### Changed |
| 102 |
|
| 103 |
- Upgraded concolor to `0.1`. |