blocking/CHANGELOG.md

135 lines
2.5 KiB
Markdown
Raw Permalink Normal View History

# Version 1.6.0
- Panics that occur in `unblock`ed functions are now propagated to the calling
function. (#58)
- Add a new optional `tracing` feature. When enabled, this feature adds logging
to the implementation. By default it is disabled. (#60)
- Remove the unused `fastrand` dependency. (#61)
# Version 1.5.1
- Fix compilation on WebAssembly targets (#54).
# Version 1.5.0
- Bump MSRV to 1.61. (#50)
# Version 1.4.1
- Change the `error_span` in `grow_pool` into `trace_span`. (#45)
# Version 1.4.0
- Bump MSRV to 1.59. (#44)
- Remove the unused `memchr` dependency. (#38)
- Extract read/write pipes into the `piper` crate, which this crate now uses. (#37)
- Mark as `forbid(unsafe_code)` (#37).
- Set up logging using `tracing`. (#40)
2023-04-07 17:35:26 +00:00
# Version 1.3.1
- Gracefully handle the inability to spawn threads. (#31)
2022-11-26 08:21:28 +00:00
# Version 1.3.0
- Remove the dependency on the `once_cell` crate to restore the MSRV. (#30)
2022-03-12 15:19:30 +00:00
# Version 1.2.0
- Return `Task` from `unblock` instead of returning opaque type. (#25)
2021-11-10 10:24:38 +00:00
# Version 1.1.0
- Add an environment variable to customize the maximum number of threads. (#21)
2020-10-09 12:25:27 +00:00
# Version 1.0.2
- Update `futures-lite`.
2020-10-05 10:07:50 +00:00
# Version 1.0.1
- Use `async-task`.
2020-09-07 13:50:56 +00:00
# Version 1.0.0
- Stabilize.
2020-08-28 12:50:34 +00:00
# Version 0.6.1
- Add probabilistic yielding to improve fairness.
2020-08-26 21:07:21 +00:00
# Version 0.6.0
- Remove the `unblock!` macro.
2020-08-18 16:23:04 +00:00
# Version 0.5.2
- Implement `Sync` for `Unblock`.
2020-08-14 10:43:41 +00:00
# Version 0.5.1
- Add `Unblock::with_capacity()`.
- Add `unblock()` function.
- An optimization in task spawning.
2020-07-21 18:42:29 +00:00
# Version 0.5.0
- Simplify the API to just `unblock!` and `Unblock`.
2020-07-19 15:53:57 +00:00
# Version 0.4.7
- Simplify dependencies for faster compilation.
2020-06-17 21:03:27 +00:00
# Version 0.4.6
- Update doc comment on `Unblock`.
2020-06-17 20:54:20 +00:00
# Version 0.4.5
- Implement `AsyncSeek`/`Seek` for `Unblock`/`BlockOn`.
2020-05-30 23:27:54 +00:00
# Version 0.4.4
- Remove the initial poll in block_on that caused lost wakeups.
2020-05-23 13:12:22 +00:00
# Version 0.4.3
- Fix a bug where a closed `Receiver` causes panics.
2020-05-17 15:10:54 +00:00
# Version 0.4.2
- Start thread numbering from 1.
2020-05-17 15:08:33 +00:00
# Version 0.4.1
- Attach names to spawned threads.
2020-05-17 13:13:23 +00:00
# Version 0.4.0
- Remove `Future` impl for `Blocking`.
- Add `unblock()`.
- Rename `blocking!` to `unblock!`.
- Rename `Blocking` to `Unblock`.
- Add `block_on()`, `block_on!`, and `BlockOn`.
2020-05-11 10:08:14 +00:00
# Version 0.3.2
- Make `Blocking` implement `Send` in more cases.
2020-05-10 16:29:12 +00:00
# Version 0.3.1
- Add `Blocking::with_mut()`.
2020-05-10 11:21:27 +00:00
# Version 0.3.0
- Remove `Blocking::spawn()`.
- Implement `Future` for `Blocking` only when the inner type is a `FnOnce`.
2020-05-09 19:07:07 +00:00
# Version 0.2.0
- Initial version
# Version 0.1.0
- Reserved crate name