Skip to content

Commit 46e60ac

Browse files
committed
Add change log and bump to 0.3.1
1 parent fd96058 commit 46e60ac

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# 0.3.1
2+
3+
- [fix] Abort when panicking across the FFI boundary in corner cases. (#8)
4+
5+
`Future::drop`, panic payload from `Future::poll`, all `Waker` vtable functions `Waker::*` are
6+
are now wrapped in `std::panic::catch_unwind`. An `abort` will be emitted when panic occurs,
7+
since these functions are infallible and doesn't have sane value to return when panicking.
8+
A short message would be printed to stderr before `abort`.
9+
10+
- [fix] `FfiContext::with_context` is actually safe.
11+
12+
# 0.3.0
13+
14+
- [major] Introduce a Poll variant `Panicked` which returns when `Future::poll` panicked in order to
15+
propagate panic to the host.
16+
- [minor] Public `FfiPoll` and `FfiContext`.
17+
18+
# 0.2.1

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "async-ffi"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition = "2018"
55
description = "Make async Futures FFI compatible"
66
keywords = ["ffi", "async", "futures"]

0 commit comments

Comments
 (0)