2018-12-10 04:55:40 +01:00
|
|
|
# Changes
|
|
|
|
|
2021-01-03 05:39:37 +01:00
|
|
|
## Unreleased - 2021-xx-xx
|
2021-02-06 23:27:56 +01:00
|
|
|
* Add `Arbiter::handle` to get a handle of an owned Arbiter. [#274]
|
|
|
|
|
|
|
|
[#274]: https://github.com/actix/actix-net/pull/274
|
2021-02-06 16:54:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
## 2.0.1 - 2021-02-06
|
|
|
|
* Expose `JoinError` from Tokio. [#271]
|
2021-02-06 16:50:38 +01:00
|
|
|
|
|
|
|
[#271]: https://github.com/actix/actix-net/pull/271
|
2021-01-31 06:19:30 +01:00
|
|
|
|
|
|
|
|
2021-02-03 11:25:31 +01:00
|
|
|
## 2.0.0 - 2021-02-02
|
|
|
|
* Remove all Arbiter-local storage methods. [#262]
|
|
|
|
* Re-export `tokio::pin`. [#262]
|
|
|
|
|
|
|
|
[#262]: https://github.com/actix/actix-net/pull/262
|
|
|
|
|
|
|
|
|
2021-01-31 06:19:30 +01:00
|
|
|
## 2.0.0-beta.3 - 2021-01-31
|
2021-01-29 03:21:06 +01:00
|
|
|
* Remove `run_in_tokio`, `attach_to_tokio` and `AsyncSystemRunner`. [#253]
|
|
|
|
* Return `JoinHandle` from `actix_rt::spawn`. [#253]
|
2021-01-31 04:34:07 +01:00
|
|
|
* 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].
|
2021-01-31 05:41:28 +01:00
|
|
|
* `System::arbiter` now returns an `&ArbiterHandle`. [#257]
|
|
|
|
* `Arbiter::current` now returns an `ArbiterHandle` instead. [#257]
|
2021-01-31 04:34:07 +01:00
|
|
|
* `Arbiter::join` now takes self by value. [#257]
|
2021-01-29 03:21:06 +01:00
|
|
|
|
|
|
|
[#253]: https://github.com/actix/actix-net/pull/253
|
2021-01-29 05:08:14 +01:00
|
|
|
[#254]: https://github.com/actix/actix-net/pull/254
|
2021-01-29 16:16:30 +01:00
|
|
|
[#256]: https://github.com/actix/actix-net/pull/256
|
2021-01-31 04:34:07 +01:00
|
|
|
[#257]: https://github.com/actix/actix-net/pull/257
|
2021-01-29 03:21:06 +01:00
|
|
|
|
2021-01-09 16:12:59 +01:00
|
|
|
|
|
|
|
## 2.0.0-beta.2 - 2021-01-09
|
2021-01-03 19:16:57 +01:00
|
|
|
* Add `task` mod with re-export of `tokio::task::{spawn_blocking, yield_now, JoinHandle}` [#245]
|
2021-01-09 16:16:31 +01:00
|
|
|
* Add default "macros" feature to allow faster compile times when using `default-features=false`.
|
2020-09-06 12:01:24 +02:00
|
|
|
|
2021-01-03 19:16:57 +01:00
|
|
|
[#245]: https://github.com/actix/actix-net/pull/245
|
2020-09-06 12:01:24 +02:00
|
|
|
|
2021-01-09 16:12:59 +01:00
|
|
|
|
2020-12-28 02:58:31 +01:00
|
|
|
## 2.0.0-beta.1 - 2020-12-28
|
|
|
|
### Added
|
2020-09-06 12:01:24 +02:00
|
|
|
* Add `System::attach_to_tokio` method. [#173]
|
|
|
|
|
2020-12-27 00:26:02 +01:00
|
|
|
### Changed
|
2020-12-28 02:58:31 +01:00
|
|
|
* Update `tokio` dependency to `1.0`. [#236]
|
|
|
|
* Rename `time` module `delay_for` to `sleep`, `delay_until` to `sleep_until`, `Delay` to `Sleep`
|
|
|
|
to stay aligned with Tokio's naming. [#236]
|
2020-12-28 02:40:22 +01:00
|
|
|
* Remove `'static` lifetime requirement for `Runtime::block_on` and `SystemRunner::block_on`.
|
2020-12-28 02:58:31 +01:00
|
|
|
* These methods now accept `&self` when calling. [#236]
|
|
|
|
* Remove `'static` lifetime requirement for `System::run` and `Builder::run`. [#236]
|
|
|
|
* `Arbiter::spawn` now panics when `System` is not in scope. [#207]
|
2020-12-27 00:26:02 +01:00
|
|
|
|
|
|
|
### Fixed
|
2020-12-28 02:58:31 +01:00
|
|
|
* Fix work load issue by removing `PENDING` thread local. [#207]
|
2020-12-27 00:26:02 +01:00
|
|
|
|
|
|
|
[#207]: https://github.com/actix/actix-net/pull/207
|
2020-12-28 02:58:31 +01:00
|
|
|
[#236]: https://github.com/actix/actix-net/pull/236
|
2020-12-27 00:26:02 +01:00
|
|
|
|
2020-04-29 20:07:12 +02:00
|
|
|
## [1.1.1] - 2020-04-30
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
* Fix memory leak due to [#94] (see [#129] for more detail)
|
|
|
|
|
|
|
|
[#129]: https://github.com/actix/actix-net/issues/129
|
|
|
|
|
2020-04-08 09:34:07 +02:00
|
|
|
## [1.1.0] - 2020-04-08
|
2020-02-25 06:55:02 +01:00
|
|
|
|
2020-04-29 20:07:12 +02:00
|
|
|
**This version has been yanked.**
|
|
|
|
|
2020-04-08 09:34:07 +02:00
|
|
|
### Added
|
2020-04-05 00:05:08 +02:00
|
|
|
|
2020-04-08 09:34:07 +02: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]
|
|
|
|
* Add `Arbiter::local_join` associated function
|
|
|
|
to get be able to `await` for spawned futures [#94]
|
2020-02-25 06:55:02 +01:00
|
|
|
|
2020-04-08 09:34:07 +02: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 04:36:00 +01:00
|
|
|
|
2019-12-11 05:34:50 +01:00
|
|
|
## [1.0.0] - 2019-12-11
|
|
|
|
|
|
|
|
* Update dependencies
|
|
|
|
|
2019-12-07 04:57:43 +01:00
|
|
|
## [1.0.0-alpha.3] - 2019-12-07
|
2019-12-03 09:10:36 +01:00
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
* Fix compilation on non-unix platforms
|
|
|
|
|
2019-12-05 11:40:24 +01:00
|
|
|
### Changed
|
|
|
|
|
2019-12-07 04:57:43 +01:00
|
|
|
* Migrate to tokio 0.2
|
2019-12-05 11:40:24 +01:00
|
|
|
|
2019-12-03 09:10:36 +01:00
|
|
|
|
2019-12-02 17:30:09 +01:00
|
|
|
## [1.0.0-alpha.2] - 2019-12-02
|
2019-11-25 16:49:11 +01:00
|
|
|
|
|
|
|
Added
|
|
|
|
|
|
|
|
* Export `main` and `test` attribute macros
|
|
|
|
|
2019-11-26 04:04:14 +01:00
|
|
|
* Export `time` module (re-export of tokio-timer)
|
2019-11-26 03:12:16 +01:00
|
|
|
|
2019-12-02 17:30:09 +01:00
|
|
|
* Export `net` module (re-export of tokio-net)
|
|
|
|
|
2019-11-25 16:49:11 +01:00
|
|
|
|
|
|
|
## [1.0.0-alpha.1] - 2019-11-22
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Migrate to std::future and tokio 0.2
|
|
|
|
|
|
|
|
|
2019-11-14 12:33:28 +01:00
|
|
|
## [0.2.6] - 2019-11-14
|
2019-10-14 07:19:08 +02:00
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
* Fix arbiter's thread panic message.
|
|
|
|
|
2019-11-14 10:07:33 +01:00
|
|
|
### Added
|
|
|
|
|
|
|
|
* Allow to join arbiter's thread. #60
|
|
|
|
|
2019-10-14 07:19:08 +02:00
|
|
|
|
2019-09-03 00:03:03 +02:00
|
|
|
## [0.2.5] - 2019-09-02
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Add arbiter specific storage
|
|
|
|
|
|
|
|
|
2019-07-17 06:30:59 +02:00
|
|
|
## [0.2.4] - 2019-07-17
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Avoid a copy of the Future when initializing the Box. #29
|
|
|
|
|
|
|
|
|
2019-06-22 05:02:17 +02:00
|
|
|
## [0.2.3] - 2019-06-22
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Allow to start System using exsiting CurrentThread Handle #22
|
|
|
|
|
|
|
|
|
2019-03-28 11:56:52 +01:00
|
|
|
## [0.2.2] - 2019-03-28
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Moved `blocking` module to `actix-threadpool` crate
|
|
|
|
|
2019-06-22 05:02:17 +02:00
|
|
|
|
2019-03-12 06:51:17 +01:00
|
|
|
## [0.2.1] - 2019-03-11
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
2019-03-12 06:54:27 +01:00
|
|
|
* Added `blocking` module
|
|
|
|
|
2019-03-12 06:51:17 +01:00
|
|
|
* Arbiter::exec_fn - execute fn on the arbiter's thread
|
|
|
|
|
|
|
|
* Arbiter::exec - execute fn on the arbiter's thread and wait result
|
|
|
|
|
2019-06-22 05:02:17 +02:00
|
|
|
|
2019-03-06 19:24:58 +01:00
|
|
|
## [0.2.0] - 2019-03-06
|
|
|
|
|
|
|
|
* `run` method returns `io::Result<()>`
|
|
|
|
|
|
|
|
* Removed `Handle`
|
|
|
|
|
2019-06-22 05:02:17 +02:00
|
|
|
|
2018-12-10 04:55:40 +01:00
|
|
|
## [0.1.0] - 2018-12-09
|
|
|
|
|
2018-12-10 07:14:29 +01:00
|
|
|
* Initial release
|