2019-03-28 21:46:26 +01:00
|
|
|
# Changes
|
|
|
|
|
2021-01-02 01:12:18 +01:00
|
|
|
## Unreleased - 2021-xx-xx
|
2021-12-18 17:44:30 +01:00
|
|
|
* Rename `Connector::{ssl => openssl}`. [#2503]
|
|
|
|
* Improve `Client` instantiation efficiency when using `openssl` by only building connectors once. [#2503]
|
|
|
|
|
|
|
|
[#2503]: https://github.com/actix/actix-web/pull/2503
|
2021-12-17 21:59:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
## 3.0.0-beta.14 - 2021-12-17
|
2021-12-13 17:08:08 +01:00
|
|
|
* Add `ClientBuilder::add_default_header` and deprecate `ClientBuilder::header`. [#2510]
|
|
|
|
|
|
|
|
[#2510]: https://github.com/actix/actix-web/pull/2510
|
2021-10-20 23:32:05 +02:00
|
|
|
|
|
|
|
|
2021-12-11 01:28:38 +01:00
|
|
|
## 3.0.0-beta.13 - 2021-12-11
|
|
|
|
* No significant changes since `3.0.0-beta.12`.
|
|
|
|
|
|
|
|
|
2021-11-30 15:12:04 +01:00
|
|
|
## 3.0.0-beta.12 - 2021-11-30
|
|
|
|
* Update `actix-tls` to `3.0.0-rc.1`. [#2474]
|
|
|
|
|
|
|
|
[#2474]: https://github.com/actix/actix-web/pull/2474
|
|
|
|
|
|
|
|
|
2021-11-22 19:41:43 +01:00
|
|
|
## 3.0.0-beta.11 - 2021-11-22
|
2021-11-23 16:12:55 +01:00
|
|
|
* No significant changes from `3.0.0-beta.10`.
|
2021-11-22 19:41:43 +01:00
|
|
|
|
|
|
|
|
2021-11-15 05:03:33 +01:00
|
|
|
## 3.0.0-beta.10 - 2021-11-15
|
2021-11-15 19:11:51 +01:00
|
|
|
* No significant changes from `3.0.0-beta.9`.
|
2021-11-15 05:03:33 +01:00
|
|
|
|
|
|
|
|
2021-10-20 23:32:05 +02:00
|
|
|
## 3.0.0-beta.9 - 2021-10-20
|
2021-10-20 03:00:11 +02:00
|
|
|
* Updated rustls to v0.20. [#2414]
|
|
|
|
|
|
|
|
[#2414]: https://github.com/actix/actix-web/pull/2414
|
2021-09-09 02:35:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
## 3.0.0-beta.8 - 2021-09-09
|
2021-09-01 21:16:41 +02:00
|
|
|
### Changed
|
|
|
|
* Send headers within the redirect requests. [#2310]
|
2021-06-26 17:33:36 +02:00
|
|
|
|
2021-09-01 21:16:41 +02:00
|
|
|
[#2310]: https://github.com/actix/actix-web/pull/2310
|
2021-06-26 17:33:36 +02:00
|
|
|
|
2021-09-09 02:35:41 +02:00
|
|
|
|
2021-06-26 17:33:36 +02:00
|
|
|
## 3.0.0-beta.7 - 2021-06-26
|
2021-06-19 21:21:13 +02:00
|
|
|
### Changed
|
|
|
|
* Change compression algorithm features flags. [#2250]
|
|
|
|
|
|
|
|
[#2250]: https://github.com/actix/actix-web/pull/2250
|
2021-04-17 16:53:54 +02:00
|
|
|
|
2021-06-19 21:23:06 +02:00
|
|
|
|
2021-06-19 12:51:20 +02:00
|
|
|
## 3.0.0-beta.6 - 2021-06-17
|
|
|
|
* No significant changes since 3.0.0-beta.5.
|
|
|
|
|
2021-06-19 21:23:06 +02:00
|
|
|
|
2021-04-17 16:53:54 +02:00
|
|
|
## 3.0.0-beta.5 - 2021-04-17
|
2021-04-12 11:30:28 +02:00
|
|
|
### Removed
|
|
|
|
* Deprecated methods on `ClientRequest`: `if_true`, `if_some`. [#2148]
|
|
|
|
|
|
|
|
[#2148]: https://github.com/actix/actix-web/pull/2148
|
2021-04-02 10:40:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
## 3.0.0-beta.4 - 2021-04-02
|
2021-03-31 12:43:56 +02:00
|
|
|
### Added
|
|
|
|
* Add `Client::headers` to get default mut reference of `HeaderMap` of client object. [#2114]
|
|
|
|
|
2021-03-18 18:53:22 +01:00
|
|
|
### Changed
|
2021-03-25 23:47:37 +01:00
|
|
|
* `ConnectorService` type is renamed to `BoxConnectorService`. [#2081]
|
|
|
|
* Fix http/https encoding when enabling `compress` feature. [#2116]
|
2021-04-02 10:40:36 +02:00
|
|
|
* Rename `TestResponse::header` to `append_header`, `set` to `insert_header`. `TestResponse` header
|
2021-12-13 17:08:08 +01:00
|
|
|
methods now take `TryIntoHeaderPair` tuples. [#2094]
|
2021-03-18 18:53:22 +01:00
|
|
|
|
|
|
|
[#2081]: https://github.com/actix/actix-web/pull/2081
|
2021-04-01 17:42:18 +02:00
|
|
|
[#2094]: https://github.com/actix/actix-web/pull/2094
|
2021-03-31 12:43:56 +02:00
|
|
|
[#2114]: https://github.com/actix/actix-web/pull/2114
|
2021-03-25 23:47:37 +01:00
|
|
|
[#2116]: https://github.com/actix/actix-web/pull/2116
|
2021-03-09 00:15:53 +01:00
|
|
|
|
|
|
|
|
|
|
|
## 3.0.0-beta.3 - 2021-03-08
|
2021-02-17 12:55:11 +01:00
|
|
|
### Added
|
|
|
|
* `ClientResponse::timeout` for set the timeout of collecting response body. [#1931]
|
2021-02-27 23:31:14 +01:00
|
|
|
* `ClientBuilder::local_address` for bind to a local ip address for this client. [#2024]
|
2021-02-17 12:55:11 +01:00
|
|
|
|
2021-02-13 16:08:43 +01:00
|
|
|
### Changed
|
|
|
|
* Feature `cookies` is now optional and enabled by default. [#1981]
|
2021-02-18 13:30:09 +01:00
|
|
|
* `ClientBuilder::connector` method would take `actix_http::client::Connector<T, U>` type. [#2008]
|
2021-03-07 20:29:02 +01:00
|
|
|
* Basic auth password now takes blank passwords as an empty string instead of Option. [#2050]
|
2021-02-18 13:30:09 +01:00
|
|
|
|
|
|
|
### Removed
|
|
|
|
* `ClientBuilder::default` function [#2008]
|
2021-02-13 16:08:43 +01:00
|
|
|
|
2021-02-17 12:55:11 +01:00
|
|
|
[#1931]: https://github.com/actix/actix-web/pull/1931
|
2021-02-13 16:08:43 +01:00
|
|
|
[#1981]: https://github.com/actix/actix-web/pull/1981
|
2021-02-18 13:30:09 +01:00
|
|
|
[#2008]: https://github.com/actix/actix-web/pull/2008
|
2021-02-27 23:31:14 +01:00
|
|
|
[#2024]: https://github.com/actix/actix-web/pull/2024
|
2021-03-07 20:29:02 +01:00
|
|
|
[#2050]: https://github.com/actix/actix-web/pull/2050
|
|
|
|
|
2021-02-10 13:10:03 +01:00
|
|
|
|
|
|
|
## 3.0.0-beta.2 - 2021-02-10
|
2021-01-15 03:11:10 +01: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 11:41:20 +01:00
|
|
|
* `trust-dns` optional feature to enable `trust-dns-resolver` as client dns resolver. [#1969]
|
2021-01-15 03:11:10 +01:00
|
|
|
|
2021-02-07 02:00:40 +01:00
|
|
|
### Changed
|
|
|
|
* Relax default timeout for `Connector` to 5 seconds(original 1 second). [#1905]
|
|
|
|
|
2021-01-15 03:11:10 +01: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 02:00:40 +01:00
|
|
|
[#1905]: https://github.com/actix/actix-web/pull/1905
|
2021-02-09 11:41:20 +01:00
|
|
|
[#1969]: https://github.com/actix/actix-web/pull/1969
|
2021-01-07 21:02:08 +01:00
|
|
|
|
|
|
|
|
|
|
|
## 3.0.0-beta.1 - 2021-01-07
|
2020-12-23 00:45:31 +01:00
|
|
|
### Changed
|
2021-01-04 00:47:04 +01: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 23:22:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
## 2.0.3 - 2020-11-29
|
2020-11-29 17:35:35 +01:00
|
|
|
### Fixed
|
|
|
|
* Ensure `actix-http` dependency uses same `serde_urlencoded`.
|
2020-11-25 01:07:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
## 2.0.2 - 2020-11-25
|
2020-11-05 17:36:15 +01:00
|
|
|
### Changed
|
2020-11-25 01:07:56 +01:00
|
|
|
* Upgrade `serde_urlencoded` to `0.7`. [#1773]
|
|
|
|
|
|
|
|
[#1773]: https://github.com/actix/actix-web/pull/1773
|
|
|
|
|
2020-10-30 03:50:53 +01:00
|
|
|
|
2020-10-30 04:15:22 +01:00
|
|
|
## 2.0.1 - 2020-10-30
|
2020-10-24 22:15:01 +02:00
|
|
|
### Changed
|
2020-10-30 03:50:53 +01:00
|
|
|
* Upgrade `base64` to `0.13`. [#1744]
|
2020-10-30 03:10:05 +01:00
|
|
|
* Deprecate `ClientRequest::{if_some, if_true}`. [#1760]
|
2020-09-11 14:50:10 +02:00
|
|
|
|
2020-10-24 22:15:01 +02:00
|
|
|
### Fixed
|
2020-10-30 03:50:53 +01:00
|
|
|
* Use `Accept-Encoding: identity` instead of `Accept-Encoding: br` when no compression feature
|
|
|
|
is enabled [#1737]
|
2020-10-24 22:15:01 +02:00
|
|
|
|
|
|
|
[#1737]: https://github.com/actix/actix-web/pull/1737
|
2020-10-30 03:10:05 +01:00
|
|
|
[#1760]: https://github.com/actix/actix-web/pull/1760
|
2020-10-30 03:50:53 +01:00
|
|
|
[#1744]: https://github.com/actix/actix-web/pull/1744
|
2020-10-24 22:15:01 +02:00
|
|
|
|
|
|
|
|
2020-09-11 14:50:10 +02:00
|
|
|
## 2.0.0 - 2020-09-11
|
2020-09-11 10:24:39 +02:00
|
|
|
### Changed
|
|
|
|
* `Client::build` was renamed to `Client::builder`.
|
2020-09-09 23:14:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
## 2.0.0-beta.4 - 2020-09-09
|
2020-08-24 11:13:35 +02:00
|
|
|
### Changed
|
2020-09-09 23:14:11 +02:00
|
|
|
* Update actix-codec & actix-tls dependencies.
|
2020-08-24 11:13:35 +02:00
|
|
|
|
|
|
|
|
2020-08-17 18:08:40 +02:00
|
|
|
## 2.0.0-beta.3 - 2020-08-17
|
2020-08-17 17:28:39 +02:00
|
|
|
### Changed
|
|
|
|
* Update `rustls` to 0.18
|
2020-07-22 02:13:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
## 2.0.0-beta.2 - 2020-07-21
|
|
|
|
### Changed
|
|
|
|
* Update `actix-http` dependency to 2.0.0-beta.2
|
|
|
|
|
|
|
|
|
2020-07-14 04:16:26 +02:00
|
|
|
## [2.0.0-beta.1] - 2020-07-14
|
|
|
|
### Changed
|
|
|
|
* Update `actix-http` dependency to 2.0.0-beta.1
|
|
|
|
|
2020-05-21 09:47:16 +02:00
|
|
|
## [2.0.0-alpha.2] - 2020-05-21
|
2020-03-18 02:51:06 +01:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Implement `std::error::Error` for our custom errors [#1422]
|
2020-05-13 02:57:37 +02:00
|
|
|
* Bump minimum supported Rust version to 1.40
|
2020-05-21 02:51:58 +02:00
|
|
|
* Update `base64` dependency to 0.12
|
2020-03-18 02:51:06 +01:00
|
|
|
|
|
|
|
[#1422]: https://github.com/actix/actix-web/pull/1422
|
|
|
|
|
2020-03-11 12:42:45 +01:00
|
|
|
## [2.0.0-alpha.1] - 2020-03-11
|
2020-03-07 03:09:31 +01:00
|
|
|
|
2020-03-01 02:45:26 +01:00
|
|
|
* Update `actix-http` dependency to 2.0.0-alpha.2
|
|
|
|
* Update `rustls` dependency to 0.17
|
2020-03-07 03:09:31 +01: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 08:36:05 +01:00
|
|
|
## [1.0.1] - 2019-12-15
|
|
|
|
|
|
|
|
* Fix compilation with default features off
|
|
|
|
|
2019-12-13 06:24:57 +01:00
|
|
|
## [1.0.0] - 2019-12-13
|
|
|
|
|
|
|
|
* Release
|
|
|
|
|
2019-12-07 08:00:03 +01:00
|
|
|
## [1.0.0-alpha.3]
|
|
|
|
|
|
|
|
* Migrate to `std::future`
|
|
|
|
|
|
|
|
|
2019-11-06 20:33:25 +01:00
|
|
|
## [0.2.8] - 2019-11-06
|
2019-10-26 07:27:14 +02:00
|
|
|
|
|
|
|
* Add support for setting query from Serialize type for client request.
|
2019-09-25 11:30:20 +02:00
|
|
|
|
2019-11-06 20:33:25 +01:00
|
|
|
|
2019-09-25 11:30:20 +02:00
|
|
|
## [0.2.7] - 2019-09-25
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
2019-09-25 11:35:28 +02:00
|
|
|
* Remaining getter methods for `ClientRequest`'s private `head` field #1101
|
2019-09-25 11:30:20 +02:00
|
|
|
|
|
|
|
|
2019-09-12 06:40:56 +02:00
|
|
|
## [0.2.6] - 2019-09-12
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Export frozen request related types.
|
|
|
|
|
|
|
|
|
2019-09-11 16:13:28 +02:00
|
|
|
## [0.2.5] - 2019-09-11
|
2019-09-10 06:29:32 +02:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Add `FrozenClientRequest` to support retries for sending HTTP requests
|
|
|
|
|
2019-09-09 08:27:13 +02:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Ensure that the `Host` header is set when initiating a WebSocket client connection.
|
|
|
|
|
2019-09-10 06:29:32 +02:00
|
|
|
|
2019-08-13 21:28:05 +02:00
|
|
|
## [0.2.4] - 2019-08-13
|
2019-08-13 19:48:11 +02:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Update percent-encoding to "2.1"
|
|
|
|
|
|
|
|
* Update serde_urlencoded to "0.6.1"
|
|
|
|
|
|
|
|
|
2019-08-02 00:41:14 +02:00
|
|
|
## [0.2.3] - 2019-08-01
|
|
|
|
|
|
|
|
### Added
|
2019-07-31 22:02:56 +02:00
|
|
|
|
|
|
|
* Add `rustls` support
|
|
|
|
|
2019-08-02 00:41:14 +02:00
|
|
|
|
2019-07-01 07:34:57 +02:00
|
|
|
## [0.2.2] - 2019-07-01
|
2019-07-01 05:34:42 +02:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Always append a colon after username in basic auth
|
|
|
|
|
2019-07-01 05:37:03 +02:00
|
|
|
* Upgrade `rand` dependency version to 0.7
|
|
|
|
|
2019-07-01 05:34:42 +02:00
|
|
|
|
2019-06-05 04:13:43 +02:00
|
|
|
## [0.2.1] - 2019-06-05
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Add license files
|
|
|
|
|
2019-05-12 19:04:38 +02:00
|
|
|
## [0.2.0] - 2019-05-12
|
|
|
|
|
2019-04-24 20:27:57 +02:00
|
|
|
### Added
|
|
|
|
|
|
|
|
* Allow to send headers in `Camel-Case` form.
|
|
|
|
|
2019-05-12 19:04:38 +02:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Upgrade actix-http dependency.
|
|
|
|
|
2019-04-24 22:00:30 +02:00
|
|
|
|
2019-04-20 03:03:44 +02:00
|
|
|
## [0.1.1] - 2019-04-19
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Allow to specify server address for http and ws requests.
|
2019-04-17 00:43:55 +02:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* `ClientRequest::if_true()` and `ClientRequest::if_some()` use instance instead of ref
|
|
|
|
|
|
|
|
|
2019-04-16 19:49:38 +02:00
|
|
|
## [0.1.0] - 2019-04-16
|
|
|
|
|
|
|
|
* No changes
|
|
|
|
|
|
|
|
|
2019-04-14 17:09:32 +02:00
|
|
|
## [0.1.0-alpha.6] - 2019-04-14
|
2019-04-14 16:43:53 +02:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Do not set default headers for websocket request
|
|
|
|
|
|
|
|
|
2019-04-12 23:00:45 +02:00
|
|
|
## [0.1.0-alpha.5] - 2019-04-12
|
2019-04-08 20:09:57 +02:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Do not set any default headers
|
|
|
|
|
2019-04-12 01:01:54 +02:00
|
|
|
### Added
|
|
|
|
|
|
|
|
* Add Debug impl for BoxedSocket
|
|
|
|
|
2019-04-08 20:09:57 +02:00
|
|
|
|
2019-04-08 08:42:05 +02:00
|
|
|
## [0.1.0-alpha.4] - 2019-04-08
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Update actix-http dependency
|
|
|
|
|
|
|
|
|
2019-04-03 06:49:31 +02:00
|
|
|
## [0.1.0-alpha.3] - 2019-04-02
|
2019-04-01 19:26:25 +02:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
2019-04-01 20:29:26 +02:00
|
|
|
* Export `MessageBody` type
|
|
|
|
|
2019-04-01 20:51:18 +02:00
|
|
|
* `ClientResponse::json()` - Loads and parse `application/json` encoded body
|
|
|
|
|
2019-04-01 20:29:26 +02:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2019-04-02 02:53:30 +02:00
|
|
|
* `ClientRequest::json()` accepts reference instead of object.
|
|
|
|
|
2019-04-01 20:29:26 +02:00
|
|
|
* `ClientResponse::body()` does not consume response object.
|
|
|
|
|
2019-04-02 23:08:30 +02:00
|
|
|
* Renamed `ClientRequest::close_connection()` to `ClientRequest::force_close()`
|
|
|
|
|
2019-04-01 19:26:25 +02:00
|
|
|
|
2019-03-29 22:07:37 +01:00
|
|
|
## [0.1.0-alpha.2] - 2019-03-29
|
2019-03-28 22:46:33 +01:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
2019-03-29 22:07:37 +01:00
|
|
|
* Per request and session wide request timeout.
|
2019-03-29 05:48:35 +01:00
|
|
|
|
2019-03-29 06:33:41 +01:00
|
|
|
* Session wide headers.
|
|
|
|
|
|
|
|
* Session wide basic and bearer auth.
|
2019-03-29 05:48:35 +01:00
|
|
|
|
2019-03-29 22:07:37 +01:00
|
|
|
* Re-export `actix_http::client::Connector`.
|
|
|
|
|
|
|
|
|
2019-03-29 21:49:21 +01:00
|
|
|
### Changed
|
|
|
|
|
2019-03-30 00:27:18 +01:00
|
|
|
* Allow to override request's uri
|
|
|
|
|
2019-03-29 21:49:21 +01:00
|
|
|
* Export `ws` sub-module with websockets related types
|
|
|
|
|
2019-03-28 22:46:33 +01:00
|
|
|
|
2019-03-28 21:46:26 +01:00
|
|
|
## [0.1.0-alpha.1] - 2019-03-28
|
|
|
|
|
|
|
|
* Initial impl
|