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

Commit 1031a77

Browse files
qnighymitsuhiko
authored andcommitted
Add release notes for 0.1.2. (#241)
1 parent 501e06d commit 1031a77

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

RELEASES.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# Version 0.1.2
2+
3+
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.
4+
5+
- Fix `failure_derive` to work with Rust 2018.
6+
- Add `#[fail(cause)]` that works similarly with `#[cause]`. The new form is preferred.
7+
- Fix `"backtrace"` feature to work without `"std"` feature.
8+
- Add `Compat::get_ref`.
9+
- Add `Fallible`.
10+
- Deprecate `Fail::causes` and `<dyn Fail>::causes` in favor of newly added `<dyn Fail>::iter_causes`.
11+
- Deprecate `Fail::root_cause` and `<dyn Fail>::root_cause` in favor of newly added `<dyn Fail>::find_root_cause`.
12+
- Add `<dyn Fail>::iter_chain`.
13+
- Implement `Box<Fail>: Fail`.
14+
- Add `Error::from_boxed_compat`.
15+
- Deprecate `Error::cause` in favor of newly added `Error::as_fail`.
16+
- Deprecate `Error::causes` in favor of newly added `Error::iter_chain`.
17+
- Deprecate `Error::root_cause` in favor of newly added `Error::find_root_cause`.
18+
- Add `Error::iter_causes`.
19+
- Implement `Error: AsRef<Fail>`.
20+
- Fix `Debug` implementation of `SyncFailure`.
21+
122
# Version 0.1.1
223

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

0 commit comments

Comments
 (0)