diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c7d2d2..ed078cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - ReleaseDate +## [0.11.5] - 2024-12-09 + +### Added + +- `rustc`'s multiline annotation special case [#133](https://github.com/rust-lang/annotate-snippets-rs/pull/133) + - This special case happens when: + - The start of a multiline annotation is at the start of the line disregarding any leading whitespace + - No other multiline annotations overlap it +- `simd` feature for faster folding [#146](https://github.com/rust-lang/annotate-snippets-rs/pull/146) + +### Changed + +- Multiline annotations with matching spans get merged [#133](https://github.com/rust-lang/annotate-snippets-rs/pull/133) +- Multiple annotations on one line are no longer rendered on separate lines [#133](https://github.com/rust-lang/annotate-snippets-rs/pull/133) + +### Fixed + +- Overlapping multiline annotations are now correctly rendered [#133](https://github.com/rust-lang/annotate-snippets-rs/pull/133) +- Origin position is now correctly calculated when an annotation starts at the beginning of the line [#154](https://github.com/rust-lang/annotate-snippets-rs/pull/154) + ## [0.11.4] - 2024-06-15 ### Fixes @@ -144,7 +164,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Update the syntax to Rust 2018 idioms. (#4) -[Unreleased]: https://github.com/rust-lang/annotate-snippets-rs/compare/0.11.4...HEAD +[Unreleased]: https://github.com/rust-lang/annotate-snippets-rs/compare/0.11.5...HEAD +[0.11.5]: https://github.com/rust-lang/annotate-snippets-rs/compare/0.11.4...0.11.5 [0.11.4]: https://github.com/rust-lang/annotate-snippets-rs/compare/0.11.3...0.11.4 [0.11.3]: https://github.com/rust-lang/annotate-snippets-rs/compare/0.11.2...0.11.3 [0.11.2]: https://github.com/rust-lang/annotate-snippets-rs/compare/0.11.1...0.11.2 diff --git a/Cargo.lock b/Cargo.lock index 524efa4..b2561b2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,7 +13,7 @@ dependencies = [ [[package]] name = "annotate-snippets" -version = "0.11.4" +version = "0.11.5" dependencies = [ "annotate-snippets", "anstream 0.6.18", diff --git a/Cargo.toml b/Cargo.toml index 0b03d94..f30c64f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -88,7 +88,7 @@ zero_sized_map_values = "warn" [package] name = "annotate-snippets" -version = "0.11.4" +version = "0.11.5" description = "Library for building code annotations" categories = [] keywords = ["code", "analysis", "ascii", "errors", "debug"]