1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-12 02:09:36 +00: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.