2017-10-30 20:46:39 -07:00
|
|
|
# Changes
|
2017-10-23 23:25:32 -07:00
|
|
|
|
2019-05-04 19:43:49 -07:00
|
|
|
## [1.0.0-beta.3] - 2019-05-04
|
|
|
|
|
2019-04-29 09:34:14 -07:00
|
|
|
### Added
|
|
|
|
|
|
|
|
* Add helper function for executing futures `test::block_fn()`
|
|
|
|
|
2019-04-29 09:26:12 -07:00
|
|
|
### Changed
|
|
|
|
|
2019-05-04 19:43:49 -07:00
|
|
|
* Extractor configuration could be registered with `App::data()`
|
|
|
|
or with `Resource::data()` #775
|
|
|
|
|
|
|
|
* Route data is unified with app data, `Route::data()` moved to resource
|
|
|
|
level to `Resource::data()`
|
|
|
|
|
2019-05-04 08:42:27 -07:00
|
|
|
* CORS handling without headers #702
|
|
|
|
|
2019-04-29 09:26:12 -07:00
|
|
|
* Allow to construct `Data` instances to avoid double `Arc` for `Send + Sync` types.
|
|
|
|
|
2019-05-01 12:40:56 -07:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
* Fix `NormalizePath` middleware impl #806
|
|
|
|
|
2019-05-04 19:43:49 -07:00
|
|
|
### Deleted
|
|
|
|
|
|
|
|
* `App::data_factory()` is deleted.
|
|
|
|
|
2019-04-29 09:26:12 -07:00
|
|
|
|
2019-04-24 13:00:30 -07:00
|
|
|
## [1.0.0-beta.2] - 2019-04-24
|
|
|
|
|
2019-04-22 14:22:08 -07:00
|
|
|
### Added
|
|
|
|
|
2019-04-24 15:29:15 -07:00
|
|
|
* Add raw services support via `web::service()`
|
2019-04-24 10:25:46 -07:00
|
|
|
|
2019-04-22 14:22:08 -07:00
|
|
|
* Add helper functions for reading response body `test::read_body()`
|
|
|
|
|
2019-04-24 15:29:15 -07:00
|
|
|
* Add support for `remainder match` (i.e "/path/{tail}*")
|
2019-04-22 21:22:17 -07:00
|
|
|
|
2019-04-24 15:29:15 -07:00
|
|
|
* Extend `Responder` trait, allow to override status code and headers.
|
2019-04-22 21:22:17 -07:00
|
|
|
|
2019-04-24 15:42:34 -07:00
|
|
|
* Store visit and login timestamp in the identity cookie #502
|
|
|
|
|
2019-04-22 14:22:08 -07:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
* `.to_async()` handler can return `Responder` type #792
|
|
|
|
|
2019-04-23 21:21:49 -07:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
* Fix async web::Data factory handling
|
|
|
|
|
|
|
|
|
2019-04-20 21:16:51 -07:00
|
|
|
## [1.0.0-beta.1] - 2019-04-20
|
2019-04-14 19:52:12 -07:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
2019-04-16 10:11:38 -07:00
|
|
|
* Add helper functions for reading test response body,
|
2019-04-14 19:52:12 -07:00
|
|
|
`test::read_response()` and test::read_response_json()`
|
|
|
|
|
2019-04-16 10:11:38 -07:00
|
|
|
* Add `.peer_addr()` #744
|
|
|
|
|
2019-04-20 11:18:04 -07:00
|
|
|
* Add `NormalizePath` middleware
|
|
|
|
|
2019-04-15 07:32:49 -07:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Rename `RouterConfig` to `ServiceConfig`
|
|
|
|
|
2019-04-15 07:44:07 -07:00
|
|
|
* Rename `test::call_success` to `test::call_service`
|
|
|
|
|
2019-04-18 16:03:13 -07:00
|
|
|
* Removed `ServiceRequest::from_parts()` as it is unsafe to create from parts.
|
|
|
|
|
2019-04-19 17:23:17 -07:00
|
|
|
* `CookieIdentityPolicy::max_age()` accepts value in seconds
|
|
|
|
|
2019-04-14 19:52:12 -07:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
* Fixed `TestRequest::app_data()`
|
|
|
|
|
|
|
|
|
2019-04-14 08:09:32 -07:00
|
|
|
## [1.0.0-alpha.6] - 2019-04-14
|
2019-04-13 14:50:54 -07:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2019-04-13 22:25:00 -07:00
|
|
|
* Allow to use any service as default service.
|
|
|
|
|
2019-04-13 14:50:54 -07:00
|
|
|
* Remove generic type for request payload, always use default.
|
|
|
|
|
|
|
|
* Removed `Decompress` middleware. Bytes, String, Json, Form extractors
|
|
|
|
automatically decompress payload.
|
|
|
|
|
2019-04-13 16:35:25 -07:00
|
|
|
* Make extractor config type explicit. Add `FromRequest::Config` associated type.
|
|
|
|
|
2019-04-13 14:50:54 -07:00
|
|
|
|
2019-04-12 14:00:45 -07:00
|
|
|
## [1.0.0-alpha.5] - 2019-04-12
|
|
|
|
|
2019-04-10 20:47:28 -07:00
|
|
|
### Added
|
|
|
|
|
|
|
|
* Added async io `TestBuffer` for testing.
|
|
|
|
|
2019-04-12 14:00:45 -07:00
|
|
|
### Deleted
|
|
|
|
|
|
|
|
* Removed native-tls support
|
|
|
|
|
2019-04-10 20:47:28 -07:00
|
|
|
|
2019-04-07 23:42:05 -07:00
|
|
|
## [1.0.0-alpha.4] - 2019-04-08
|
2019-04-03 15:09:31 -07:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* `App::configure()` allow to offload app configuration to different methods
|
2019-04-03 12:28:58 -07:00
|
|
|
|
2019-04-03 20:41:42 -04:00
|
|
|
* Added `URLPath` option for logger
|
|
|
|
|
2019-04-03 15:25:52 -07:00
|
|
|
* Added `ServiceRequest::app_data()`, returns `Data<T>`
|
|
|
|
|
|
|
|
* Added `ServiceFromRequest::app_data()`, returns `Data<T>`
|
|
|
|
|
2019-04-03 12:28:58 -07:00
|
|
|
### Changed
|
|
|
|
|
2019-04-07 14:43:07 -07:00
|
|
|
* `FromRequest` trait refactoring
|
|
|
|
|
2019-04-03 12:28:58 -07:00
|
|
|
* Move multipart support to actix-multipart crate
|
|
|
|
|
2019-04-10 12:43:31 -07:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
* Fix body propagation in Response::from_error. #760
|
|
|
|
|
2019-04-03 12:28:58 -07:00
|
|
|
|
2019-04-02 21:49:31 -07:00
|
|
|
## [1.0.0-alpha.3] - 2019-04-02
|
|
|
|
|
2019-03-31 20:43:00 -07:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Renamed `TestRequest::to_service()` to `TestRequest::to_srv_request()`
|
|
|
|
|
|
|
|
* Renamed `TestRequest::to_response()` to `TestRequest::to_srv_response()`
|
|
|
|
|
2019-04-02 13:35:01 -07:00
|
|
|
* Removed `Deref` impls
|
|
|
|
|
2019-03-30 10:04:38 -07:00
|
|
|
### Removed
|
|
|
|
|
|
|
|
* Removed unused `actix_web::web::md()`
|
|
|
|
|
|
|
|
|
2019-03-29 11:59:38 -07:00
|
|
|
## [1.0.0-alpha.2] - 2019-03-29
|
|
|
|
|
2019-03-29 22:06:14 -07:00
|
|
|
### Added
|
|
|
|
|
|
|
|
* rustls support
|
|
|
|
|
2019-03-29 11:59:38 -07:00
|
|
|
### Changed
|
|
|
|
|
2019-03-29 22:06:14 -07:00
|
|
|
* use forked cookie
|
|
|
|
|
2019-03-29 11:59:38 -07:00
|
|
|
* multipart::Field renamed to MultipartField
|
|
|
|
|
2019-03-28 13:46:26 -07:00
|
|
|
## [1.0.0-alpha.1] - 2019-03-28
|
2019-03-24 16:17:59 -07:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2019-03-28 13:46:26 -07:00
|
|
|
* Complete architecture re-design.
|
|
|
|
|
2019-03-24 16:17:59 -07:00
|
|
|
* Return 405 response if no matching route found within resource #538
|