|
| 1 | +# 1.39.0 (July 23rd, 2024) |
| 2 | + |
| 3 | +- This release bumps the MSRV to 1.70. ([#6645]) |
| 4 | +- This release upgrades to mio v1. ([#6635]) |
| 5 | +- This release upgrades to windows-sys v0.52 ([#6154]) |
| 6 | + |
| 7 | +### Added |
| 8 | + |
| 9 | +- io: implement `AsyncSeek` for `Empty` ([#6663]) |
| 10 | +- metrics: stabilize `num_alive_tasks` ([#6619], [#6667]) |
| 11 | +- process: add `Command::as_std_mut` ([#6608]) |
| 12 | +- sync: add `watch::Sender::same_channel` ([#6637]) |
| 13 | +- sync: add `{Receiver,UnboundedReceiver}::{sender_strong_count,sender_weak_count}` ([#6661]) |
| 14 | +- sync: implement `Default` for `watch::Sender` ([#6626]) |
| 15 | +- task: implement `Clone` for `AbortHandle` ([#6621]) |
| 16 | +- task: stabilize `consume_budget` ([#6622]) |
| 17 | + |
| 18 | +### Changed |
| 19 | + |
| 20 | +- io: improve panic message of `ReadBuf::put_slice()` ([#6629]) |
| 21 | +- io: read during write in `copy_bidirectional` and `copy` ([#6532]) |
| 22 | +- runtime: replace `num_cpus` with `available_parallelism` ([#6709]) |
| 23 | +- task: avoid stack overflow when passing large future to `block_on` ([#6692]) |
| 24 | +- time: avoid traversing entries in the time wheel twice ([#6584]) |
| 25 | +- time: support `IntoFuture` with `timeout` ([#6666]) |
| 26 | +- macros: support `IntoFuture` with `join!` and `select!` ([#6710]) |
| 27 | + |
| 28 | +### Fixed |
| 29 | + |
| 30 | +- docs: fix docsrs builds with the fs feature enabled ([#6585]) |
| 31 | +- io: only use short-read optimization on known-to-be-compatible platforms ([#6668]) |
| 32 | +- time: fix overflow panic when using large durations with `Interval` ([#6612]) |
| 33 | + |
| 34 | +### Added (unstable) |
| 35 | + |
| 36 | +- macros: allow `unhandled_panic` behavior for `#[tokio::main]` and `#[tokio::test]` ([#6593]) |
| 37 | +- metrics: add `spawned_tasks_count` ([#6114]) |
| 38 | +- metrics: add `worker_park_unpark_count` ([#6696]) |
| 39 | +- metrics: add worker thread id ([#6695]) |
| 40 | + |
| 41 | +### Documented |
| 42 | + |
| 43 | +- io: update `tokio::io::stdout` documentation ([#6674]) |
| 44 | +- macros: typo fix in `join.rs` and `try_join.rs` ([#6641]) |
| 45 | +- runtime: fix typo in `unhandled_panic` ([#6660]) |
| 46 | +- task: document behavior of `JoinSet::try_join_next` when all tasks are running ([#6671]) |
| 47 | + |
| 48 | +[#6114]: https://github.com/tokio-rs/tokio/pull/6114 |
| 49 | +[#6154]: https://github.com/tokio-rs/tokio/pull/6154 |
| 50 | +[#6532]: https://github.com/tokio-rs/tokio/pull/6532 |
| 51 | +[#6584]: https://github.com/tokio-rs/tokio/pull/6584 |
| 52 | +[#6585]: https://github.com/tokio-rs/tokio/pull/6585 |
| 53 | +[#6593]: https://github.com/tokio-rs/tokio/pull/6593 |
| 54 | +[#6608]: https://github.com/tokio-rs/tokio/pull/6608 |
| 55 | +[#6612]: https://github.com/tokio-rs/tokio/pull/6612 |
| 56 | +[#6619]: https://github.com/tokio-rs/tokio/pull/6619 |
| 57 | +[#6621]: https://github.com/tokio-rs/tokio/pull/6621 |
| 58 | +[#6622]: https://github.com/tokio-rs/tokio/pull/6622 |
| 59 | +[#6626]: https://github.com/tokio-rs/tokio/pull/6626 |
| 60 | +[#6629]: https://github.com/tokio-rs/tokio/pull/6629 |
| 61 | +[#6635]: https://github.com/tokio-rs/tokio/pull/6635 |
| 62 | +[#6637]: https://github.com/tokio-rs/tokio/pull/6637 |
| 63 | +[#6641]: https://github.com/tokio-rs/tokio/pull/6641 |
| 64 | +[#6645]: https://github.com/tokio-rs/tokio/pull/6645 |
| 65 | +[#6660]: https://github.com/tokio-rs/tokio/pull/6660 |
| 66 | +[#6661]: https://github.com/tokio-rs/tokio/pull/6661 |
| 67 | +[#6663]: https://github.com/tokio-rs/tokio/pull/6663 |
| 68 | +[#6666]: https://github.com/tokio-rs/tokio/pull/6666 |
| 69 | +[#6667]: https://github.com/tokio-rs/tokio/pull/6667 |
| 70 | +[#6668]: https://github.com/tokio-rs/tokio/pull/6668 |
| 71 | +[#6671]: https://github.com/tokio-rs/tokio/pull/6671 |
| 72 | +[#6674]: https://github.com/tokio-rs/tokio/pull/6674 |
| 73 | +[#6692]: https://github.com/tokio-rs/tokio/pull/6692 |
| 74 | +[#6695]: https://github.com/tokio-rs/tokio/pull/6695 |
| 75 | +[#6696]: https://github.com/tokio-rs/tokio/pull/6696 |
| 76 | +[#6709]: https://github.com/tokio-rs/tokio/pull/6709 |
| 77 | +[#6710]: https://github.com/tokio-rs/tokio/pull/6710 |
| 78 | + |
1 | 79 | # 1.38.1 (July 16th, 2024)
|
2 | 80 |
|
3 | 81 | This release fixes the bug identified as ([#6682]), which caused timers not
|
|
0 commit comments