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
Spawn
trait andFuturesUnordered::push
to take&self
(#1950) - Moved
Spawn
andFutureObj
out offutures-core
and into `futures-task (#1925) - Changed case convention for feature names (#1937)
- Added
executor
feature (#1949) - Moved
copy_into
/copy_buf_into
(#1948) - Changed
SinkExt::send_all
to accept aTryStream
(#1946) - Removed
ThreadPool::run
(#1944) - Changed to use our own definition of
io::Cursor
(#1943) - Removed
BufReader::poll_seek_relative
(#1938) - Changed
skip
to take ausize
rather thanu64
(#1931) - Removed
Stream
impl forVecDeque
(#1930) - Renamed
Peekable::peek
topoll_peek
(#1928) - Added immutable iterators for
FuturesUnordered
(#1922) - Made
ThreadPool
optional (#1910) - Renamed
oneshot::Sender::poll_cancel
topoll_canceled
(#1908) - Added some missing
Clone
implementations - Documentation fixes
0.3.0-alpha.19
- Stabilized the
async-await
feature (#1816) - Made
async-await
feature no longer requirestd
feature (#1815) - Updated
proc-macro2
,syn
, andquote
to 1.0 (#1798) - Exposed unstable
BiLock
(#1827) - Renamed "nightly" feature to "unstable" (#1823)
- Moved to our own
io::{Empty, Repeat, Sink}
(#1829) - Made
AsyncRead::initializer
API unstable (#1845) - Moved the
Never
type fromfutures-core
tofutures-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) andFusedStream
implementations (#1831) - Added a
From
impl forMutex
(#1839) - Added
Mutex::{get_mut, into_inner}
(#1839) - Re-exported
TryConcat
andTryFilter
(#1814) - Lifted
Unpin
bound and implementedAsyncBufRead
forio::Take
(#1821) - Lifted
Unpin
bounds onget_pin_mut
(#1820) - Changed
SendAll
to flush theSink
when the sourceStream
is pending (#1877) - Set default threadpool size to one if
num_cpus::get()
returns zero (#1835) - Removed dependency on
rand
by using our own PRNG (#1837) - Removed
futures-core
dependency 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
TryFuture
andTryStream
for forward compatibility. See #1776 for more details. (#1777) - Changed
AsyncReadExt::read_to_end
to return the total number of bytes read (#1721) - Changed
ArcWake::into_waker
to a free functionwaker
(#1676) - Supported trailing commas in macros (#1733)
- Removed futures-channel dependency from futures-executor (#1735)
- Supported
channel::oneshot
in no_std environment (#1749) - Added
Future
bounds toFusedFuture
(#1779) - Added
Stream
bounds toFusedStream
(#1779) - Changed
StreamExt::boxed
to returnBoxStream
(#1780) - Added
StreamExt::boxed_local
(#1780) - Added
AsyncReadExt::read_to_string
(#1721) - Implemented
AsyncWrite
forIntoAsyncRead
(#1734) - Added get_ref, get_mut and into_inner methods to
Compat01As03
andCompat01As03Sink
(#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
?Sized
types in some methods and structs. (#1647) - Added
Send + Sync
bounds toArcWake
trait to fix unsoundness. (#1654) - Changed
AsyncReadExt::copy_into
to consumeself
. (#1674) - Renamed
future::empty
topending
. (#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_receiver
andUnboundedSender::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::Error
forSpawnError
. (#1604) - Implemented
Stream
forFlattenSink
. (#1651) - Implemented
Sink
forTryFlattenStream
. (#1651) - Implemented
AsyncRead
,AsyncWrite
,AsyncSeek
,AsyncBufRead
,FusedFuture
andFusedStream
for Either. (#1695) - Replaced empty enums with
Never
type, an alias forcore::convert::Infallible
. - Removed the
futures-channel
dependency fromfutures-sink
and makefutures-sink
an optional dependency offutures-channel
. - Renamed
Sink::SinkError
toSink::Error
. - Made a number of dependencies of
futures-util
optional.
0.1.28
0.3.0-alpha.16
- Updated to new nightly
async_await
. - Changed
AsyncRead::poll_vectored_read
andAsyncWrite::poll_vectored_write
to use
stabilizedstd::io::{IoSlice, IoSliceMut}
instead ofiovec::IoVec
, and renamed to
AsyncRead::poll_read_vectored
andAsyncWrite::poll_write_vectored
. - Added
LocalBoxFuture
andFutureExt::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::select
to a function. - Added
AsyncBufRead
andAsyncSeek
traits. - Expanded trait impls to include more pinned pointers and ?Sized types.
- Added
future::Fuse::terminated
constructor. - Added
never_error
combinator. - Added
StreamExt::enumerate
. - Re-added
TryStreamExt::{and_then, or_else}
. - Added functions to partially progress a local pool.
- Changed to use our own
Either
type rather than the one from theeither
crate.