add changelog

This commit is contained in:
Rob Ede 2021-11-03 03:48:23 +00:00
parent d89c7e2de4
commit 36a61469e4
2 changed files with 12 additions and 0 deletions

View File

@ -1,11 +1,16 @@
# Changes
## Unreleased - 2021-xx-xx
* Server can be started in regular Tokio runtime. [#408]
* Expose new `Server` type whose `Future` impl resolves when server stops. [#408]
* Rename `Server` to `ServerHandle`. [#407]
* Add `Server::handle` to obtain handle to server. [#408]
* Rename `ServerBuilder::{maxconn => max_concurrent_connections}`. [#407]
* Deprecate crate-level `new` shortcut for server builder. [#408]
* Minimum supported Rust version (MSRV) is now 1.52.
[#407]: https://github.com/actix/actix-net/pull/407
[#408]: https://github.com/actix/actix-net/pull/408
## 2.0.0-beta.6 - 2021-10-11

View File

@ -23,3 +23,10 @@ pub use self::test_server::TestServer;
#[doc(hidden)]
pub use self::socket::FromStream;
/// Start server building process
#[doc(hidden)]
#[deprecated(since = "2.0.0", note = "Use `Server::build()`.")]
pub fn new() -> ServerBuilder {
ServerBuilder::default()
}