Releases: tokio-rs/tokio
Releases Β· tokio-rs/tokio
Tokio v1.34.0
Tokio v1.33.0
1.33.0 (October 9, 2023)
Fixed
- io: mark
Interest::addwith#[must_use](#6037) - runtime: fix cache line size for RISC-V (#5994)
- sync: prevent lock poisoning in
watch::Receiver::wait_for(#6021) - task: fix
spawn_localsource location (#5984)
Changed
- sync: use Acquire/Release orderings instead of SeqCst in
watch(#6018)
Added
- fs: add vectored writes to
tokio::fs::File(#5958) - io: add
Interest::removemethod (#5906) - io: add vectored writes to
DuplexStream(#5985) - net: add Apple tvOS support (#6045)
- sync: add
?Sizedbound to{MutexGuard,OwnedMutexGuard}::map(#5997) - sync: add
watch::Receiver::mark_unseen(#5962, #6014, #6017) - sync: add
watch::Sender::new(#5998) - sync: add const fn
OnceCell::from_value(#5903)
Removed
- remove unused
statsfeature (#5952)
Documented
- add missing backticks in code examples (#5938, #6056)
- fix typos (#5988, #6030)
- process: document that
Child::waitis cancel safe (#5977) - sync: add examples for
Semaphore(#5939, #5956, #5978, #6031, #6032, #6050) - sync: document that
broadcastcapacity is a lower bound (#6042) - sync: document that
const_newis not instrumented (#6002) - sync: improve cancel-safety documentation for
mpsc::Sender::send(#5947) - sync: improve docs for
watchchannel (#5954) - taskdump: render taskdump documentation on docs.rs (#5972)
Unstable
- taskdump: fix potential deadlock (#6036)
Tokio v1.25.2
Tokio v1.20.6
1.20.6 (September 22, 2023)
This is a backport of a change from 1.27.0.
Changed
- io: use
memchrfromlibc(#5960)
Tokio v1.32.0
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_pollflag (#5881) - sync: make
const_newmethods 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
UCredfor 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
Sleepas!Unpinin docs (#5916) - process: fix
raw_argnot showing up in docs (#5865)
Unstable
Tokio v1.29.1
Fixed
- rt: fix nesting two
block_in_placewith ablock_onbetween (#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:
EnterGuardshould 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
EnterGuarddropped 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_argmethod 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)