1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-17 21:56:38 +00:00
actix-web/awc/CHANGES.md

571 lines
15 KiB
Markdown
Raw Normal View History

2019-03-28 20:46:26 +00:00
# Changes
2023-08-28 22:44:35 +00:00
## Unreleased
2023-02-26 00:55:57 +00:00
- Update `brotli` dependency to `7`.
- Prevent panics on connection pool drop when Tokio runtime is shutdown early.
- Minimum supported Rust version (MSRV) is now 1.75.
2024-08-10 03:08:38 +00:00
## 3.5.1
- Fix WebSocket `Host` request header value when using a non-default port.
2024-05-19 09:16:16 +00:00
## 3.5.0
- Add `rustls-0_23`, `rustls-0_23-webpki-roots`, and `rustls-0_23-native-roots` crate features.
- Add `awc::Connector::rustls_0_23()` constructor.
- Fix `rustls-0_22-native-roots` root store lookup.
- Update `brotli` dependency to `6`.
2024-02-13 01:24:34 +00:00
- Minimum supported Rust version (MSRV) is now 1.72.
2024-02-04 00:32:57 +00:00
## 3.4.0
2024-02-03 23:55:01 +00:00
- Add `rustls-0_22-webpki-roots` and `rustls-0_22-native-roots` crate feature.
- Add `awc::Connector::rustls_0_22()` method.
2023-12-23 19:18:29 +00:00
## 3.3.0
- Update `trust-dns-resolver` dependency to `0.23`.
- Updated `zstd` dependency to `0.13`.
2023-08-29 00:53:14 +00:00
## 3.2.0
2023-08-29 00:11:11 +00:00
- Add `awc::Connector::rustls_021()` method for Rustls v0.21 support behind new `rustls-0_21` crate feature.
- Add `rustls-0_20` crate feature, which the existing `rustls` feature now aliases.
2023-08-01 18:33:32 +00:00
- Minimum supported Rust version (MSRV) is now 1.68 due to transitive `time` dependency.
2023-07-02 00:09:15 +00:00
2023-08-28 22:44:35 +00:00
## 3.1.1
2023-02-26 03:34:47 +00:00
### Changed
2023-01-21 18:54:58 +00:00
2023-02-26 00:55:57 +00:00
- `client::Connect` is now public to allow tunneling connection with `client::Connector`.
2023-01-21 18:54:58 +00:00
2023-08-28 22:44:35 +00:00
## 3.1.0
2023-02-26 00:55:57 +00:00
2022-08-27 12:14:16 +00:00
### Changed
2022-08-25 02:13:31 +00:00
2023-02-26 00:55:57 +00:00
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
2022-08-25 02:13:31 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.1
2023-02-26 00:55:57 +00:00
### Changed
2023-02-26 00:55:57 +00:00
2022-06-22 11:08:06 +00:00
- Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency.
2021-12-29 10:17:28 +00:00
### Fixed
2023-02-26 00:55:57 +00:00
- Fixed handling of redirection requests that begin with `//`. [#2840]
[#2840]: https://github.com/actix/actix-web/pull/2840
2023-08-28 22:44:35 +00:00
## 3.0.0
2023-02-26 00:55:57 +00:00
2022-03-08 16:51:40 +00:00
### Dependencies
2023-02-26 00:55:57 +00:00
2022-03-08 16:51:40 +00:00
- Updated `actix-*` to Tokio v1-based versions. [#1813]
- Updated `bytes` to `1.0`. [#1813]
- Updated `cookie` to `0.16`. [#2555]
- Updated `rand` to `0.8`.
- Updated `rustls` to `0.20`. [#2414]
- Updated `tokio` to `1`.
### Added
2023-02-26 00:55:57 +00:00
2022-03-08 16:51:40 +00:00
- `trust-dns` crate feature to enable `trust-dns-resolver` as client DNS resolver; disabled by default. [#1969]
- `cookies` crate feature; enabled by default. [#2619]
- `compress-brotli` crate feature; enabled by default. [#2250]
- `compress-gzip` crate feature; enabled by default. [#2250]
- `compress-zstd` crate feature; enabled by default. [#2250]
- `client::Connector::handshake_timeout()` for customizing TLS connection handshake timeout. [#2081]
- `client::ConnectorService` as `client::Connector::finish` method's return type [#2081]
- `client::ConnectionIo` trait alias [#2081]
- `Client::headers()` to get default mut reference of `HeaderMap` of client object. [#2114]
- `ClientResponse::timeout()` for set the timeout of collecting response body. [#1931]
- `ClientBuilder::local_address()` for binding to a local IP address for this client. [#2024]
- `ClientRequest::insert_header()` method which allows using typed and untyped headers. [#1869]
- `ClientRequest::append_header()` method which allows using typed and untyped headers. [#1869]
- `ClientBuilder::add_default_header()` (and deprecate `ClientBuilder::header()`). [#2510]
### Changed
2023-02-26 00:55:57 +00:00
2022-03-08 16:51:40 +00:00
- `client::Connector` type now only has one generic type for `actix_service::Service`. [#2063]
- `client::error::ConnectError` Resolver variant contains `Box<dyn std::error::Error>` type. [#1905]
- `client::ConnectorConfig` default timeout changed to 5 seconds. [#1905]
- `ConnectorService` type is renamed to `BoxConnectorService`. [#2081]
- Fix http/https encoding when enabling `compress` feature. [#2116]
- Rename `TestResponse::{header => append_header, set => insert_header}`. These methods now take a `TryIntoHeaderPair`. [#2094]
- `ClientBuilder::connector()` method now takes `Connector<T, U>` type. [#2008]
- Basic auth now accepts blank passwords as an empty string instead of an `Option`. [#2050]
- Relax default timeout for `Connector` to 5 seconds (up from 1 second). [#1905]
- `*::send_json()` and `*::send_form()` methods now receive `impl Serialize`. [#2553]
- `FrozenClientRequest::extra_header()` now uses receives an `impl TryIntoHeaderPair`. [#2553]
- Rename `Connector::{ssl => openssl}()`. [#2503]
- `ClientRequest::send_body` now takes an `impl MessageBody`. [#2546]
- Rename `MessageBody => ResponseBody` to avoid conflicts with `MessageBody` trait. [#2546]
- Minimum supported Rust version (MSRV) is now 1.54.
### Fixed
2023-02-26 00:55:57 +00:00
2022-03-08 16:51:40 +00:00
- Send headers along with redirected requests. [#2310]
- Improve `Client` instantiation efficiency when using `openssl` by only building connectors once. [#2503]
- Remove unnecessary `Unpin` bounds on `*::send_stream`. [#2553]
- `impl Future` for `ResponseBody` no longer requires the body type be `Unpin`. [#2546]
- `impl Future` for `JsonBody` no longer requires the body type be `Unpin`. [#2546]
- `impl Stream` for `ClientResponse` no longer requires the body type be `Unpin`. [#2546]
### Removed
2023-02-26 00:55:57 +00:00
2022-03-08 16:51:40 +00:00
- `compress` crate feature. [#2250]
- `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]
- Deprecated methods on `ClientRequest`: `if_true`, `if_some`. [#2148]
- `ClientBuilder::default` function [#2008]
### Security
2023-02-26 00:55:57 +00:00
2022-03-08 16:51:40 +00:00
- `cookie` upgrade addresses [`RUSTSEC-2020-0071`].
2023-02-26 03:34:47 +00:00
[`rustsec-2020-0071`]: https://rustsec.org/advisories/RUSTSEC-2020-0071.html
2022-03-08 16:51:40 +00:00
[#1813]: https://github.com/actix/actix-web/pull/1813
[#1869]: https://github.com/actix/actix-web/pull/1869
[#1905]: https://github.com/actix/actix-web/pull/1905
[#1905]: https://github.com/actix/actix-web/pull/1905
[#1931]: https://github.com/actix/actix-web/pull/1931
[#1969]: https://github.com/actix/actix-web/pull/1969
[#1969]: https://github.com/actix/actix-web/pull/1969
[#1981]: https://github.com/actix/actix-web/pull/1981
[#2008]: https://github.com/actix/actix-web/pull/2008
[#2024]: https://github.com/actix/actix-web/pull/2024
[#2050]: https://github.com/actix/actix-web/pull/2050
[#2063]: https://github.com/actix/actix-web/pull/2063
[#2081]: https://github.com/actix/actix-web/pull/2081
[#2081]: https://github.com/actix/actix-web/pull/2081
[#2094]: https://github.com/actix/actix-web/pull/2094
[#2114]: https://github.com/actix/actix-web/pull/2114
[#2116]: https://github.com/actix/actix-web/pull/2116
[#2148]: https://github.com/actix/actix-web/pull/2148
[#2250]: https://github.com/actix/actix-web/pull/2250
[#2310]: https://github.com/actix/actix-web/pull/2310
[#2414]: https://github.com/actix/actix-web/pull/2414
[#2425]: https://github.com/actix/actix-web/pull/2425
[#2474]: https://github.com/actix/actix-web/pull/2474
[#2503]: https://github.com/actix/actix-web/pull/2503
[#2510]: https://github.com/actix/actix-web/pull/2510
[#2546]: https://github.com/actix/actix-web/pull/2546
[#2553]: https://github.com/actix/actix-web/pull/2553
[#2555]: https://github.com/actix/actix-web/pull/2555
<details>
<summary>3.0.0 Pre-Releases</summary>
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.21
2022-02-16 03:10:01 +00:00
2023-02-26 00:55:57 +00:00
- No significant changes since `3.0.0-beta.20`.
2022-02-16 03:10:01 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.20
2022-01-31 22:32:09 +00:00
2023-02-26 00:55:57 +00:00
- No significant changes since `3.0.0-beta.19`.
2022-01-31 22:32:09 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.19
2022-01-21 20:25:46 +00:00
2023-02-26 00:55:57 +00:00
- No significant changes since `3.0.0-beta.18`.
2022-01-21 20:25:46 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.18
2022-01-04 15:35:21 +00:00
2023-02-26 00:55:57 +00:00
- Minimum supported Rust version (MSRV) is now 1.54.
2022-01-04 15:35:21 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.17
2023-02-26 00:55:57 +00:00
### Changed
2023-02-26 00:55:57 +00:00
2021-12-29 10:06:36 +00:00
- Update `cookie` dependency (re-exported) to `0.16`. [#2555]
### Security
2023-02-26 00:55:57 +00:00
2021-12-29 10:06:36 +00:00
- `cookie` upgrade addresses [`RUSTSEC-2020-0071`].
[#2555]: https://github.com/actix/actix-web/pull/2555
2023-02-26 03:34:47 +00:00
[`rustsec-2020-0071`]: https://rustsec.org/advisories/RUSTSEC-2020-0071.html
2021-12-29 10:06:36 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.16
2023-02-26 00:55:57 +00:00
- `*::send_json` and `*::send_form` methods now receive `impl Serialize`. [#2553]
- `FrozenClientRequest::extra_header` now uses receives an `impl TryIntoHeaderPair`. [#2553]
- Remove unnecessary `Unpin` bounds on `*::send_stream`. [#2553]
[#2553]: https://github.com/actix/actix-web/pull/2553
2021-12-27 18:45:31 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.15
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Rename `Connector::{ssl => openssl}`. [#2503]
- Improve `Client` instantiation efficiency when using `openssl` by only building connectors once. [#2503]
- `ClientRequest::send_body` now takes an `impl MessageBody`. [#2546]
- Rename `MessageBody => ResponseBody` to avoid conflicts with `MessageBody` trait. [#2546]
- `impl Future` for `ResponseBody` no longer requires the body type be `Unpin`. [#2546]
- `impl Future` for `JsonBody` no longer requires the body type be `Unpin`. [#2546]
- `impl Stream` for `ClientResponse` no longer requires the body type be `Unpin`. [#2546]
[#2503]: https://github.com/actix/actix-web/pull/2503
[#2546]: https://github.com/actix/actix-web/pull/2546
2021-12-17 20:59:59 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.14
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Add `ClientBuilder::add_default_header` and deprecate `ClientBuilder::header`. [#2510]
[#2510]: https://github.com/actix/actix-web/pull/2510
2021-10-20 21:32:05 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.13
2021-12-11 00:28:38 +00:00
2023-02-26 00:55:57 +00:00
- No significant changes since `3.0.0-beta.12`.
2021-12-11 00:28:38 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.12
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Update `actix-tls` to `3.0.0-rc.1`. [#2474]
2021-11-30 14:12:04 +00:00
[#2474]: https://github.com/actix/actix-web/pull/2474
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.11
2021-11-22 18:41:43 +00:00
2023-02-26 00:55:57 +00:00
- No significant changes from `3.0.0-beta.10`.
2021-11-22 18:41:43 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.10
2021-11-15 04:03:33 +00:00
2023-02-26 00:55:57 +00:00
- No significant changes from `3.0.0-beta.9`.
2021-11-15 04:03:33 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.9
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Updated rustls to v0.20. [#2414]
[#2414]: https://github.com/actix/actix-web/pull/2414
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.8
2023-02-26 00:55:57 +00:00
### Changed
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Send headers within the redirect requests. [#2310]
2021-06-26 15:33:36 +00:00
[#2310]: https://github.com/actix/actix-web/pull/2310
2021-06-26 15:33:36 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.7
2023-02-26 00:55:57 +00:00
### Changed
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Change compression algorithm features flags. [#2250]
[#2250]: https://github.com/actix/actix-web/pull/2250
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.6
2021-06-19 10:51:20 +00:00
2023-02-26 00:55:57 +00:00
- No significant changes since 3.0.0-beta.5.
2021-06-19 19:23:06 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.5
2023-02-26 00:55:57 +00:00
### Removed
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Deprecated methods on `ClientRequest`: `if_true`, `if_some`. [#2148]
[#2148]: https://github.com/actix/actix-web/pull/2148
2021-04-02 08:40:36 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.4
2023-02-26 00:55:57 +00:00
2021-03-31 10:43:56 +00:00
### Added
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Add `Client::headers` to get default mut reference of `HeaderMap` of client object. [#2114]
2021-03-31 10:43:56 +00:00
### Changed
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- `ConnectorService` type is renamed to `BoxConnectorService`. [#2081]
- Fix http/https encoding when enabling `compress` feature. [#2116]
2023-02-26 00:55:57 +00:00
- Rename `TestResponse::header` to `append_header`, `set` to `insert_header`. `TestResponse` header methods now take `TryIntoHeaderPair` tuples. [#2094]
[#2081]: https://github.com/actix/actix-web/pull/2081
[#2094]: https://github.com/actix/actix-web/pull/2094
2021-03-31 10:43:56 +00:00
[#2114]: https://github.com/actix/actix-web/pull/2114
2021-03-25 22:47:37 +00:00
[#2116]: https://github.com/actix/actix-web/pull/2116
2021-03-08 23:15:53 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.3
2023-02-26 00:55:57 +00:00
2021-02-17 11:55:11 +00:00
### Added
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- `ClientResponse::timeout` for set the timeout of collecting response body. [#1931]
- `ClientBuilder::local_address` for bind to a local ip address for this client. [#2024]
2021-02-17 11:55:11 +00:00
2021-02-13 15:08:43 +00:00
### Changed
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Feature `cookies` is now optional and enabled by default. [#1981]
- `ClientBuilder::connector` method would take `actix_http::client::Connector<T, U>` type. [#2008]
- Basic auth password now takes blank passwords as an empty string instead of Option. [#2050]
2021-02-18 12:30:09 +00:00
### Removed
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- `ClientBuilder::default` function [#2008]
2021-02-13 15:08:43 +00:00
2021-02-17 11:55:11 +00:00
[#1931]: https://github.com/actix/actix-web/pull/1931
2021-02-13 15:08:43 +00:00
[#1981]: https://github.com/actix/actix-web/pull/1981
2021-02-18 12:30:09 +00:00
[#2008]: https://github.com/actix/actix-web/pull/2008
[#2024]: https://github.com/actix/actix-web/pull/2024
[#2050]: https://github.com/actix/actix-web/pull/2050
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.2
2023-02-26 00:55:57 +00:00
2021-01-15 02:11:10 +00:00
### Added
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- `ClientRequest::insert_header` method which allows using typed headers. [#1869]
- `ClientRequest::append_header` method which allows using typed headers. [#1869]
- `trust-dns` optional feature to enable `trust-dns-resolver` as client dns resolver. [#1969]
2021-01-15 02:11:10 +00:00
### Changed
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Relax default timeout for `Connector` to 5 seconds(original 1 second). [#1905]
2021-01-15 02:11:10 +00:00
### Removed
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- `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]
2021-01-15 02:11:10 +00:00
[#1869]: https://github.com/actix/actix-web/pull/1869
[#1905]: https://github.com/actix/actix-web/pull/1905
[#1969]: https://github.com/actix/actix-web/pull/1969
2021-01-07 20:02:08 +00:00
2023-08-28 22:44:35 +00:00
## 3.0.0-beta.1
2023-02-26 00:55:57 +00:00
2020-12-22 23:45:31 +00:00
### Changed
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +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
2022-03-08 16:51:40 +00:00
</details>
2020-12-01 22:22:46 +00:00
2023-08-28 22:44:35 +00:00
## 2.0.3
2023-02-26 00:55:57 +00:00
2020-11-29 16:35:35 +00:00
### Fixed
2020-11-25 00:07:56 +00:00
2023-02-26 00:55:57 +00:00
- Ensure `actix-http` dependency uses same `serde_urlencoded`.
2020-11-25 00:07:56 +00:00
2023-08-28 22:44:35 +00:00
## 2.0.2
2023-02-26 00:55:57 +00:00
### Changed
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Upgrade `serde_urlencoded` to `0.7`. [#1773]
2020-11-25 00:07:56 +00:00
[#1773]: https://github.com/actix/actix-web/pull/1773
2023-08-28 22:44:35 +00:00
## 2.0.1
2023-02-26 00:55:57 +00:00
### Changed
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Upgrade `base64` to `0.13`. [#1744]
- Deprecate `ClientRequest::{if_some, if_true}`. [#1760]
2020-09-11 12:50:10 +00:00
### Fixed
2023-02-26 00:55:57 +00:00
- Use `Accept-Encoding: identity` instead of `Accept-Encoding: br` when no compression feature is enabled [#1737]
[#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
2023-08-28 22:44:35 +00:00
## 2.0.0
2023-02-26 00:55:57 +00:00
### Changed
2020-09-09 21:14:11 +00:00
2023-02-26 00:55:57 +00:00
- `Client::build` was renamed to `Client::builder`.
2020-09-09 21:14:11 +00:00
2023-08-28 22:44:35 +00:00
## 2.0.0-beta.4
2023-02-26 00:55:57 +00:00
### Changed
2023-02-26 00:55:57 +00:00
- Update actix-codec & actix-tls dependencies.
2023-08-28 22:44:35 +00:00
## 2.0.0-beta.3
2023-02-26 00:55:57 +00:00
2020-08-17 15:28:39 +00:00
### Changed
2020-07-22 00:13:10 +00:00
2023-02-26 00:55:57 +00:00
- Update `rustls` to 0.18
2020-07-22 00:13:10 +00:00
2023-08-28 22:44:35 +00:00
## 2.0.0-beta.2
2023-02-26 00:55:57 +00:00
2020-07-22 00:13:10 +00:00
### Changed
2023-02-26 00:55:57 +00:00
- Update `actix-http` dependency to 2.0.0-beta.2
2020-07-22 00:13:10 +00:00
## 2.0.0-beta.1
2023-02-26 00:55:57 +00:00
2020-07-14 02:16:26 +00:00
### Changed
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Update `actix-http` dependency to 2.0.0-beta.1
2020-07-14 02:16:26 +00:00
## 2.0.0-alpha.2
### Changed
2021-12-22 08:21:30 +00:00
- Implement `std::error::Error` for our custom errors [#1422]
- Bump minimum supported Rust version to 1.40
- Update `base64` dependency to 0.12
[#1422]: https://github.com/actix/actix-web/pull/1422
## 2.0.0-alpha.1
2021-12-22 08:21:30 +00:00
- Update `actix-http` dependency to 2.0.0-alpha.2
- Update `rustls` dependency to 0.17
- 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
## 1.0.1
2019-12-15 07:36:05 +00:00
2021-12-22 08:21:30 +00:00
- Fix compilation with default features off
2019-12-15 07:36:05 +00:00
## 1.0.0
2019-12-13 05:24:57 +00:00
2021-12-22 08:21:30 +00:00
- Release
2019-12-13 05:24:57 +00:00
## 1.0.0-alpha.3
2019-12-07 07:00:03 +00:00
2021-12-22 08:21:30 +00:00
- Migrate to `std::future`
2019-12-07 07:00:03 +00:00
## 0.2.8
2021-12-22 08:21:30 +00:00
- Add support for setting query from Serialize type for client request.
2019-09-25 09:30:20 +00:00
## 0.2.7
2019-09-25 09:30:20 +00:00
### Added
2021-12-22 08:21:30 +00:00
- Remaining getter methods for `ClientRequest`'s private `head` field #1101
2019-09-25 09:30:20 +00:00
## 0.2.6
### Added
2021-12-22 08:21:30 +00:00
- Export frozen request related types.
## 0.2.5
### Added
2021-12-22 08:21:30 +00:00
- Add `FrozenClientRequest` to support retries for sending HTTP requests
### Changed
2021-12-22 08:21:30 +00:00
- Ensure that the `Host` header is set when initiating a WebSocket client connection.
## 0.2.4
2019-08-13 17:48:11 +00:00
### Changed
2021-12-22 08:21:30 +00:00
- Update percent-encoding to "2.1"
2019-08-13 17:48:11 +00:00
2021-12-22 08:21:30 +00:00
- Update serde_urlencoded to "0.6.1"
2019-08-13 17:48:11 +00:00
## 0.2.3
2019-08-01 22:41:14 +00:00
### Added
2021-12-22 08:21:30 +00:00
- Add `rustls` support
## 0.2.2
### Changed
2021-12-22 08:21:30 +00:00
- Always append a colon after username in basic auth
2021-12-22 08:21:30 +00:00
- Upgrade `rand` dependency version to 0.7
2019-07-01 03:37:03 +00:00
## 0.2.1
2019-06-05 02:13:43 +00:00
### Added
2021-12-22 08:21:30 +00:00
- Add license files
2019-06-05 02:13:43 +00:00
## 0.2.0
2019-05-12 17:04:38 +00:00
### Added
2021-12-22 08:21:30 +00:00
- Allow to send headers in `Camel-Case` form.
2019-05-12 17:04:38 +00:00
### Changed
2021-12-22 08:21:30 +00:00
- Upgrade actix-http dependency.
2019-05-12 17:04:38 +00:00
## 0.1.1
### Added
2021-12-22 08:21:30 +00:00
- Allow to specify server address for http and ws requests.
### Changed
2021-12-22 08:21:30 +00:00
- `ClientRequest::if_true()` and `ClientRequest::if_some()` use instance instead of ref
## 0.1.0
2019-04-16 17:49:38 +00:00
2021-12-22 08:21:30 +00:00
- No changes
2019-04-16 17:49:38 +00:00
## 0.1.0-alpha.6
### Changed
2021-12-22 08:21:30 +00:00
- Do not set default headers for websocket request
## 0.1.0-alpha.5
2019-04-08 18:09:57 +00:00
### Changed
2021-12-22 08:21:30 +00:00
- Do not set any default headers
2019-04-08 18:09:57 +00:00
2019-04-11 23:01:54 +00:00
### Added
2021-12-22 08:21:30 +00:00
- Add Debug impl for BoxedSocket
2019-04-11 23:01:54 +00:00
## 0.1.0-alpha.4
2019-04-08 06:42:05 +00:00
### Changed
2021-12-22 08:21:30 +00:00
- Update actix-http dependency
2019-04-08 06:42:05 +00:00
## 0.1.0-alpha.3
### Added
2021-12-22 08:21:30 +00:00
- Export `MessageBody` type
2019-04-01 18:29:26 +00:00
2021-12-22 08:21:30 +00:00
- `ClientResponse::json()` - Loads and parse `application/json` encoded body
2019-04-01 18:51:18 +00:00
2019-04-01 18:29:26 +00:00
### Changed
2021-12-22 08:21:30 +00:00
- `ClientRequest::json()` accepts reference instead of object.
2021-12-22 08:21:30 +00:00
- `ClientResponse::body()` does not consume response object.
2019-04-01 18:29:26 +00:00
2021-12-22 08:21:30 +00:00
- Renamed `ClientRequest::close_connection()` to `ClientRequest::force_close()`
2019-04-02 21:08:30 +00:00
## 0.1.0-alpha.2
### Added
2021-12-22 08:21:30 +00:00
- Per request and session wide request timeout.
2021-12-22 08:21:30 +00:00
- Session wide headers.
2019-03-29 05:33:41 +00:00
2021-12-22 08:21:30 +00:00
- Session wide basic and bearer auth.
2021-12-22 08:21:30 +00:00
- Re-export `actix_http::client::Connector`.
2019-03-29 21:07:37 +00:00
### Changed
2021-12-22 08:21:30 +00:00
- Allow to override request's uri
2019-03-29 23:27:18 +00:00
2021-12-22 08:21:30 +00:00
- Export `ws` sub-module with websockets related types
## 0.1.0-alpha.1
2019-03-28 20:46:26 +00:00
2021-12-22 08:21:30 +00:00
- Initial impl