Releases: loopystudios/bevy_async_task
Releases · loopystudios/bevy_async_task
v0.11.0
0.11.0 - 2025-12-12
- This release supports Bevy 0.17.
Added
- Added
AsyncStreamandTaskStream, functional equivalents ofAsyncTaskandTaskRunnerfor streams (aka async iterators). See the streaming example. - Added
.forget()toTaskRunnerandTimedTaskRunner. - Added
.forget_all()toTaskPoolandTimedTaskPool.
Removed
- Removed
DereffromTaskRunnerandTimedTaskRunner. - Removed
DerefMutfromTaskRunnerandTimedTaskRunner.
Fixed
- It was possible to use a duration over
i32::MAXin millis forAsyncTask::with_duration(&mut self).
v0.10.0
0.10.0 - 2025-11-28
- This release supports Bevy 0.17.
Added
- Added
bevy_async_task::MAX_TIMEOUT - Added
bevy_async_task::DEFAULT_TIMEOUT
Changed
- Removed
bevy_async_task::Duration. Usecore::time::Durationinstead. - The default timeout for timed tasks, was changed from
u16::MAXmillis (~65 seconds) to 60 seconds. - The maximum timeout allowed is now
i32::MAX. This is now enforced with a panic.
Fixed
- A
time not implemented on this platformpanic due towasm-bindgenfeature not being included for thefutures-timercrate. You can remedy this yourself for older versions ofbevy_async_taskby includingfutures-timer = { version = "3.0.3", features = ["wasm-bindgen"] }in your Cargo.toml file.
v0.9.0
v0.8.1
0.8.1
Fixed
bevy_async_taskno longer uses the entire bevy dependency, just the relevant crates directly (e.g.bevy_ecs).
Full Changelog: v0.8.0...v0.8.1
v0.8.0
0.8.0
Added
- Exposed
timeout,sleep, andpendingutility functions. - Added
AsyncTask::sleep
Full Changelog: v0.7.0...v0.8.0
v0.7.0
0.7.0
Changed
- The
TaskErrorenum has been replaced with aTimeoutErrorstruct.
Fixed
- A panic was fixed on WASM when the timeout exceeded numerical bounds.
Full Changelog: v0.6.0...v0.7.0
v0.6.0
v0.5.0
0.5.0
Changed
- Updated to rust 2024 edition.
- Split
AsyncTaskRunnerintoTimedTaskRunnerandTaskRunner. The timed variant polls timeouts. - Split
AsyncTaskPoolintoTimedTaskPoolandTaskPool. The timed variant polls timeouts. AsyncTask::buildhas been renamed toAsyncTask::split.
Full Changelog: v0.4.1...v0.5.0