Skip to content

Commit 9c337ca

Browse files
authored
chore: prepare Tokio v1.37.0 (#6435)
1 parent e542501 commit 9c337ca

File tree

4 files changed

+71
-3
lines changed

4 files changed

+71
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
5656

5757
```toml
5858
[dependencies]
59-
tokio = { version = "1.36.0", features = ["full"] }
59+
tokio = { version = "1.37.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

tokio/CHANGELOG.md

+68
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,71 @@
1+
# 1.37.0 (March 28th, 2024)
2+
3+
### Added
4+
5+
- fs: add `set_max_buf_size` to `tokio::fs::File` ([#6411])
6+
- io: add `try_new` and `try_with_interest` to `AsyncFd` ([#6345])
7+
- sync: add `forget_permits` method to semaphore ([#6331])
8+
- sync: add `is_closed`, `is_empty`, and `len` to mpsc receivers ([#6348])
9+
- sync: add a `rwlock()` method to owned `RwLock` guards ([#6418])
10+
- sync: expose strong and weak counts of mpsc sender handles ([#6405])
11+
- sync: implement `Clone` for `watch::Sender` ([#6388])
12+
- task: add `TaskLocalFuture::take_value` ([#6340])
13+
- task: implement `FromIterator` for `JoinSet` ([#6300])
14+
15+
### Changed
16+
17+
- io: make `io::split` use a mutex instead of a spinlock ([#6403])
18+
19+
### Fixed
20+
21+
- docs: fix docsrs build without net feature ([#6360])
22+
- macros: allow select with only else branch ([#6339])
23+
- runtime: fix leaking registration entries when os registration fails ([#6329])
24+
25+
### Documented
26+
27+
- io: document cancel safety of `AsyncBufReadExt::fill_buf` ([#6431])
28+
- io: document cancel safety of `AsyncReadExt`'s primitive read functions ([#6337])
29+
- runtime: add doc link from `Runtime` to `#[tokio::main]` ([#6366])
30+
- runtime: make the `enter` example deterministic ([#6351])
31+
- sync: add Semaphore example for limiting the number of outgoing requests ([#6419])
32+
- sync: fix missing period in broadcast docs ([#6377])
33+
- sync: mark `mpsc::Sender::downgrade` with `#[must_use]` ([#6326])
34+
- sync: reorder `const_new` before `new_with` ([#6392])
35+
- sync: update watch channel docs ([#6395])
36+
- task: fix documentation links ([#6336])
37+
38+
### Changed (unstable)
39+
40+
- runtime: include task `Id` in taskdumps ([#6328])
41+
- runtime: panic if `unhandled_panic` is enabled when not supported ([#6410])
42+
43+
[#6300]: https://github.com/tokio-rs/tokio/pull/6300
44+
[#6326]: https://github.com/tokio-rs/tokio/pull/6326
45+
[#6328]: https://github.com/tokio-rs/tokio/pull/6328
46+
[#6329]: https://github.com/tokio-rs/tokio/pull/6329
47+
[#6331]: https://github.com/tokio-rs/tokio/pull/6331
48+
[#6336]: https://github.com/tokio-rs/tokio/pull/6336
49+
[#6337]: https://github.com/tokio-rs/tokio/pull/6337
50+
[#6339]: https://github.com/tokio-rs/tokio/pull/6339
51+
[#6340]: https://github.com/tokio-rs/tokio/pull/6340
52+
[#6345]: https://github.com/tokio-rs/tokio/pull/6345
53+
[#6348]: https://github.com/tokio-rs/tokio/pull/6348
54+
[#6351]: https://github.com/tokio-rs/tokio/pull/6351
55+
[#6360]: https://github.com/tokio-rs/tokio/pull/6360
56+
[#6366]: https://github.com/tokio-rs/tokio/pull/6366
57+
[#6377]: https://github.com/tokio-rs/tokio/pull/6377
58+
[#6388]: https://github.com/tokio-rs/tokio/pull/6388
59+
[#6392]: https://github.com/tokio-rs/tokio/pull/6392
60+
[#6395]: https://github.com/tokio-rs/tokio/pull/6395
61+
[#6403]: https://github.com/tokio-rs/tokio/pull/6403
62+
[#6405]: https://github.com/tokio-rs/tokio/pull/6405
63+
[#6410]: https://github.com/tokio-rs/tokio/pull/6410
64+
[#6411]: https://github.com/tokio-rs/tokio/pull/6411
65+
[#6418]: https://github.com/tokio-rs/tokio/pull/6418
66+
[#6419]: https://github.com/tokio-rs/tokio/pull/6419
67+
[#6431]: https://github.com/tokio-rs/tokio/pull/6431
68+
169
# 1.36.0 (February 2nd, 2024)
270

371
### Added

tokio/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name = "tokio"
66
# - README.md
77
# - Update CHANGELOG.md.
88
# - Create "v1.x.y" git tag.
9-
version = "1.36.0"
9+
version = "1.37.0"
1010
edition = "2021"
1111
rust-version = "1.63"
1212
authors = ["Tokio Contributors <[email protected]>"]

tokio/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
5656

5757
```toml
5858
[dependencies]
59-
tokio = { version = "1.36.0", features = ["full"] }
59+
tokio = { version = "1.37.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

0 commit comments

Comments
 (0)