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

Add release notes for 0.1.2. #241

Merged
merged 1 commit into from
Sep 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# Version 0.1.2

The original plan to release 1.0.0 was changed so that version 0.1.1 is released and a related [RFC to fix the error trait](https://github.com/rust-lang/rfcs/pull/2504) is submitted. See README for details.

- Fix `failure_derive` to work with Rust 2018.
- Add `#[fail(cause)]` that works similarly with `#[cause]`. The new form is preferred.
- Fix `"backtrace"` feature to work without `"std"` feature.
- Add `Compat::get_ref`.
- Add `Fallible`.
- Deprecate `Fail::causes` and `<dyn Fail>::causes` in favor of newly added `<dyn Fail>::iter_causes`.
- Deprecate `Fail::root_cause` and `<dyn Fail>::root_cause` in favor of newly added `<dyn Fail>::find_root_cause`.
- Add `<dyn Fail>::iter_chain`.
- Implement `Box<Fail>: Fail`.
- Add `Error::from_boxed_compat`.
- Deprecate `Error::cause` in favor of newly added `Error::as_fail`.
- Deprecate `Error::causes` in favor of newly added `Error::iter_chain`.
- Deprecate `Error::root_cause` in favor of newly added `Error::find_root_cause`.
- Add `Error::iter_causes`.
- Implement `Error: AsRef<Fail>`.
- Fix `Debug` implementation of `SyncFailure`.

# Version 0.1.1

- Add a `Causes` iterator, which iterates over the causes of a failure. Can be
Expand Down