You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+30-1
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,34 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
7
7
## [Unreleased] - ReleaseDate
8
+
9
+
## [0.10.0] - December 12, 2023
10
+
11
+
### Note
12
+
13
+
`annotate-snippets-rs` is in the middle of a rewrite to make it more flexible and easier to use.
14
+
This release is a preview of the new API, and is not yet stable.
15
+
The API is subject to change, and the documentation is incomplete.
16
+
Please report any issues you find!
17
+
18
+
### Added
19
+
20
+
-`Renderer` is now used for displaying a `Snippet`[#67](https://github.com/rust-lang/annotate-snippets-rs/pull/67/commits/9076cbf66336e5137b47dc7a52df2999b6c82598)
21
+
-`Renderer` also controls the color scheme and formatting of the snippet
22
+
23
+
### Breaking Changes
24
+
25
+
- Changed the edition to `2021`[#61](https://github.com/rust-lang/annotate-snippets-rs/pull/61)
26
+
- Set the minimum supported Rust version to `1.70.0`[#61](https://github.com/rust-lang/annotate-snippets-rs/pull/61)
27
+
-`Renderer` now controls the color scheme and formatting of `Snippet`s [#67](https://github.com/rust-lang/annotate-snippets-rs/pull/67/commits/d0c65b26493d60f86a82c5919ef736b35808c23a)
28
+
- Removed the `Style` and `Stylesheet` traits, as color is controlled by `Renderer`[#67](https://github.com/rust-lang/annotate-snippets-rs/pull/67/commits/4affdfb50ea0670d85e52737c082c03f89ae8ada)
29
+
- Replaced [`yansi-term`](https://crates.io/crates/yansi-term) with [`anstyle`](https://crates.io/crates/anstyle)[#67](https://github.com/rust-lang/annotate-snippets-rs/pull/67/commits/dfd4e87d6f31ec50d29af26d7310cff5e66ca978)
30
+
-`anstyle` is designed primarily to exist in public APIs for interoperability
31
+
-`anstyle` is re-exported under `annotate_snippets::renderer`
32
+
- Removed the `color` feature in favor of `Renderer::plain()`[#67](https://github.com/rust-lang/annotate-snippets-rs/pull/67/commits/dfd4e87d6f31ec50d29af26d7310cff5e66ca978)
33
+
- Moved `Margin` to `renderer` module [#67](https://github.com/rust-lang/annotate-snippets-rs/pull/67/commits/79f657ea252c3c0ce55fa69894ee520f8820b4bf)
34
+
- Made the `display_list` module private [#67](https://github.com/rust-lang/annotate-snippets-rs/pull/67/commits/da45f4858af3ec4c0d792ecc40225e27fdd2bac8)
35
+
- Moved everything in the `snippet` to be in the crate root [#67](https://github.com/rust-lang/annotate-snippets-rs/pull/67/commits/a1007ddf2fc6f76e960a4fc01207228e64e9fae7)
8
36
9
37
## [0.9.2] - October 30, 2023
10
38
@@ -46,7 +74,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
0 commit comments