mirror of https://github.com/fafhrd91/actix-net
5.7 KiB
5.7 KiB
Changes
Unreleased - 2021-xx-xx
2.5.0 - 2021-11-22
- Add
System::run_with_codeto allow retrieving the exit code on stop. #411
2.4.0 - 2021-11-05
- Add
Arbiter::try_currentfor situations where thread may or may not have Arbiter context. #408 - Start io-uring with
System::newwhen feature is enabled. #395
2.3.0 - 2021-10-11
- The
spawnmethod can now resolve with non-unit outputs. #369 - Add experimental (semver-exempt)
io-uringfeature for enabling async file I/O on linux. #374
2.2.0 - 2021-03-29
- BREAKING
ActixStream::{poll_read_ready, poll_write_ready}methods now returnReadyobject in ok variant. #293- Breakage is acceptable since
ActixStreamwas not intended to be public.
- Breakage is acceptable since
2.1.0 - 2021-02-24
- Add
ActixStreamextension trait to include readiness methods. #276 - Re-export
tokio::net::TcpSocketinnetmodule #282
2.0.2 - 2021-02-06
- Add
Arbiter::handleto get a handle of an owned Arbiter. #274 - Add
System::try_currentfor situations where actix may or may not be running a System. #275
2.0.1 - 2021-02-06
- Expose
JoinErrorfrom Tokio. #271
2.0.0 - 2021-02-02
2.0.0-beta.3 - 2021-01-31
- Remove
run_in_tokio,attach_to_tokioandAsyncSystemRunner. #253 - Return
JoinHandlefromactix_rt::spawn. #253 - Remove old
Arbiter::spawn. Implementation is now inlined intoactix_rt::spawn. #253 - Rename
Arbiter::{send => spawn}andArbiter::{exec_fn => spawn_fn}. #253 - Remove
Arbiter::exec. #253 - Remove deprecated
Arbiter::local_joinandArbiter::is_running. #253 Arbiter::spawnnow accepts !Unpin futures. #256System::newno longer takes arguments. #257- Remove
System::with_current. #257 - Remove
Builder. #257 - Add
System::with_initas replacement forBuilder::run. #257 - Rename
System::{is_set => is_registered}. #257 - Add
ArbiterHandlefor sending messages to non-current-thread arbiters. #257. System::arbiternow returns an&ArbiterHandle. #257Arbiter::currentnow returns anArbiterHandleinstead. #257Arbiter::joinnow takes self by value. #257
2.0.0-beta.2 - 2021-01-09
- Add
taskmod with re-export oftokio::task::{spawn_blocking, yield_now, JoinHandle}#245 - Add default "macros" feature to allow faster compile times when using
default-features=false.
2.0.0-beta.1 - 2020-12-28
- Add
System::attach_to_tokiomethod. [#173] - Update
tokiodependency to1.0. #236 - Rename
timemoduledelay_fortosleep,delay_untiltosleep_until,DelaytoSleepto stay aligned with Tokio's naming. #236 - Remove
'staticlifetime requirement forRuntime::block_onandSystemRunner::block_on.- These methods now accept
&selfwhen calling. #236
- These methods now accept
- Remove
'staticlifetime requirement forSystem::runandBuilder::run. #236 Arbiter::spawnnow panics whenSystemis not in scope. #207- Fix work load issue by removing
PENDINGthread local. #207
1.1.1 - 2020-04-30
1.1.0 - 2020-04-08 (YANKED)
- Expose
System::is_setto check if current system has ben started #99 - Add
Arbiter::is_runningto check if event loop is running #124 - Add
Arbiter::local_joinassociated function to get be able toawaitfor spawned futures #94
1.0.0 - 2019-12-11
- Update dependencies
1.0.0-alpha.3 - 2019-12-07
- Migrate to tokio 0.2
- Fix compilation on non-unix platforms
1.0.0-alpha.2 - 2019-12-02
- Export
mainandtestattribute macros - Export
timemodule (re-export of tokio-timer) - Export
netmodule (re-export of tokio-net)
1.0.0-alpha.1 - 2019-11-22
- Migrate to std::future and tokio 0.2
0.2.6 - 2019-11-14
- Allow to join arbiter's thread. #60
- Fix arbiter's thread panic message.
0.2.5 - 2019-09-02
- Add arbiter specific storage
0.2.4 - 2019-07-17
- Avoid a copy of the Future when initializing the Box. #29
0.2.3 - 2019-06-22
- Allow to start System using existing CurrentThread Handle #22
0.2.2 - 2019-03-28
- Moved
blockingmodule toactix-threadpoolcrate
0.2.1 - 2019-03-11
- Added
blockingmodule - Added
Arbiter::exec_fn- execute fn on the arbiter's thread - Added
Arbiter::exec- execute fn on the arbiter's thread and wait result
0.2.0 - 2019-03-06
runmethod returnsio::Result<()>- Removed
Handle
0.1.0 - 2018-12-09
- Initial release