Skip to content

Releases: tokio-rs/tokio

Tokio 1.7.3

19 Jul 18:26
Compare
Choose a tag to compare

Fixes a missed edge case from 1.7.2.

Fixed

  • runtime: drop canceled future on next poll (#3965)

Tokio 1.6.4

19 Jul 18:33
Compare
Choose a tag to compare

Fixes a missed edge case from 1.6.3.

Fixed

  • runtime: drop canceled future on next poll (#3965)

Tokio 1.8.1

06 Jul 23:20
e0c527f
Compare
Choose a tag to compare

Forward ports 1.5.1 fixes.

Fixed

  • runtime: remotely abort tasks on JoinHandle::abort (#3934)

Tokio v1.7.2

06 Jul 22:34
998a125
Compare
Choose a tag to compare

Forward ports 1.5.1 fixes.

Fixed

  • runtime: remotely abort tasks on JoinHandle::abort (#3934)

Tokio v1.6.3

06 Jul 21:37
08337c5
Compare
Choose a tag to compare

Forward ports 1.5.1 fixes.

Fixed

  • runtime: remotely abort tasks on JoinHandle::abort (#3934)

Tokio v1.5.1

06 Jul 20:51
e385108
Compare
Choose a tag to compare

Fixed

  • runtime: remotely abort tasks on JoinHandle::abort (#3934)

tokio-1.8.0

02 Jul 20:22
677107d
Compare
Choose a tag to compare

1.8.0 (July 2, 2021)

Added

  • io: add get_{ref,mut} methods to AsyncFdReadyGuard and AsyncFdReadyMutGuard (#3807)
  • io: efficient implementation of vectored writes for BufWriter (#3163)
  • net: add ready/try methods to NamedPipe{Client,Server} (#3866, #3899)
  • sync: add watch::Receiver::borrow_and_update (#3813)
  • sync: implement From<T> for OnceCell<T> (#3877)
  • time: allow users to specify Interval behaviour when delayed (#3721)

Added (unstable)

  • rt: add tokio::task::Builder (#3881)

Fixed

  • net: handle HUP event with UnixStream (#3898)

Documented

  • doc: document cancellation safety (#3900)
  • time: add wait alias to sleep (#3897)
  • time: document auto-advancing behaviour of runtime (#3763)

Tokio v1.7.1

18 Jun 23:36
7601dc6
Compare
Choose a tag to compare

Fixed

  • runtime: fix early task shutdown during runtime shutdown (#3870)

Tokio v1.7.0

15 Jun 17:41
34c6a26
Compare
Choose a tag to compare

1.7.0 (June 15, 2021)

Added

  • net: add named pipes on windows (#3760)
  • net: add TcpSocket from std::net::TcpStream conversion (#3838)
  • sync: add receiver_count to watch::Sender (#3729)
  • sync: export sync::notify::Notified future publicly (#3840)
  • tracing: instrument task wakers (#3836)

Fixed

  • macros: suppress clippy::default_numeric_fallback lint in generated code (#3831)
  • runtime: immediately drop new tasks when runtime is shut down (#3752)
  • sync: deprecate unused mpsc::RecvError type (#3833)

Documented

  • io: clarify EOF condition for AsyncReadExt::read_buf (#3850)
  • io: clarify limits on return values of AsyncWrite::poll_write (#3820)
  • sync: add examples to Semaphore (#3808)

Tokio v1.6.2

15 Jun 00:53
dfe4013
Compare
Choose a tag to compare

Fixes

  • test: sub-ms time:advance regression introduced in 1.6 (#3852)