|
10 | 10 |
|
11 | 11 | ## 2.8.0
|
12 | 12 |
|
13 |
| -- Add `#[track_caller]` attribute to `spawn` functions and methods. [#454] |
14 |
| -- Update `tokio-uring` dependency to `0.4`. [#473] |
| 13 | +- Add `#[track_caller]` attribute to `spawn` functions and methods. |
| 14 | +- Update `tokio-uring` dependency to `0.4`. |
15 | 15 | - Minimum supported Rust version (MSRV) is now 1.59.
|
16 | 16 |
|
17 |
| -[#454]: https://github.com/actix/actix-net/pull/454 |
18 |
| -[#473]: https://github.com/actix/actix-net/pull/473 |
19 |
| - |
20 | 17 | ## 2.7.0
|
21 | 18 |
|
22 |
| -- Update `tokio-uring` dependency to `0.3`. [#448] |
| 19 | +- Update `tokio-uring` dependency to `0.3`. |
23 | 20 | - Minimum supported Rust version (MSRV) is now 1.49.
|
24 | 21 |
|
25 |
| -[#448]: https://github.com/actix/actix-net/pull/448 |
26 |
| - |
27 | 22 | ## 2.6.0
|
28 | 23 |
|
29 |
| -- Update `tokio-uring` dependency to `0.2`. [#436] |
30 |
| - |
31 |
| -[#436]: https://github.com/actix/actix-net/pull/436 |
| 24 | +- Update `tokio-uring` dependency to `0.2`. |
32 | 25 |
|
33 | 26 | ## 2.5.1
|
34 | 27 |
|
35 |
| -- Expose `System::with_tokio_rt` and `Arbiter::with_tokio_rt`. [#430] |
36 |
| - |
37 |
| -[#430]: https://github.com/actix/actix-net/pull/430 |
| 28 | +- Expose `System::with_tokio_rt` and `Arbiter::with_tokio_rt`. |
38 | 29 |
|
39 | 30 | ## 2.5.0
|
40 | 31 |
|
41 |
| -- Add `System::run_with_code` to allow retrieving the exit code on stop. [#411] |
42 |
| - |
43 |
| -[#411]: https://github.com/actix/actix-net/pull/411 |
| 32 | +- Add `System::run_with_code` to allow retrieving the exit code on stop. |
44 | 33 |
|
45 | 34 | ## 2.4.0
|
46 | 35 |
|
47 |
| -- Add `Arbiter::try_current` for situations where thread may or may not have Arbiter context. [#408] |
48 |
| -- Start io-uring with `System::new` when feature is enabled. [#395] |
49 |
| - |
50 |
| -[#395]: https://github.com/actix/actix-net/pull/395 |
51 |
| -[#408]: https://github.com/actix/actix-net/pull/408 |
| 36 | +- Add `Arbiter::try_current` for situations where thread may or may not have Arbiter context. |
| 37 | +- Start io-uring with `System::new` when feature is enabled. |
52 | 38 |
|
53 | 39 | ## 2.3.0
|
54 | 40 |
|
55 |
| -- The `spawn` method can now resolve with non-unit outputs. [#369] |
56 |
| -- Add experimental (semver-exempt) `io-uring` feature for enabling async file I/O on linux. [#374] |
57 |
| - |
58 |
| -[#369]: https://github.com/actix/actix-net/pull/369 |
59 |
| -[#374]: https://github.com/actix/actix-net/pull/374 |
| 41 | +- The `spawn` method can now resolve with non-unit outputs. |
| 42 | +- Add experimental (semver-exempt) `io-uring` feature for enabling async file I/O on linux. |
60 | 43 |
|
61 | 44 | ## 2.2.0
|
62 | 45 |
|
63 |
| -- **BREAKING** `ActixStream::{poll_read_ready, poll_write_ready}` methods now return `Ready` object in ok variant. [#293] |
| 46 | +- **BREAKING** `ActixStream::{poll_read_ready, poll_write_ready}` methods now return `Ready` object in ok variant. |
64 | 47 | - Breakage is acceptable since `ActixStream` was not intended to be public.
|
65 | 48 |
|
66 |
| -[#293]: https://github.com/actix/actix-net/pull/293 |
67 |
| - |
68 | 49 | ## 2.1.0
|
69 | 50 |
|
70 |
| -- Add `ActixStream` extension trait to include readiness methods. [#276] |
71 |
| -- Re-export `tokio::net::TcpSocket` in `net` module [#282] |
72 |
| - |
73 |
| -[#276]: https://github.com/actix/actix-net/pull/276 |
74 |
| -[#282]: https://github.com/actix/actix-net/pull/282 |
| 51 | +- Add `ActixStream` extension trait to include readiness methods. |
| 52 | +- Re-export `tokio::net::TcpSocket` in `net` module |
75 | 53 |
|
76 | 54 | ## 2.0.2
|
77 | 55 |
|
78 |
| -- Add `Arbiter::handle` to get a handle of an owned Arbiter. [#274] |
79 |
| -- Add `System::try_current` for situations where actix may or may not be running a System. [#275] |
80 |
| - |
81 |
| -[#274]: https://github.com/actix/actix-net/pull/274 |
82 |
| -[#275]: https://github.com/actix/actix-net/pull/275 |
| 56 | +- Add `Arbiter::handle` to get a handle of an owned Arbiter. |
| 57 | +- Add `System::try_current` for situations where actix may or may not be running a System. |
83 | 58 |
|
84 | 59 | ## 2.0.1
|
85 | 60 |
|
86 |
| -- Expose `JoinError` from Tokio. [#271] |
87 |
| - |
88 |
| -[#271]: https://github.com/actix/actix-net/pull/271 |
| 61 | +- Expose `JoinError` from Tokio. |
89 | 62 |
|
90 | 63 | ## 2.0.0
|
91 | 64 |
|
92 |
| -- Remove all Arbiter-local storage methods. [#262] |
93 |
| -- Re-export `tokio::pin`. [#262] |
94 |
| - |
95 |
| -[#262]: https://github.com/actix/actix-net/pull/262 |
| 65 | +- Remove all Arbiter-local storage methods. |
| 66 | +- Re-export `tokio::pin`. |
96 | 67 |
|
97 | 68 | ## 2.0.0-beta.3
|
98 | 69 |
|
99 |
| -- Remove `run_in_tokio`, `attach_to_tokio` and `AsyncSystemRunner`. [#253] |
100 |
| -- Return `JoinHandle` from `actix_rt::spawn`. [#253] |
101 |
| -- Remove old `Arbiter::spawn`. Implementation is now inlined into `actix_rt::spawn`. [#253] |
102 |
| -- Rename `Arbiter::{send => spawn}` and `Arbiter::{exec_fn => spawn_fn}`. [#253] |
103 |
| -- Remove `Arbiter::exec`. [#253] |
104 |
| -- Remove deprecated `Arbiter::local_join` and `Arbiter::is_running`. [#253] |
105 |
| -- `Arbiter::spawn` now accepts !Unpin futures. [#256] |
106 |
| -- `System::new` no longer takes arguments. [#257] |
107 |
| -- Remove `System::with_current`. [#257] |
108 |
| -- Remove `Builder`. [#257] |
109 |
| -- Add `System::with_init` as replacement for `Builder::run`. [#257] |
110 |
| -- Rename `System::{is_set => is_registered}`. [#257] |
111 |
| -- Add `ArbiterHandle` for sending messages to non-current-thread arbiters. [#257]. |
112 |
| -- `System::arbiter` now returns an `&ArbiterHandle`. [#257] |
113 |
| -- `Arbiter::current` now returns an `ArbiterHandle` instead. [#257] |
114 |
| -- `Arbiter::join` now takes self by value. [#257] |
115 |
| - |
116 |
| -[#253]: https://github.com/actix/actix-net/pull/253 |
117 |
| -[#254]: https://github.com/actix/actix-net/pull/254 |
118 |
| -[#256]: https://github.com/actix/actix-net/pull/256 |
119 |
| -[#257]: https://github.com/actix/actix-net/pull/257 |
| 70 | +- Remove `run_in_tokio`, `attach_to_tokio` and `AsyncSystemRunner`. |
| 71 | +- Return `JoinHandle` from `actix_rt::spawn`. |
| 72 | +- Remove old `Arbiter::spawn`. Implementation is now inlined into `actix_rt::spawn`. |
| 73 | +- Rename `Arbiter::{send => spawn}` and `Arbiter::{exec_fn => spawn_fn}`. |
| 74 | +- Remove `Arbiter::exec`. |
| 75 | +- Remove deprecated `Arbiter::local_join` and `Arbiter::is_running`. |
| 76 | +- `Arbiter::spawn` now accepts !Unpin futures. |
| 77 | +- `System::new` no longer takes arguments. |
| 78 | +- Remove `System::with_current`. |
| 79 | +- Remove `Builder`. |
| 80 | +- Add `System::with_init` as replacement for `Builder::run`. |
| 81 | +- Rename `System::{is_set => is_registered}`. |
| 82 | +- Add `ArbiterHandle` for sending messages to non-current-thread arbiters. |
| 83 | +- `System::arbiter` now returns an `&ArbiterHandle`. |
| 84 | +- `Arbiter::current` now returns an `ArbiterHandle` instead. |
| 85 | +- `Arbiter::join` now takes self by value. |
120 | 86 |
|
121 | 87 | ## 2.0.0-beta.2
|
122 | 88 |
|
123 |
| -- Add `task` mod with re-export of `tokio::task::{spawn_blocking, yield_now, JoinHandle}` [#245] |
| 89 | +- Add `task` mod with re-export of `tokio::task::{spawn_blocking, yield_now, JoinHandle}` |
124 | 90 | - Add default "macros" feature to allow faster compile times when using `default-features=false`.
|
125 | 91 |
|
126 |
| -[#245]: https://github.com/actix/actix-net/pull/245 |
127 |
| - |
128 | 92 | ## 2.0.0-beta.1
|
129 | 93 |
|
130 |
| -- Add `System::attach_to_tokio` method. [#173] |
131 |
| -- Update `tokio` dependency to `1.0`. [#236] |
132 |
| -- Rename `time` module `delay_for` to `sleep`, `delay_until` to `sleep_until`, `Delay` to `Sleep` to stay aligned with Tokio's naming. [#236] |
| 94 | +- Add `System::attach_to_tokio` method. |
| 95 | +- Update `tokio` dependency to `1.0`. |
| 96 | +- Rename `time` module `delay_for` to `sleep`, `delay_until` to `sleep_until`, `Delay` to `Sleep` to stay aligned with Tokio's naming. |
133 | 97 | - Remove `'static` lifetime requirement for `Runtime::block_on` and `SystemRunner::block_on`.
|
134 |
| - - These methods now accept `&self` when calling. [#236] |
135 |
| -- Remove `'static` lifetime requirement for `System::run` and `Builder::run`. [#236] |
136 |
| -- `Arbiter::spawn` now panics when `System` is not in scope. [#207] |
137 |
| -- Fix work load issue by removing `PENDING` thread local. [#207] |
138 |
| - |
139 |
| -[#207]: https://github.com/actix/actix-net/pull/207 |
140 |
| -[#236]: https://github.com/actix/actix-net/pull/236 |
| 98 | + - These methods now accept `&self` when calling. |
| 99 | +- Remove `'static` lifetime requirement for `System::run` and `Builder::run`. |
| 100 | +- `Arbiter::spawn` now panics when `System` is not in scope. |
| 101 | +- Fix work load issue by removing `PENDING` thread local. |
141 | 102 |
|
142 | 103 | ## 1.1.1
|
143 | 104 |
|
144 |
| -- Fix memory leak due to [#94] (see [#129] for more detail) |
145 |
| - |
146 |
| -[#129]: https://github.com/actix/actix-net/issues/129 |
| 105 | +- Fix memory leak due to |
147 | 106 |
|
148 | 107 | ## 1.1.0 _(YANKED)_
|
149 | 108 |
|
150 |
| -- Expose `System::is_set` to check if current system has ben started [#99] |
151 |
| -- Add `Arbiter::is_running` to check if event loop is running [#124] |
152 |
| -- Add `Arbiter::local_join` associated function to get be able to `await` for spawned futures [#94] |
153 |
| - |
154 |
| -[#94]: https://github.com/actix/actix-net/pull/94 |
155 |
| -[#99]: https://github.com/actix/actix-net/pull/99 |
156 |
| -[#124]: https://github.com/actix/actix-net/pull/124 |
| 109 | +- Expose `System::is_set` to check if current system has ben started |
| 110 | +- Add `Arbiter::is_running` to check if event loop is running |
| 111 | +- Add `Arbiter::local_join` associated function to get be able to `await` for spawned futures |
157 | 112 |
|
158 | 113 | ## 1.0.0
|
159 | 114 |
|
|
0 commit comments