1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-12-18 09:53:11 +01:00
actix-web/CHANGES.md

253 lines
4.7 KiB
Markdown
Raw Normal View History

2017-10-31 04:46:39 +01:00
# Changes
2017-10-24 08:25:32 +02:00
2018-03-21 19:51:08 +01:00
## 0.4.11
2018-03-27 08:10:31 +02:00
* Added `Route::with()` handler, uses request extractor
* Added `HttpReuqest::extract_xxx()`, type safe path/query information extractor
2018-03-27 03:18:38 +02:00
* Router cannot parse Non-ASCII characters in URL #137
2018-03-22 15:44:16 +01:00
* Fix long client urls #129
* Fix panic on invalid URL characters #130
2018-03-21 19:51:08 +01:00
* Fix client connection pooling
* Use more ergonomic `actix_web::Error` instead of `http::Error` for `HttpResponseBuilder::body()`
* Use more ergonomic `actix_web::Error` instead of `http::Error` for `ClientRequestBuilder::body()`
2018-03-21 19:51:08 +01:00
2018-03-20 23:53:39 +01:00
## 0.4.10 (2018-03-20)
2018-03-18 19:05:44 +01:00
* Use `Error` instead of `InternalError` for `error::ErrorXXXX` methods
2018-03-18 19:05:44 +01:00
2018-03-19 03:27:51 +01:00
* Allow to set client request timeout
* Allow to set client websocket handshake timeout
2018-03-20 19:40:05 +01:00
* Refactor `TestServer` configuration
* Fix server websockets big payloads support
2018-03-20 19:40:05 +01:00
* Fix http/2 date header generation
2018-03-20 19:23:35 +01:00
2018-03-18 19:05:44 +01:00
2018-03-16 16:48:44 +01:00
## 0.4.9 (2018-03-16)
* Allow to disable http/2 support
2018-03-13 00:16:17 +01:00
* Wake payload reading task when data is available
2018-03-13 00:16:17 +01:00
* Fix server keep-alive handling
2018-03-13 21:15:21 +01:00
* Send Query Parameters in client requests #120
2018-03-14 01:21:22 +01:00
* Move brotli encoding to a feature
2018-03-16 20:04:01 +01:00
* Add option of default handler for `StaticFiles` handler #57
* Add basic client connection pooling
2018-03-11 13:05:13 +01:00
2018-03-12 17:13:04 +01:00
## 0.4.8 (2018-03-12)
* Allow to set read buffer capacity for server request
* Handle WouldBlock error for socket accept call
2018-03-12 17:13:04 +01:00
## 0.4.7 (2018-03-11)
2018-03-11 22:50:13 +01:00
* Fix panic on unknown content encoding
2018-03-11 23:37:33 +01:00
* Fix connection get closed too early
2018-03-12 00:53:46 +01:00
* Fix streaming response handling for http/2
2018-03-12 00:52:20 +01:00
* Better sleep on error support
2018-03-10 19:42:46 +01:00
## 0.4.6 (2018-03-10)
2018-03-09 05:56:18 +01:00
2018-03-08 20:16:54 +01:00
* Fix client cookie handling
2018-03-10 19:27:29 +01:00
* Fix json content type detection
2018-03-10 19:42:46 +01:00
* Fix CORS middleware #117
2018-03-09 05:56:18 +01:00
* Optimize websockets stream support
2018-03-08 07:40:46 +01:00
2018-03-08 06:28:54 +01:00
## 0.4.5 (2018-03-07)
2018-03-06 23:26:09 +01:00
2018-03-06 20:02:03 +01:00
* Fix compression #103 and #104
2018-03-07 15:14:44 +01:00
* Fix client cookie handling #111
2018-03-07 07:36:34 +01:00
2018-03-08 02:40:13 +01:00
* Non-blocking processing of a `NamedFile`
* Enable compression support for `NamedFile`
2018-03-06 09:43:25 +01:00
* Better support for `NamedFile` type
2018-03-08 07:40:46 +01:00
* Add `ResponseError` impl for `SendRequestError`. This improves ergonomics of the client.
2018-03-11 13:05:13 +01:00
2018-03-07 08:04:18 +01:00
* Add native-tls support for client
2018-03-07 02:04:48 +01:00
* Allow client connection timeout to be set #108
* Allow to use std::net::TcpListener for HttpServer
2018-03-08 06:10:53 +01:00
* Handle panics in worker threads
2018-03-06 23:26:09 +01:00
2018-03-05 05:28:06 +01:00
## 0.4.4 (2018-03-04)
* Allow to use Arc<Vec<u8>> as response/request body
* Fix handling of requests with an encoded body with a length > 8192 #93
2018-03-04 03:46:22 +01:00
## 0.4.3 (2018-03-03)
2018-03-03 18:29:36 +01:00
* Fix request body read bug
2018-03-04 03:46:22 +01:00
* Fix segmentation fault #79
2018-03-03 18:29:36 +01:00
* Set reuse address before bind #90
2018-03-03 07:31:58 +01:00
## 0.4.2 (2018-03-02)
* Better naming for websockets implementation
* 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 21:26:31 +01:00
2018-03-03 05:47:23 +01:00
* Fix disconnect on idle connections
## 0.4.1 (2018-03-01)
2018-03-02 03:32:31 +01:00
* Rename `Route::p()` to `Route::filter()`
2018-03-02 04:12:59 +01:00
* Better naming for http codes
* Fix payload parse in situation when socket data is not ready.
2018-02-28 20:51:14 +01:00
2018-02-28 21:35:16 +01:00
* Fix Session mutable borrow lifetime #87
2018-02-28 20:51:14 +01:00
2018-02-28 08:30:26 +01:00
## 0.4.0 (2018-02-28)
* Actix 0.5 compatibility
2018-02-28 08:30:26 +01:00
* Fix request json/urlencoded loaders
* Simplify HttpServer type definition
* Added HttpRequest::encoding() method
* Added HttpRequest::mime_type() method
* Added HttpRequest::uri_mut(), allows to modify request uri
2018-01-29 12:23:45 +01:00
* Added StaticFiles::index_file()
* Added http client
2018-02-24 05:29:35 +01:00
* Added websocket client
2018-01-29 12:23:45 +01:00
* Added TestServer::ws(), test websockets client
2018-02-24 05:29:35 +01:00
* Added TestServer http client support
* Allow to override content encoding on application level
## 0.3.3 (2018-01-25)
* Stop processing any events after context stop
* Re-enable write back-pressure for h1 connections
* Refactor HttpServer::start_ssl() method
* Upgrade openssl to 0.10
2018-01-21 17:12:04 +01:00
## 0.3.2 (2018-01-21)
2018-01-21 01:12:38 +01:00
* Fix HEAD requests handling
2018-01-21 05:12:24 +01:00
* Log request processing errors
* Always enable content encoding if encoding explicitly selected
2018-01-21 05:12:24 +01:00
* Allow multiple Applications on a single server with different state #49
* CORS middleware: allowed_headers is defaulting to None #50
2018-01-21 05:12:24 +01:00
2018-01-14 01:57:01 +01:00
## 0.3.1 (2018-01-13)
2018-01-13 20:17:48 +01:00
* Fix directory entry path #47
* Do not enable chunked encoding for HTTP/1.0
2018-01-13 20:17:48 +01:00
2018-01-14 01:57:01 +01:00
* Allow explicitly disable chunked encoding
2017-10-24 08:25:32 +02:00
2018-01-12 21:31:33 +01:00
## 0.3.0 (2018-01-12)
2017-11-06 10:24:49 +01:00
* HTTP/2 Support
2017-11-30 23:42:20 +01:00
* Refactor streaming responses
2017-11-16 07:06:28 +01:00
* Refactor error handling
2017-11-10 07:08:54 +01:00
* Asynchronous middlewares
2017-11-10 22:26:12 +01:00
* Refactor logger middleware
2017-11-20 04:26:31 +01:00
* Content compression/decompression (br, gzip, deflate)
2018-01-04 08:59:12 +01:00
* Server multi-threading
* Gracefull shutdown support
2017-11-06 10:24:49 +01:00
2017-11-03 21:35:34 +01:00
## 0.2.1 (2017-11-03)
* Allow to start tls server with `HttpServer::serve_tls`
2017-11-03 21:35:34 +01:00
* Export `Frame` enum
* Add conversion impl from `HttpResponse` and `BinaryBody` to a `Frame`
2017-11-06 10:24:49 +01:00
2017-10-31 04:39:56 +01:00
## 0.2.0 (2017-10-30)
2017-10-24 08:25:32 +02:00
* Do not use `http::Uri` as it can not parse some valid paths
2017-10-24 08:25:32 +02:00
* Refactor response `Body`
* Refactor `RouteRecognizer` usability
2017-10-24 08:39:01 +02:00
* Refactor `HttpContext::write`
2017-10-27 08:14:33 +02:00
* Refactor `Payload` stream
2017-10-24 08:39:01 +02:00
* Re-use `BinaryBody` for `Frame::Payload`
2017-10-30 04:51:06 +01:00
* Stop http actor on `write_eof`
2017-10-26 01:25:26 +02:00
* Fix disconnection handling.
2017-10-24 08:25:32 +02:00
## 0.1.0 (2017-10-23)
* First release