async-task/CHANGELOG.md

113 lines
2.4 KiB
Markdown
Raw Permalink Normal View History

# Version 4.7.1
- Improve the panic message for when a task is polled after completion. (#73)
# Version 4.7.0
- Add `from_raw` and `into_raw` functions for `Runnable` to ease passing it
across an FFI boundary. (#65)
# Version 4.6.0
- Bump MSRV to 1.57. (#63)
- Task layout computation failures are now a compile-time error instead of a
runtime abort. (#63)
# Version 4.5.0
- Add a `portable-atomic` feature that enables the usage of fallback primitives for CPUs without atomics. (#58)
# Version 4.4.1
- Clarify safety documentation for `spawn_unchecked`. (#49)
# Version 4.4.0
- Ensure that the allocation doesn't exceed `isize::MAX` (#32)
- Add `FallibleTask::is_finished()` (#34)
- Add a metadata generic parameter to tasks (#33)
- Add panic propagation to tasks (#37)
- Add a way to tell if the task was woken while running from the schedule function (#42)
2022-07-07 16:06:47 +00:00
# Version 4.3.0
- Bump MSRV to Rust 1.47. (#30)
- Evaluate the layouts for the tasks at compile time. (#30)
- Add layout_info field to TaskVTable so that debuggers can decode raw tasks. (#29)
2022-03-04 15:44:53 +00:00
# Version 4.2.0
- Add `Task::is_finished`. (#19)
2022-01-26 03:04:23 +00:00
# Version 4.1.0
- Add `FallibleTask`. (#21)
2020-10-18 22:05:35 +00:00
# Version 4.0.3
- Document the return value of `Runnable::run()` better.
2020-09-22 19:42:28 +00:00
# Version 4.0.2
- Nits in the docs.
2020-09-21 10:48:23 +00:00
# Version 4.0.1
- Nits in the docs.
2020-09-20 00:36:17 +00:00
# Version 4.0.0
- Rename `Task` to `Runnable`.
- Rename `JoinHandle` to `Task`.
- Cancel `Task` on drop.
- Add `Task::detach()` and `Task::cancel()`.
- Add `spawn_unchecked()`.
2020-04-15 16:37:46 +00:00
# Version 3.0.0
- Use `ThreadId` in `spawn_local` because OS-provided IDs can get recycled.
- Add `std` feature to `Cargo.toml`.
2020-04-14 18:54:21 +00:00
# Version 2.1.1
- Allocate large futures on the heap.
2020-04-14 12:38:57 +00:00
# Version 2.1.0
2020-04-14 12:41:07 +00:00
- `JoinHandle` now only evaluates after the task's future has been dropped.
2020-04-14 12:38:57 +00:00
2020-04-12 17:51:09 +00:00
# Version 2.0.0
- Return `true` in `Task::run()`.
2020-02-03 14:18:01 +00:00
# Version 1.3.1
- Make `spawn_local` available only on unix and windows.
2020-01-24 23:18:16 +00:00
# Version 1.3.0
- Add `waker_fn`.
2020-01-10 20:41:03 +00:00
# Version 1.2.1
- Add the `no-std` category to the package.
2020-01-07 21:46:57 +00:00
# Version 1.2.0
- The crate is now marked with `#![no_std]`.
- Add `Task::waker` and `JoinHandle::waker`.
- Add `Task::into_raw` and `Task::from_raw`.
2019-12-31 00:41:10 +00:00
# Version 1.1.1
- Fix a use-after-free bug where the schedule function is dropped while running.
2019-12-24 19:05:54 +00:00
# Version 1.1.0
2020-04-14 12:38:57 +00:00
- If a task is dropped or canceled outside the `run` method, it gets re-scheduled.
2019-12-24 19:05:54 +00:00
- Add `spawn_local` constructor.
2019-08-16 14:48:19 +00:00
# Version 1.0.0
- Initial release