19 KiB
0.7.18 (January 4th, 2026)
Added
- io: add
tokio_util::io::simplex(#7565)
Changed
- task: remove unnecessary trait bounds on the
Debugimplementation forJoinQueueandAbortOnDropHandle(#7720)
Fixed
- deps: bump
tokioto1.44.0(#7733)
Documented
- io: document the default capacity of the
ReaderStream(#7147) - sync: fix a typo in the docs of
PollSender::is_closed(#7737)
0.7.17 (November 2nd, 2025)
The MSRV is increased to 1.71.
Added
- codec: add
{FramedRead,FramedWrite}::into_parts()(#7566) - time: add
#[track_caller]toFutureExt::timeout(#7588) - task: add
tokio_util::task::JoinQueue(#7590)
Changed
- codec: remove unnecessary trait bounds on all Framed constructors (#7716)
Documented
- time: clarify the cancellation safety of the
DelayQueue(#7564) - docs: fix some docs links (#7654)
- task: simplify the example of
TaskTracker(#7657) - task: clarify the behavior of several
spawn_localmethods (#7669)
0.7.16 (August 3rd, 2025)
Added
- codec: add
FramedWrite::with_capacity(#7493) - future: add adapters of
CancellationTokenforFutureExt(#7475) - sync: add
DropGuardRefforCancellationToken(#7407) - task: add
AbortOnDropHandle::detach(#7400) - task: stabilise
JoinMap(#7075)
Changed
- codec: also apply capacity to read buffer in
Framed::with_capacity(#7500) - sync: make
CancellationToken::run_until_cancelledbiased towards the token (#7462) - task: remove raw-entry feature from hashbrown dep (#7252)
Documented
- compat: add more documentation to
tokio_util::compat(#7279) - sync: improve docs of
tokio_util::sync::CancellationToken(#7408)
0.7.15 (April 23rd, 2025)
Fixed
- task: properly handle removed entries in
JoinMap(#7264)
Updated
- deps: update hashbrown to 0.15 (#7219)
Documented
- task: explicitly state that
TaskTrackerdoes not abort tasks on Drop (#7223)
0.7.14 (March 12th, 2025)
Added
- io: add
get_refandget_mutforSyncIoBridge(#7128) - io: add
read_exact_arc(#7165) - sync: add
CancellationToken::run_until_cancelled_owned(#7081)
Changed
- codec: optimize buffer reserve for
AnyDelimiterCodec::encode(#7188) - either: enable
Eitherto use underlyingAsyncWriteimplementation (#7025)
Fixed
Documented
- io: add docs for
SyncIoBridgewith examples and alternatives (#6815)
Internal
0.7.13 (December 4th, 2024)
Fixed
- codec: fix incorrect handling of invalid utf-8 in
LinesCodec::decode_eof(#7011)
0.7.12 (September 5th, 2024)
This release bumps the MSRV to 1.70. (#6645)
Added
- sync: Add
run_until_cancelledtotokio_util::sync::CancellationToken(#6618) - task: add
AbortOnDropHandletype (#6786)
Changed
- deps: no default features for hashbrown (#6541)
- time: wake
DelayQueuewhen removing last item (#6752) - deps: enable the full feature when compiled for the playground (#6818)
Documented
- task: fix typo in
TaskTrackerdocs (#6792)
0.7.11 (May 4th, 2024)
This release updates the MSRV to 1.63. (#6126)
Added
- either: implement
SinkforEither(#6239) - time: add
DelayQueue::deadline(#6163) - time: add
FutureExt::timeout(#6276)
Changed
- codec: assert compatibility between
LengthDelimitedCodecoptions (#6414) - codec: make tracing feature optional for codecs (#6434)
- io: add
T: ?Sizedtotokio_util::io::poll_read_buf(#6441) - sync: remove
'staticbound onimpl Sink for PollSender(#6397)
Documented
- codec: add examples for
FramedReadandFramedWrite(#6310) - codec: document cancel safety of
SinkExt::sendandStreamExt::next(#6417)
0.7.10 (October 24th, 2023)
Added
- task: add
TaskTracker(#6033) - task: add
JoinMap::keys(#6046) - io: implement
SeekforSyncIoBridge(#6058)
Changed
- deps: update hashbrown to 0.14 (#6102)
0.7.9 (September 20th, 2023)
Added
- io: add passthrough
AsyncRead/AsyncWritetoInspectWriter/InspectReader(#5739) - task: add spawn blocking methods to
JoinMap(#5797) - io: pass through traits for
StreamReaderandSinkWriter(#5941) - io: add
SyncIoBridge::into_inner(#5971)
Fixed
- sync: handle possibly dangling reference safely (#5812)
- util: fix broken intra-doc link (#5849)
- compat: fix clippy warnings (#5891)
Documented
- codec: Specify the line ending of
LinesCodec(#5982)
0.7.8 (April 25th, 2023)
This release bumps the MSRV of tokio-util to 1.56.
Added
- time: add
DelayQueue::peek(#5569)
Changed
This release contains one performance improvement:
- sync: try to lock the parent first in
CancellationToken(#5561)
Fixed
- time: fix panic in
DelayQueue(#5630)
Documented
- sync: improve
CancellationTokendoc on child tokens (#5632)
0.7.7 (February 12th, 2023)
This release reverts the removal of the Encoder bound on the FramedParts
constructor from #5280 since it turned out to be a breaking change. (#5450)
0.7.6 (February 10, 2023)
This release fixes a compilation failure in 0.7.5 when it is used together with Tokio version 1.21 and unstable features are enabled. (#5445)
0.7.5 (February 9, 2023)
This release fixes an accidental breaking change where UnwindSafe was
accidentally removed from CancellationToken.
Added
- codec: add
Framed::backpressure_boundary(#5124) - io: add
InspectReaderandInspectWriter(#5033) - io: add
tokio_util::io::{CopyToBytes, SinkWriter}(#5070, #5436) - io: impl
std::io::BufReadonSyncIoBridge(#5265) - sync: add
PollSemaphore::poll_acquire_many(#5137) - sync: add owned future for
CancellationToken(#5153) - time: add
DelayQueue::try_remove(#5052)
Fixed
- codec: fix
LengthDelimitedCodecbuffer over-reservation (#4997) - sync: impl
UnwindSafeonCancellationToken(#5438) - util: remove
Encoderbound onFramedPartsconstructor (#5280)
Documented
- io: add lines example for
StreamReader(#5145)
0.7.4 (September 8, 2022)
Added
Fixed
- util: add
track_callerto public APIs (#4785)
Unstable
- task: fix compilation errors in
JoinMapwith Tokio v1.21.0 (#4755) - task: remove the unstable, deprecated
JoinMap::join_one(#4920)
0.7.3 (June 4, 2022)
Changed
- tracing: don't require default tracing features (#4592)
- util: simplify implementation of
ReusableBoxFuture(#4675)
Added (unstable)
0.7.2 (May 14, 2022)
This release contains a rewrite of CancellationToken that fixes a memory leak. (#4652)
0.7.1 (February 21, 2022)
Added
- codec: add
length_field_typetoLengthDelimitedCodecbuilder (#4508) - io: add
StreamReader::into_inner_with_chunk()(#4559)
Changed
- switch from log to tracing (#4539)
Fixed
- sync: fix waker update condition in
CancellationToken(#4497) - bumped tokio dependency to 1.6 to satisfy minimum requirements (#4490)
0.7.0 (February 9, 2022)
Added
- task: add
spawn_pinned(#3370) - time: add
shrink_to_fitandcompactmethods toDelayQueue(#4170) - codec: improve
Builder::max_frame_lengthdocs (#4352) - codec: add mutable reference getters for codecs to pinned
Framed(#4372) - net: add generic trait to combine
UnixListenerandTcpListener(#4385) - codec: implement
Framed::map_codec(#4427) - codec: implement
Encoder<BytesMut>forBytesCodec(#4465)
Changed
- sync: add lifetime parameter to
ReusableBoxFuture(#3762) - sync: refactored
PollSender<T>to fix a subtly brokenSink<T>implementation (#4214) - time: remove error case from the infallible
DelayQueue::poll_elapsed(#4241)
0.6.10 (May 14, 2021)
This is a backport for the memory leak in CancellationToken that was originally fixed in 0.7.2. (#4652)
0.6.9 (October 29, 2021)
Added
Fixed
- time: update deadline on removal in
DelayQueue(#4178) - codec: Update stream impl for Framed to return None after Err (#4166)
0.6.8 (September 3, 2021)
Added
- sync: add drop guard for
CancellationToken(#3839) - compact: added
AsyncSeekcompat (#4078) - time: expose
Keyused inDelayQueue'sExpired(#4081) - io: add
with_capacitytoReaderStream(#4086)
Fixed
- codec: remove unnecessary
doc(cfg(...))(#3989)
0.6.7 (May 14, 2021)
Added
- udp: make
UdpFramedtakeBorrow<UdpSocket>(#3451) - compat: implement
AsRawFd/AsRawHandleforCompat<T>(#3765)
0.6.6 (April 12, 2021)
Added
- util: makes
FramedandFramedStreamresumable after eof (#3272) - util: add
PollSemaphore::{add_permits, available_permits}(#3683)
Fixed
- chore: avoid allocation if
PollSemaphoreis unused (#3634)
0.6.5 (March 20, 2021)
Fixed
- util: annotate time module as requiring
timefeature (#3606)
0.6.4 (March 9, 2021)
Added
Fixed
- codec:
LinesCodecshould only returnMaxLineLengthExceededonce per line (#3556) - sync: fuse PollSemaphore (#3578)
0.6.3 (January 31, 2021)
Added
- sync: add
ReusableBoxFutureutility (#3464)
Changed
- sync: use
ReusableBoxFutureforPollSemaphore(#3463) - deps: remove
async-streamdependency (#3463) - deps: remove
tokio-streamdependency (#3487)
0.6.2 (January 21, 2021)
Added
- sync: add pollable
Semaphore(#3444)
Fixed
- time: fix panics on updating
DelayQueueentries (#3270)
0.6.1 (January 12, 2021)
Added
- codec:
get_ref(),get_mut(),get_pin_mut()andinto_inner()forFramed,FramedRead,FramedWriteandStreamReader(#3364). - codec:
write_buffer()andwrite_buffer_mut()forFramedandFramedWrite(#3387).
0.6.0 (December 23, 2020)
Changed
- depend on
tokio1.0.
Added
- rt: add constructors to
TokioContext(#3221).
0.5.1 (December 3, 2020)
Added
- io:
poll_read_bufutil fn (#2972). - io:
poll_write_bufutil fn with vectored write support (#3156).
0.5.0 (October 30, 2020)
Changed
- io: update
bytesto 0.6 (#3071).
0.4.0 (October 15, 2020)
Added
- sync:
CancellationTokenfor coordinating task cancellation (#2747). - rt:
TokioContextsets the Tokio runtime for the duration of a future (#2791) - io:
StreamReader/ReaderStreammap betweenAsyncReadvalues andStreamof bytes (#2788). - time:
DelayQueueto manage many delays (#2897).
0.3.1 (March 18, 2020)
Fixed
- Adjust minimum-supported Tokio version to v0.2.5 to account for an internal dependency on features in that version of Tokio. (#2326)
0.3.0 (March 4, 2020)
Changed
- Breaking Change: Change
Encodertrait to take a genericItemparameter, which allows codec writers to pass references intoFramedandFramedWritetypes. (#1746)
Added
Fixed
- Use advance over split_to when data is not needed. (#2198)
0.2.0 (November 26, 2019)
- Initial release