Skip to content

Commit 1ed89aa

Browse files
authored
chore: prepare Tokio v1.12.0 (#4123)
1 parent d9b2dc8 commit 1ed89aa

File tree

4 files changed

+48
-4
lines changed

4 files changed

+48
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
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.11.0", features = ["full"] }
59+
tokio = { version = "1.12.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

tokio/CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
# 1.12.0 (September 21, 2021)
2+
3+
### Fixed
4+
5+
- mpsc: ensure `try_reserve` error is consistent with `try_send` ([#4119])
6+
- mpsc: use `spin_loop_hint` instead of `yield_now` ([#4115])
7+
- sync: make `SendError` field public ([#4097])
8+
9+
### Added
10+
11+
- io: add POSIX AIO on FreeBSD ([#4054])
12+
- io: add convenience method `AsyncSeekExt::rewind` ([#4107])
13+
- runtime: add tracing span for `block_on` futures ([#4094])
14+
- runtime: callback when a worker parks and unparks ([#4070])
15+
- sync: implement `try_recv` for mpsc channels ([#4113])
16+
17+
### Changed
18+
19+
- macros: run runtime inside `LocalSet` when using macro ([#4027])
20+
21+
### Documented
22+
23+
- docs: clarify CPU-bound tasks on Tokio ([#4105])
24+
- mpsc: document spurious failures on `poll_recv` ([#4117])
25+
- mpsc: document that `PollSender` impls `Sink` ([#4110])
26+
- task: document non-guarantees of `yield_now` ([#4091])
27+
- time: document paused time details better ([#4061], [#4103])
28+
29+
[#4027]: https://github.com/tokio-rs/tokio/pull/4027
30+
[#4054]: https://github.com/tokio-rs/tokio/pull/4054
31+
[#4061]: https://github.com/tokio-rs/tokio/pull/4061
32+
[#4070]: https://github.com/tokio-rs/tokio/pull/4070
33+
[#4091]: https://github.com/tokio-rs/tokio/pull/4091
34+
[#4094]: https://github.com/tokio-rs/tokio/pull/4094
35+
[#4097]: https://github.com/tokio-rs/tokio/pull/4097
36+
[#4103]: https://github.com/tokio-rs/tokio/pull/4103
37+
[#4105]: https://github.com/tokio-rs/tokio/pull/4105
38+
[#4107]: https://github.com/tokio-rs/tokio/pull/4107
39+
[#4110]: https://github.com/tokio-rs/tokio/pull/4110
40+
[#4113]: https://github.com/tokio-rs/tokio/pull/4113
41+
[#4115]: https://github.com/tokio-rs/tokio/pull/4115
42+
[#4117]: https://github.com/tokio-rs/tokio/pull/4117
43+
[#4119]: https://github.com/tokio-rs/tokio/pull/4119
44+
145
# 1.11.0 (August 31, 2021)
246

347
### Fixed

tokio/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ name = "tokio"
77
# - README.md
88
# - Update CHANGELOG.md.
99
# - Create "v1.0.x" git tag.
10-
version = "1.11.0"
10+
version = "1.12.0"
1111
edition = "2018"
1212
authors = ["Tokio Contributors <[email protected]>"]
1313
license = "MIT"
1414
readme = "README.md"
15-
documentation = "https://docs.rs/tokio/1.11.0/tokio/"
15+
documentation = "https://docs.rs/tokio/1.12.0/tokio/"
1616
repository = "https://github.com/tokio-rs/tokio"
1717
homepage = "https://tokio.rs"
1818
description = """

tokio/README.md

Lines changed: 1 addition & 1 deletion
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.11.0", features = ["full"] }
59+
tokio = { version = "1.12.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

0 commit comments

Comments
 (0)