You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 16, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: RELEASES.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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
+
1
22
# Version 0.1.1
2
23
3
24
- Add a `Causes` iterator, which iterates over the causes of a failure. Can be
0 commit comments