mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-23 06:42:23 +00:00
7.6 KiB
7.6 KiB
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_type
toLengthDelimitedCodec
builder (#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_fit
andcompact
methods toDelayQueue
(#4170) - codec: improve
Builder::max_frame_length
docs (#4352) - codec: add mutable reference getters for codecs to pinned
Framed
(#4372) - net: add generic trait to combine
UnixListener
andTcpListener
(#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
AsyncSeek
compat (#4078) - time: expose
Key
used inDelayQueue
'sExpired
(#4081) - io: add
with_capacity
toReaderStream
(#4086)
Fixed
- codec: remove unnecessary
doc(cfg(...))
(#3989)
0.6.7 (May 14, 2021)
Added
- udp: make
UdpFramed
takeBorrow<UdpSocket>
(#3451) - compat: implement
AsRawFd
/AsRawHandle
forCompat<T>
(#3765)
0.6.6 (April 12, 2021)
Added
- util: makes
Framed
andFramedStream
resumable after eof (#3272) - util: add
PollSemaphore::{add_permits, available_permits}
(#3683)
Fixed
- chore: avoid allocation if
PollSemaphore
is unused (#3634)
0.6.5 (March 20, 2021)
Fixed
- util: annotate time module as requiring
time
feature (#3606)
0.6.4 (March 9, 2021)
Added
Fixed
- codec:
LinesCodec
should only returnMaxLineLengthExceeded
once per line (#3556) - sync: fuse PollSemaphore (#3578)
0.6.3 (January 31, 2021)
Added
- sync: add
ReusableBoxFuture
utility (#3464)
Changed
- sync: use
ReusableBoxFuture
forPollSemaphore
(#3463) - deps: remove
async-stream
dependency (#3463) - deps: remove
tokio-stream
dependency (#3487)
0.6.2 (January 21, 2021)
Added
- sync: add pollable
Semaphore
(#3444)
Fixed
- time: fix panics on updating
DelayQueue
entries (#3270)
0.6.1 (January 12, 2021)
Added
- codec:
get_ref()
,get_mut()
,get_pin_mut()
andinto_inner()
forFramed
,FramedRead
,FramedWrite
andStreamReader
(#3364). - codec:
write_buffer()
andwrite_buffer_mut()
forFramed
andFramedWrite
(#3387).
0.6.0 (December 23, 2020)
Changed
- depend on
tokio
1.0.
Added
- rt: add constructors to
TokioContext
(#3221).
0.5.1 (December 3, 2020)
Added
- io:
poll_read_buf
util fn (#2972). - io:
poll_write_buf
util fn with vectored write support (#3156).
0.5.0 (October 30, 2020)
Changed
- io: update
bytes
to 0.6 (#3071).
0.4.0 (October 15, 2020)
Added
- sync:
CancellationToken
for coordinating task cancellation (#2747). - rt:
TokioContext
sets the Tokio runtime for the duration of a future (#2791) - io:
StreamReader
/ReaderStream
map betweenAsyncRead
values andStream
of bytes (#2788). - time:
DelayQueue
to 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
Encoder
trait to take a genericItem
parameter, which allows codec writers to pass references intoFramed
andFramedWrite
types. (#1746)
Added
Fixed
- Use advance over split_to when data is not needed. (#2198)
0.2.0 (November 26, 2019)
- Initial release