fix(deps): update all non-major dependencies
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
anyhow | dependencies | patch |
1.0.82 -> 1.0.98
|
backon | dependencies | minor |
0.4.4 -> 0.5.0
|
clap | dependencies | patch |
4.5.4 -> 4.5.37
|
env_logger | dependencies | patch |
0.11.3 -> 0.11.8
|
futures (source) | dependencies | patch |
0.3.30 -> 0.3.31
|
indicatif | dependencies | patch |
0.17.8 -> 0.17.11
|
lazy_static | dependencies | minor |
1.4.0 -> 1.5.0
|
log | dependencies | patch |
0.4.21 -> 0.4.27
|
prometheus | dependencies | minor |
0.13.3 -> 0.14.0
|
reqwest | dependencies | patch |
0.12.4 -> 0.12.15
|
serde (source) | dependencies | patch |
1.0.198 -> 1.0.219
|
thiserror | dependencies | patch |
1.0.59 -> 1.0.69
|
tokio (source) | dependencies | minor |
1.37.0 -> 1.44.2
|
Release Notes
dtolnay/anyhow (anyhow)
v1.0.98
- Add
self.into_boxed_dyn_error()
andself.reallocate_into_boxed_dyn_error_without_backtrace()
methods for anyhow::Error (#415)
v1.0.97
- Documentation improvements
v1.0.96
- Documentation improvements
v1.0.95
- Add
Error::from_boxed
(#401, #402)
v1.0.94
- Documentation improvements
v1.0.93
- Update dev-dependencies to
thiserror
v2
v1.0.92
- Support Rust 1.82's
&raw const
and&raw mut
syntax insideensure!
(#390)
v1.0.91
- Ensure OUT_DIR is left with deterministic contents after build script execution (#388)
v1.0.90
- Documentation improvements
v1.0.89
- Make anyhow::Error's
UnwindSafe
andRefUnwindSafe
impl consistently available between versions of Rust newer and older than 1.72 (#386)
v1.0.88
- Documentation improvements
v1.0.87
- Support more APIs, including
Error::new
andError::chain
, in no-std mode on Rust 1.81+ (#383)
v1.0.86
- Fix parse error in
ensure!
with non-literal after minus sign (#373)
v1.0.85
v1.0.84
- Disallow calling
ensure!
through aNot
impl for a type that is notbool
(#367)
v1.0.83
- Integrate compile-time checking of cfgs (#363)
Xuanwo/backon (backon)
v0.5.0
Upgrade
Since version 0.5.0, backon no longer directly depends on tokio
. Instead, users can now provide their own sleep implementation.
For example:
use anyhow::Result;
use backon::ExponentialBuilder;
use backon::Retryable;
use std::future::ready;
async fn main() -> Result<()> {
let content = fetch
.retry(&ExponentialBuilder::default())
.sleep(tokio::time::sleep)
.await?;
Ok(())
}
To maintain the same behavior as before, please enable the tokio-sleep
feature.
What's Changed
- Remove duplicate example, point to examples on docs index page by @matildasmeds in https://github.com/Xuanwo/backon/pull/84
- ci: Use macos-latest for test by @Xuanwo in https://github.com/Xuanwo/backon/pull/87
- feat: Remove dependences on pin_project and futures_core by @Xuanwo in https://github.com/Xuanwo/backon/pull/86
- docs: Add an example for sqlx by @Xuanwo in https://github.com/Xuanwo/backon/pull/91
- Use wasm-compatible sleep if compiled for wasm32 by @wackazong in https://github.com/Xuanwo/backon/pull/92
- feat: Allow user to provide sleeper by @Xuanwo in https://github.com/Xuanwo/backon/pull/93
- Bump to version 0.5.0 by @Xuanwo in https://github.com/Xuanwo/backon/pull/94
New Contributors
- @matildasmeds made their first contribution in https://github.com/Xuanwo/backon/pull/84
- @wackazong made their first contribution in https://github.com/Xuanwo/backon/pull/92
Full Changelog: https://github.com/Xuanwo/backon/compare/v0.4.4...v0.5.0
clap-rs/clap (clap)
v4.5.37
Features
- Added
ArgMatches::try_clear_id()
v4.5.36
Fixes
- (help) Revert 4.5.35's "Don't leave space for shorts if there are none" for now
v4.5.35
Fixes
-
(help) Align positionals and flags when put in the same
help_heading
- (help) Don't leave space for shorts if there are none
v4.5.34
Fixes
-
(help) Don't add extra blank lines with
flatten_help(true)
and subcommands without arguments
v4.5.33
Fixes
- (error) When showing the usage of a suggestion for an unknown argument, don't show the group
v4.5.32
Features
- Add
Error::remove
Documentation
-
(cookbook) Switch from
humantime
tojiff
- (tutorial) Better cover required vs optional
Internal
- Update
pulldown-cmark
v4.5.31
Features
- Add
ValueParserFactory
forSaturating<T>
v4.5.30
Fixes
-
(assert) Allow
num_args(0..=1)
to be used withSetTrue
-
(assert) Clean up rendering of
takes_values
assertions
v4.5.29
Fixes
- Change
ArgMatches::args_present
so not-present flags are considered not-present (matching the documentation)
v4.5.28
Features
-
(derive) Unstable support for full markdown syntax for doc comments, enabled with
unstable-markdown
v4.5.27
Documentation
- Iterate on tutorials and reference based on feedback
v4.5.26
Fixes
-
(error) Reduce binary size with the
suggestions
feature
v4.5.25
Fixes
- (help) Reduce binary size
v4.5.24
Fixes
-
(parser) Correctly handle defaults with
ignore_errors(true)
and when a suggestion is provided for an unknown argument
v4.5.23
Fixes
-
(parser) When check
allow_negative_numbers
, allowE
again
v4.5.22
Fixes
- (assert) Catch bugs with arguments requiring themself
v4.5.21
Fixes
-
(parser) Ensure defaults are filled in on error with
ignore_errors(true)
v4.5.20
Features
-
(unstable) Add
CommandExt
v4.5.19
Internal
- Update dependencies
v4.5.18
Features
-
(builder) Expose
Arg::get_display_order
andCommand::get_display_order
v4.5.17
Fixes
- (help) Style required argument groups
- (derive) Improve error messages when unsupported fields are used
v4.5.16
Fixes
-
(derive) Improve error messages when
derive
feature is missing
v4.5.15
Compatiblity
-
(unstable-ext)
Arg::remove
changed return types
Fixes
-
(unstable-ext) Make
Arg::remove
return the removed item
v4.5.14
Features
-
(unstable-ext) Added
Arg::add
for attaching arbitrary state, like completion hints, toArg
withoutArg
knowing about it
v4.5.13
Fixes
-
(derive) Improve error message when
#[flatten]
ing an optional#[group(skip)]
- (help) Properly wrap long subcommand descriptions in help
v4.5.12
v4.5.11
v4.5.10
v4.5.9
Fixes
- (error) When defining a custom help flag, be sure to suggest it like we do the built-in one
v4.5.8
Fixes
- Reduce extra flushes
v4.5.7
Fixes
- Clean up error message when too few arguments for
num_args
v4.5.6
v4.5.5
Fixes
- Allow
exclusive
to overriderequired_unless_present
,required_unless_present_any
,required_unless_present_all
rust-cli/env_logger (env_logger)
v0.11.8
Compatibility
-
(kv) Deprecate the
unstable-kv
feature which may be removed in a future patch release
Features
-
(kv) Stabilize key-value support behind the
kv
feature - Expose
ConfigurableFormat
to build custom [Builder::format
]s that leverage this
v0.11.7
Internal
- Replaced
humantime
withjiff
v0.11.6
Features
- Opt-in file and line rendering
v0.11.5
v0.11.4
rust-lang/futures-rs (futures)
v0.3.31
- Fix use after free of task in
FuturesUnordered
when dropped future panics (#2886) - Fix soundness bug in
task::waker_ref
(#2830) This is a breaking change but allowed because it is soundness bug fix. - Fix bugs in
AsyncBufRead::read_line
andAsyncBufReadExt::lines
(#2884) - Fix parsing issue in
select!
/select_biased!
(#2832) This is technically a breaking change as it will now reject a very odd undocumented syntax that was previously accidentally accepted. - Work around issue due to upstream
Waker::will_wake
change (#2865) - Add
stream::Iter::{get_ref,get_mut,into_inner}
(#2875) - Add
future::AlwaysReady
(#2825) - Relax trait bound on non-constructor methods of
io::{BufReader,BufWriter}
(#2848)
console-rs/indicatif (indicatif)
v0.17.11
What's Changed
- Change
OnceCell
toOnceLock
inTabExpandedString
by @tgross35 in https://github.com/console-rs/indicatif/pull/694
v0.17.10
What's Changed
With some great performance improvements from @jaheba.
- Fix bar-less text output by @spoutn1k in https://github.com/console-rs/indicatif/pull/659
- add tracing-indicatif create to integration list by @emersonford in https://github.com/console-rs/indicatif/pull/673
- Fix double prints by @spoutn1k in https://github.com/console-rs/indicatif/pull/671
- Only get draw_target-width when we actually draw by @jaheba in https://github.com/console-rs/indicatif/pull/683
- Make tab extension lazy by @jaheba in https://github.com/console-rs/indicatif/pull/684
- Make
ProgressBar:set_tab_with
take&self
by @jaheba in https://github.com/console-rs/indicatif/pull/685 - Remove unnecessary spinner display in multi examples by @shuntaka9576 in https://github.com/console-rs/indicatif/pull/682
- Add
dec
anddec_length
toProgressBar
by @jaheba in https://github.com/console-rs/indicatif/pull/690 - Update rand requirement from 0.8 to 0.9 by @dependabot in https://github.com/console-rs/indicatif/pull/693
v0.17.9
What's Changed
- Mention ProgressTracker near list of template keys by @djc in https://github.com/console-rs/indicatif/pull/632
- tests: print whether colors are enabled to help diagnose spurious failure by @chris-laplante in https://github.com/console-rs/indicatif/pull/641
- Workarounds for flaky tty/color support in GitHub actions runner by @chris-laplante in https://github.com/console-rs/indicatif/pull/646
- Fix move cursor flag not working by @SuperTux88 in https://github.com/console-rs/indicatif/pull/648
- chore: fix comment by @rustco in https://github.com/console-rs/indicatif/pull/649
- Fix AtomicPosition::reset storing wrong value by @TheJokr in https://github.com/console-rs/indicatif/pull/650
- Documentation tweaks; bump MSRV by @chris-laplante in https://github.com/console-rs/indicatif/pull/653
- Update deny config for cargo-deny 0.15 release by @djc in https://github.com/console-rs/indicatif/pull/655
- Update unicode-width requirement from 0.1 to 0.2 by @dependabot in https://github.com/console-rs/indicatif/pull/658
- Replace
instant
withweb-time
by @torokati44 in https://github.com/console-rs/indicatif/pull/666 - Bump EmbarkStudios/cargo-deny-action from 1 to 2 by @dependabot in https://github.com/console-rs/indicatif/pull/654
- Bump version to 0.17.9 by @djc in https://github.com/console-rs/indicatif/pull/667
- feat: allow constructing and setting the progress bar len to
None
by @cdellacqua in https://github.com/console-rs/indicatif/pull/664
rust-lang/log (log)
v0.4.27
What's Changed
- A few minor lint fixes by @nyurik in https://github.com/rust-lang/log/pull/671
- Enable clippy support for format-like macros by @nyurik in https://github.com/rust-lang/log/pull/665
- Add an optional logger param by @tisonkun in https://github.com/rust-lang/log/pull/664
- Pass global logger by value, supplied logger by ref by @KodrAus in https://github.com/rust-lang/log/pull/673
Full Changelog: https://github.com/rust-lang/log/compare/0.4.26...0.4.27
v0.4.26
What's Changed
- Derive
Clone
forkv::Value
by @SpriteOvO in https://github.com/rust-lang/log/pull/668 - Add
spdlog-rs
link to crate doc by @SpriteOvO in https://github.com/rust-lang/log/pull/669
Full Changelog: https://github.com/rust-lang/log/compare/0.4.25...0.4.26
v0.4.25
What's Changed
- Revert loosening of kv cargo features by @KodrAus in https://github.com/rust-lang/log/pull/662
Full Changelog: https://github.com/rust-lang/log/compare/0.4.24...0.4.25
v0.4.24
What's Changed
- Fix up kv feature activation by @KodrAus in https://github.com/rust-lang/log/pull/659
Full Changelog: https://github.com/rust-lang/log/compare/0.4.23...0.4.24
v0.4.23
What's Changed
- Fix some typos by @Kleinmarb in https://github.com/rust-lang/log/pull/637
- Add logforth to implementation by @tisonkun in https://github.com/rust-lang/log/pull/638
- Add
spdlog-rs
link to README by @SpriteOvO in https://github.com/rust-lang/log/pull/639 - Add correct lifetime to kv::Value::to_borrowed_str by @stevenroose in https://github.com/rust-lang/log/pull/643
- docs: Add logforth as an impl by @tisonkun in https://github.com/rust-lang/log/pull/642
- Add clang_log implementation by @DDAN-17 in https://github.com/rust-lang/log/pull/646
- Bind lifetimes of &str returned from Key by the lifetime of 'k rather than the lifetime of the Key struct by @gbbosak in https://github.com/rust-lang/log/pull/648
- Fix up key lifetimes and add method to try get a borrowed key by @KodrAus in https://github.com/rust-lang/log/pull/653
- Add Ftail implementation by @tjardoo in https://github.com/rust-lang/log/pull/652
New Contributors
- @Kleinmarb made their first contribution in https://github.com/rust-lang/log/pull/637
- @tisonkun made their first contribution in https://github.com/rust-lang/log/pull/638
- @SpriteOvO made their first contribution in https://github.com/rust-lang/log/pull/639
- @stevenroose made their first contribution in https://github.com/rust-lang/log/pull/643
- @DDAN-17 made their first contribution in https://github.com/rust-lang/log/pull/646
- @gbbosak made their first contribution in https://github.com/rust-lang/log/pull/648
- @tjardoo made their first contribution in https://github.com/rust-lang/log/pull/652
Full Changelog: https://github.com/rust-lang/log/compare/0.4.22...0.4.23
v0.4.22
What's Changed
- Add some clarifications to the library docs by @KodrAus in https://github.com/rust-lang/log/pull/620
- Add links to
colog
crate by @chrivers in https://github.com/rust-lang/log/pull/621 - adding line_number test + updating some testing infrastructure by @DIvkov575 in https://github.com/rust-lang/log/pull/619
- Clarify the actual set of functions that can race in _racy variants by @KodrAus in https://github.com/rust-lang/log/pull/623
- Replace deprecated std::sync::atomic::spin_loop_hint() by @Catamantaloedis in https://github.com/rust-lang/log/pull/625
- Check usage of max_level features by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/627
- Remove unneeded import by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/628
- Loosen orderings for logger initialization in https://github.com/rust-lang/log/pull/632. Originally by @pwoolcoc in https://github.com/rust-lang/log/pull/599
- Use Location::caller() for file and line info in https://github.com/rust-lang/log/pull/633. Originally by @Cassy343 in https://github.com/rust-lang/log/pull/520
New Contributors
- @chrivers made their first contribution in https://github.com/rust-lang/log/pull/621
- @DIvkov575 made their first contribution in https://github.com/rust-lang/log/pull/619
- @Catamantaloedis made their first contribution in https://github.com/rust-lang/log/pull/625
Full Changelog: https://github.com/rust-lang/log/compare/0.4.21...0.4.22
tikv/rust-prometheus (prometheus)
v0.14.0
-
API change: Use
AsRef<str>
for owned label values (#537) -
Improvement: Hashing improvements (#532)
-
Dependency upgrade: Update
hyper
to 1.6 (#524) -
Dependency upgrade: Update
procfs
to 0.17 (#543) -
Dependency upgrade: Update
protobuf
to 3.7.2 for RUSTSEC-2024-0437 (#541) -
Dependency upgrade: Update
thiserror
to 2.0 (#534) -
Internal change: Fix LSP and Clippy warnings (#540)
-
Internal change: Bump MSRV to 1.81 (#539)
-
Documentation: Fix
register_histogram_vec_with_registry
docstring (#528) -
Documentation: Fix typos in static-metric docstrings (#479)
-
Documentation: Add missing
protobuf
feature to README list (#531)
v0.13.4
-
Improvement: Add PullingGauge (#405)
-
Improvement: Let cargo know which example requires which features (#511)
-
Bug fix: Prevent
clippy::ignored_unit_patterns
in macro expansions (#497) -
Internal change: Add CI job for minimum toolchain (MSRV) (#467)
-
Internal change: Update CI to
actions/checkout@v4
(#499) -
Internal change: Update dependencies
seanmonstar/reqwest (reqwest)
v0.12.15
- Fix Windows to support both
ProxyOverride
andNO_PROXY
. - Fix http3 to support streaming response bodies.
- Fix http3 dependency from public API misuse.
v0.12.14
- Fix missing
fetch_mode_no_cors()
, marking as deprecated when not on WASM.
v0.12.13
- Add
Form::into_reader()
for blockingmultipart
forms. - Add
Form::into_stream()
for asyncmultipart
forms. - Add support for SOCKS4a proxies.
- Fix decoding responses with multiple zstd frames.
- Fix
RequestBuilder::form()
from overwriting a previously setContent-Type
header, like the other builder methods. - Fix cloning of request timeout in
blocking::Request
. - Fix http3 synchronization of connection creation, reducing unneccesary extra connections.
- Fix Windows system proxy to use
ProxyOverride
as aNO_PROXY
value. - Fix blocking read to correctly reserve and zero read buffer.
- (wasm) Add support for request timeouts.
- (wasm) Fix
Error::is_timeout()
to return true when from a request timeout.
v0.12.12
- (wasm) Fix compilation by not compiler
tokio/time
on WASM.
v0.12.11
- Fix decompression returning an error when HTTP/2 ends with an empty data frame.
v0.12.10
- Add
ClientBuilder::connector_layer()
to allow customizing the connector stack. - Add
ClientBuilder::http2_max_header_list_size()
option. - Fix propagating body size hint (
content-length
) information when wrapping bodies. - Fix decompression of chunked bodies so the connections can be reused more often.
v0.12.9
- Add
tls::CertificateRevocationLists
support. - Add crate features to enable webpki roots without selecting a rustls provider.
- Fix
connection_verbose()
to output read logs. - Fix
multipart::Part::file()
to automatically include content-length. - Fix proxy to internally no longer cache system proxy settings.
v0.12.8
- Add support for SOCKS4 proxies.
- Add
multipart::Form::file()
method for adding files easily. - Add
Body::wrap()
to wrap anyhttp_body::Body
type. - Fix the pool configuration to use a timer to remove expired connections.
v0.12.7
- Revert adding
impl Service<http::Request<_>>
forClient
.
v0.12.6
- Add support for
danger_accept_invalid_hostnames
forrustls
. - Add
impl Service<http::Request<Body>>
forClient
and&'_ Client
. - Add support for
!Sync
bodies inBody::wrap_stream()
. - Enable happy eyeballs when
hickory-dns
is used. - Fix
Proxy
so thatHTTP(S)_PROXY
values take precedence overALL_PROXY
. - Fix
blocking::RequestBuilder::header()
from unsettingsensitive
on passed header values.
v0.12.5
- Add
blocking::ClientBuilder::dns_resolver()
method to change DNS resolver in blocking client. - Add
http3
feature back, still requiringreqwest_unstable
. - Add
rustls-tls-no-provider
Cargo feature to use rustls without a crypto provider. - Fix
Accept-Encoding
header combinations. - Fix http3 resolving IPv6 addresses.
- Internal: upgrade to rustls 0.23.
serde-rs/serde (serde)
v1.0.219
- Prevent
absolute_paths
Clippy restriction being triggered inside macro-generated code (#2906, thanks @davidzeng0)
v1.0.218
- Documentation improvements
v1.0.217
v1.0.216
- Mark all generated impls with #[automatically_derived] to exclude from code coverage (#2866, #2868, thanks @tdittr)
v1.0.215
- Produce warning when multiple fields or variants have the same deserialization name (#2855, #2856, #2857)
v1.0.214
- Implement IntoDeserializer for all Deserializers in serde::de::value module (#2568, thanks @Mingun)
v1.0.213
- Fix support for macro-generated
with
attributes inside a newtype struct (#2847)
v1.0.212
- Fix hygiene of macro-generated local variable accesses in serde(with) wrappers (#2845)
v1.0.211
- Improve error reporting about mismatched signature in
with
anddefault
attributes (#2558, thanks @Mingun) - Show variant aliases in error message when variant deserialization fails (#2566, thanks @Mingun)
- Improve binary size of untagged enum and internally tagged enum deserialization by about 12% (#2821)
v1.0.210
- Support serializing and deserializing
IpAddr
andSocketAddr
in no-std mode on Rust 1.77+ (#2816, thanks @MathiasKoch) - Make
serde::ser::StdError
andserde::de::StdError
equivalent tocore::error::Error
on Rust 1.81+ (#2818)
v1.0.209
- Fix deserialization of empty structs and empty tuples inside of untagged enums (#2805, thanks @Mingun)
v1.0.208
v1.0.207
- Improve interactions between
flatten
attribute andskip_serializing
/skip_deserializing
(#2795, thanks @Mingun)
v1.0.206
v1.0.205
- Use serialize_entry instead of serialize_key + serialize_value when serialize flattened newtype enum variants (#2785, thanks @Mingun)
- Avoid triggering a collection_is_never_read lint in the deserialization of enums containing flattened fields (#2791)
v1.0.204
- Apply #[diagnostic::on_unimplemented] attribute on Rust 1.78+ to suggest adding serde derive or enabling a "serde" feature flag in dependencies (#2767, thanks @weiznich)
v1.0.203
- Documentation improvements (#2747)
v1.0.202
- Provide public access to RenameAllRules in serde_derive_internals (#2743)
v1.0.201
- Resolve unexpected_cfgs warning (#2737)
v1.0.200
- Fix formatting of "invalid type" and "invalid value" deserialization error messages containing NaN or infinite floats (#2733, thanks @jamessan)
v1.0.199
- Fix ambiguous associated item when
forward_to_deserialize_any!
is used on an enum withError
variant (#2732, thanks @aatifsyed)
dtolnay/thiserror (thiserror)
v1.0.69
- Backport 2.0.2 fixes
v1.0.68
- Handle incomplete expressions more robustly in format arguments, such as while code is being typed (#341, #344)
v1.0.67
v1.0.66
- Improve compile error on malformed format attribute (#327)
v1.0.65
- Ensure OUT_DIR is left with deterministic contents after build script execution (#325)
v1.0.64
v1.0.63
- Documentation improvements
v1.0.62
- Support referring to nested tuple struct fields inside
#[error("…", …)]
attribute (#309)
v1.0.61
v1.0.60
- Resolve unexpected_cfgs warning (#298)
tokio-rs/tokio (tokio)
v1.44.2
: Tokio v1.44.2
This release fixes a soundness issue in the broadcast channel. The channel
accepts values that are Send
but !Sync
. Previously, the channel called
clone()
on these values without synchronizing. This release fixes the channel
by synchronizing calls to .clone()
(Thanks Austin Bonander for finding and
reporting the issue).
Fixed
- sync: synchronize
clone()
call in broadcast channel (#7232)
v1.44.1
: Tokio v1.44.1
1.44.1 (March 13th, 2025)
Fixed
- rt: skip defer queue in
block_in_place
context (#7216)
v1.44.0
: Tokio v1.44.0
1.44.0 (March 7th, 2025)
This release changes the from_std
method on sockets to panic if a blocking socket is provided. We determined this change is not a breaking change as Tokio is not intended to operate using blocking sockets. Doing so results in runtime hangs and should be considered a bug. Accidentally passing a blocking socket to Tokio is one of the most common user mistakes. If this change causes an issue for you, please comment on #7172.
Added
- coop: add
task::coop
module (#7116) - process: add
Command::get_kill_on_drop()
(#7086) - sync: add
broadcast::Sender::closed
(#6685, #7090) - sync: add
broadcast::WeakSender
(#7100) - sync: add
oneshot::Receiver::is_empty()
(#7153) - sync: add
oneshot::Receiver::is_terminated()
(#7152)
Fixed
- fs: empty reads on
File
should not start a background read (#7139) - process: calling
start_kill
on exited child should not fail (#7160) - signal: fix
CTRL_CLOSE
,CTRL_LOGOFF
,CTRL_SHUTDOWN
on windows (#7122) - sync: properly handle panic during mpsc drop (#7094)
Changes
- runtime: clean up magic number in registration set (#7112)
- coop: make coop yield using waker defer strategy (#7185)
- macros: make
select!
budget-aware (#7164) - net: panic when passing a blocking socket to
from_std
(#7166) - io: clean up buffer casts (#7142)
Changes to unstable APIs
- rt: add before and after task poll callbacks (#7120)
- tracing: make the task tracing API unstable public (#6972)
Documented
- docs: fix nesting of sections in top-level docs (#7159)
- fs: rename symlink and hardlink parameter names (#7143)
- io: swap reader/writer in simplex doc test (#7176)
- macros: docs about
select!
alternatives (#7110) - net: rename the argument for
send_to
(#7146) - process: add example for reading
Child
stdout (#7141) - process: clarify
Child::kill
behavior (#7162) - process: fix grammar of the
ChildStdin
struct doc comment (#7192) - runtime: consistently use
worker_threads
instead ofcore_threads
(#7186)
v1.43.1
v1.43.0
: Tokio v1.43.0
1.43.0 (Jan 8th, 2025)
Added
- net: add
UdpSocket::peek
methods (#7068) - net: add support for Haiku OS (#7042)
- process: add
Command::into_std()
(#7014) - signal: add
SignalKind::info
on illumos (#6995) - signal: add support for realtime signals on illumos (#7029)
Fixed
- io: don't call
set_len
before initializing vector inBlocking
(#7054) - macros: suppress
clippy::needless_return
in#[tokio::main]
(#6874) - runtime: fix thread parking on WebAssembly (#7041)
Changes
- chore: use unsync loads for
unsync_load
(#7073) - io: use
Buf::put_bytes
inRepeat
read impl (#7055) - task: drop the join waker of a task eagerly (#6986)
Changes to unstable APIs
- metrics: improve flexibility of H2Histogram Configuration (#6963)
- taskdump: add accessor methods for backtrace (#6975)
Documented
- io: clarify
ReadBuf::uninit
allows initialized buffers as well (#7053) - net: fix ambiguity in
TcpStream::try_write_vectored
docs (#7067) - runtime: fix
LocalRuntime
doc links (#7074) - sync: extend documentation for
watch::Receiver::wait_for
(#7038) - sync: fix typos in
OnceCell
docs (#7047)
v1.42.1
: Tokio v1.42.1
This release fixes a soundness issue in the broadcast channel. The channel accepts values that are Send
but !Sync
. Previously, the channel called clone()
on these values without synchronizing. This release fixes the channel by synchronizing calls to .clone()
(Thanks Austin Bonander for finding and reporting the issue).
Fixed
- sync: synchronize
clone()
call in broadcast channel (#7232)
v1.42.0
: Tokio v1.42.0
1.42.0 (Dec 3rd, 2024)
Added
- io: add
AsyncFd::{try_io, try_io_mut}
(#6967)
Fixed
- io: avoid
ptr->ref->ptr
roundtrip in RegistrationSet (#6929) - runtime: do not defer
yield_now
insideblock_in_place
(#6999)
Changes
- io: simplify io readiness logic (#6966)
Documented
- net: fix docs for
tokio::net::unix::{pid_t, gid_t, uid_t}
(#6791) - time: fix a typo in
Instant
docs (#6982)
v1.41.1
: Tokio v1.41.1
1.41.1 (Nov 7th, 2024)
Fixed
- metrics: fix bug with wrong number of buckets for the histogram (#6957)
- net: display
net
requirement fornet::UdpSocket
in docs (#6938) - net: fix typo in
TcpStream
internal comment (#6944)
v1.41.0
: Tokio v1.41.0
1.41.0 (Oct 22th, 2024)
Added
- metrics: stabilize
global_queue_depth
(#6854, #6918) - net: add conversions for unix
SocketAddr
(#6868) - sync: add
watch::Sender::sender_count
(#6836) - sync: add
mpsc::Receiver::blocking_recv_many
(#6867) - task: stabilize
Id
apis (#6793, #6891)
Added (unstable)
- metrics: add H2 Histogram option to improve histogram granularity (#6897)
- metrics: rename some histogram apis (#6924)
- runtime: add
LocalRuntime
(#6808)
Changed
- runtime: box futures larger than 16k on release mode (#6826)
- sync: add
#[must_use]
toNotified
(#6828) - sync: make
watch
cooperative (#6846) - sync: make
broadcast::Receiver
cooperative (#6870) - task: add task size to tracing instrumentation (#6881)
- wasm: enable
cfg_fs
forwasi
target (#6822)
Fixed
- net: fix regression of abstract socket path in unix socket (#6838)
Documented
- io: recommend
OwnedFd
withAsyncFd
(#6821) - io: document cancel safety of
AsyncFd
methods (#6890) - macros: render more comprehensible documentation for
join
andtry_join
(#6814, #6841) - net: fix swapped examples for
TcpSocket::set_nodelay
andTcpSocket::nodelay
(#6840) - sync: document runtime compatibility (#6833)
v1.40.0
: Tokio v1.40.0
1.40.0 (August 30th, 2024)
Added
- io: add
util::SimplexStream
(#6589) - process: stabilize
Command::process_group
(#6731) - sync: add
{TrySendError,SendTimeoutError}::into_inner
(#6755) - task: add
JoinSet::join_all
(#6784)
Added (unstable)
- runtime: add
Builder::{on_task_spawn, on_task_terminate}
(#6742)
Changed
- io: use vectored io for
write_all_buf
when possible (#6724) - runtime: prevent niche-optimization to avoid triggering miri (#6744)
- sync: mark mpsc types as
UnwindSafe
(#6783) - sync,time: make
Sleep
andBatchSemaphore
instrumentation explicit roots (#6727) - task: use
NonZeroU64
fortask::Id
(#6733) - task: include panic message when printing
JoinError
(#6753) - task: add
#[must_use]
toJoinHandle::abort_handle
(#6762) - time: eliminate timer wheel allocations (#6779)
Documented
- docs: clarify that
[build]
section doesn't go in Cargo.toml (#6728) - io: clarify zero remaining capacity case (#6790)
- macros: improve documentation for
select!
(#6774) - sync: document mpsc channel allocation behavior (#6773)
v1.39.3
: Tokio v1.39.3
1.39.3 (August 17th, 2024)
This release fixes a regression where the unix socket api stopped accepting the abstract socket namespace. (#6772)
v1.39.2
: Tokio v1.39.2
1.39.2 (July 27th, 2024)
This release fixes a regression where the select!
macro stopped accepting expressions that make use of temporary lifetime extension. (#6722)
v1.39.1
: Tokio v1.39.1
1.39.1 (July 23rd, 2024)
This release reverts "time: avoid traversing entries in the time wheel twice" because it contains a bug. (#6715)
v1.39.0
: Tokio v1.39.0
1.39.0 (July 23rd, 2024)
- This release bumps the MSRV to 1.70. (#6645)
- This release upgrades to mio v1. (#6635)
- This release upgrades to windows-sys v0.52 (#6154)
Added
- io: implement
AsyncSeek
forEmpty
(#6663) - metrics: stabilize
num_alive_tasks
(#6619, #6667) - process: add
Command::as_std_mut
(#6608) - sync: add
watch::Sender::same_channel
(#6637) - sync: add
{Receiver,UnboundedReceiver}::{sender_strong_count,sender_weak_count}
(#6661) - sync: implement
Default
forwatch::Sender
(#6626) - task: implement
Clone
forAbortHandle
(#6621) - task: stabilize
consume_budget
(#6622)
Changed
- io: improve panic message of
ReadBuf::put_slice()
(#6629) - io: read during write in
copy_bidirectional
andcopy
(#6532) - runtime: replace
num_cpus
withavailable_parallelism
(#6709) - task: avoid stack overflow when passing large future to
block_on
(#6692) - time: avoid traversing entries in the time wheel twice (#6584)
- time: support
IntoFuture
withtimeout
(#6666) - macros: support
IntoFuture
withjoin!
andselect!
(#6710)
Fixed
- docs: fix docsrs builds with the fs feature enabled (#6585)
- io: only use short-read optimization on known-to-be-compatible platforms (#6668)
- time: fix overflow panic when using large durations with
Interval
(#6612)
Added (unstable)
- macros: allow
unhandled_panic
behavior for#[tokio::main]
and#[tokio::test]
(#6593) - metrics: add
spawned_tasks_count
(#6114) - metrics: add
worker_park_unpark_count
(#6696) - metrics: add worker thread id (#6695)
Documented
- io: update
tokio::io::stdout
documentation (#6674) - macros: typo fix in
join.rs
andtry_join.rs
(#6641) - runtime: fix typo in
unhandled_panic
(#6660) - task: document behavior of
JoinSet::try_join_next
when all tasks are running (#6671)
v1.38.2
: Tokio v1.38.2
This release fixes a soundness issue in the broadcast channel. The channel accepts values that are Send
but !Sync
. Previously, the channel called clone()
on these values without synchronizing. This release fixes the channel by synchronizing calls to .clone()
(Thanks Austin Bonander for finding and reporting the issue).
Fixed
- sync: synchronize
clone()
call in broadcast channel (#7232)
v1.38.1
: Tokio v1.38.1
1.38.1 (July 16th, 2024)
This release fixes the bug identified as (#6682), which caused timers not to fire when they should.
Fixed
- time: update
wake_up
while holding all the locks of sharded time wheels (#6683)
v1.38.0
: Tokio v1.38.0
This release marks the beginning of stabilization for runtime metrics. It
stabilizes RuntimeMetrics::worker_count
. Future releases will continue to
stabilize more metrics.
Added
- fs: add
File::create_new
(#6573) - io: add
copy_bidirectional_with_sizes
(#6500) - io: implement
AsyncBufRead
forJoin
(#6449) - net: add Apple visionOS support (#6465)
- net: implement
Clone
forNamedPipeInfo
(#6586) - net: support QNX OS (#6421)
- sync: add
Notify::notify_last
(#6520) - sync: add
mpsc::Receiver::{capacity,max_capacity}
(#6511) - sync: add
split
method to the semaphore permit (#6472, #6478) - task: add
tokio::task::join_set::Builder::spawn_blocking
(#6578) - wasm: support rt-multi-thread with wasm32-wasi-preview1-threads (#6510)
Changed
- macros: make
#[tokio::test]
append#[test]
at the end of the attribute list (#6497) - metrics: fix
blocking_threads
count (#6551) - metrics: stabilize
RuntimeMetrics::worker_count
(#6556) - runtime: move task out of the
lifo_slot
inblock_in_place
(#6596) - runtime: panic if
global_queue_interval
is zero (#6445) - sync: always drop message in destructor for oneshot receiver (#6558)
- sync: instrument
Semaphore
for task dumps (#6499) - sync: use FIFO ordering when waking batches of wakers (#6521)
- task: make
LocalKey::get
work with Clone types (#6433) - tests: update nix and mio-aio dev-dependencies (#6552)
- time: clean up implementation (#6517)
- time: lazily init timers on first poll (#6512)
- time: remove the
true_when
field inTimerShared
(#6563) - time: use sharding for timer implementation (#6534)
Fixed
- taskdump: allow building taskdump docs on non-unix machines (#6564)
- time: check for overflow in
Interval::poll_tick
(#6487) - sync: fix incorrect
is_empty
on mpsc block boundaries (#6603)
Documented
- fs: rewrite file system docs (#6467)
- io: fix
stdin
documentation (#6581) - io: fix obsolete reference in
ReadHalf::unsplit()
documentation (#6498) - macros: render more comprehensible documentation for
select!
(#6468) - net: add missing types to module docs (#6482)
- net: fix misleading
NamedPipeServer
example (#6590) - sync: add examples for
SemaphorePermit
,OwnedSemaphorePermit
(#6477) - sync: document that
Barrier::wait
is not cancel safe (#6494) - sync: explain relation between
watch::Sender::{subscribe,closed}
(#6490) - task: clarify that you can't abort
spawn_blocking
tasks (#6571) - task: fix a typo in doc of
LocalSet::run_until
(#6599) - time: fix test-util requirement for pause and resume in docs (#6503)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Merge request reports
Activity
mentioned in issue #5
added 1 commit
- a9a86ba7 - fix(deps): update all non-major dependencies
added 1 commit
- faeb7d0b - fix(deps): update all non-major dependencies
added 1 commit
- 3417e8d4 - fix(deps): update all non-major dependencies
added 1 commit
- 265c04a5 - fix(deps): update all non-major dependencies
added 1 commit
- f583ca6d - fix(deps): update all non-major dependencies
added 1 commit
- 811a911c - fix(deps): update all non-major dependencies
added 1 commit
- 42c529d3 - fix(deps): update all non-major dependencies
added 1 commit
- 12cfdfb2 - fix(deps): update all non-major dependencies
added 1 commit
- ee774161 - fix(deps): update all non-major dependencies
added 1 commit
- 50ce485f - fix(deps): update all non-major dependencies