bump version for new release (#55)

This commit is contained in:
Jane Lusby 2020-08-31 23:10:40 -07:00 committed by GitHub
parent ecb0642f77
commit e3db0438ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 7 deletions

21
CHANGELOG.md Normal file
View File

@ -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<T, E: Into<Report>>`
- 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

View File

@ -1,6 +1,6 @@
[package]
name = "color-eyre"
version = "0.5.1"
version = "0.5.2"
authors = ["Jane Lusby <jlusby@yaah.dev>"]
edition = "2018"
license = "MIT OR Apache-2.0"

View File

@ -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<config::PanicHook> = 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