diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..bbb3ab8 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,21 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.5.2] - 2020-08-31 +### Added +- make it so all `Section` trait methods can be called on `Report` in + addition to the already supported usage on `Result>` +- panic_section to `HookBuilder` to add custom sections to panic reports +- display_env_section to `HookBuilder` to disable the output indicating what + environment variables can be set to manipulate the error reports +### Changed +- switched from ansi_term to owo-colors for colorizing output, allowing for + better compatibility with the Display trait + +[Unreleased]: https://github.com/yaahc/color-eyre/compare/v0.5.2...HEAD +[0.5.2]: https://github.com/yaahc/color-eyre/releases/tag/v0.5.2 diff --git a/Cargo.toml b/Cargo.toml index d004a43..1df730b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "color-eyre" -version = "0.5.1" +version = "0.5.2" authors = ["Jane Lusby "] edition = "2018" license = "MIT OR Apache-2.0" diff --git a/src/lib.rs b/src/lib.rs index 7653c5e..937937a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -334,7 +334,7 @@ //! [`examples/custom_filter.rs`]: https://github.com/yaahc/color-eyre/blob/master/examples/custom_filter.rs //! [`examples/custom_section.rs`]: https://github.com/yaahc/color-eyre/blob/master/examples/custom_section.rs //! [`examples/multiple_errors.rs`]: https://github.com/yaahc/color-eyre/blob/master/examples/multiple_errors.rs -#![doc(html_root_url = "https://docs.rs/color-eyre/0.5.1")] +#![doc(html_root_url = "https://docs.rs/color-eyre/0.5.2")] #![cfg_attr(docsrs, feature(doc_cfg))] #![warn( missing_docs, @@ -404,11 +404,6 @@ pub struct Handler { static CONFIG: OnceCell = OnceCell::new(); -// TODO: remove when / if ansi_term merges these changes upstream -trait ColorExt { - fn make_intense(self) -> Self; -} - /// Install the default panic and error report hooks /// /// # Details