1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-24 01:11:07 +01:00
actix-net/actix-server/CHANGES.md

156 lines
3.7 KiB
Markdown
Raw Normal View History

2018-12-10 07:14:29 +01:00
# Changes
2021-01-03 05:39:37 +01:00
## Unreleased - 2021-xx-xx
* Hidden `ServerBuilder::start` method has been removed. Use `ServerBuilder::run`. [#246]
* Add retry for EINTR(`io::Interrupted`) in `Accept`'s poll loop. [#264]
[#246]: https://github.com/actix/actix-net/pull/246
[#264]: https://github.com/actix/actix-net/pull/264
2021-01-03 05:39:37 +01:00
## 2.0.0-beta.2 - 2021-01-03
* Merge `actix-testing` to `actix-server` as `test_server` mod. [#242]
[#242]: https://github.com/actix/actix-net/pull/242
2020-12-29 00:50:00 +01:00
## 2.0.0-beta.1 - 2020-12-28
2020-11-29 16:30:13 +01:00
* Added explicit info log message on accept queue pause. [#215]
* Prevent double registration of sockets when back-pressure is resolved. [#223]
2020-12-29 00:50:00 +01:00
* Update `mio` dependency to `0.7.3`. [#239]
* Remove `socket2` dependency. [#239]
* `ServerBuilder::backlog` now accepts `u32` instead of `i32`. [#239]
* Remove `AcceptNotify` type and pass `WakerQueue` to `Worker` to wake up `Accept`'s `Poll`. [#239]
* Convert `mio::net::TcpStream` to `actix_rt::net::TcpStream`(`UnixStream` for uds) using
`FromRawFd` and `IntoRawFd`(`FromRawSocket` and `IntoRawSocket` on windows). [#239]
* Remove `AsyncRead` and `AsyncWrite` trait bound for `socket::FromStream` trait. [#239]
[#215]: https://github.com/actix/actix-net/pull/215
[#223]: https://github.com/actix/actix-net/pull/223
2020-12-29 00:50:00 +01:00
[#239]: https://github.com/actix/actix-net/pull/239
2020-09-12 16:28:17 +02:00
## 1.0.4 - 2020-09-12
* Update actix-codec to 0.3.0.
* Workers must be greater than 0. [#167]
2020-09-12 16:28:17 +02:00
[#167]: https://github.com/actix/actix-net/pull/167
2020-09-12 16:28:17 +02:00
## 1.0.3 - 2020-05-19
2020-05-19 03:20:32 +02:00
* Replace deprecated `net2` crate with `socket2` [#140]
[#140]: https://github.com/actix/actix-net/pull/140
2020-02-26 11:48:41 +01:00
2020-09-12 16:28:17 +02:00
## 1.0.2 - 2020-02-26
2020-02-26 11:48:41 +01:00
* Avoid error by calling `reregister()` on Windows [#103]
[#103]: https://github.com/actix/actix-net/pull/103
2019-12-29 05:07:46 +01:00
2020-09-12 16:28:17 +02:00
## 1.0.1 - 2019-12-29
2019-12-29 05:07:46 +01:00
* Rename `.start()` method to `.run()`
2019-12-11 09:43:26 +01:00
2020-09-12 16:28:17 +02:00
## 1.0.0 - 2019-12-11
2019-12-11 09:43:26 +01:00
* Use actix-net releases
2020-09-12 16:28:17 +02:00
## 1.0.0-alpha.4 - 2019-12-08
2019-12-08 14:49:35 +01:00
* Use actix-service 1.0.0-alpha.4
2019-12-05 11:40:24 +01:00
2020-09-12 16:28:17 +02:00
## 1.0.0-alpha.3 - 2019-12-07
* Migrate to tokio 0.2
2019-12-03 09:10:36 +01:00
* Fix compilation on non-unix platforms
2019-12-04 16:34:48 +01:00
* Better handling server configuration
2019-12-03 09:10:36 +01:00
2020-09-12 16:28:17 +02:00
## 1.0.0-alpha.2 - 2019-12-02
2019-12-02 17:30:09 +01:00
* Simplify server service (remove actix-server-config)
* Allow to wait on `Server` until server stops
2020-09-12 16:28:17 +02:00
## 0.8.0-alpha.1 - 2019-11-22
* Migrate to `std::future`
2020-09-12 16:28:17 +02:00
## 0.7.0 - 2019-10-04
* Update `rustls` to 0.16
* Minimum required Rust version upped to 1.37.0
Migrate actix-net to std::future (#64) * Migrate actix-codec, actix-rt, and actix-threadpool to std::future * update to latest tokio alpha and futures-rs * Migrate actix-service to std::future, This is a squash of ~8 commits, since it included a lot of experimentation. To see the commits, look into the semtexzv/std-future-service-tmp branch. * update futures-rs and tokio * Migrate actix-threadpool to std::future (#59) * Migrate actix-threadpool to std::future * Cosmetic refactor - turn log::error! into log::warn! as it doesn't throw any error - add Clone and Copy impls for Cancelled making it cheap to operate with - apply rustfmt * Bump up crate version to 0.2.0 and pre-fill its changelog * Disable patching 'actix-threadpool' crate in global workspace as unnecessary * Revert patching and fix 'actix-rt' * Migrate actix-rt to std::future (#47) * remove Pin from Service::poll_ready(); simplify combinators api; make code compile * disable tests * update travis config * refactor naming * drop IntoFuture trait * Migrate actix-server to std::future (#50) Still not finished, this is more WIP, this is an aggregation of several commits, which can be found in semtexzv/std-future-server-tmp branch * update actix-server * rename Factor to ServiceFactory * start server worker in start mehtod * update actix-utils * remove IntoTransform trait * Migrate actix-server::ssl::nativetls to std futures (#61) * Refactor 'nativetls' module * Migrate 'actix-server-config' to std futures - remove "uds" feature - disable features by default * Switch NativeTlsAcceptor to use 'tokio-tls' crate * Bikeshed features names and remove unnecessary dependencies for 'actix-server-config' crate * update openssl impl * migrate actix-connect to std::future * migrate actix-ioframe to std::future * update version to alpha.1 * fix boxed service * migrate server rustls support * migratte openssl and rustls connecttors * store the thread's handle with arbiter (#62) * update ssl connect tests * restore service tests * update readme
2019-11-14 13:38:24 +01:00
2020-09-12 16:28:17 +02:00
## 0.6.1 - 2019-09-25
2019-09-25 06:35:15 +02:00
* Add UDS listening support to `ServerBuilder`
2020-09-12 16:28:17 +02:00
## 0.6.0 - 2019-07-18
2019-07-18 13:05:40 +02:00
* Support Unix domain sockets #3
2020-09-12 16:28:17 +02:00
## 0.5.1 - 2019-05-18
2019-05-18 19:56:41 +02:00
* ServerBuilder::shutdown_timeout() accepts u64
2020-09-12 16:28:17 +02:00
## 0.5.0 - 2019-05-12
* Add `Debug` impl for `SslError`
2019-05-12 17:03:16 +02:00
* Derive debug for `Server` and `ServerCommand`
* Upgrade to actix-service 0.4
2019-05-12 17:03:16 +02:00
2020-09-12 16:28:17 +02:00
## 0.4.3 - 2019-04-16
* Re-export `IoStream` trait
2020-09-12 16:28:17 +02:00
* Depend on `ssl` and `rust-tls` features from actix-server-config
2020-09-12 16:28:17 +02:00
## 0.4.2 - 2019-03-30
2019-03-30 20:09:02 +01:00
* Fix SIGINT force shutdown
2020-09-12 16:28:17 +02:00
## 0.4.1 - 2019-03-14
2019-03-15 04:23:49 +01:00
* `SystemRuntime::on_start()` - allow to run future before server service initialization
2020-09-12 16:28:17 +02:00
## 0.4.0 - 2019-03-12
2019-03-13 00:40:22 +01:00
* Use `ServerConfig` for service factory
* Wrap tcp socket to `Io` type
2019-03-05 16:35:26 +01:00
* Upgrade actix-service
2020-09-12 16:28:17 +02:00
## 0.3.1 - 2019-03-04
2019-03-05 00:42:25 +01:00
* Add `ServerBuilder::maxconnrate` sets the maximum per-worker number of concurrent connections
2019-03-05 01:16:39 +01:00
* Add helper ssl error `SslError`
* Rename `StreamServiceFactory` to `ServiceFactory`
* Deprecate `StreamServiceFactory`
2020-09-12 16:28:17 +02:00
## 0.3.0 - 2019-03-02
2019-03-02 23:42:31 +01:00
* Use new `NewService` trait
2020-09-12 16:28:17 +02:00
## 0.2.1 - 2019-02-09
2019-02-10 06:39:17 +01:00
* Drop service response
2020-09-12 16:28:17 +02:00
## 0.2.0 - 2019-02-01
* Migrate to actix-service 0.2
2019-01-26 22:15:17 +01:00
* Updated rustls dependency
2020-09-12 16:28:17 +02:00
## 0.1.3 - 2018-12-21
* Fix max concurrent connections handling
2020-09-12 16:28:17 +02:00
## 0.1.2 - 2018-12-12
2018-12-12 23:24:46 +01:00
* rename ServiceConfig::rt() to ServiceConfig::apply()
* Fix back-pressure for concurrent ssl handshakes
2020-09-12 16:28:17 +02:00
## 0.1.1 - 2018-12-11
2018-12-11 23:03:06 +01:00
* Fix signal handling on windows
2020-09-12 16:28:17 +02:00
## 0.1.0 - 2018-12-09
2018-12-10 07:14:29 +01:00
* Move server to separate crate