1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 16:32:59 +01:00
actix-web/actix-http/CHANGES.md

260 lines
4.1 KiB
Markdown
Raw Normal View History

2019-03-26 19:54:35 +01:00
# Changes
2019-11-06 19:35:13 +01:00
## [0.2.11] - 2019-11-06
### Added
* Add support for serde_json::Value to be passed as argument to ResponseBuilder.body()
2019-11-06 19:35:13 +01:00
* Add an additional `filename*` param in the `Content-Disposition` header of `actix_files::NamedFile` to be more compatible. (#1151)
* Allow to use `std::convert::Infallible` as `actix_http::error::Error`
### Fixed
* To be compatible with non-English error responses, `ResponseError` rendered with `text/plain; charset=utf-8` header #1118
## [0.2.10] - 2019-09-11
### Added
* Add support for sending HTTP requests with `Rc<RequestHead>` in addition to sending HTTP requests with `RequestHead`
### Fixed
* h2 will use error response #1080
* on_connect result isn't added to request extensions for http2 requests #1009
2019-08-13 15:20:29 +02:00
## [0.2.9] - 2019-08-13
2019-08-07 16:43:03 +02:00
### Changed
* Dropped the `byteorder`-dependency in favor of `stdlib`-implementation
2019-08-13 19:48:11 +02:00
* Update percent-encoding to 2.1
* Update serde_urlencoded to 0.6.1
2019-08-13 15:20:29 +02:00
### Fixed
* Fixed a panic in the HTTP2 handshake in client HTTP requests (#1031)
2019-08-07 16:43:03 +02:00
2019-08-02 00:26:30 +02:00
## [0.2.8] - 2019-08-01
2019-08-02 00:26:30 +02:00
### Added
* Add `rustls` support
2019-08-02 00:26:30 +02:00
* Add `Clone` impl for `HeaderMap`
### Fixed
2019-07-30 17:00:46 +02:00
* awc client panic #1016
* Invalid response with compression middleware enabled, but compression-related features disabled #997
2019-07-30 17:00:46 +02:00
2019-07-18 13:37:41 +02:00
## [0.2.7] - 2019-07-18
### Added
* Add support for downcasting response errors #986
## [0.2.6] - 2019-07-17
2019-07-01 05:37:03 +02:00
### Changed
* Replace `ClonableService` with local copy
2019-07-01 05:37:03 +02:00
* Upgrade `rand` dependency version to 0.7
2019-06-28 10:34:26 +02:00
## [0.2.5] - 2019-06-28
### Added
* Add `on-connect` callback, `HttpServiceBuilder::on_connect()` #946
### Changed
2019-06-28 08:34:43 +02:00
* Use `encoding_rs` crate instead of unmaintained `encoding` crate
* Add `Copy` and `Clone` impls for `ws::Codec`
## [0.2.4] - 2019-06-16
### Fixed
* Do not compress NoContent (204) responses #918
2019-06-02 09:05:22 +02:00
## [0.2.3] - 2019-06-02
2019-06-01 13:57:25 +02:00
### Added
* Debug impl for ResponseBuilder
* From SizedStream and BodyStream for Body
### Changed
2019-06-02 09:05:22 +02:00
* SizedStream uses u64
2019-06-01 13:57:25 +02:00
2019-05-30 01:15:12 +02:00
## [0.2.2] - 2019-05-29
### Fixed
* Parse incoming stream before closing stream on disconnect #868
2019-05-25 12:16:53 +02:00
## [0.2.1] - 2019-05-25
2019-05-25 12:07:40 +02:00
### Fixed
* Handle socket read disconnect
2019-05-12 18:57:16 +02:00
## [0.2.0] - 2019-05-12
2019-05-12 17:34:51 +02:00
### Changed
* Update actix-service to 0.4
* Expect and upgrade services accept `ServerConfig` config.
2019-05-12 18:56:55 +02:00
### Deleted
* `OneRequest` service
2019-05-12 17:34:51 +02:00
2019-05-05 04:51:00 +02:00
## [0.1.5] - 2019-05-04
### Fixed
* Clean up response extensions in response pool #817
2019-04-24 21:50:44 +02:00
## [0.1.4] - 2019-04-24
### Added
* Allow to render h1 request headers in `Camel-Case`
### Fixed
* Read until eof for http/1.0 responses #771
## [0.1.3] - 2019-04-23
### Fixed
* Fix http client pool management
* Fix http client wait queue management #794
## [0.1.2] - 2019-04-23
### Fixed
* Fix BorrowMutError panic in client connector #793
2019-04-20 02:23:17 +02:00
## [0.1.1] - 2019-04-19
### Changed
2019-04-20 02:23:17 +02:00
* Cookie::max_age() accepts value in seconds
* Cookie::max_age_time() accepts value in time::Duration
* Allow to specify server address for client connector
2019-04-20 02:23:17 +02:00
## [0.1.0] - 2019-04-16
### Added
* Expose peer addr via `Request::peer_addr()` and `RequestHead::peer_addr`
2019-04-15 05:45:44 +02:00
### Changed
2019-04-16 19:27:58 +02:00
* `actix_http::encoding` always available
2019-04-15 05:45:44 +02:00
* use trust-dns-resolver 0.11.0
2019-04-12 23:00:45 +02:00
## [0.1.0-alpha.5] - 2019-04-12
### Added
* Allow to use custom service for upgrade requests
* Added `h1::SendResponse` future.
### Changed
* MessageBody::length() renamed to MessageBody::size() for consistency
* ws handshake verification functions take RequestHead instead of Request
2019-04-08 08:42:05 +02:00
## [0.1.0-alpha.4] - 2019-04-08
### Added
* Allow to use custom `Expect` handler
* Add minimal `std::error::Error` impl for `Error`
2019-04-03 21:44:47 +02:00
### Changed
* Export IntoHeaderValue
* Render error and return as response body
* Use thread pool for response body comression
2019-04-03 12:20:20 +02:00
### Deleted
* Removed PayloadBuffer
2019-04-03 06:49:31 +02:00
## [0.1.0-alpha.3] - 2019-04-02
### Added
* Warn when an unsealed private cookie isn't valid UTF-8
2019-04-01 19:26:09 +02:00
### Fixed
* Rust 1.31.0 compatibility
* Preallocate read buffer for h1 codec
* Detect socket disconnection during protocol selection
2019-04-01 19:26:09 +02:00
## [0.1.0-alpha.2] - 2019-03-29
### Added
* Added ws::Message::Nop, no-op websockets message
### Changed
* Do not use thread pool for decomression if chunk size is smaller than 2048.
2019-03-28 20:45:41 +01:00
## [0.1.0-alpha.1] - 2019-03-28
2019-03-26 19:54:35 +01:00
* Initial impl