diff --git a/actix-rt/CHANGES.md b/actix-rt/CHANGES.md index 8e73cef2..35409616 100644 --- a/actix-rt/CHANGES.md +++ b/actix-rt/CHANGES.md @@ -2,23 +2,25 @@ ## Unreleased - 2020-xx-xx -### Added +## 2.0.0-beta.1 - 2020-12-28 +### Added * Add `System::attach_to_tokio` method. [#173] ### Changed -* Update `tokio` dependency to `1` -* Rename `time` module `delay_for` to `sleep`, `delay_until` to `sleep_until`, `Delay` to `Sleep` to keep inline with tokio. +* 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] * Remove `'static` lifetime requirement for `Runtime::block_on` and `SystemRunner::block_on`. - These methods would accept &Self when calling. - Remove `'static` lifetime requirement for `System::run` and `Builder::run`. - `Arbiter::spawn` would panic when `System` is not in scope. [#207] + * 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] ### Fixed - -* Fix work load issue by removing `PENDDING` thread local. [#207] +* Fix work load issue by removing `PENDING` thread local. [#207] [#207]: https://github.com/actix/actix-net/pull/207 +[#236]: https://github.com/actix/actix-net/pull/236 ## [1.1.1] - 2020-04-30 diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml index eff206f2..317345d4 100644 --- a/actix-rt/Cargo.toml +++ b/actix-rt/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "actix-rt" -version = "1.1.1" +version = "2.0.0-beta.1" authors = ["Nikolay Kim "] -description = "Actix runtime" +description = "Tokio-based single-thread async runtime for the Actix ecosystem" keywords = ["network", "framework", "async", "futures"] homepage = "https://actix.rs" repository = "https://github.com/actix/actix-net.git" diff --git a/actix-rt/src/lib.rs b/actix-rt/src/lib.rs index 3fd94bf9..440fa33c 100644 --- a/actix-rt/src/lib.rs +++ b/actix-rt/src/lib.rs @@ -1,4 +1,5 @@ -//! A runtime implementation that runs everything on the current thread. +//! Tokio-based single-thread async runtime for the Actix ecosystem. + #![deny(rust_2018_idioms, nonstandard_style)] #![allow(clippy::type_complexity)] #![doc(html_logo_url = "https://actix.rs/img/logo.png")] diff --git a/actix-service/CHANGES.md b/actix-service/CHANGES.md index 82c5adb3..1cbf414e 100644 --- a/actix-service/CHANGES.md +++ b/actix-service/CHANGES.md @@ -1,6 +1,9 @@ # Changes ## Unreleased - 2020-xx-xx + + +## 2.0.0-beta.1 - 2020-12-28 * `Service`, other traits, and many type signatures now take the the request type as a type parameter instead of an associated type. [#232] * Add `always_ready!` and `forward_ready!` macros. [#233] @@ -19,7 +22,10 @@ ### Fixed -* Removed unsound custom Cell implementation that allowed obtaining several mutable references to the same data, which is undefined behavior in Rust and could lead to violations of memory safety. External code could obtain several mutable references to the same data through service combinators. Attempts to acquire several mutable references to the same data will instead result in a panic. +* Removed unsound custom Cell implementation that allowed obtaining several mutable references to + the same data, which is undefined behavior in Rust and could lead to violations of memory safety. External code could obtain several mutable references to the same data through + service combinators. Attempts to acquire several mutable references to the same data will instead + result in a panic. ## [1.0.5] - 2020-01-16 diff --git a/actix-service/Cargo.toml b/actix-service/Cargo.toml index c08bb169..708fb5e6 100644 --- a/actix-service/Cargo.toml +++ b/actix-service/Cargo.toml @@ -1,7 +1,10 @@ [package] name = "actix-service" -version = "1.0.6" -authors = ["Nikolay Kim "] +version = "2.0.0-beta.1" +authors = [ + "Nikolay Kim ", + "Rob Ede ", +] description = "Service trait and combinators for representing asynchronous request/response operations." keywords = ["network", "framework", "async", "futures", "service"] homepage = "https://actix.rs"