Update CHANGES.md

This commit is contained in:
Rob Ede 2020-07-20 18:04:53 +01:00 committed by GitHub
parent 29ced525d4
commit 879383d246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -4,10 +4,13 @@
### Changed ### Changed
* `PayloadConfig` is now also considered in `Bytes` and `String` extractors when set * `PayloadConfig` is now also considered in `Bytes` and `String` extractors when set
using `App::data`. [#1610] using `App::data`. [#1610]
* `web::Path` now has a public representation: `web::Path(pub T)` that enables
destructuring. [#1594]
### Fixed ### Fixed
* Memory leak of app data in pooled requests. [#1609] * Memory leak of app data in pooled requests. [#1609]
[#1594]: https://github.com/actix/actix-web/pull/1594
[#1609]: https://github.com/actix/actix-web/pull/1609 [#1609]: https://github.com/actix/actix-web/pull/1609
[#1610]: https://github.com/actix/actix-web/pull/1610 [#1610]: https://github.com/actix/actix-web/pull/1610
@ -23,8 +26,6 @@
* Fix actix_http::h1::dispatcher so it returns when HW_BUFFER_SIZE is reached. Should reduce peak memory consumption during large uploads. [#1550] * Fix actix_http::h1::dispatcher so it returns when HW_BUFFER_SIZE is reached. Should reduce peak memory consumption during large uploads. [#1550]
* Migrate cookie handling to `cookie` crate. Actix-web no longer requires `ring` dependency. * Migrate cookie handling to `cookie` crate. Actix-web no longer requires `ring` dependency.
* MSRV is now 1.41.1 * MSRV is now 1.41.1
* `web::Path` now has a public representation: `web::Path(pub T)`
* This means it can now be destructured the same way as `web::Json`: `async fn some_route(web::Path(s): web::Path<String>)`
### Fixed ### Fixed
* `NormalizePath` improved consistency when path needs slashes added _and_ removed. * `NormalizePath` improved consistency when path needs slashes added _and_ removed.