Skip to content

Commit b226d98

Browse files
Darksonndbischof90
authored andcommitted
chore: prepare Tokio v1.18.3 (tokio-rs#5051)
1 parent b78e0ea commit b226d98

File tree

4 files changed

+7
-223
lines changed

4 files changed

+7
-223
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.21.1", features = ["full"] }
59+
tokio = { version = "1.18.3", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

tokio/CHANGELOG.md

Lines changed: 4 additions & 220 deletions
Original file line numberDiff line numberDiff line change
@@ -1,225 +1,9 @@
1-
# 1.21.1 (September 13, 2022)
1+
# 1.18.3 (September 27, 2022)
22

3-
### Fixed
4-
5-
- net: fix dependency resolution for socket2 ([#5000])
6-
- task: ignore failure to set TLS in `LocalSet` Drop ([#4976])
7-
8-
[#4976]: https://github.com/tokio-rs/tokio/pull/4976
9-
[#5000]: https://github.com/tokio-rs/tokio/pull/5000
10-
11-
# 1.21.0 (September 2, 2022)
12-
13-
This release is the first release of Tokio to intentionally support WASM. The
14-
`sync,macros,io-util,rt,time` features are stabilized on WASM. Additionally the
15-
wasm32-wasi target is given unstable support for the `net` feature.
16-
17-
### Added
18-
19-
- net: add `device` and `bind_device` methods to TCP/UDP sockets ([#4882])
20-
- net: add `tos` and `set_tos` methods to TCP and UDP sockets ([#4877])
21-
- net: add security flags to named pipe `ServerOptions` ([#4845])
22-
- signal: add more windows signal handlers ([#4924])
23-
- sync: add `mpsc::Sender::max_capacity` method ([#4904])
24-
- sync: implement Weak version of `mpsc::Sender` ([#4595])
25-
- task: add `LocalSet::enter` ([#4765])
26-
- task: stabilize `JoinSet` and `AbortHandle` ([#4920])
27-
- tokio: add `track_caller` to public APIs ([#4805], [#4848], [#4852])
28-
- wasm: initial support for `wasm32-wasi` target ([#4716])
29-
30-
### Fixed
31-
32-
- miri: improve miri compatibility by avoiding temporary references in `linked_list::Link` impls ([#4841])
33-
- signal: don't register write interest on signal pipe ([#4898])
34-
- sync: add `#[must_use]` to lock guards ([#4886])
35-
- sync: fix hang when calling `recv` on closed and reopened broadcast channel ([#4867])
36-
- task: propagate attributes on task-locals ([#4837])
37-
38-
### Changed
39-
40-
- fs: change panic to error in `File::start_seek` ([#4897])
41-
- io: reduce syscalls in `poll_read` ([#4840])
42-
- process: use blocking threadpool for child stdio I/O ([#4824])
43-
- signal: make `SignalKind` methods const ([#4956])
44-
45-
### Internal changes
46-
47-
- rt: extract `basic_scheduler::Config` ([#4935])
48-
- rt: move I/O driver into `runtime` module ([#4942])
49-
- rt: rename internal scheduler types ([#4945])
50-
51-
### Documented
52-
53-
- chore: fix typos and grammar ([#4858], [#4894], [#4928])
54-
- io: fix typo in `AsyncSeekExt::rewind` docs ([#4893])
55-
- net: add documentation to `try_read()` for zero-length buffers ([#4937])
56-
- runtime: remove incorrect panic section for `Builder::worker_threads` ([#4849])
57-
- sync: doc of `watch::Sender::send` improved ([#4959])
58-
- task: add cancel safety docs to `JoinHandle` ([#4901])
59-
- task: expand on cancellation of `spawn_blocking` ([#4811])
60-
- time: clarify that the first tick of `Interval::tick` happens immediately ([#4951])
61-
62-
### Unstable
63-
64-
- rt: add unstable option to disable the LIFO slot ([#4936])
65-
- task: fix incorrect signature in `Builder::spawn_on` ([#4953])
66-
- task: make `task::Builder::spawn*` methods fallible ([#4823])
67-
68-
[#4595]: https://github.com/tokio-rs/tokio/pull/4595
69-
[#4716]: https://github.com/tokio-rs/tokio/pull/4716
70-
[#4765]: https://github.com/tokio-rs/tokio/pull/4765
71-
[#4805]: https://github.com/tokio-rs/tokio/pull/4805
72-
[#4811]: https://github.com/tokio-rs/tokio/pull/4811
73-
[#4823]: https://github.com/tokio-rs/tokio/pull/4823
74-
[#4824]: https://github.com/tokio-rs/tokio/pull/4824
75-
[#4837]: https://github.com/tokio-rs/tokio/pull/4837
76-
[#4840]: https://github.com/tokio-rs/tokio/pull/4840
77-
[#4841]: https://github.com/tokio-rs/tokio/pull/4841
78-
[#4845]: https://github.com/tokio-rs/tokio/pull/4845
79-
[#4848]: https://github.com/tokio-rs/tokio/pull/4848
80-
[#4849]: https://github.com/tokio-rs/tokio/pull/4849
81-
[#4852]: https://github.com/tokio-rs/tokio/pull/4852
82-
[#4858]: https://github.com/tokio-rs/tokio/pull/4858
83-
[#4867]: https://github.com/tokio-rs/tokio/pull/4867
84-
[#4877]: https://github.com/tokio-rs/tokio/pull/4877
85-
[#4882]: https://github.com/tokio-rs/tokio/pull/4882
86-
[#4886]: https://github.com/tokio-rs/tokio/pull/4886
87-
[#4893]: https://github.com/tokio-rs/tokio/pull/4893
88-
[#4894]: https://github.com/tokio-rs/tokio/pull/4894
89-
[#4897]: https://github.com/tokio-rs/tokio/pull/4897
90-
[#4898]: https://github.com/tokio-rs/tokio/pull/4898
91-
[#4901]: https://github.com/tokio-rs/tokio/pull/4901
92-
[#4904]: https://github.com/tokio-rs/tokio/pull/4904
93-
[#4920]: https://github.com/tokio-rs/tokio/pull/4920
94-
[#4924]: https://github.com/tokio-rs/tokio/pull/4924
95-
[#4928]: https://github.com/tokio-rs/tokio/pull/4928
96-
[#4935]: https://github.com/tokio-rs/tokio/pull/4935
97-
[#4936]: https://github.com/tokio-rs/tokio/pull/4936
98-
[#4937]: https://github.com/tokio-rs/tokio/pull/4937
99-
[#4942]: https://github.com/tokio-rs/tokio/pull/4942
100-
[#4945]: https://github.com/tokio-rs/tokio/pull/4945
101-
[#4951]: https://github.com/tokio-rs/tokio/pull/4951
102-
[#4953]: https://github.com/tokio-rs/tokio/pull/4953
103-
[#4956]: https://github.com/tokio-rs/tokio/pull/4956
104-
[#4959]: https://github.com/tokio-rs/tokio/pull/4959
105-
106-
# 1.20.1 (July 25, 2022)
107-
108-
### Fixed
109-
110-
- chore: fix version detection in build script ([#4860])
111-
112-
[#4860]: https://github.com/tokio-rs/tokio/pull/4860
113-
114-
# 1.20.0 (July 12, 2022)
115-
116-
### Added
117-
- tokio: add `track_caller` to public APIs ([#4772], [#4791], [#4793], [#4806], [#4808])
118-
- sync: Add `has_changed` method to `watch::Ref` ([#4758])
119-
120-
### Changed
121-
122-
- time: remove `src/time/driver/wheel/stack.rs` ([#4766])
123-
- rt: clean up arguments passed to basic scheduler ([#4767])
124-
- net: be more specific about winapi features ([#4764])
125-
- tokio: use const initialized thread locals where possible ([#4677])
126-
- task: various small improvements to LocalKey ([#4795])
127-
128-
### Documented
129-
130-
- fs: warn about performance pitfall ([#4762])
131-
- chore: fix spelling ([#4769])
132-
- sync: document spurious failures in oneshot ([#4777])
133-
- sync: add warning for watch in non-Send futures ([#4741])
134-
- chore: fix typo ([#4798])
135-
136-
### Unstable
137-
138-
- joinset: rename `join_one` to `join_next` ([#4755])
139-
- rt: unhandled panic config for current thread rt ([#4770])
140-
141-
[#4677]: https://github.com/tokio-rs/tokio/pull/4677
142-
[#4741]: https://github.com/tokio-rs/tokio/pull/4741
143-
[#4755]: https://github.com/tokio-rs/tokio/pull/4755
144-
[#4758]: https://github.com/tokio-rs/tokio/pull/4758
145-
[#4762]: https://github.com/tokio-rs/tokio/pull/4762
146-
[#4764]: https://github.com/tokio-rs/tokio/pull/4764
147-
[#4766]: https://github.com/tokio-rs/tokio/pull/4766
148-
[#4767]: https://github.com/tokio-rs/tokio/pull/4767
149-
[#4769]: https://github.com/tokio-rs/tokio/pull/4769
150-
[#4770]: https://github.com/tokio-rs/tokio/pull/4770
151-
[#4772]: https://github.com/tokio-rs/tokio/pull/4772
152-
[#4777]: https://github.com/tokio-rs/tokio/pull/4777
153-
[#4791]: https://github.com/tokio-rs/tokio/pull/4791
154-
[#4793]: https://github.com/tokio-rs/tokio/pull/4793
155-
[#4795]: https://github.com/tokio-rs/tokio/pull/4795
156-
[#4798]: https://github.com/tokio-rs/tokio/pull/4798
157-
[#4806]: https://github.com/tokio-rs/tokio/pull/4806
158-
[#4808]: https://github.com/tokio-rs/tokio/pull/4808
159-
160-
# 1.19.2 (June 6, 2022)
161-
162-
This release fixes another bug in `Notified::enable`. ([#4751])
163-
164-
[#4751]: https://github.com/tokio-rs/tokio/pull/4751
165-
166-
# 1.19.1 (June 5, 2022)
167-
168-
This release fixes a bug in `Notified::enable`. ([#4747])
169-
170-
[#4747]: https://github.com/tokio-rs/tokio/pull/4747
171-
172-
# 1.19.0 (June 3, 2022)
173-
174-
### Added
175-
176-
- runtime: add `is_finished` method for `JoinHandle` and `AbortHandle` ([#4709])
177-
- runtime: make global queue and event polling intervals configurable ([#4671])
178-
- sync: add `Notified::enable` ([#4705])
179-
- sync: add `watch::Sender::send_if_modified` ([#4591])
180-
- sync: add resubscribe method to broadcast::Receiver ([#4607])
181-
- net: add `take_error` to `TcpSocket` and `TcpStream` ([#4739])
182-
183-
### Changed
184-
185-
- io: refactor out usage of Weak in the io handle ([#4656])
186-
187-
### Fixed
188-
189-
- macros: avoid starvation in `join!` and `try_join!` ([#4624])
190-
191-
### Documented
192-
193-
- runtime: clarify semantics of tasks outliving `block_on` ([#4729])
194-
- time: fix example for `MissedTickBehavior::Burst` ([#4713])
195-
196-
### Unstable
3+
This release removes the dependency on the `once_cell` crate to restore the MSRV
4+
of the 1.18.x LTS release. ([#5048])
1975

198-
- metrics: correctly update atomics in `IoDriverMetrics` ([#4725])
199-
- metrics: fix compilation with unstable, process, and rt, but without net ([#4682])
200-
- task: add `#[track_caller]` to `JoinSet`/`JoinMap` ([#4697])
201-
- task: add `Builder::{spawn_on, spawn_local_on, spawn_blocking_on}` ([#4683])
202-
- task: add `consume_budget` for cooperative scheduling ([#4498])
203-
- task: add `join_set::Builder` for configuring `JoinSet` tasks ([#4687])
204-
- task: update return value of `JoinSet::join_one` ([#4726])
205-
206-
[#4498]: https://github.com/tokio-rs/tokio/pull/4498
207-
[#4591]: https://github.com/tokio-rs/tokio/pull/4591
208-
[#4607]: https://github.com/tokio-rs/tokio/pull/4607
209-
[#4624]: https://github.com/tokio-rs/tokio/pull/4624
210-
[#4656]: https://github.com/tokio-rs/tokio/pull/4656
211-
[#4671]: https://github.com/tokio-rs/tokio/pull/4671
212-
[#4682]: https://github.com/tokio-rs/tokio/pull/4682
213-
[#4683]: https://github.com/tokio-rs/tokio/pull/4683
214-
[#4687]: https://github.com/tokio-rs/tokio/pull/4687
215-
[#4697]: https://github.com/tokio-rs/tokio/pull/4697
216-
[#4705]: https://github.com/tokio-rs/tokio/pull/4705
217-
[#4709]: https://github.com/tokio-rs/tokio/pull/4709
218-
[#4713]: https://github.com/tokio-rs/tokio/pull/4713
219-
[#4725]: https://github.com/tokio-rs/tokio/pull/4725
220-
[#4726]: https://github.com/tokio-rs/tokio/pull/4726
221-
[#4729]: https://github.com/tokio-rs/tokio/pull/4729
222-
[#4739]: https://github.com/tokio-rs/tokio/pull/4739
6+
[#5048]: https://github.com/tokio-rs/tokio/pull/5048
2237

2248
# 1.18.2 (May 5, 2022)
2259

tokio/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name = "tokio"
66
# - README.md
77
# - Update CHANGELOG.md.
88
# - Create "v1.0.x" git tag.
9-
version = "1.21.1"
9+
version = "1.18.3"
1010
edition = "2018"
1111
rust-version = "1.49"
1212
authors = ["Tokio Contributors <team@tokio.rs>"]

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.21.1", features = ["full"] }
59+
tokio = { version = "1.18.3", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

0 commit comments

Comments
 (0)