Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
bump version for new release (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaahc authored Sep 1, 2020
1 parent ecb0642 commit e3db043
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "color-eyre"
version = "0.5.1"
version = "0.5.2"
authors = ["Jane Lusby <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
7 changes: 1 addition & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e3db043

Please sign in to comment.