mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 22:49:21 +02:00
Implement register_data
method on Resource
and Scope
. (#1094)
* Implement `register_data` method on `Resource` and `Scope`. * Split Scope::register_data tests out from Scope::data tests. * CHANGES.md: Mention {Scope,Resource}::register_data.
This commit is contained in:
10
CHANGES.md
10
CHANGES.md
@ -1,10 +1,18 @@
|
||||
# Changes
|
||||
## not released yet
|
||||
|
||||
### Added
|
||||
|
||||
* Add `Scope::register_data` and `Resource::register_data` methods, parallel to
|
||||
`App::register_data`.
|
||||
|
||||
## [1.0.8] - 2019-09-xx
|
||||
|
||||
### Added
|
||||
|
||||
* Add `middleware::Conditon` that conditionally enables another middleware
|
||||
* Add `middleware::Condition` that conditionally enables another middleware
|
||||
|
||||
### Fixed
|
||||
|
||||
* Allow to re-construct `ServiceRequest` from `HttpRequest` and `Payload`
|
||||
|
||||
|
Reference in New Issue
Block a user