Skip to content

Releases: rust-lang/futures-rs

0.3.31

05 Oct 07:08
Compare
Choose a tag to compare
  • Fix use after free of task in FuturesUnordered when dropped future panics (#2886)
  • Fix soundness bug in task::waker_ref (#2830)
    This is a breaking change but allowed because it is soundness bug fix.
  • Fix bugs in AsyncBufRead::read_line and AsyncBufReadExt::lines (#2884)
  • Fix parsing issue in select!/select_biased! (#2832)
    This is technically a breaking change as it will now reject a very odd undocumented syntax that was previously accidentally accepted.
  • Work around issue due to upstream Waker::will_wake change (#2865)
  • Add stream::Iter::{get_ref,get_mut,into_inner} (#2875)
  • Add future::AlwaysReady (#2825)
  • Relax trait bound on non-constructor methods of io::{BufReader,BufWriter} (#2848)

0.3.30

24 Dec 14:41
Compare
Choose a tag to compare
  • Add {BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of (#2797)
  • Fix panic in FuturesUnordered::clear (#2809)
  • Fix panic in AsyncBufReadExt::fill_buf (#2801, #2812)
  • Improve support for targets without atomic CAS (#2811)
  • Remove build scripts (#2811)

0.3.29

26 Oct 14:25
Compare
Choose a tag to compare
  • Add TryStreamExt::try_ready_chunks (#2757)
  • Add TryStreamExt::{try_all,try_any} (#2783)
  • Add UnboundedSender::{len,is_empty} (#2750)
  • Fix Sync impl of FuturesUnordered (#2788)
  • Fix infinite loop caused by invalid UTF-8 bytes (#2785)
  • Fix build error with -Z minimal-versions (#2761)

0.3.28

30 Mar 17:28
Compare
Choose a tag to compare
  • Update to syn 2. This raises MSRV of utility crates to 1.56. (#2730, #2733)
  • Fix bug in FlattenUnordered (#2726, #2728)

0.3.27

11 Mar 16:18
Compare
Choose a tag to compare
  • Add TryFlattenUnordered (#2577, #2590, #2606, #2607)
  • Add AbortHandle::is_aborted (#2710)
  • Add AbortRegistration::handle (#2712)
  • Make BiLock strict-provenance compatible (#2716)

0.3.26

30 Jan 16:16
Compare
Choose a tag to compare
  • Add Either::as_pin_mut and Either::as_pin_ref (#2691)
  • Add Shared::ptr_eq and Shared::ptr_hash (#2691)
  • Implement FusedStream for Buffered (#2676)
  • Implement FusedStream for all streams in ReadyChunks (#2693)
  • Fix bug in FuturesOrdered::push_front (#2664)
  • Remove Fut::Output: Clone bounds from some Shared methods (#2662)
  • Remove T: Debug bounds from Debug implementations of mpsc and oneshot types (#2666, #2667)

0.3.25

20 Oct 03:21
Compare
Choose a tag to compare
  • Fix soundness issue in join! and try_join! macros (#2649)
  • Implement Clone for sink::Drain (#2650)

0.3.24

29 Aug 13:44
Compare
Choose a tag to compare
  • Fix incorrect termination of select_with_strategy streams (#2635)

0.3.23

14 Aug 12:41
Compare
Choose a tag to compare
  • Work around MSRV increase due to a cargo bug.

0.3.22

14 Aug 12:41
Compare
Choose a tag to compare
  • Fix Sync impl of BiLockGuard (#2570)
  • Fix partial iteration in FuturesUnordered (#2574)
  • Fix false detection of inner panics in Shared (#2576)
  • Add Mutex::lock_owned and Mutex::try_lock_owned (#2571)
  • Add io::copy_buf_abortable (#2507)
  • Remove Unpin bound from TryStreamExt::into_async_read (#2599)
  • Make run_until_stalled handle self-waking futures (#2593)
  • Use FuturesOrdered in try_join_all (#2556)
  • Fix orderings in LocalPool waker (#2608)
  • Fix stream::Chunk adapters size hints (#2611)
  • Add push_front and push_back to FuturesOrdered (#2591)
  • Deprecate FuturesOrdered::push in favor of FuturesOrdered::push_back (#2591)
  • Performance improvements (#2583, #2626)
  • Documentation improvements (#2579, #2604, #2613)