Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.4.23
->0.4.24
^1.0
->^1.26
Release Notes
chronotope/chrono
v0.4.24
: 0.4.24Compare Source
This is a small maintenance release with accumulated fixes and improvements.
Days::new()
to refer to days, not months (#874, thanks to @brotskydotcom)from_timestamp_opt()
(#879, thanks to @xmo-odoo)format_localized()
forNaiveDate
(#881, thanks to @mseele)Add
/Sub
Days
, add tests with DST timezone (#878)NaiveTime::MIN
public (#890)from_timestamp_millis()
implementation and add more tests (#885)from_timestamp_micros()
function (#906, thanks to @umanwizard)Hash
for most pub types that also derivePartialEq
(#938, thanks to @bruceg)from_utc()
example (#939, thanks to @greg-el)DateTime::checked_add_days()
(#942, thanks to @Ekleog)FixedOffset
docs (#953, thanks to @klnusbaum)const
(#984, thanks to @tormeh)Thanks to all contributors from the chrono team, @esheppa and @djc.
tokio-rs/tokio
v1.26.0
: Tokio v1.26.0Compare Source
Fixed
join!
andtry_join!
([https://github.com/tokio-rs/tokio/pull/5504])Added
fs::try_exists
([https://github.com/tokio-rs/tokio/pull/4299])MappedOwnedMutexGuard
([https://github.com/tokio-rs/tokio/pull/5474])Changed
#[clippy::has_significant_drop]
([https://github.com/tokio-rs/tokio/pull/5422])Instant::now()
perf with test-util ([https://github.com/tokio-rs/tokio/pull/5513])Internal Changes
poll_fn
incopy_bidirectional
([https://github.com/tokio-rs/tokio/pull/5486])notify_waiters
calls atomic ([https://github.com/tokio-rs/tokio/pull/5458])Unstable
Documented
blocking_*
methods ([https://github.com/tokio-rs/tokio/pull/5448])process::Command
docs ([https://github.com/tokio-rs/tokio/pull/5413])v1.25.0
: Tokio v1.25.01.25.0 (January 28, 2023)
Fixed
Added
broadcast::Sender::len
(#5343)Changed
v1.24.1
: Tokio v1.24.1Compare Source
This release fixes a compilation failure on targets without
AtomicU64
when using rustc older than 1.63. (#5356)v1.24.0
: Tokio v1.24.0Compare Source
The highlight of this release is the reduction of lock contention for all I/O operations (#5300). We have received reports of up to a 20% improvement in CPU utilization and increased throughput for real-world I/O heavy applications.
Fixed
AtomicU64
support detection (#5284)Added
per tick (#5186)
threads per runtime instance (#4250)
Changed
read_dir()
by chunking operations (#5309)ThreadId
implementation (#5329)spawn_blocking
task is running (#5115)v1.23.1
: Tokio v1.23.1Compare Source
This release forward ports changes from 1.18.4.
Fixed
pipe mode (#5336).
v1.23.0
: Tokio v1.23.0Compare Source
Fixed
ChildStdin
(#5216)async fn ready()
false positive for OS-specific events (#5231)Changed
yield_now
defers task until after driver poll (#5223)winapi
dependency withwindows-sys
(#5204)v1.22.0
: Tokio v1.22.0Compare Source
Added
Handle::runtime_flavor
(#5138)Mutex::blocking_lock_owned
(#5130)Semaphore::MAX_PERMITS
(#5144)merge()
to semaphore permits (#4948)mpsc::WeakUnboundedSender
(#5189)Added (unstable)
Command::process_group
(#5114)task::id()
andtask::try_id()
(#5171)Fixed
LocalOwnedTasks
(#5099)mark_pending
called illegally (#5093)unsync_load
on atomic types (#5175)LocalSet
drop in thread local (#5179)CachePadded
(#5106)Changed
tokio::io::copy
continue filling the buffer when writer stalls (#5066)coop::budget
fromLocalSet::run_until
(#5155)Notify
panic safe (#5154)Documented
write_i8
to use signed integers (#5040)set_tos
methods (#5073)UdpSocket::recv
documentation (#5150)TryLockError
forRwLock::try_write
(#5160)timeout
(#5118)timeout
checks only before poll (#5126)oneshot::Receiver
in docs (#5198)Internal changes
Mutex::new
for globals (#5061)Option
aroundmio::Events
in io driver (#5078)io::handle
refs with scheduler:Handle (#5128)scheduler::Handle
(#5135)runtime::context
module (#5140)driver.rs
(#5141)runtime::context
to unify thread-locals (#5143)coop
mod intoruntime
(#5152)Runtime
into its own file (#5159)Handle::enter
(#5163)enter
intocontext
(#5167)CoreStage
methods toCore
(#5182)v1.21.2
: Tokio v1.21.2Compare Source
1.21.2 (September 27, 2022)
This release removes the dependency on the
once_cell
crate to restore the MSRV of 1.21.x, which is the latest minor version at the time of release. (#5048)v1.21.1
: Tokio v1.21.1Compare Source
1.21.1 (September 13, 2022)
Fixed
LocalSet
Drop (#4976)v1.21.0
: Tokio v1.21.0Compare Source
1.21.0 (September 2, 2022)
This release is the first release of Tokio to intentionally support WASM. The
sync,macros,io-util,rt,time
features are stabilized on WASM. Additionally the wasm32-wasi target is given unstable support for thenet
feature.Added
device
andbind_device
methods to TCP/UDP sockets (#4882)tos
andset_tos
methods to TCP and UDP sockets (#4877)ServerOptions
(#4845)mpsc::Sender::max_capacity
method (#4904)mpsc::Sender
(#4595)LocalSet::enter
(#4765)JoinSet
andAbortHandle
(#4920)track_caller
to public APIs (#4805, #4848, #4852)wasm32-wasi
target (#4716)Fixed
linked_list::Link
impls (#4841)#[must_use]
to lock guards (#4886)recv
on closed and reopened broadcast channel (#4867)Changed
File::start_seek
(#4897)poll_read
(#4840)SignalKind
methods const (#4956)Internal changes
basic_scheduler::Config
(#4935)runtime
module (#4942)Documented
AsyncSeekExt::rewind
docs (#4893)try_read()
for zero-length buffers (#4937)Builder::worker_threads
(#4849)watch::Sender::send
improved (#4959)JoinHandle
(#4901)spawn_blocking
(#4811)Interval::tick
happens immediately (#4951)Unstable
Builder::spawn_on
(#4953)task::Builder::spawn*
methods fallible (#4823)v1.20.4
Compare Source
v1.20.3
Compare Source
v1.20.2
: Tokio v1.20.2Compare Source
1.20.2 (September 27, 2022)
This release removes the dependency on the
once_cell
crate to restore the MSRV of the 1.20.x LTS release. (#5048)v1.20.1
: Tokio v1.20.1Compare Source
1.20.1 (July 25, 2022)
Fixed
v1.20.0
: Tokio v1.20.0Compare Source
1.20.0 (July 12, 2022)
Added
has_changed
method towatch::Ref
(#4758)Changed
src/time/driver/wheel/stack.rs
(#4766)Fixed
Documented
Unstable
join_one
tojoin_next
(#4755)v1.19.2
: Tokio v1.19.2Compare Source
1.19.2 (June 6, 2022)
This release fixes another bug in
Notified::enable
. (#4751)v1.19.1
: Tokio v1.19.1Compare Source
1.19.1 (June 5, 2022)
This release fixes a bug in
Notified::enable
. (#4747)v1.19.0
: Tokio v1.19.0Compare Source
1.19.0 (June 3, 2022)
Added
is_finished
method forJoinHandle
andAbortHandle
(#4709)Notified::enable
(#4705)watch::Sender::send_if_modified
(#4591)take_error
toTcpSocket
andTcpStream
(#4739)Changed
Fixed
join!
andtry_join!
(#4624)Documented
block_on
(#4729)MissedTickBehavior::Burst
(#4713)Unstable
IoDriverMetrics
(#4725)#[track_caller]
toJoinSet
/JoinMap
(#4697)Builder::{spawn_on, spawn_local_on, spawn_blocking_on}
(#4683)consume_budget
for cooperative scheduling (#4498)join_set::Builder
for configuringJoinSet
tasks (#4687)JoinSet::join_one
(#4726)v1.18.5
Compare Source
v1.18.4
Compare Source
v1.18.3
: Tokio v1.18.3Compare Source
1.18.3 (September 27, 2022)
This release removes the dependency on the
once_cell
crate to restore the MSRV of the 1.18.x LTS release. (#5048)v1.18.2
: Tokio v1.18.2Compare Source
1.18.2 (May 5, 2022)
Add missing features for the
winapi
dependency. (#4663)v1.18.1
: Tokio v1.18.1Compare Source
1.18.1 (May 2, 2022)
The 1.18.0 release broke the build for targets without 64-bit atomics when building with
tokio_unstable
. This release fixes that. (#4649)v1.18.0
: Tokio v1.18.0Compare Source
1.18.0 (April 27, 2022)
This release adds a number of new APIs in
tokio::net
,tokio::signal
, andtokio::sync
. In addition, it adds new unstable APIs totokio::task
(Id
sfor uniquely identifying a task, and
AbortHandle
for remotely cancelling atask), as well as a number of bugfixes.
Fixed
#[track_caller]
forspawn_blocking
(#4616)select
macro to process 64 branches (#4519)try_io
methods not calling Mio'stry_io
internally (#4582)Added
UdpSocket::peer_addr
(#4611)try_read_buf
method for named pipes (#4626)SignalKind
Hash
/Eq
impls andc_int
conversion (#4540)SIGRTMAX
(#4555)watch::Sender::send_modify
method (#4310)broadcast::Receiver::len
method (#4542)watch::Receiver::same_channel
method (#4581)Clone
forRecvError
types (#4560)Changed
mio
to 0.8.1 (#4582)tokio::select!
's internalutil
module (#4543)Vec::with_capacity
when building runtime (#4553)Documented
tokio_unstable
(#4524)Handle::current
's docs to mentionEnterGuard
(#4567)Signal::recv
is cancel-safe (#4634)UnboundedReceiver
close docs (#4548)Unstable
The following changes only apply when building with
--cfg tokio_unstable
:task::Id
type (#4630)AbortHandle
type for cancelling tasks in aJoinSet
(#4530],[#4640)
doc(cfg(...))
attributes forJoinSet
(#4531)AbortHandle
RustDoc (#4545)v1.17.0
: Tokio v1.17.0Compare Source
1.17.0 (February 15, 2022)
This release updates the minimum supported Rust version (MSRV) to 1.49,
the
mio
dependency to v0.8, and the (optional)parking_lot
dependency to v0.12. Additionally, it contains several bug fixes, as
well as internal refactoring and performance improvements.
Fixed
sleep
with large durations (#4495)Instant
arithmetic on platformswhere
Instant::now
is not monotonic (#4461)DuplexStream
not participating in cooperative yielding(#4478)
JoinHandle
(#4430)Changed
parking_lot
dependency to v0.12.0 (#4459)mio
dependency to v0.8 (#4449)(#4480)
std::future::Ready
instead of our ownReady
future(#4271)
atomic::spin_loop_hint
withhint::spin_loop
(#4491)
Documented
tokio::process::ChildStdin
(#4479)Unstable
The following changes only apply when building with
--cfg tokio_unstable
:tracing
spans generated byspawn_local
(#4483)JoinSet
for managing sets of tasks (#4335)v1.16.1
: Tokio v1.16.1Compare Source
1.16.1 (January 28, 2022)
This release fixes a bug in #4428 with the change #4437.
v1.16.0
: Tokio v1.16.0Compare Source
Fixes a soundness bug in
io::Take
(#4428). The unsoundness is exposed whenleaking memory in the given
AsyncRead
implementation and then overwriting thesupplied buffer:
Also, this release includes improvements to the multi-threaded scheduler that
can increase throughput by up to 20% in some cases (#4383).
Fixed
io::Take
in edge case (#4428)File::write
results in awrite
syscall when the runtime shuts down (#4316)wait_with_output
(#4315)Send
fromparking_lot::*Guard
(#4359)Added
TcpSocket::linger()
andset_linger()
(#4324)UnwindSafe
for socket types (#4384)UnwindSafe
forJoinHandle
(#4418)watch::Receiver::has_changed()
(#4342)oneshot::Receiver::blocking_recv()
(#4334)RwLock
blocking operations (#4425)Unstable
The following changes only apply when building with
--cfg tokio_unstable
v1.15.0
: Tokio v1.15.0Compare Source
Fixed
io::empty()
(#4300)Changed
Added
Interval::reset()
(#4248)AsyncFdReadyGuard
(#4267)Command::as_std()
(#4295)Added (unstable)
tokio::sync
types (#4302)v1.14.1
: Tokio v1.14.1Compare Source
This release backports a bug fix from 1.16.1
Fixes a soundness bug in
io::Take
(#4428). The unsoundness is exposed whenleaking memory in the given
AsyncRead
implementation and then overwriting thesupplied buffer:
Fixed
io::Take
in edge case (#4428)v1.14.0
: Tokio v1.14.0Compare Source
1.14.0 (November 15, 2021)
Fixed
mut
patterns inselect!
(#4211)oneshot::Sender::send
and awaiting aoneshot::Receiver
when the oneshot has been closed (#4226)AtomicWaker
panic safe (#3689)(#4213)
Added
RuntimeStats::busy_duration_total
(#4179, #4223)Changed
copy
buffer size to matchstd::io::copy
(#4209)Documented
v1.13.1
: Tokio v1.13.1Compare Source
1.13.1 (November 15, 2021)
This release fixes a data race when sending and receiving on a
closed
oneshot
channel (RUSTSEC-2021-0124).Fixed
oneshot::Sender::send
and awaiting aoneshot::Receiver
when the oneshot has been closed (#4226)v1.13.0
: Tokio v1.13.0Compare Source
1.13.0 (October 29, 2021)
Fixed
Notify
to clone the waker before locking its waiter list (#4129)Added
poll_{recv,send}_ready
methods toudp
anduds_datagram
(#4131)try_*
,readable
,writable
,ready
, andpeer_addr
methods to split halves (#4120)blocking_lock
toMutex
(#4130)watch::Sender::send_replace
(#3962, #4195)Debug
forMutex<T>
impl to unsizedT
(#4134)Changed
copy_bidirectional
thatpoll_write
is sensible (#4125)select!
(#4192)block_on
wakeups better (#4157)Documented
try_join!
(#4133)tokio/src/lib.rs
(#4132)Interval::tick
cancel safety (#4152)v1.12.0
: Tokio v1.12.0Compare Source
1.12.0 (September 21, 2021)
Fixed
try_reserve
error is consistent withtry_send
(#4119)spin_loop_hint
instead ofyield_now
(#4115)SendError
field public (#4097)Added
AsyncSeekExt::rewind
(#4107)block_on
futures (#4094)try_recv
for mpsc channels (#4113)Changed
LocalSet
when using macro (#4027)Documented
poll_recv
(#4117)PollSender
implsSink
(#4110)yield_now
(#4091)v1.11.0
: Tokio v1.11.0Compare Source
1.11.0 (August 31, 2021)
Fixed
fill_buf
by not callingpoll_fill_buf
twice ([#4084])Added
watch::Sender::subscribe
(#3800)from_std
toChildStd*
([#4045])Changed
Documented
[#
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.