Releases: rust-lang/futures-rs
Releases · rust-lang/futures-rs
0.3.1
0.3.0
- Stable release along with stable async/await!
- Added async/await to default features (#1953)
- Changed
Spawntrait andFuturesUnordered::pushto take&self(#1950) - Moved
SpawnandFutureObjout offutures-coreand into `futures-task (#1925) - Changed case convention for feature names (#1937)
- Added
executorfeature (#1949) - Moved
copy_into/copy_buf_into(#1948) - Changed
SinkExt::send_allto accept aTryStream(#1946) - Removed
ThreadPool::run(#1944) - Changed to use our own definition of
io::Cursor(#1943) - Removed
BufReader::poll_seek_relative(#1938) - Changed
skipto take ausizerather thanu64(#1931) - Removed
Streamimpl forVecDeque(#1930) - Renamed
Peekable::peektopoll_peek(#1928) - Added immutable iterators for
FuturesUnordered(#1922) - Made
ThreadPooloptional (#1910) - Renamed
oneshot::Sender::poll_canceltopoll_canceled(#1908) - Added some missing
Cloneimplementations - Documentation fixes
0.3.0-alpha.19
- Stabilized the
async-awaitfeature (#1816) - Made
async-awaitfeature no longer requirestdfeature (#1815) - Updated
proc-macro2,syn, andquoteto 1.0 (#1798) - Exposed unstable
BiLock(#1827) - Renamed "nightly" feature to "unstable" (#1823)
- Moved to our own
io::{Empty, Repeat, Sink}(#1829) - Made
AsyncRead::initializerAPI unstable (#1845) - Moved the
Nevertype fromfutures-coretofutures-util(#1836) - Fixed use-after-free on panic in
ArcWake::wake_by_ref(#1797) - Added
AsyncReadExt::chain(#1810) - Added
Stream::size_hint(#1853) - Added some missing
FusedFuture(#1868) andFusedStreamimplementations (#1831) - Added a
Fromimpl forMutex(#1839) - Added
Mutex::{get_mut, into_inner}(#1839) - Re-exported
TryConcatandTryFilter(#1814) - Lifted
Unpinbound and implementedAsyncBufReadforio::Take(#1821) - Lifted
Unpinbounds onget_pin_mut(#1820) - Changed
SendAllto flush theSinkwhen the sourceStreamis pending (#1877) - Set default threadpool size to one if
num_cpus::get()returns zero (#1835) - Removed dependency on
randby using our own PRNG (#1837) - Removed
futures-coredependency fromfutures-sink(#1832)
0.1.29
0.3.0-alpha.18
- Rewrote
join!andtry_join!as procedural macros to allow passing expressions (#1783) - Banned manual implementation of
TryFutureandTryStreamfor forward compatibility. See #1776 for more details. (#1777) - Changed
AsyncReadExt::read_to_endto return the total number of bytes read (#1721) - Changed
ArcWake::into_wakerto a free functionwaker(#1676) - Supported trailing commas in macros (#1733)
- Removed futures-channel dependency from futures-executor (#1735)
- Supported
channel::oneshotin no_std environment (#1749) - Added
Futurebounds toFusedFuture(#1779) - Added
Streambounds toFusedStream(#1779) - Changed
StreamExt::boxedto returnBoxStream(#1780) - Added
StreamExt::boxed_local(#1780) - Added
AsyncReadExt::read_to_string(#1721) - Implemented
AsyncWriteforIntoAsyncRead(#1734) - Added get_ref, get_mut and into_inner methods to
Compat01As03andCompat01As03Sink(#1705) - Added
ThreadPool::{spawn_ok, spawn_obj_ok}(#1750) - Added
TryStreamExt::try_flatten(#1731) - Added
FutureExt::now_or_never(#1747)
0.3.0-alpha.17
- Removed
try_ready!macro in favor ofready!(..)?. (#1602) - Removed
io::Window::{set_start, set_end}in favor ofio::Window::set. (#1667) - Re-exported
pin_utils::pin_mut!macro. (#1686) - Made all extension traits unnamed in the prelude. (#1662)
- Allowed
?Sizedtypes in some methods and structs. (#1647) - Added
Send + Syncbounds toArcWaketrait to fix unsoundness. (#1654) - Changed
AsyncReadExt::copy_intoto consumeself. (#1674) - Renamed
future::emptytopending. (#1689) - Added
#[must_use]to some combinators. (#1600) - Added
AsyncWriteExt::{write, write_vectored}. (#1612) - Added
AsyncReadExt::read_vectored. (#1612) - Added
TryFutureExt::try_poll_unpin. (#1613) - Added
TryFutureExt::try_flatten_stream. (#1618) - Added
io::BufWriter. (#1608) - Added
Sender::same_receiverandUnboundedSender::same_receiver. (#1617) - Added
future::try_select. (#1622) - Added
TryFutureExt::{inspect_ok, inspect_err}. (#1630) - Added
Compat::get_ref. (#1648) - Added
io::Window::set. (#1667) - Added
AsyncWriteExt::into_sink. (#1675) - Added
AsyncBufReadExt::copy_buf_into. (#1674) - Added
stream::pending. (#1689) - Implemented
std::error::ErrorforSpawnError. (#1604) - Implemented
StreamforFlattenSink. (#1651) - Implemented
SinkforTryFlattenStream. (#1651) - Implemented
AsyncRead,AsyncWrite,AsyncSeek,AsyncBufRead,FusedFutureandFusedStreamfor Either. (#1695) - Replaced empty enums with
Nevertype, an alias forcore::convert::Infallible. - Removed the
futures-channeldependency fromfutures-sinkand makefutures-sink
an optional dependency offutures-channel. - Renamed
Sink::SinkErrortoSink::Error. - Made a number of dependencies of
futures-utiloptional.
0.1.28
0.3.0-alpha.16
- Updated to new nightly
async_await. - Changed
AsyncRead::poll_vectored_readandAsyncWrite::poll_vectored_writeto use
stabilizedstd::io::{IoSlice, IoSliceMut}instead ofiovec::IoVec, and renamed to
AsyncRead::poll_read_vectoredandAsyncWrite::poll_write_vectored. - Added
LocalBoxFutureandFutureExt::boxed_local. - Added
TryStreamExt::{try_filter, inspect_ok, inspect_err}. - Added
try_future::select_ok. - Added
AsyncBufReadExt::{read_line, lines}. - Added
io::BufReader.
0.1.27
0.3.0-alpha.15
0.3.0-alpha.15 - 2019-4-26
- Updated to stabilized
futures_api. - Removed
StreamObj, cautioned against usage ofFutureObj. - Changed
StreamExt::selectto a function. - Added
AsyncBufReadandAsyncSeektraits. - Expanded trait impls to include more pinned pointers and ?Sized types.
- Added
future::Fuse::terminatedconstructor. - Added
never_errorcombinator. - Added
StreamExt::enumerate. - Re-added
TryStreamExt::{and_then, or_else}. - Added functions to partially progress a local pool.
- Changed to use our own
Eithertype rather than the one from theeithercrate.