Skip to content

Releases: rust-lang/futures-rs

0.3.10

13 Jan 11:37
60b02d2
Compare
Choose a tag to compare
  • Fixed type-inference in sink::unfold by specifying more of its types (breaking change -- see #2311)

0.3.9

08 Jan 04:38
1661bad
Compare
Choose a tag to compare
  • Significantly improved compile time when async-await crate feature is disabled (#2273)
  • Added stream::repeat_with (#2279)
  • Added StreamExt::unzip (#2263)
  • Added sink::unfold (#2268)
  • Added SinkExt::feed (#2155)
  • Implemented FusedFuture for oneshot::Receiver (#2300)
  • Implemented Clone for sink::With (#2290)
  • Re-exported MapOkOrElse, MapInto, OkInto, TryFlatten, WriteAllVectored (#2275)

0.3.8

09 Nov 18:21
Compare
Choose a tag to compare
  • Switch proc-macros to use native #[proc_macro] at Rust 1.45+ (#2243)
  • Add WeakShared (#2169)
  • Add TryStreamExt::try_buffered (#2245)
  • Add StreamExt::cycle (#2252)
  • Implemented Clone for stream::{Empty, Pending, Repeat, Iter} (#2248, #2252)
  • Fix panic in some TryStreamExt combinators (#2250)

0.3.7

23 Oct 18:08
Compare
Choose a tag to compare
  • Fixed unsoundness in MappedMutexGuard (#2240)
  • Re-exported TakeUntil (#2235)
  • futures-test: Prevent double panic in panic_waker (#2236)

0.3.6

05 Oct 19:08
Compare
Choose a tag to compare
  • Fixed UB due to missing 'static on task::waker (#2206)
  • Added AsyncBufReadExt::fill_buf (#2225)
  • Added TryStreamExt::try_take_while (#2212)
  • Added is_connected_to method to mpsc::{Sender, UnboundedSender} (#2179)
  • Added is_connected_to method to oneshot::Sender (#2158)
  • Implement FusedStream for FuturesOrdered (#2205)
  • Fixed documentation links
  • Improved documentation
  • futures-test: Added track_closed method to AsyncWriteTestExt and SinkTestExt (#2159)
  • futures-test: Implemented more traits for InterleavePending (#2208)
  • futures-test: Implemented more traits for AssertUnmoved (#2208)

0.3.5

08 May 23:13
Compare
Choose a tag to compare
  • Added StreamExt::flat_map.
  • Added StreamExt::ready_chunks.
  • Added *_unpin methods to SinkExt.
  • Added a cancellation() future to oneshot::Sender.
  • Added reunite method to ReadHalf and WriteHalf.
  • Added Extend implementations for Futures(Un)Ordered and SelectAll.
  • Added support for reexporting the join! and select! macros.
  • Added no_std support for the pending! and poll! macros.
  • Added Send and Sync support for AssertUnmoved.
  • Fixed a bug where Shared wasn't relinquishing control to the executor.
  • Removed the Send bound on the output of RemoteHandle.
  • Relaxed bounds on FuturesUnordered.
  • Reorganized internal tests to work under different --features.
  • Reorganized the bounds on StreamExt::forward.
  • Removed and replaced a large amount of internal unsafe.

0.3.4

07 Feb 01:57
Compare
Choose a tag to compare
  • Fixed missing Drop for UnboundedReceiver (#2064)

0.3.3

05 Feb 00:54
Compare
Choose a tag to compare
  • Fixed compatibility issue with pinned facade (#2062)

0.3.2

04 Feb 00:13
Compare
Choose a tag to compare
  • Improved buffering performance of SplitSink (#1969)
  • Added select_biased! macro (#1976)
  • Added hash_receiver method to mpsc channel (#1962)
  • Added stream::try_unfold (#1977)
  • Fixed bug with zero-size buffers in vectored IO (#1998)
  • AtomicWaker::new() is now const fn (#2007)
  • Fixed bug between threadpool and user park/unparking (#2010)
  • Added stream::Peakable::peek (#2021)
  • Added StreamExt::scan (#2044)
  • Added impl of AsyncRead/Write for BufReader/Writer (#2033)
  • Added impl of Spawn and LocalSpawn for Arc<impl Spawn and Rc<impl Spawn> (#2039)
  • Fixed Sync issues with FuturesUnordered (#2054)
  • Added into_inner method for future::Ready (#2055)
  • Added MappedMutexGuard API (#2056)
  • Mitigated starvation issues in FuturesUnordered (#2049)
  • Added TryFutureExt::map_ok_or_else (#2058)

0.3.1

07 Nov 18:27
Compare
Choose a tag to compare
  • Fix signature of LocalSpawn trait (breaking change -- see #1959)