From 62ba01fc15ea933613134d342ceb3c1fa38c2ce5 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Fri, 6 Jul 2018 15:00:14 +0600 Subject: [PATCH] update changes --- CHANGES.md | 2 +- Cargo.toml | 2 +- MIGRATION.md | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index b77ae686..813459d6 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 91e13d4b..c660e09b 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 3b61e98c..f04aa2d2 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.