From 0ff5f5f44825ba0213bd569594a46d107c6efa53 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sat, 2 Jun 2018 09:01:51 -0700 Subject: [PATCH] update migration --- MIGRATION.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/MIGRATION.md b/MIGRATION.md index f93e83c20..6436593ef 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,3 +1,14 @@ +## 0.7 + +* Middleware trait uses `&mut self` instead of `&self`. + +* Removed `Route::with2()` and `Route::with3()` use tuple of extractors instead. + + `fn index((query, json): (Query<..>, Json impl Responder` + +* Removed deprecated `HttpServer::threads()`, use `HttpServer::workers()` instead. + + ## Migration from 0.5 to 0.6 * `Path` extractor return `ErrorNotFound` on failure instead of `ErrorBadRequest`