All Versions
67
Latest Version
Avg Release Cycle
43 days
Latest Release
1004 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v0.3.0-alpha.5 Changes
September 03, 2018- โช Revert usage of cargo crate renaming feature
-
v0.3.0-alpha.4 Changes
September 02, 2018๐ Note: This release does not work, use
0.3.0-alpha.5
insteadfuture::ok
andfuture:err
to create result wrapping futures (similar tofuture::ready
)- โ
futures-test
crate with testing utilities StreamExt::boxed
combinator- Unsoundness fix for
FuturesUnordered
StreamObj
(similar toFutureObj
)- Code examples for compatibility layer functions
- ๐ Use cargo create renaming feature to import
[email protected]
for compatibility layer - ๐ Import pinning APIs from
core::pin
- ๐ท Run Clippy in CI only when it is available
-
v0.3.0-alpha.3 Changes
August 15, 2018- Compatibility with newest nightly
- Futures 0.1 compatibility layer including Tokio compatibility
- Added
spawn!
andspawn_with_handle!
macros - Added
SpawnExt
methodsspawn
andspawn_with_handle
- ๐ Extracted pin macros into
pin_utils
crate - โ Added
FutureExt
combinatorsboxed
andunit_error
- โ Remove prelude from all doc examples (The prelude is still recommended for usage in playground examples. However, for doc examples we determined that fully expanded imports are more helpful)
- ๐ Improvements to
select!
andjoin!
macros - โ Added
try_join!
macro - Added
StreamExt
combinator methodstry_join
andfor_each_concurrent
- Added
TryStreamExt
combinator methodsinto_stream
,try_filter_map
,try_skip_while
,try_for_each_concurrent
andtry_buffer_unordered
- ๐ Fix stream termination bug in
StreamExt::buffered
andStreamExt::buffer_unordered
- โ Added docs for
StreamExt::buffered
,StreamExt::buffer_unordered
- Added
task::local_waker_ref_from_nonlocal
andtask::local_waker_ref
functions - CI improvements
- Doc improvements to
StreamExt::select
-
v0.3.0-alpha.2 Changes
July 30, 2018- The changelog is back!
- โ Compatiblity with futures API in latest nightly
- Code examples and doc improvements
- IO: Methods of traits
AsyncReadExt
,AsyncWriteExt
- Future:
- Methods of trait
TryFutureExt
- Free functions
empty
,lazy
,maybe_done
,poll_fn
andready
- Type
FutureOption
- Macros
join!
,select!
andpending!
- Stream: Methods of trait
TryStreamExt
- IO: Methods of traits
- Added
TryStreamExt
combinatorsmap_ok
,map_err
,err_into
,try_next
andtry_for_each
- โ Added
Drain
, a sink that will discard all items given to it. Can be created using thedrain
function - ๐ Bugfix for the
write_all
combinator AsyncWrite
impl forCursor<T: AsMut<[u8]>>
FuturesUnordered
optimization: Since the context stores a&LocalWaker
reference, it was possible to avoid cloning theArc
of the waker- Futures-rs now uses Clippy
- We now use in-band lifetimes
- The
join!
andselect!
macros are now exposed by thefutures-preview
crate - The project logo was added to the
README.md
- ๐
sink::MapErr::get_pinned_mut
is now calledget_pin_mut
- We now use the unstable
use_extern_macros
feature for macro reexports - ๐ CI improvements: Named CI jobs, tests are now run on macOS and Linux, the docs are generated and Clippy needs to pass
- ๐
#[deny(warnings)]
was removed from all crates and is now only enforced in the CI - We now have a naming convention for type paramters:
Fut
future,F
function,St
stream,Si
sink,S
sink & stream,R
reader,W
writer,T
value,E
error - ๐จ "Task" is now defined as our term for "lightweight thread". The code of the executors and
FuturesUnordered
was refactored to align with this definition.
-
v0.3.0-alpha.19 Changes
September 26, 2019- 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) - 0๏ธโฃ 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)
- Stabilized the
-
v0.3.0-alpha.18 Changes
August 09, 2019- 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)
- Rewrote
-
v0.3.0-alpha.17 Changes
July 03, 2019- โ 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.
- โ Removed
-
v0.3.0-alpha.16 Changes
May 10, 2019- โก๏ธ 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
.
- โก๏ธ Updated to new nightly
-
v0.3.0-alpha.15 Changes
April 27, 20190.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.
- โก๏ธ Updated to stabilized
-
v0.3.0-alpha.14 Changes
April 15, 20190.3.0-alpha.14 - 2019-4-15
- โก๏ธ Updated to new nightly
futures_api
. - ๐ Changed
Forward
combinator to drop sink after completion, and allow!Unpin
Sink
s. - โ Added 0.1 <-> 0.3 compatability shim for
Sink
s. - ๐ Changed
Sink::Item
to a generic parameterSink<Item>
, allowingSink
s to accept
multiple different types, including types containing references. - ๐ Changed
AsyncRead
andAsyncWrite
to takePin<&mut Self>
rather than&mut self
. - โ Added support for
no_std
+alloc
use. - ๐ Changed
join
andtry_join
combinators to functions. - ๐ Fixed propagation of
cfg-target-has-atomic
feature.
- โก๏ธ Updated to new nightly