mirror of
https://github.com/async-rs/async-std.git
synced 2025-12-25 06:23:07 +00:00
4.7 KiB
4.7 KiB
Changelog
All notable changes to async-std will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
0.99.8 - 2019-09-28
Added
- Added README to examples directory.
- Added concurrency documentation to the futures submodule.
- Added
io::Read::takemethod. - Added
io::Read::by_refmethod. - Added
io::Read::chainmethod.
Changed
- Pin futures-preview to
0.3.0-alpha.18, to avoid rustc upgrade problems. - Simplified extension traits using a macro.
- Use the
broadcastmodule withstd::sync::Mutex, reducing dependencies.
0.99.7 - 2019-09-26
Added
- Added
future::joinmacro as "unstable" - Added
future::selectmacro as "unstable" - Added
future::try_joinmacro as "unstable" - Added
future::try_selectmacro as "unstable" - Added
io::BufWriterstruct - Added
stream::Extendtrait - Added
stream::Stream::chainmethod - Added
stream::Stream::filtermethod - Added
stream::Stream::inspectmethod - Added
stream::Stream::skip_whilemethod - Added
stream::Stream::skipmethod - Added
stream::Stream::step_bymethod - Added
sync::Arcstruct from stdlib - Added
sync::Barrierstruct as "unstable" - Added
sync::Weakstruct from stdlib - Added
task::readymacro as "unstable"
Changed
- Correctly marked the
pinsubmodule as "unstable" in the docs - Updated tutorial to have certain functions suffixed with
_loop iotraits are now re-exports of futures-rs types, allowing them to be implementedstreamtraits are now re-exports of futures-rs types, allowing them to be implementedprelude::*now needs to be in scope for functionsioandstreamtraits to work
0.99.6 - 2019-09-19
Added
- Added
stream::Stream::collectas "unstable" - Added
stream::Stream::enumerate - Added
stream::Stream::fuse - Added
stream::Stream::fold - Added
stream::Stream::scan - Added
stream::Stream::zip - Added
stream::joinmacro as "unstable" - Added
stream::DoubleEndedStreamas "unstable" - Added
stream::FromStreamtrait as "unstable" - Added
stream::IntoStreamtrait as "unstable" - Added
io::Cursoras "unstable" - Added
io::BufRead::consumemethod - Added
io::repeat - Added
io::Sliceandio::SliceMut - Added documentation for feature flags
- Added
pinsubmodule as "unstable" - Added the ability to
collecta stream ofResult<T, E>s into aResult<impl FromStream<T>, E>
Changed
- Refactored the scheduling algorithm of our executor to use work stealing
- Refactored the network driver, removing 400 lines of code
- Removed the
Sendbound fromtask::block_on - Removed
Unpinbound fromimpl<T: futures::stream::Stream> Stream for T
0.99.5 - 2019-09-12
Added
- Added tests for
io::timeout - Added
io::BufRead::fill_buf, anasync fncounterpart topoll_fill_buf - Added
fs::create_dir_all - Added
future::timeout, a free function to time out futures after a threshold - Added
io::prelude - Added
net::ToSocketAddrs, a non-blocking version of std'sToSocketAddrs - Added
stream::Stream::all - Added
stream::Stream::filter_map - Added
stream::Stream::find_map - Added
stream::Stream::find - Added
stream::Stream::min_by - Added
stream::Stream::nth
Changed
- Polished the text and examples of the tutorial
cargo fmton all examples- Simplified internals of
TcpStream::connect_to - Modularized our CI setup, enabled a rustfmt fallback, and improved caching
- Reduced our dependency on the
futures-rscrate, improving compilation times - Split
io::Read,io::Write,io::BufRead, andstream::Streaminto multiple files fs::Filenow flushes more often to prevent flushes duringseek- Updated all dependencies
- Fixed a bug in the conversion of
Fileinto raw handle - Fixed compilation errors on the latest nightly
Removed
0.99.4 - 2019-08-21
Changes
- Many small changes in the book, mostly typos
- Documentation fixes correcting examples
- Now works with recent nightly with stabilised async/await (> 2019-08-21)
0.99.3 - 2019-08-16
- Initial beta release