2018-12-09 19:55:40 -08:00
|
|
|
# Changes
|
|
|
|
|
2023-04-01 05:24:40 +01:00
|
|
|
## Unreleased - 2023-xx-xx
|
2022-12-21 20:37:04 +00:00
|
|
|
|
2023-08-26 18:02:48 +01:00
|
|
|
## 2.9.0
|
|
|
|
|
2023-08-26 19:04:08 +04:00
|
|
|
- Add `actix_rt::System::runtime()` method to retrieve the underlying `actix_rt::Runtime` runtime.
|
|
|
|
- Add `actix_rt::Runtime::tokio_runtime()` method to retrieve the underlying Tokio runtime.
|
2023-07-17 03:05:39 +01:00
|
|
|
- Minimum supported Rust version (MSRV) is now 1.65.
|
2023-04-01 21:39:19 +01:00
|
|
|
|
2022-12-21 20:37:04 +00:00
|
|
|
## 2.8.0 - 2022-12-21
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2022-04-25 21:05:48 +01:00
|
|
|
- Add `#[track_caller]` attribute to `spawn` functions and methods. [#454]
|
2022-12-21 20:37:04 +00:00
|
|
|
- Update `tokio-uring` dependency to `0.4`. [#473]
|
2022-11-12 23:00:33 +09:00
|
|
|
- Minimum supported Rust version (MSRV) is now 1.59.
|
2022-04-25 21:05:48 +01:00
|
|
|
|
|
|
|
[#454]: https://github.com/actix/actix-net/pull/454
|
2022-12-20 20:45:31 -06:00
|
|
|
[#473]: https://github.com/actix/actix-net/pull/473
|
2022-03-08 23:42:52 +00:00
|
|
|
|
|
|
|
## 2.7.0 - 2022-03-08
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2022-12-21 20:37:04 +00:00
|
|
|
- Update `tokio-uring` dependency to `0.3`. [#448]
|
2022-03-02 16:40:11 +00:00
|
|
|
- Minimum supported Rust version (MSRV) is now 1.49.
|
2022-01-12 14:38:13 +00:00
|
|
|
|
2022-03-08 23:42:52 +00:00
|
|
|
[#448]: https://github.com/actix/actix-net/pull/448
|
|
|
|
|
2022-01-12 14:38:13 +00:00
|
|
|
## 2.6.0 - 2022-01-12
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2022-12-21 20:37:04 +00:00
|
|
|
- Update `tokio-uring` dependency to `0.2`. [#436]
|
2022-01-11 23:36:49 +00:00
|
|
|
|
|
|
|
[#436]: https://github.com/actix/actix-net/pull/436
|
2021-12-31 08:09:10 +00:00
|
|
|
|
|
|
|
## 2.5.1 - 2021-12-31
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-27 16:00:26 +00:00
|
|
|
- Expose `System::with_tokio_rt` and `Arbiter::with_tokio_rt`. [#430]
|
|
|
|
|
|
|
|
[#430]: https://github.com/actix/actix-net/pull/430
|
2021-11-22 01:15:18 +00:00
|
|
|
|
|
|
|
## 2.5.0 - 2021-11-22
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Add `System::run_with_code` to allow retrieving the exit code on stop. [#411]
|
2021-11-05 00:51:34 +00:00
|
|
|
|
2021-11-15 18:49:02 +00:00
|
|
|
[#411]: https://github.com/actix/actix-net/pull/411
|
2021-11-05 00:51:34 +00:00
|
|
|
|
|
|
|
## 2.4.0 - 2021-11-05
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Add `Arbiter::try_current` for situations where thread may or may not have Arbiter context. [#408]
|
|
|
|
- Start io-uring with `System::new` when feature is enabled. [#395]
|
2021-11-04 20:30:43 +00:00
|
|
|
|
2021-11-04 23:00:43 +00:00
|
|
|
[#395]: https://github.com/actix/actix-net/pull/395
|
2021-11-04 20:30:43 +00:00
|
|
|
[#408]: https://github.com/actix/actix-net/pull/408
|
2021-10-11 22:55:23 +01:00
|
|
|
|
|
|
|
## 2.3.0 - 2021-10-11
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- The `spawn` method can now resolve with non-unit outputs. [#369]
|
|
|
|
- Add experimental (semver-exempt) `io-uring` feature for enabling async file I/O on linux. [#374]
|
2021-09-01 16:51:03 -04:00
|
|
|
|
|
|
|
[#369]: https://github.com/actix/actix-net/pull/369
|
2021-10-11 09:58:11 +08:00
|
|
|
[#374]: https://github.com/actix/actix-net/pull/374
|
2021-03-29 06:57:14 +01:00
|
|
|
|
|
|
|
## 2.2.0 - 2021-03-29
|
2021-03-22 22:50:48 -07:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- **BREAKING** `ActixStream::{poll_read_ready, poll_write_ready}` methods now return `Ready` object in ok variant. [#293]
|
|
|
|
- Breakage is acceptable since `ActixStream` was not intended to be public.
|
2021-02-25 11:50:24 +00:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
[#293]: https://github.com/actix/actix-net/pull/293
|
2021-02-25 11:50:24 +00:00
|
|
|
|
|
|
|
## 2.1.0 - 2021-02-24
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Add `ActixStream` extension trait to include readiness methods. [#276]
|
|
|
|
- Re-export `tokio::net::TcpSocket` in `net` module [#282]
|
2021-02-20 18:04:05 +00:00
|
|
|
|
|
|
|
[#276]: https://github.com/actix/actix-net/pull/276
|
2021-02-24 01:20:01 +08:00
|
|
|
[#282]: https://github.com/actix/actix-net/pull/282
|
2021-02-06 22:52:53 +00:00
|
|
|
|
|
|
|
## 2.0.2 - 2021-02-06
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Add `Arbiter::handle` to get a handle of an owned Arbiter. [#274]
|
|
|
|
- Add `System::try_current` for situations where actix may or may not be running a System. [#275]
|
2021-02-06 22:27:56 +00:00
|
|
|
|
|
|
|
[#274]: https://github.com/actix/actix-net/pull/274
|
2021-02-06 22:45:03 +00:00
|
|
|
[#275]: https://github.com/actix/actix-net/pull/275
|
2021-02-06 15:54:11 +00:00
|
|
|
|
|
|
|
## 2.0.1 - 2021-02-06
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Expose `JoinError` from Tokio. [#271]
|
2021-02-06 09:50:38 -06:00
|
|
|
|
|
|
|
[#271]: https://github.com/actix/actix-net/pull/271
|
2021-01-31 05:19:30 +00:00
|
|
|
|
2021-02-03 10:25:31 +00:00
|
|
|
## 2.0.0 - 2021-02-02
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Remove all Arbiter-local storage methods. [#262]
|
|
|
|
- Re-export `tokio::pin`. [#262]
|
2021-02-03 10:25:31 +00:00
|
|
|
|
|
|
|
[#262]: https://github.com/actix/actix-net/pull/262
|
|
|
|
|
2021-01-31 05:19:30 +00:00
|
|
|
## 2.0.0-beta.3 - 2021-01-31
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Remove `run_in_tokio`, `attach_to_tokio` and `AsyncSystemRunner`. [#253]
|
|
|
|
- Return `JoinHandle` from `actix_rt::spawn`. [#253]
|
|
|
|
- Remove old `Arbiter::spawn`. Implementation is now inlined into `actix_rt::spawn`. [#253]
|
|
|
|
- Rename `Arbiter::{send => spawn}` and `Arbiter::{exec_fn => spawn_fn}`. [#253]
|
|
|
|
- Remove `Arbiter::exec`. [#253]
|
|
|
|
- Remove deprecated `Arbiter::local_join` and `Arbiter::is_running`. [#253]
|
|
|
|
- `Arbiter::spawn` now accepts !Unpin futures. [#256]
|
|
|
|
- `System::new` no longer takes arguments. [#257]
|
|
|
|
- Remove `System::with_current`. [#257]
|
|
|
|
- Remove `Builder`. [#257]
|
|
|
|
- Add `System::with_init` as replacement for `Builder::run`. [#257]
|
|
|
|
- Rename `System::{is_set => is_registered}`. [#257]
|
|
|
|
- Add `ArbiterHandle` for sending messages to non-current-thread arbiters. [#257].
|
|
|
|
- `System::arbiter` now returns an `&ArbiterHandle`. [#257]
|
|
|
|
- `Arbiter::current` now returns an `ArbiterHandle` instead. [#257]
|
|
|
|
- `Arbiter::join` now takes self by value. [#257]
|
2021-01-29 02:21:06 +00:00
|
|
|
|
|
|
|
[#253]: https://github.com/actix/actix-net/pull/253
|
2021-01-29 04:08:14 +00:00
|
|
|
[#254]: https://github.com/actix/actix-net/pull/254
|
2021-01-29 15:16:30 +00:00
|
|
|
[#256]: https://github.com/actix/actix-net/pull/256
|
2021-01-31 03:34:07 +00:00
|
|
|
[#257]: https://github.com/actix/actix-net/pull/257
|
2021-01-29 02:21:06 +00:00
|
|
|
|
2021-01-09 15:12:59 +00:00
|
|
|
## 2.0.0-beta.2 - 2021-01-09
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Add `task` mod with re-export of `tokio::task::{spawn_blocking, yield_now, JoinHandle}` [#245]
|
|
|
|
- Add default "macros" feature to allow faster compile times when using `default-features=false`.
|
2020-09-06 13:01:24 +03:00
|
|
|
|
2021-01-04 02:16:57 +08:00
|
|
|
[#245]: https://github.com/actix/actix-net/pull/245
|
2020-09-06 13:01:24 +03:00
|
|
|
|
2020-12-28 01:58:31 +00:00
|
|
|
## 2.0.0-beta.1 - 2020-12-28
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Add `System::attach_to_tokio` method. [#173]
|
|
|
|
- Update `tokio` dependency to `1.0`. [#236]
|
2023-03-03 22:36:13 +00:00
|
|
|
- Rename `time` module `delay_for` to `sleep`, `delay_until` to `sleep_until`, `Delay` to `Sleep` to stay aligned with Tokio's naming. [#236]
|
2021-12-18 02:49:23 +00:00
|
|
|
- Remove `'static` lifetime requirement for `Runtime::block_on` and `SystemRunner::block_on`.
|
2023-03-03 22:36:13 +00:00
|
|
|
- These methods now accept `&self` when calling. [#236]
|
2021-12-18 02:49:23 +00:00
|
|
|
- Remove `'static` lifetime requirement for `System::run` and `Builder::run`. [#236]
|
|
|
|
- `Arbiter::spawn` now panics when `System` is not in scope. [#207]
|
|
|
|
- Fix work load issue by removing `PENDING` thread local. [#207]
|
2020-12-27 07:26:02 +08:00
|
|
|
|
|
|
|
[#207]: https://github.com/actix/actix-net/pull/207
|
2020-12-28 01:58:31 +00:00
|
|
|
[#236]: https://github.com/actix/actix-net/pull/236
|
2020-12-27 07:26:02 +08:00
|
|
|
|
2021-03-29 06:57:14 +01:00
|
|
|
## 1.1.1 - 2020-04-30
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Fix memory leak due to [#94] (see [#129] for more detail)
|
2020-04-30 03:07:12 +09:00
|
|
|
|
|
|
|
[#129]: https://github.com/actix/actix-net/issues/129
|
|
|
|
|
2021-11-15 02:39:55 +00:00
|
|
|
## 1.1.0 - 2020-04-08 _(YANKED)_
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Expose `System::is_set` to check if current system has ben started [#99]
|
|
|
|
- Add `Arbiter::is_running` to check if event loop is running [#124]
|
2023-03-03 22:36:13 +00:00
|
|
|
- Add `Arbiter::local_join` associated function to get be able to `await` for spawned futures [#94]
|
2020-02-24 21:55:02 -08:00
|
|
|
|
2020-04-08 16:34:07 +09:00
|
|
|
[#94]: https://github.com/actix/actix-net/pull/94
|
|
|
|
[#99]: https://github.com/actix/actix-net/pull/99
|
|
|
|
[#124]: https://github.com/actix/actix-net/pull/124
|
2020-02-06 00:36:00 -03:00
|
|
|
|
2021-03-29 06:57:14 +01:00
|
|
|
## 1.0.0 - 2019-12-11
|
2019-12-11 10:34:50 +06:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- Update dependencies
|
2019-12-05 16:40:24 +06:00
|
|
|
|
2021-03-29 06:57:14 +01:00
|
|
|
## 1.0.0-alpha.3 - 2019-12-07
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Migrate to tokio 0.2
|
|
|
|
- Fix compilation on non-unix platforms
|
2019-12-05 16:40:24 +06:00
|
|
|
|
2021-03-29 06:57:14 +01:00
|
|
|
## 1.0.0-alpha.2 - 2019-12-02
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Export `main` and `test` attribute macros
|
|
|
|
- Export `time` module (re-export of tokio-timer)
|
|
|
|
- Export `net` module (re-export of tokio-net)
|
2019-12-02 22:30:09 +06:00
|
|
|
|
2021-03-29 06:57:14 +01:00
|
|
|
## 1.0.0-alpha.1 - 2019-11-22
|
2019-11-25 21:49:11 +06:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- Migrate to std::future and tokio 0.2
|
2019-11-25 21:49:11 +06:00
|
|
|
|
2021-03-29 06:57:14 +01:00
|
|
|
## 0.2.6 - 2019-11-14
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Allow to join arbiter's thread. #60
|
|
|
|
- Fix arbiter's thread panic message.
|
2019-11-14 13:07:33 +04:00
|
|
|
|
2021-03-29 06:57:14 +01:00
|
|
|
## 0.2.5 - 2019-09-02
|
2019-09-02 15:03:03 -07:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- Add arbiter specific storage
|
2019-09-02 15:03:03 -07:00
|
|
|
|
2021-03-29 06:57:14 +01:00
|
|
|
## 0.2.4 - 2019-07-17
|
2019-07-17 10:30:59 +06:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- Avoid a copy of the Future when initializing the Box. #29
|
2019-07-17 10:30:59 +06:00
|
|
|
|
2021-03-29 06:57:14 +01:00
|
|
|
## 0.2.3 - 2019-06-22
|
2019-06-22 09:02:17 +06:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- Allow to start System using existing CurrentThread Handle #22
|
2019-06-22 09:02:17 +06:00
|
|
|
|
2021-03-29 06:57:14 +01:00
|
|
|
## 0.2.2 - 2019-03-28
|
2019-03-28 03:56:52 -07:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- Moved `blocking` module to `actix-threadpool` crate
|
2019-06-22 09:02:17 +06:00
|
|
|
|
2021-03-29 06:57:14 +01:00
|
|
|
## 0.2.1 - 2019-03-11
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Added `blocking` module
|
|
|
|
- Added `Arbiter::exec_fn` - execute fn on the arbiter's thread
|
|
|
|
- Added `Arbiter::exec` - execute fn on the arbiter's thread and wait result
|
2019-03-11 22:54:27 -07:00
|
|
|
|
2021-03-29 06:57:14 +01:00
|
|
|
## 0.2.0 - 2019-03-06
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- `run` method returns `io::Result<()>`
|
|
|
|
- Removed `Handle`
|
2019-03-06 10:24:58 -08:00
|
|
|
|
2021-03-29 06:57:14 +01:00
|
|
|
## 0.1.0 - 2018-12-09
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Initial release
|