1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-27 17:52:56 +01:00

update changes

This commit is contained in:
Nikolay Kim 2018-07-06 15:00:14 +06:00
parent 5b7aed101a
commit 62ba01fc15
3 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Changes
## [0.7.0] - 2018-xx-xx
## [0.7.0] - 2018-07-10
### Added

View File

@ -1,6 +1,6 @@
[package]
name = "actix-web"
version = "0.7.0-dev"
version = "0.7.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust."
readme = "README.md"

View File

@ -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.