Releases: tokio-rs/tokio
Releases · tokio-rs/tokio
Tokio v1.31.0
Tokio v1.30.0
1.30.0 (August 9, 2023)
This release bumps the MSRV of Tokio to 1.63. (#5887)
Changed
- tokio: reduce LLVM code generation (#5859)
- io: support
--cfg mio_unsupported_force_poll_poll
flag (#5881) - sync: make
const_new
methods always available (#5885) - sync: avoid false sharing in mpsc channel (#5829)
- rt: pop at least one task from inject queue (#5908)
Added
- sync: add
broadcast::Sender::new
(#5824) - net: implement
UCred
for espidf (#5868) - fs: add
File::options()
(#5869) - time: implement extra reset variants for
Interval
(#5878) - process: add
{ChildStd*}::into_owned_{fd, handle}
(#5899)
Removed
Documented
- sync: mention lagging in docs for
broadcast::send
(#5820) - runtime: expand on sharing runtime docs (#5858)
- io: use vec in example for
AsyncReadExt::read_exact
(#5863) - time: mark
Sleep
as!Unpin
in docs (#5916) - process: fix
raw_arg
not showing up in docs (#5865)
Unstable
Tokio v1.29.1
Fixed
- rt: fix nesting two
block_in_place
with ablock_on
between (#5837)
Tokio v1.29.0
Technically a breaking change, the Send
implementation is removed from
runtime::EnterGuard
. This change fixes a bug and should not impact most users.
Breaking
- rt:
EnterGuard
should not beSend
(#5766)
Fixed
- fs: reduce blocking ops in
fs::read_dir
(#5653) - rt: fix possible starvation (#5686, #5712)
- rt: fix stacked borrows issue in
JoinSet
(#5693) - rt: panic if
EnterGuard
dropped incorrect order (#5772) - time: do not overflow to signal value (#5710)
- fs: wait for in-flight ops before cloning
File
(#5803)
Changed
Added
- net: add uds doc alias for unix sockets (#5659)
- rt: add metric for number of tasks (#5628)
- sync: implement more traits for channel errors (#5666)
- net: add nodelay methods on TcpSocket (#5672)
- sync: add
broadcast::Receiver::blocking_recv
(#5690) - process: add
raw_arg
method toCommand
(#5704) - io: support PRIORITY epoll events (#5566)
- task: add
JoinSet::poll_join_next
(#5721) - net: add support for Redox OS (#5790)
Unstable
Tokio v1.28.2
1.28.2 (May 28, 2023)
Forward ports 1.18.6 changes.
Fixed
- deps: disable default features for mio (#5728)
Tokio v1.25.1
1.25.1 (May 28, 2023)
Forward ports 1.18.6 changes.
Fixed
- deps: disable default features for mio (#5728)
Tokio v1.20.5
1.20.5 (May 28, 2023)
Forward ports 1.18.6 changes.
Fixed
- deps: disable default features for mio (#5728)
Tokio v1.18.6
Tokio v1.28.1
1.28.1 (May 10th, 2023)
This release fixes a mistake in the build script that makes AsFd
implementations unavailable on Rust 1.63. (#5677)
Tokio v1.28.0
1.28.0 (April 25th, 2023)
Added
- io: add
AsyncFd::async_io
(#5542) - io: impl BufMut for ReadBuf (#5590)
- net: add
recv_buf
forUdpSocket
andUnixDatagram
(#5583) - sync: add
OwnedSemaphorePermit::semaphore
(#5618) - sync: add
same_channel
to broadcast channel (#5607) - sync: add
watch::Receiver::wait_for
(#5611) - task: add
JoinSet::spawn_blocking
andJoinSet::spawn_blocking_on
(#5612)
Changed
- deps: update windows-sys to 0.48 (#5591)
- io: make
read_to_end
not grow unnecessarily (#5610) - macros: make entrypoints more efficient (#5621)
- sync: improve Debug impl for
RwLock
(#5647) - sync: reduce contention in
Notify
(#5503)
Fixed
- net: support
get_peer_cred
on AIX (#5065) - sync: avoid deadlocks in
broadcast
with custom wakers (#5578)