2019-03-28 20:46:26 +00:00
|
|
|
# Changes
|
|
|
|
|
2021-01-02 00:12:18 +00:00
|
|
|
## Unreleased - 2021-xx-xx
|
2021-02-13 15:08:43 +00:00
|
|
|
### Changed
|
|
|
|
* Feature `cookies` is now optional and enabled by default. [#1981]
|
|
|
|
|
|
|
|
[#1981]: https://github.com/actix/actix-web/pull/1981
|
2021-02-10 12:10:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
## 3.0.0-beta.2 - 2021-02-10
|
2021-01-15 02:11:10 +00:00
|
|
|
### Added
|
|
|
|
* `ClientRequest::insert_header` method which allows using typed headers. [#1869]
|
|
|
|
* `ClientRequest::append_header` method which allows using typed headers. [#1869]
|
2021-02-09 10:41:20 +00:00
|
|
|
* `trust-dns` optional feature to enable `trust-dns-resolver` as client dns resolver. [#1969]
|
2021-01-15 02:11:10 +00:00
|
|
|
|
2021-02-07 01:00:40 +00:00
|
|
|
### Changed
|
|
|
|
* Relax default timeout for `Connector` to 5 seconds(original 1 second). [#1905]
|
|
|
|
|
2021-01-15 02:11:10 +00:00
|
|
|
### Removed
|
|
|
|
* `ClientRequest::set`; use `ClientRequest::insert_header`. [#1869]
|
|
|
|
* `ClientRequest::set_header`; use `ClientRequest::insert_header`. [#1869]
|
|
|
|
* `ClientRequest::set_header_if_none`; use `ClientRequest::insert_header_if_none`. [#1869]
|
|
|
|
* `ClientRequest::header`; use `ClientRequest::append_header`. [#1869]
|
|
|
|
|
|
|
|
[#1869]: https://github.com/actix/actix-web/pull/1869
|
2021-02-07 01:00:40 +00:00
|
|
|
[#1905]: https://github.com/actix/actix-web/pull/1905
|
2021-02-09 10:41:20 +00:00
|
|
|
[#1969]: https://github.com/actix/actix-web/pull/1969
|
2021-01-07 20:02:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
## 3.0.0-beta.1 - 2021-01-07
|
2020-12-22 23:45:31 +00:00
|
|
|
### Changed
|
2021-01-03 23:47:04 +00:00
|
|
|
* Update `rand` to `0.8`
|
|
|
|
* Update `bytes` to `1.0`. [#1813]
|
|
|
|
* Update `rust-tls` to `0.19`. [#1813]
|
|
|
|
|
|
|
|
[#1813]: https://github.com/actix/actix-web/pull/1813
|
2020-12-01 22:22:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
## 2.0.3 - 2020-11-29
|
2020-11-29 16:35:35 +00:00
|
|
|
### Fixed
|
|
|
|
* Ensure `actix-http` dependency uses same `serde_urlencoded`.
|
2020-11-25 00:07:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
## 2.0.2 - 2020-11-25
|
2020-11-05 16:36:15 +00:00
|
|
|
### Changed
|
2020-11-25 00:07:56 +00:00
|
|
|
* Upgrade `serde_urlencoded` to `0.7`. [#1773]
|
|
|
|
|
|
|
|
[#1773]: https://github.com/actix/actix-web/pull/1773
|
|
|
|
|
2020-10-30 02:50:53 +00:00
|
|
|
|
2020-10-30 03:15:22 +00:00
|
|
|
## 2.0.1 - 2020-10-30
|
2020-10-24 20:15:01 +00:00
|
|
|
### Changed
|
2020-10-30 02:50:53 +00:00
|
|
|
* Upgrade `base64` to `0.13`. [#1744]
|
2020-10-30 02:10:05 +00:00
|
|
|
* Deprecate `ClientRequest::{if_some, if_true}`. [#1760]
|
2020-09-11 12:50:10 +00:00
|
|
|
|
2020-10-24 20:15:01 +00:00
|
|
|
### Fixed
|
2020-10-30 02:50:53 +00:00
|
|
|
* Use `Accept-Encoding: identity` instead of `Accept-Encoding: br` when no compression feature
|
|
|
|
is enabled [#1737]
|
2020-10-24 20:15:01 +00:00
|
|
|
|
|
|
|
[#1737]: https://github.com/actix/actix-web/pull/1737
|
2020-10-30 02:10:05 +00:00
|
|
|
[#1760]: https://github.com/actix/actix-web/pull/1760
|
2020-10-30 02:50:53 +00:00
|
|
|
[#1744]: https://github.com/actix/actix-web/pull/1744
|
2020-10-24 20:15:01 +00:00
|
|
|
|
|
|
|
|
2020-09-11 12:50:10 +00:00
|
|
|
## 2.0.0 - 2020-09-11
|
2020-09-11 08:24:39 +00:00
|
|
|
### Changed
|
|
|
|
* `Client::build` was renamed to `Client::builder`.
|
2020-09-09 21:14:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
## 2.0.0-beta.4 - 2020-09-09
|
2020-08-24 09:13:35 +00:00
|
|
|
### Changed
|
2020-09-09 21:14:11 +00:00
|
|
|
* Update actix-codec & actix-tls dependencies.
|
2020-08-24 09:13:35 +00:00
|
|
|
|
|
|
|
|
2020-08-17 16:08:40 +00:00
|
|
|
## 2.0.0-beta.3 - 2020-08-17
|
2020-08-17 15:28:39 +00:00
|
|
|
### Changed
|
|
|
|
* Update `rustls` to 0.18
|
2020-07-22 00:13:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
## 2.0.0-beta.2 - 2020-07-21
|
|
|
|
### Changed
|
|
|
|
* Update `actix-http` dependency to 2.0.0-beta.2
|
|
|
|
|
|
|
|
|
2020-07-14 02:16:26 +00:00
|
|
|
## [2.0.0-beta.1] - 2020-07-14
|
|
|
|
### Changed
|
|
|
|
* Update `actix-http` dependency to 2.0.0-beta.1
|
|
|
|
|
2020-05-21 07:47:16 +00:00
|
|
|
## [2.0.0-alpha.2] - 2020-05-21
|
2020-03-18 01:51:06 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Implement `std::error::Error` for our custom errors [#1422]
|
2020-05-13 00:57:37 +00:00
|
|
|
* Bump minimum supported Rust version to 1.40
|
2020-05-21 00:51:58 +00:00
|
|
|
* Update `base64` dependency to 0.12
|
2020-03-18 01:51:06 +00:00
|
|
|
|
|
|
|
[#1422]: https://github.com/actix/actix-web/pull/1422
|
|
|
|
|
2020-03-11 11:42:45 +00:00
|
|
|
## [2.0.0-alpha.1] - 2020-03-11
|
2020-03-07 02:09:31 +00:00
|
|
|
|
2020-03-01 01:45:26 +00:00
|
|
|
* Update `actix-http` dependency to 2.0.0-alpha.2
|
|
|
|
* Update `rustls` dependency to 0.17
|
2020-03-07 02:09:31 +00:00
|
|
|
* ClientBuilder accepts initial_window_size and initial_connection_window_size HTTP2 configuration
|
|
|
|
* ClientBuilder allowing to set max_http_version to limit HTTP version to be used
|
|
|
|
|
2019-12-15 07:36:05 +00:00
|
|
|
## [1.0.1] - 2019-12-15
|
|
|
|
|
|
|
|
* Fix compilation with default features off
|
|
|
|
|
2019-12-13 05:24:57 +00:00
|
|
|
## [1.0.0] - 2019-12-13
|
|
|
|
|
|
|
|
* Release
|
|
|
|
|
2019-12-07 07:00:03 +00:00
|
|
|
## [1.0.0-alpha.3]
|
|
|
|
|
|
|
|
* Migrate to `std::future`
|
|
|
|
|
|
|
|
|
2019-11-06 19:33:25 +00:00
|
|
|
## [0.2.8] - 2019-11-06
|
2019-10-26 05:27:14 +00:00
|
|
|
|
|
|
|
* Add support for setting query from Serialize type for client request.
|
2019-09-25 09:30:20 +00:00
|
|
|
|
2019-11-06 19:33:25 +00:00
|
|
|
|
2019-09-25 09:30:20 +00:00
|
|
|
## [0.2.7] - 2019-09-25
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
2019-09-25 09:35:28 +00:00
|
|
|
* Remaining getter methods for `ClientRequest`'s private `head` field #1101
|
2019-09-25 09:30:20 +00:00
|
|
|
|
|
|
|
|
2019-09-12 04:40:56 +00:00
|
|
|
## [0.2.6] - 2019-09-12
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Export frozen request related types.
|
|
|
|
|
|
|
|
|
2019-09-11 14:13:28 +00:00
|
|
|
## [0.2.5] - 2019-09-11
|
2019-09-10 04:29:32 +00:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Add `FrozenClientRequest` to support retries for sending HTTP requests
|
|
|
|
|
2019-09-09 06:27:13 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Ensure that the `Host` header is set when initiating a WebSocket client connection.
|
|
|
|
|
2019-09-10 04:29:32 +00:00
|
|
|
|
2019-08-13 19:28:05 +00:00
|
|
|
## [0.2.4] - 2019-08-13
|
2019-08-13 17:48:11 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Update percent-encoding to "2.1"
|
|
|
|
|
|
|
|
* Update serde_urlencoded to "0.6.1"
|
|
|
|
|
|
|
|
|
2019-08-01 22:41:14 +00:00
|
|
|
## [0.2.3] - 2019-08-01
|
|
|
|
|
|
|
|
### Added
|
2019-07-31 20:02:56 +00:00
|
|
|
|
|
|
|
* Add `rustls` support
|
|
|
|
|
2019-08-01 22:41:14 +00:00
|
|
|
|
2019-07-01 05:34:57 +00:00
|
|
|
## [0.2.2] - 2019-07-01
|
2019-07-01 03:34:42 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Always append a colon after username in basic auth
|
|
|
|
|
2019-07-01 03:37:03 +00:00
|
|
|
* Upgrade `rand` dependency version to 0.7
|
|
|
|
|
2019-07-01 03:34:42 +00:00
|
|
|
|
2019-06-05 02:13:43 +00:00
|
|
|
## [0.2.1] - 2019-06-05
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Add license files
|
|
|
|
|
2019-05-12 17:04:38 +00:00
|
|
|
## [0.2.0] - 2019-05-12
|
|
|
|
|
2019-04-24 18:27:57 +00:00
|
|
|
### Added
|
|
|
|
|
|
|
|
* Allow to send headers in `Camel-Case` form.
|
|
|
|
|
2019-05-12 17:04:38 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Upgrade actix-http dependency.
|
|
|
|
|
2019-04-24 20:00:30 +00:00
|
|
|
|
2019-04-20 01:03:44 +00:00
|
|
|
## [0.1.1] - 2019-04-19
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Allow to specify server address for http and ws requests.
|
2019-04-16 22:43:55 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* `ClientRequest::if_true()` and `ClientRequest::if_some()` use instance instead of ref
|
|
|
|
|
|
|
|
|
2019-04-16 17:49:38 +00:00
|
|
|
## [0.1.0] - 2019-04-16
|
|
|
|
|
|
|
|
* No changes
|
|
|
|
|
|
|
|
|
2019-04-14 15:09:32 +00:00
|
|
|
## [0.1.0-alpha.6] - 2019-04-14
|
2019-04-14 14:43:53 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Do not set default headers for websocket request
|
|
|
|
|
|
|
|
|
2019-04-12 21:00:45 +00:00
|
|
|
## [0.1.0-alpha.5] - 2019-04-12
|
2019-04-08 18:09:57 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Do not set any default headers
|
|
|
|
|
2019-04-11 23:01:54 +00:00
|
|
|
### Added
|
|
|
|
|
|
|
|
* Add Debug impl for BoxedSocket
|
|
|
|
|
2019-04-08 18:09:57 +00:00
|
|
|
|
2019-04-08 06:42:05 +00:00
|
|
|
## [0.1.0-alpha.4] - 2019-04-08
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Update actix-http dependency
|
|
|
|
|
|
|
|
|
2019-04-03 04:49:31 +00:00
|
|
|
## [0.1.0-alpha.3] - 2019-04-02
|
2019-04-01 17:26:25 +00:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
2019-04-01 18:29:26 +00:00
|
|
|
* Export `MessageBody` type
|
|
|
|
|
2019-04-01 18:51:18 +00:00
|
|
|
* `ClientResponse::json()` - Loads and parse `application/json` encoded body
|
|
|
|
|
2019-04-01 18:29:26 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2019-04-02 00:53:30 +00:00
|
|
|
* `ClientRequest::json()` accepts reference instead of object.
|
|
|
|
|
2019-04-01 18:29:26 +00:00
|
|
|
* `ClientResponse::body()` does not consume response object.
|
|
|
|
|
2019-04-02 21:08:30 +00:00
|
|
|
* Renamed `ClientRequest::close_connection()` to `ClientRequest::force_close()`
|
|
|
|
|
2019-04-01 17:26:25 +00:00
|
|
|
|
2019-03-29 21:07:37 +00:00
|
|
|
## [0.1.0-alpha.2] - 2019-03-29
|
2019-03-28 21:46:33 +00:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
2019-03-29 21:07:37 +00:00
|
|
|
* Per request and session wide request timeout.
|
2019-03-29 04:48:35 +00:00
|
|
|
|
2019-03-29 05:33:41 +00:00
|
|
|
* Session wide headers.
|
|
|
|
|
|
|
|
* Session wide basic and bearer auth.
|
2019-03-29 04:48:35 +00:00
|
|
|
|
2019-03-29 21:07:37 +00:00
|
|
|
* Re-export `actix_http::client::Connector`.
|
|
|
|
|
|
|
|
|
2019-03-29 20:49:21 +00:00
|
|
|
### Changed
|
|
|
|
|
2019-03-29 23:27:18 +00:00
|
|
|
* Allow to override request's uri
|
|
|
|
|
2019-03-29 20:49:21 +00:00
|
|
|
* Export `ws` sub-module with websockets related types
|
|
|
|
|
2019-03-28 21:46:33 +00:00
|
|
|
|
2019-03-28 20:46:26 +00:00
|
|
|
## [0.1.0-alpha.1] - 2019-03-28
|
|
|
|
|
|
|
|
* Initial impl
|