2017-10-31 03:46:39 +00:00
|
|
|
# Changes
|
2017-10-24 06:25:32 +00:00
|
|
|
|
2018-07-06 09:00:14 +00:00
|
|
|
## [0.7.0] - 2018-07-10
|
2018-05-24 16:24:04 +00:00
|
|
|
|
2018-06-02 16:15:44 +00:00
|
|
|
### Added
|
|
|
|
|
2018-07-10 11:05:20 +00:00
|
|
|
* Add `.has_prefixed_route()` method to `router::RouteInfo` for route matching with prefix awareness
|
|
|
|
|
2018-06-13 21:19:48 +00:00
|
|
|
* Add `HttpMessage::readlines()` for reading line by line.
|
|
|
|
|
2018-06-12 17:32:16 +00:00
|
|
|
* Add `ClientRequestBuilder::form()` for sending `application/x-www-form-urlencoded` requests.
|
|
|
|
|
2018-06-12 22:33:28 +00:00
|
|
|
* Add method to configure custom error handler to Form extractor.
|
|
|
|
|
2018-06-12 13:49:07 +00:00
|
|
|
* Add methods to `HttpResponse` to retrieve, add, and delete cookies
|
|
|
|
|
2018-06-09 14:02:05 +00:00
|
|
|
* Add `.set_content_type()` and `.set_content_disposition()` methods
|
|
|
|
to `fs::NamedFile` to allow overriding the values inferred by default
|
|
|
|
|
|
|
|
* Add `fs::file_extension_to_mime()` helper function to get the MIME
|
|
|
|
type for a file extension
|
|
|
|
|
2018-06-07 17:59:35 +00:00
|
|
|
* Add `.content_disposition()` method to parse Content-Disposition of
|
|
|
|
multipart fields
|
|
|
|
|
2018-06-02 16:15:44 +00:00
|
|
|
* Re-export `actix::prelude::*` as `actix_web::actix` module.
|
|
|
|
|
2018-06-02 18:45:37 +00:00
|
|
|
* `HttpRequest::url_for_static()` for a named route with no variables segments
|
2018-06-02 16:15:44 +00:00
|
|
|
|
2018-06-21 09:37:34 +00:00
|
|
|
* Propagation of the application's default resource to scopes that haven't set a default resource.
|
|
|
|
|
2018-05-25 04:03:16 +00:00
|
|
|
|
2018-06-02 18:45:37 +00:00
|
|
|
### Changed
|
2018-05-25 04:03:16 +00:00
|
|
|
|
2018-05-25 04:09:20 +00:00
|
|
|
* Min rustc version is 1.26
|
|
|
|
|
2018-06-12 13:49:07 +00:00
|
|
|
* `HttpResponse::into_builder()` now moves cookies into the builder
|
|
|
|
instead of dropping them
|
|
|
|
|
2018-06-02 18:45:37 +00:00
|
|
|
* Use tokio instead of tokio-core
|
|
|
|
|
2018-06-21 11:07:54 +00:00
|
|
|
* For safety and performance reasons `Handler::handle()` uses `&self` instead of `&mut self`
|
2018-06-02 03:37:29 +00:00
|
|
|
|
2018-07-05 06:02:32 +00:00
|
|
|
* `Handler::handle()` uses `&HttpRequest` instead of `HttpRequest`
|
|
|
|
|
2018-06-04 20:34:07 +00:00
|
|
|
* Added header `User-Agent: Actix-web/<current_version>` to default headers when building a request
|
2018-06-02 18:45:37 +00:00
|
|
|
|
2018-06-21 01:05:26 +00:00
|
|
|
* port `Extensions` type from http create, we don't need `Send + Sync`
|
2018-06-16 21:24:08 +00:00
|
|
|
|
2018-07-05 06:02:32 +00:00
|
|
|
* `HttpRequest::query()` returns `Ref<HashMap<String, String>>`
|
|
|
|
|
|
|
|
* `HttpRequest::cookies()` returns `Ref<Vec<Cookie<'static>>>`
|
2018-06-17 02:54:30 +00:00
|
|
|
|
2018-07-05 09:34:13 +00:00
|
|
|
* `StaticFiles::new()` returns `Result<StaticFiles<S>, Error>` instead of `StaticFiles<S>`
|
|
|
|
|
|
|
|
* `StaticFiles` uses the default handler if the file does not exist
|
|
|
|
|
2018-06-08 03:09:08 +00:00
|
|
|
|
2018-06-01 17:55:54 +00:00
|
|
|
### Removed
|
|
|
|
|
|
|
|
* Remove `Route::with2()` and `Route::with3()` use tuple of extractors instead.
|
|
|
|
|
2018-06-17 02:48:50 +00:00
|
|
|
* Remove `HttpMessage::range()`
|
|
|
|
|
2018-07-05 06:02:32 +00:00
|
|
|
|
2018-07-11 07:34:40 +00:00
|
|
|
## [0.6.15] - 2018-07-11
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
* Fix h2 compatibility #352
|
|
|
|
|
|
|
|
* Fix duplicate tail of StaticFiles with index_file. #344
|
|
|
|
|
|
|
|
|
2018-06-21 03:38:59 +00:00
|
|
|
## [0.6.14] - 2018-06-21
|
|
|
|
|
2018-06-21 03:47:28 +00:00
|
|
|
### Added
|
|
|
|
|
2018-06-21 03:38:59 +00:00
|
|
|
* Allow to disable masking for websockets client
|
|
|
|
|
2018-06-21 03:47:28 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
* SendRequest execution fails with the "internal error: entered unreachable code" #329
|
|
|
|
|
2018-05-24 16:24:04 +00:00
|
|
|
|
2018-06-12 21:47:45 +00:00
|
|
|
## [0.6.13] - 2018-06-11
|
|
|
|
|
|
|
|
* http/2 end-of-frame is not set if body is empty bytes #307
|
|
|
|
|
|
|
|
* InternalError can trigger memory unsafety #301
|
|
|
|
|
|
|
|
|
2018-06-08 23:33:57 +00:00
|
|
|
## [0.6.12] - 2018-06-08
|
2018-06-08 03:09:08 +00:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Add `Host` filter #287
|
|
|
|
|
|
|
|
* Allow to filter applications
|
|
|
|
|
|
|
|
* Improved failure interoperability with downcasting #285
|
|
|
|
|
2018-06-08 23:33:57 +00:00
|
|
|
* Allow to use custom resolver for `ClientConnector`
|
|
|
|
|
2018-06-08 03:09:08 +00:00
|
|
|
|
2018-06-05 16:45:07 +00:00
|
|
|
## [0.6.11] - 2018-06-05
|
2018-06-02 18:45:37 +00:00
|
|
|
|
2018-06-02 21:57:56 +00:00
|
|
|
* Support chunked encoding for UrlEncoded body #262
|
|
|
|
|
2018-06-02 18:45:37 +00:00
|
|
|
* `HttpRequest::url_for()` for a named route with no variables segments #265
|
|
|
|
|
2018-06-04 20:43:52 +00:00
|
|
|
* `Middleware::response()` is not invoked if error result was returned by another `Middleware::start()` #255
|
|
|
|
|
2018-06-05 14:40:11 +00:00
|
|
|
* CORS: Do not validate Origin header on non-OPTION requests #271
|
|
|
|
|
2018-06-05 15:55:28 +00:00
|
|
|
* Fix multipart upload "Incomplete" error #282
|
|
|
|
|
2018-06-02 18:45:37 +00:00
|
|
|
|
2018-05-24 14:56:51 +00:00
|
|
|
## [0.6.10] - 2018-05-24
|
2018-05-23 17:37:17 +00:00
|
|
|
|
2018-05-23 20:21:29 +00:00
|
|
|
### Added
|
|
|
|
|
2018-06-21 01:05:26 +00:00
|
|
|
* Allow to use path without trailing slashes for scope registration #241
|
2018-05-23 20:21:29 +00:00
|
|
|
|
2018-05-24 14:56:51 +00:00
|
|
|
* Allow to set encoding for exact NamedFile #239
|
|
|
|
|
2018-05-23 17:37:17 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
* `TestServer::post()` actually sends `GET` request #240
|
|
|
|
|
|
|
|
|
2018-05-22 02:07:56 +00:00
|
|
|
## 0.6.9 (2018-05-22)
|
|
|
|
|
2018-05-22 03:50:10 +00:00
|
|
|
* Drop connection if request's payload is not fully consumed #236
|
|
|
|
|
|
|
|
* Fix streaming response with body compression
|
2018-05-22 01:54:17 +00:00
|
|
|
|
|
|
|
|
2018-05-21 04:09:54 +00:00
|
|
|
## 0.6.8 (2018-05-20)
|
|
|
|
|
2018-05-21 00:04:08 +00:00
|
|
|
* Fix scope resource path extractor #234
|
|
|
|
|
2018-05-21 03:47:20 +00:00
|
|
|
* Re-use tcp listener on pause/resume
|
|
|
|
|
2018-05-21 00:04:08 +00:00
|
|
|
|
2018-05-18 01:33:48 +00:00
|
|
|
## 0.6.7 (2018-05-17)
|
|
|
|
|
|
|
|
* Fix compilation with --no-default-features
|
|
|
|
|
|
|
|
|
2018-05-17 04:02:51 +00:00
|
|
|
## 0.6.6 (2018-05-17)
|
2018-05-16 02:08:34 +00:00
|
|
|
|
2018-05-16 18:00:29 +00:00
|
|
|
* Panic during middleware execution #226
|
2018-05-16 02:08:34 +00:00
|
|
|
|
2018-05-16 18:02:50 +00:00
|
|
|
* Add support for listen_tls/listen_ssl #224
|
|
|
|
|
2018-05-17 04:02:51 +00:00
|
|
|
* Implement extractor for `Session`
|
|
|
|
|
2018-05-17 19:20:04 +00:00
|
|
|
* Ranges header support for NamedFile #60
|
|
|
|
|
2018-05-16 02:08:34 +00:00
|
|
|
|
2018-05-15 16:29:59 +00:00
|
|
|
## 0.6.5 (2018-05-15)
|
|
|
|
|
|
|
|
* Fix error handling during request decoding #222
|
|
|
|
|
|
|
|
|
2018-05-12 04:19:48 +00:00
|
|
|
## 0.6.4 (2018-05-11)
|
|
|
|
|
|
|
|
* Fix segfault in ServerSettings::get_response_builder()
|
|
|
|
|
|
|
|
|
2018-05-10 22:45:06 +00:00
|
|
|
## 0.6.3 (2018-05-10)
|
2018-05-09 23:27:31 +00:00
|
|
|
|
|
|
|
* Add `Router::with_async()` method for async handler registration.
|
|
|
|
|
2018-05-10 16:13:26 +00:00
|
|
|
* Added error response functions for 501,502,503,504
|
|
|
|
|
2018-05-10 16:37:38 +00:00
|
|
|
* Fix client request timeout handling
|
|
|
|
|
2018-05-09 23:27:31 +00:00
|
|
|
|
2018-05-09 12:48:06 +00:00
|
|
|
## 0.6.2 (2018-05-09)
|
|
|
|
|
|
|
|
* WsWriter trait is optional.
|
|
|
|
|
|
|
|
|
2018-05-08 22:44:50 +00:00
|
|
|
## 0.6.1 (2018-05-08)
|
|
|
|
|
|
|
|
* Fix http/2 payload streaming #215
|
2018-05-08 20:41:04 +00:00
|
|
|
|
|
|
|
* Fix connector's default `keep-alive` and `lifetime` settings #212
|
|
|
|
|
2018-05-08 20:45:28 +00:00
|
|
|
* Send `ErrorNotFound` instead of `ErrorBadRequest` when path extractor fails #214
|
|
|
|
|
2018-05-08 23:30:34 +00:00
|
|
|
* Allow to exclude certain endpoints from logging #211
|
|
|
|
|
2018-05-09 01:34:36 +00:00
|
|
|
|
2018-05-07 22:19:03 +00:00
|
|
|
## 0.6.0 (2018-05-08)
|
2018-04-26 15:01:08 +00:00
|
|
|
|
2018-04-30 02:35:50 +00:00
|
|
|
* Add route scopes #202
|
|
|
|
|
2018-05-01 02:56:17 +00:00
|
|
|
* Allow to use ssl and non-ssl connections at the same time #206
|
|
|
|
|
2018-04-26 15:01:08 +00:00
|
|
|
* Websocket CloseCode Empty/Status is ambiguous #193
|
|
|
|
|
2018-04-29 15:24:19 +00:00
|
|
|
* Add Content-Disposition to NamedFile #204
|
|
|
|
|
2018-04-29 21:21:50 +00:00
|
|
|
* Allow to access Error's backtrace object
|
|
|
|
|
2018-05-02 22:53:07 +00:00
|
|
|
* Allow to override files listing renderer for `StaticFiles` #203
|
|
|
|
|
2018-05-02 20:43:51 +00:00
|
|
|
* Various extractor usability improvements #207
|
|
|
|
|
2018-04-26 15:01:08 +00:00
|
|
|
|
2018-04-24 19:25:31 +00:00
|
|
|
## 0.5.6 (2018-04-24)
|
|
|
|
|
|
|
|
* Make flate2 crate optional #200
|
|
|
|
|
|
|
|
|
2018-04-24 16:29:15 +00:00
|
|
|
## 0.5.5 (2018-04-24)
|
2018-04-21 14:56:11 +00:00
|
|
|
|
|
|
|
* Fix panic when Websocket is closed with no error code #191
|
|
|
|
|
2018-04-24 16:29:15 +00:00
|
|
|
* Allow to use rust backend for flate2 crate #199
|
2018-04-21 14:56:11 +00:00
|
|
|
|
2018-04-19 14:55:09 +00:00
|
|
|
## 0.5.4 (2018-04-19)
|
2018-04-18 21:15:53 +00:00
|
|
|
|
2018-04-19 02:05:24 +00:00
|
|
|
* Add identity service middleware
|
|
|
|
|
2018-04-18 21:15:53 +00:00
|
|
|
* Middleware response() is not invoked if there was an error in async handler #187
|
|
|
|
|
2018-04-19 14:55:09 +00:00
|
|
|
* Use Display formatting for InternalError Display implementation #188
|
|
|
|
|
2018-04-18 21:15:53 +00:00
|
|
|
|
2018-04-18 17:45:59 +00:00
|
|
|
## 0.5.3 (2018-04-18)
|
2018-04-17 19:55:13 +00:00
|
|
|
|
|
|
|
* Impossible to quote slashes in path parameters #182
|
|
|
|
|
2018-04-12 02:05:14 +00:00
|
|
|
|
2018-04-16 16:30:59 +00:00
|
|
|
## 0.5.2 (2018-04-16)
|
2018-04-13 17:13:12 +00:00
|
|
|
|
2018-04-14 02:46:14 +00:00
|
|
|
* Allow to configure StaticFiles's CpuPool, via static method or env variable
|
|
|
|
|
2018-04-14 02:19:30 +00:00
|
|
|
* Add support for custom handling of Json extractor errors #181
|
|
|
|
|
2018-04-13 17:13:12 +00:00
|
|
|
* Fix StaticFiles does not support percent encoded paths #177
|
|
|
|
|
2018-04-15 17:22:09 +00:00
|
|
|
* Fix Client Request with custom Body Stream halting on certain size requests #176
|
|
|
|
|
2018-04-13 17:13:12 +00:00
|
|
|
|
2018-04-12 23:03:22 +00:00
|
|
|
## 0.5.1 (2018-04-12)
|
2018-04-12 02:05:14 +00:00
|
|
|
|
|
|
|
* Client connector provides stats, `ClientConnector::stats()`
|
|
|
|
|
2018-04-12 16:54:35 +00:00
|
|
|
* Fix end-of-stream handling in parse_payload #173
|
|
|
|
|
2018-04-12 22:50:20 +00:00
|
|
|
* Fix StaticFiles generate a lot of threads #174
|
|
|
|
|
2018-04-12 02:05:14 +00:00
|
|
|
|
|
|
|
## 0.5.0 (2018-04-10)
|
2018-03-21 18:51:08 +00:00
|
|
|
|
2018-04-02 21:00:18 +00:00
|
|
|
* Type-safe path/query/form parameter handling, using serde #70
|
2018-03-27 01:18:38 +00:00
|
|
|
|
2018-03-31 16:18:25 +00:00
|
|
|
* HttpResponse builder's methods `.body()`, `.finish()`, `.json()`
|
|
|
|
return `HttpResponse` instead of `Result`
|
|
|
|
|
2018-03-29 18:39:21 +00:00
|
|
|
* Use more ergonomic `actix_web::Error` instead of `http::Error` for `ClientRequestBuilder::body()`
|
|
|
|
|
2018-04-11 23:46:21 +00:00
|
|
|
* Added `signed` and `private` `CookieSessionBackend`s
|
|
|
|
|
2018-04-03 05:08:04 +00:00
|
|
|
* Added `HttpRequest::resource()`, returns current matched resource
|
|
|
|
|
|
|
|
* Added `ErrorHandlers` middleware
|
2018-04-02 00:37:22 +00:00
|
|
|
|
2018-04-10 17:13:52 +00:00
|
|
|
* Fix router cannot parse Non-ASCII characters in URL #137
|
|
|
|
|
|
|
|
* Fix client connection pooling
|
2018-03-28 23:10:58 +00:00
|
|
|
|
2018-03-22 14:44:16 +00:00
|
|
|
* Fix long client urls #129
|
|
|
|
|
2018-03-23 01:08:12 +00:00
|
|
|
* Fix panic on invalid URL characters #130
|
|
|
|
|
2018-04-02 18:09:24 +00:00
|
|
|
* Fix logger request duration calculation #152
|
|
|
|
|
2018-04-10 17:13:52 +00:00
|
|
|
* Fix prefix and static file serving #168
|
|
|
|
|
2018-03-21 18:51:08 +00:00
|
|
|
|
2018-03-20 22:53:39 +00:00
|
|
|
## 0.4.10 (2018-03-20)
|
2018-03-18 18:05:44 +00:00
|
|
|
|
2018-03-18 21:18:47 +00:00
|
|
|
* Use `Error` instead of `InternalError` for `error::ErrorXXXX` methods
|
2018-03-18 18:05:44 +00:00
|
|
|
|
2018-03-19 02:27:51 +00:00
|
|
|
* Allow to set client request timeout
|
|
|
|
|
|
|
|
* Allow to set client websocket handshake timeout
|
|
|
|
|
2018-03-20 18:40:05 +00:00
|
|
|
* Refactor `TestServer` configuration
|
|
|
|
|
2018-03-20 00:27:03 +00:00
|
|
|
* Fix server websockets big payloads support
|
|
|
|
|
2018-03-20 18:40:05 +00:00
|
|
|
* Fix http/2 date header generation
|
2018-03-20 18:23:35 +00:00
|
|
|
|
2018-03-18 18:05:44 +00:00
|
|
|
|
2018-03-16 15:48:44 +00:00
|
|
|
## 0.4.9 (2018-03-16)
|
|
|
|
|
|
|
|
* Allow to disable http/2 support
|
2018-03-12 23:16:17 +00:00
|
|
|
|
2018-03-12 23:29:13 +00:00
|
|
|
* Wake payload reading task when data is available
|
|
|
|
|
2018-03-12 23:16:17 +00:00
|
|
|
* Fix server keep-alive handling
|
|
|
|
|
2018-03-13 20:15:21 +00:00
|
|
|
* Send Query Parameters in client requests #120
|
|
|
|
|
2018-03-14 00:21:22 +00:00
|
|
|
* Move brotli encoding to a feature
|
|
|
|
|
2018-03-16 19:04:01 +00:00
|
|
|
* Add option of default handler for `StaticFiles` handler #57
|
|
|
|
|
|
|
|
* Add basic client connection pooling
|
2018-03-11 12:05:13 +00:00
|
|
|
|
2018-03-12 23:29:13 +00:00
|
|
|
|
2018-03-12 16:13:04 +00:00
|
|
|
## 0.4.8 (2018-03-12)
|
2018-03-12 16:01:19 +00:00
|
|
|
|
2018-03-12 17:01:56 +00:00
|
|
|
* Allow to set read buffer capacity for server request
|
|
|
|
|
|
|
|
* Handle WouldBlock error for socket accept call
|
2018-03-12 16:01:19 +00:00
|
|
|
|
2018-03-12 16:13:04 +00:00
|
|
|
|
2018-03-11 23:37:44 +00:00
|
|
|
## 0.4.7 (2018-03-11)
|
2018-03-11 21:50:13 +00:00
|
|
|
|
|
|
|
* Fix panic on unknown content encoding
|
|
|
|
|
2018-03-11 22:37:33 +00:00
|
|
|
* Fix connection get closed too early
|
|
|
|
|
2018-03-11 23:53:46 +00:00
|
|
|
* Fix streaming response handling for http/2
|
2018-03-11 23:37:44 +00:00
|
|
|
|
2018-03-11 23:52:20 +00:00
|
|
|
* Better sleep on error support
|
|
|
|
|
2018-03-11 23:37:44 +00:00
|
|
|
|
2018-03-10 18:42:46 +00:00
|
|
|
## 0.4.6 (2018-03-10)
|
2018-03-09 04:56:18 +00:00
|
|
|
|
2018-03-08 19:16:54 +00:00
|
|
|
* Fix client cookie handling
|
|
|
|
|
2018-03-10 18:27:29 +00:00
|
|
|
* Fix json content type detection
|
|
|
|
|
2018-03-10 18:42:46 +00:00
|
|
|
* Fix CORS middleware #117
|
|
|
|
|
2018-03-09 04:56:18 +00:00
|
|
|
* Optimize websockets stream support
|
|
|
|
|
2018-03-08 06:40:46 +00:00
|
|
|
|
2018-03-08 05:28:54 +00:00
|
|
|
## 0.4.5 (2018-03-07)
|
2018-03-06 22:26:09 +00:00
|
|
|
|
2018-03-06 19:02:03 +00:00
|
|
|
* Fix compression #103 and #104
|
|
|
|
|
2018-03-07 14:14:44 +00:00
|
|
|
* Fix client cookie handling #111
|
2018-03-07 06:36:34 +00:00
|
|
|
|
2018-03-08 01:40:13 +00:00
|
|
|
* Non-blocking processing of a `NamedFile`
|
|
|
|
|
2018-03-05 21:31:30 +00:00
|
|
|
* Enable compression support for `NamedFile`
|
|
|
|
|
2018-03-06 08:43:25 +00:00
|
|
|
* Better support for `NamedFile` type
|
|
|
|
|
2018-03-08 06:40:46 +00:00
|
|
|
* Add `ResponseError` impl for `SendRequestError`. This improves ergonomics of the client.
|
2018-03-11 12:05:13 +00:00
|
|
|
|
2018-03-07 07:04:18 +00:00
|
|
|
* Add native-tls support for client
|
|
|
|
|
2018-03-07 01:04:48 +00:00
|
|
|
* Allow client connection timeout to be set #108
|
|
|
|
|
2018-03-07 19:28:44 +00:00
|
|
|
* Allow to use std::net::TcpListener for HttpServer
|
|
|
|
|
2018-03-08 05:10:53 +00:00
|
|
|
* Handle panics in worker threads
|
|
|
|
|
2018-03-06 22:26:09 +00:00
|
|
|
|
2018-03-05 04:28:06 +00:00
|
|
|
## 0.4.4 (2018-03-04)
|
2018-03-04 17:48:23 +00:00
|
|
|
|
2018-03-04 18:33:18 +00:00
|
|
|
* Allow to use Arc<Vec<u8>> as response/request body
|
|
|
|
|
2018-03-04 17:48:23 +00:00
|
|
|
* Fix handling of requests with an encoded body with a length > 8192 #93
|
|
|
|
|
2018-03-04 02:46:22 +00:00
|
|
|
## 0.4.3 (2018-03-03)
|
2018-03-03 17:29:36 +00:00
|
|
|
|
|
|
|
* Fix request body read bug
|
|
|
|
|
2018-03-04 02:46:22 +00:00
|
|
|
* Fix segmentation fault #79
|
|
|
|
|
2018-03-03 17:29:36 +00:00
|
|
|
* Set reuse address before bind #90
|
|
|
|
|
|
|
|
|
2018-03-03 06:31:58 +00:00
|
|
|
## 0.4.2 (2018-03-02)
|
2018-03-02 19:29:55 +00:00
|
|
|
|
|
|
|
* Better naming for websockets implementation
|
|
|
|
|
2018-03-03 04:39:22 +00:00
|
|
|
* Add `Pattern::with_prefix()`, make it more usable outside of actix
|
|
|
|
|
|
|
|
* Add csrf middleware for filter for cross-site request forgery #89
|
2018-03-02 20:26:31 +00:00
|
|
|
|
2018-03-03 04:47:23 +00:00
|
|
|
* Fix disconnect on idle connections
|
|
|
|
|
2018-03-02 19:29:55 +00:00
|
|
|
|
2018-03-02 02:26:26 +00:00
|
|
|
## 0.4.1 (2018-03-01)
|
|
|
|
|
2018-03-02 02:32:31 +00:00
|
|
|
* Rename `Route::p()` to `Route::filter()`
|
|
|
|
|
2018-03-02 03:12:59 +00:00
|
|
|
* Better naming for http codes
|
|
|
|
|
2018-03-02 02:26:26 +00:00
|
|
|
* Fix payload parse in situation when socket data is not ready.
|
2018-02-28 19:51:14 +00:00
|
|
|
|
2018-02-28 20:35:16 +00:00
|
|
|
* Fix Session mutable borrow lifetime #87
|
2018-02-28 19:51:14 +00:00
|
|
|
|
|
|
|
|
2018-02-28 07:30:26 +00:00
|
|
|
## 0.4.0 (2018-02-28)
|
2018-02-19 06:23:17 +00:00
|
|
|
|
|
|
|
* Actix 0.5 compatibility
|
2018-01-26 05:50:28 +00:00
|
|
|
|
2018-02-28 07:30:26 +00:00
|
|
|
* Fix request json/urlencoded loaders
|
2018-01-26 05:50:28 +00:00
|
|
|
|
2018-02-19 06:23:17 +00:00
|
|
|
* Simplify HttpServer type definition
|
|
|
|
|
2018-02-27 19:31:54 +00:00
|
|
|
* Added HttpRequest::encoding() method
|
|
|
|
|
2018-01-26 05:50:28 +00:00
|
|
|
* Added HttpRequest::mime_type() method
|
|
|
|
|
2018-02-19 06:23:17 +00:00
|
|
|
* Added HttpRequest::uri_mut(), allows to modify request uri
|
|
|
|
|
2018-01-29 11:23:45 +00:00
|
|
|
* Added StaticFiles::index_file()
|
|
|
|
|
2018-02-19 21:41:21 +00:00
|
|
|
* Added http client
|
|
|
|
|
2018-02-24 04:29:35 +00:00
|
|
|
* Added websocket client
|
2018-01-29 11:23:45 +00:00
|
|
|
|
2018-02-19 06:23:17 +00:00
|
|
|
* Added TestServer::ws(), test websockets client
|
|
|
|
|
2018-02-24 04:29:35 +00:00
|
|
|
* Added TestServer http client support
|
2018-02-19 21:41:21 +00:00
|
|
|
|
2018-02-19 06:23:17 +00:00
|
|
|
* Allow to override content encoding on application level
|
|
|
|
|
2018-01-26 05:50:28 +00:00
|
|
|
|
2018-01-25 18:24:04 +00:00
|
|
|
## 0.3.3 (2018-01-25)
|
2018-01-25 04:12:49 +00:00
|
|
|
|
|
|
|
* Stop processing any events after context stop
|
|
|
|
|
2018-01-25 18:24:04 +00:00
|
|
|
* Re-enable write back-pressure for h1 connections
|
|
|
|
|
|
|
|
* Refactor HttpServer::start_ssl() method
|
|
|
|
|
|
|
|
* Upgrade openssl to 0.10
|
|
|
|
|
2018-01-25 04:12:49 +00:00
|
|
|
|
2018-01-21 16:12:04 +00:00
|
|
|
## 0.3.2 (2018-01-21)
|
2018-01-14 02:58:17 +00:00
|
|
|
|
2018-01-21 00:12:38 +00:00
|
|
|
* Fix HEAD requests handling
|
|
|
|
|
2018-01-21 04:12:24 +00:00
|
|
|
* Log request processing errors
|
|
|
|
|
2018-01-21 16:31:46 +00:00
|
|
|
* Always enable content encoding if encoding explicitly selected
|
|
|
|
|
2018-01-21 04:12:24 +00:00
|
|
|
* Allow multiple Applications on a single server with different state #49
|
2018-01-14 02:58:17 +00:00
|
|
|
|
2018-01-21 00:36:57 +00:00
|
|
|
* CORS middleware: allowed_headers is defaulting to None #50
|
2018-01-14 02:58:17 +00:00
|
|
|
|
2018-01-21 04:12:24 +00:00
|
|
|
|
2018-01-14 00:57:01 +00:00
|
|
|
## 0.3.1 (2018-01-13)
|
2018-01-13 19:17:48 +00:00
|
|
|
|
2018-01-13 20:46:43 +00:00
|
|
|
* Fix directory entry path #47
|
|
|
|
|
|
|
|
* Do not enable chunked encoding for HTTP/1.0
|
2018-01-13 19:17:48 +00:00
|
|
|
|
2018-01-14 00:57:01 +00:00
|
|
|
* Allow explicitly disable chunked encoding
|
2018-01-14 00:17:33 +00:00
|
|
|
|
2017-10-24 06:25:32 +00:00
|
|
|
|
2018-01-12 20:31:33 +00:00
|
|
|
## 0.3.0 (2018-01-12)
|
2017-11-06 09:24:49 +00:00
|
|
|
|
|
|
|
* HTTP/2 Support
|
|
|
|
|
2017-11-30 22:42:20 +00:00
|
|
|
* Refactor streaming responses
|
|
|
|
|
2017-11-16 06:06:28 +00:00
|
|
|
* Refactor error handling
|
|
|
|
|
2017-11-10 06:08:54 +00:00
|
|
|
* Asynchronous middlewares
|
|
|
|
|
2017-11-10 21:26:12 +00:00
|
|
|
* Refactor logger middleware
|
|
|
|
|
2017-11-20 03:26:31 +00:00
|
|
|
* Content compression/decompression (br, gzip, deflate)
|
|
|
|
|
2018-01-04 07:59:12 +00:00
|
|
|
* Server multi-threading
|
|
|
|
|
2018-06-21 01:05:26 +00:00
|
|
|
* Graceful shutdown support
|
2018-01-04 07:59:12 +00:00
|
|
|
|
2017-11-06 09:24:49 +00:00
|
|
|
|
2017-11-03 20:35:34 +00:00
|
|
|
## 0.2.1 (2017-11-03)
|
2017-11-01 23:34:58 +00:00
|
|
|
|
|
|
|
* Allow to start tls server with `HttpServer::serve_tls`
|
|
|
|
|
2017-11-03 20:35:34 +00:00
|
|
|
* Export `Frame` enum
|
|
|
|
|
|
|
|
* Add conversion impl from `HttpResponse` and `BinaryBody` to a `Frame`
|
|
|
|
|
2017-11-06 09:24:49 +00:00
|
|
|
|
2017-10-31 03:39:56 +00:00
|
|
|
## 0.2.0 (2017-10-30)
|
2017-10-24 06:25:32 +00:00
|
|
|
|
2017-10-28 05:19:00 +00:00
|
|
|
* Do not use `http::Uri` as it can not parse some valid paths
|
|
|
|
|
2017-10-24 06:25:32 +00:00
|
|
|
* Refactor response `Body`
|
|
|
|
|
|
|
|
* Refactor `RouteRecognizer` usability
|
|
|
|
|
2017-10-24 06:39:01 +00:00
|
|
|
* Refactor `HttpContext::write`
|
|
|
|
|
2017-10-27 06:14:33 +00:00
|
|
|
* Refactor `Payload` stream
|
|
|
|
|
2017-10-24 06:39:01 +00:00
|
|
|
* Re-use `BinaryBody` for `Frame::Payload`
|
|
|
|
|
2017-10-30 03:51:06 +00:00
|
|
|
* Stop http actor on `write_eof`
|
|
|
|
|
2017-10-25 23:25:26 +00:00
|
|
|
* Fix disconnection handling.
|
|
|
|
|
2017-10-24 06:25:32 +00:00
|
|
|
|
|
|
|
## 0.1.0 (2017-10-23)
|
|
|
|
|
|
|
|
* First release
|