diff --git a/CHANGES.md b/CHANGES.md index b77ae686a..813459d6d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,6 @@ # Changes -## [0.7.0] - 2018-xx-xx +## [0.7.0] - 2018-07-10 ### Added diff --git a/Cargo.toml b/Cargo.toml index 91e13d4bf..c660e09be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-web" -version = "0.7.0-dev" +version = "0.7.0" authors = ["Nikolay Kim "] description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust." readme = "README.md" diff --git a/MIGRATION.md b/MIGRATION.md index 3b61e98cd..f04aa2d28 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,7 +1,7 @@ ## 0.7 * [Middleware](https://actix.rs/actix-web/actix_web/middleware/trait.Middleware.html) - trait uses `&mut self` instead of `&self`. + trait uses `&HttpRequest` instead of `&mut HttpRequest`. * Removed `Route::with2()` and `Route::with3()` use tuple of extractors instead. @@ -19,6 +19,8 @@ * `Handler::handle()` uses `&self` instead of `&mut self` +* `Handler::handle()` accepts reference to `HttpRequest<_>` instead of value + * Removed deprecated `HttpServer::threads()`, use [HttpServer::workers()](https://actix.rs/actix-web/actix_web/server/struct.HttpServer.html#method.workers) instead.