From 286cce0b3ffe0caabeed6dd29dc48704654cf413 Mon Sep 17 00:00:00 2001 From: Scott Schafer Date: Mon, 9 Dec 2024 11:19:01 -0700 Subject: [PATCH 1/2] docs: Update changelog --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c7d2d22..8e42b169 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - ReleaseDate +### 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 From 72dd8c7b9210bace1be990e3e3018fab46fd8291 Mon Sep 17 00:00:00 2001 From: Scott Schafer Date: Mon, 9 Dec 2024 11:20:24 -0700 Subject: [PATCH 2/2] chore: Release annotate-snippets version 0.11.5 --- CHANGELOG.md | 5 ++++- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e42b169..ed078cb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ 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) @@ -162,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 524efa4f..b2561b28 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 0b03d944..f30c64f9 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"]