mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-26 06:57:43 +02:00
format markdown with prettier
This commit is contained in:
122
awc/CHANGES.md
122
awc/CHANGES.md
@ -1,27 +1,33 @@
|
||||
# Changes
|
||||
|
||||
## Unreleased - 2023-xx-xx
|
||||
|
||||
### Changed
|
||||
|
||||
- `client::Connect` is now public to allow tunneling connection with `client::Connector`.
|
||||
|
||||
|
||||
## 3.1.0 - 2023-01-21
|
||||
|
||||
### Changed
|
||||
|
||||
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
||||
|
||||
|
||||
## 3.0.1 - 2022-08-25
|
||||
|
||||
### Changed
|
||||
|
||||
- Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed handling of redirection requests that begin with `//`. [#2840]
|
||||
|
||||
[#2840]: https://github.com/actix/actix-web/pull/2840
|
||||
|
||||
|
||||
## 3.0.0 - 2022-03-07
|
||||
|
||||
### Dependencies
|
||||
|
||||
- Updated `actix-*` to Tokio v1-based versions. [#1813]
|
||||
- Updated `bytes` to `1.0`. [#1813]
|
||||
- Updated `cookie` to `0.16`. [#2555]
|
||||
@ -30,6 +36,7 @@
|
||||
- Updated `tokio` to `1`.
|
||||
|
||||
### Added
|
||||
|
||||
- `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]
|
||||
@ -46,6 +53,7 @@
|
||||
- `ClientBuilder::add_default_header()` (and deprecate `ClientBuilder::header()`). [#2510]
|
||||
|
||||
### Changed
|
||||
|
||||
- `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]
|
||||
@ -63,6 +71,7 @@
|
||||
- Minimum supported Rust version (MSRV) is now 1.54.
|
||||
|
||||
### Fixed
|
||||
|
||||
- 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]
|
||||
@ -71,6 +80,7 @@
|
||||
- `impl Stream` for `ClientResponse` no longer requires the body type be `Unpin`. [#2546]
|
||||
|
||||
### Removed
|
||||
|
||||
- `compress` crate feature. [#2250]
|
||||
- `ClientRequest::set`; use `ClientRequest::insert_header`. [#1869]
|
||||
- `ClientRequest::set_header`; use `ClientRequest::insert_header`. [#1869]
|
||||
@ -80,10 +90,10 @@
|
||||
- `ClientBuilder::default` function [#2008]
|
||||
|
||||
### Security
|
||||
|
||||
- `cookie` upgrade addresses [`RUSTSEC-2020-0071`].
|
||||
|
||||
[`RUSTSEC-2020-0071`]: https://rustsec.org/advisories/RUSTSEC-2020-0071.html
|
||||
|
||||
[#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
|
||||
@ -113,46 +123,48 @@
|
||||
[#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>
|
||||
|
||||
## 3.0.0-beta.21 - 2022-02-16
|
||||
|
||||
- No significant changes since `3.0.0-beta.20`.
|
||||
|
||||
|
||||
## 3.0.0-beta.20 - 2022-01-31
|
||||
|
||||
- No significant changes since `3.0.0-beta.19`.
|
||||
|
||||
|
||||
## 3.0.0-beta.19 - 2022-01-21
|
||||
|
||||
- No significant changes since `3.0.0-beta.18`.
|
||||
|
||||
|
||||
## 3.0.0-beta.18 - 2022-01-04
|
||||
|
||||
- Minimum supported Rust version (MSRV) is now 1.54.
|
||||
|
||||
|
||||
## 3.0.0-beta.17 - 2021-12-29
|
||||
|
||||
### Changed
|
||||
|
||||
- Update `cookie` dependency (re-exported) to `0.16`. [#2555]
|
||||
|
||||
### Security
|
||||
|
||||
- `cookie` upgrade addresses [`RUSTSEC-2020-0071`].
|
||||
|
||||
[#2555]: https://github.com/actix/actix-web/pull/2555
|
||||
[`RUSTSEC-2020-0071`]: https://rustsec.org/advisories/RUSTSEC-2020-0071.html
|
||||
|
||||
|
||||
## 3.0.0-beta.16 - 2021-12-29
|
||||
|
||||
- `*::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
|
||||
|
||||
|
||||
## 3.0.0-beta.15 - 2021-12-27
|
||||
|
||||
- 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]
|
||||
@ -164,89 +176,96 @@
|
||||
[#2503]: https://github.com/actix/actix-web/pull/2503
|
||||
[#2546]: https://github.com/actix/actix-web/pull/2546
|
||||
|
||||
|
||||
## 3.0.0-beta.14 - 2021-12-17
|
||||
|
||||
- Add `ClientBuilder::add_default_header` and deprecate `ClientBuilder::header`. [#2510]
|
||||
|
||||
[#2510]: https://github.com/actix/actix-web/pull/2510
|
||||
|
||||
|
||||
## 3.0.0-beta.13 - 2021-12-11
|
||||
|
||||
- No significant changes since `3.0.0-beta.12`.
|
||||
|
||||
|
||||
## 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
|
||||
|
||||
|
||||
## 3.0.0-beta.11 - 2021-11-22
|
||||
|
||||
- No significant changes from `3.0.0-beta.10`.
|
||||
|
||||
|
||||
## 3.0.0-beta.10 - 2021-11-15
|
||||
|
||||
- No significant changes from `3.0.0-beta.9`.
|
||||
|
||||
|
||||
## 3.0.0-beta.9 - 2021-10-20
|
||||
|
||||
- Updated rustls to v0.20. [#2414]
|
||||
|
||||
[#2414]: https://github.com/actix/actix-web/pull/2414
|
||||
|
||||
|
||||
## 3.0.0-beta.8 - 2021-09-09
|
||||
|
||||
### Changed
|
||||
|
||||
- Send headers within the redirect requests. [#2310]
|
||||
|
||||
[#2310]: https://github.com/actix/actix-web/pull/2310
|
||||
|
||||
|
||||
## 3.0.0-beta.7 - 2021-06-26
|
||||
|
||||
### Changed
|
||||
|
||||
- Change compression algorithm features flags. [#2250]
|
||||
|
||||
[#2250]: https://github.com/actix/actix-web/pull/2250
|
||||
|
||||
|
||||
## 3.0.0-beta.6 - 2021-06-17
|
||||
|
||||
- No significant changes since 3.0.0-beta.5.
|
||||
|
||||
|
||||
## 3.0.0-beta.5 - 2021-04-17
|
||||
|
||||
### Removed
|
||||
|
||||
- Deprecated methods on `ClientRequest`: `if_true`, `if_some`. [#2148]
|
||||
|
||||
[#2148]: https://github.com/actix/actix-web/pull/2148
|
||||
|
||||
|
||||
## 3.0.0-beta.4 - 2021-04-02
|
||||
|
||||
### Added
|
||||
|
||||
- Add `Client::headers` to get default mut reference of `HeaderMap` of client object. [#2114]
|
||||
|
||||
### Changed
|
||||
|
||||
- `ConnectorService` type is renamed to `BoxConnectorService`. [#2081]
|
||||
- Fix http/https encoding when enabling `compress` feature. [#2116]
|
||||
- Rename `TestResponse::header` to `append_header`, `set` to `insert_header`. `TestResponse` header
|
||||
methods now take `TryIntoHeaderPair` tuples. [#2094]
|
||||
- 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
|
||||
[#2114]: https://github.com/actix/actix-web/pull/2114
|
||||
[#2116]: https://github.com/actix/actix-web/pull/2116
|
||||
|
||||
|
||||
## 3.0.0-beta.3 - 2021-03-08
|
||||
|
||||
### Added
|
||||
|
||||
- `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]
|
||||
|
||||
### Changed
|
||||
|
||||
- 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]
|
||||
|
||||
### Removed
|
||||
|
||||
- `ClientBuilder::default` function [#2008]
|
||||
|
||||
[#1931]: https://github.com/actix/actix-web/pull/1931
|
||||
@ -255,17 +274,20 @@
|
||||
[#2024]: https://github.com/actix/actix-web/pull/2024
|
||||
[#2050]: https://github.com/actix/actix-web/pull/2050
|
||||
|
||||
|
||||
## 3.0.0-beta.2 - 2021-02-10
|
||||
|
||||
### Added
|
||||
|
||||
- `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]
|
||||
|
||||
### Changed
|
||||
|
||||
- Relax default timeout for `Connector` to 5 seconds(original 1 second). [#1905]
|
||||
|
||||
### 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]
|
||||
@ -275,9 +297,10 @@
|
||||
[#1905]: https://github.com/actix/actix-web/pull/1905
|
||||
[#1969]: https://github.com/actix/actix-web/pull/1969
|
||||
|
||||
|
||||
## 3.0.0-beta.1 - 2021-01-07
|
||||
|
||||
### Changed
|
||||
|
||||
- Update `rand` to `0.8`
|
||||
- Update `bytes` to `1.0`. [#1813]
|
||||
- Update `rust-tls` to `0.19`. [#1813]
|
||||
@ -287,53 +310,62 @@
|
||||
</details>
|
||||
|
||||
## 2.0.3 - 2020-11-29
|
||||
|
||||
### Fixed
|
||||
|
||||
- Ensure `actix-http` dependency uses same `serde_urlencoded`.
|
||||
|
||||
|
||||
## 2.0.2 - 2020-11-25
|
||||
|
||||
### Changed
|
||||
|
||||
- Upgrade `serde_urlencoded` to `0.7`. [#1773]
|
||||
|
||||
[#1773]: https://github.com/actix/actix-web/pull/1773
|
||||
|
||||
|
||||
## 2.0.1 - 2020-10-30
|
||||
|
||||
### Changed
|
||||
|
||||
- Upgrade `base64` to `0.13`. [#1744]
|
||||
- Deprecate `ClientRequest::{if_some, if_true}`. [#1760]
|
||||
|
||||
### Fixed
|
||||
- Use `Accept-Encoding: identity` instead of `Accept-Encoding: br` when no compression feature
|
||||
is enabled [#1737]
|
||||
|
||||
- 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
|
||||
[#1760]: https://github.com/actix/actix-web/pull/1760
|
||||
[#1744]: https://github.com/actix/actix-web/pull/1744
|
||||
|
||||
|
||||
## 2.0.0 - 2020-09-11
|
||||
|
||||
### Changed
|
||||
|
||||
- `Client::build` was renamed to `Client::builder`.
|
||||
|
||||
|
||||
## 2.0.0-beta.4 - 2020-09-09
|
||||
|
||||
### Changed
|
||||
|
||||
- Update actix-codec & actix-tls dependencies.
|
||||
|
||||
|
||||
## 2.0.0-beta.3 - 2020-08-17
|
||||
|
||||
### Changed
|
||||
|
||||
- Update `rustls` to 0.18
|
||||
|
||||
|
||||
## 2.0.0-beta.2 - 2020-07-21
|
||||
|
||||
### Changed
|
||||
|
||||
- Update `actix-http` dependency to 2.0.0-beta.2
|
||||
|
||||
|
||||
## [2.0.0-beta.1] - 2020-07-14
|
||||
|
||||
### Changed
|
||||
|
||||
- Update `actix-http` dependency to 2.0.0-beta.1
|
||||
|
||||
## [2.0.0-alpha.2] - 2020-05-21
|
||||
@ -365,26 +397,22 @@
|
||||
|
||||
- Migrate to `std::future`
|
||||
|
||||
|
||||
## [0.2.8] - 2019-11-06
|
||||
|
||||
- Add support for setting query from Serialize type for client request.
|
||||
|
||||
|
||||
## [0.2.7] - 2019-09-25
|
||||
|
||||
### Added
|
||||
|
||||
- Remaining getter methods for `ClientRequest`'s private `head` field #1101
|
||||
|
||||
|
||||
## [0.2.6] - 2019-09-12
|
||||
|
||||
### Added
|
||||
|
||||
- Export frozen request related types.
|
||||
|
||||
|
||||
## [0.2.5] - 2019-09-11
|
||||
|
||||
### Added
|
||||
@ -395,7 +423,6 @@
|
||||
|
||||
- Ensure that the `Host` header is set when initiating a WebSocket client connection.
|
||||
|
||||
|
||||
## [0.2.4] - 2019-08-13
|
||||
|
||||
### Changed
|
||||
@ -404,14 +431,12 @@
|
||||
|
||||
- Update serde_urlencoded to "0.6.1"
|
||||
|
||||
|
||||
## [0.2.3] - 2019-08-01
|
||||
|
||||
### Added
|
||||
|
||||
- Add `rustls` support
|
||||
|
||||
|
||||
## [0.2.2] - 2019-07-01
|
||||
|
||||
### Changed
|
||||
@ -420,7 +445,6 @@
|
||||
|
||||
- Upgrade `rand` dependency version to 0.7
|
||||
|
||||
|
||||
## [0.2.1] - 2019-06-05
|
||||
|
||||
### Added
|
||||
@ -437,7 +461,6 @@
|
||||
|
||||
- Upgrade actix-http dependency.
|
||||
|
||||
|
||||
## [0.1.1] - 2019-04-19
|
||||
|
||||
### Added
|
||||
@ -448,19 +471,16 @@
|
||||
|
||||
- `ClientRequest::if_true()` and `ClientRequest::if_some()` use instance instead of ref
|
||||
|
||||
|
||||
## [0.1.0] - 2019-04-16
|
||||
|
||||
- No changes
|
||||
|
||||
|
||||
## [0.1.0-alpha.6] - 2019-04-14
|
||||
|
||||
### Changed
|
||||
|
||||
- Do not set default headers for websocket request
|
||||
|
||||
|
||||
## [0.1.0-alpha.5] - 2019-04-12
|
||||
|
||||
### Changed
|
||||
@ -471,14 +491,12 @@
|
||||
|
||||
- Add Debug impl for BoxedSocket
|
||||
|
||||
|
||||
## [0.1.0-alpha.4] - 2019-04-08
|
||||
|
||||
### Changed
|
||||
|
||||
- Update actix-http dependency
|
||||
|
||||
|
||||
## [0.1.0-alpha.3] - 2019-04-02
|
||||
|
||||
### Added
|
||||
@ -487,7 +505,6 @@
|
||||
|
||||
- `ClientResponse::json()` - Loads and parse `application/json` encoded body
|
||||
|
||||
|
||||
### Changed
|
||||
|
||||
- `ClientRequest::json()` accepts reference instead of object.
|
||||
@ -496,7 +513,6 @@
|
||||
|
||||
- Renamed `ClientRequest::close_connection()` to `ClientRequest::force_close()`
|
||||
|
||||
|
||||
## [0.1.0-alpha.2] - 2019-03-29
|
||||
|
||||
### Added
|
||||
@ -509,14 +525,12 @@
|
||||
|
||||
- Re-export `actix_http::client::Connector`.
|
||||
|
||||
|
||||
### Changed
|
||||
|
||||
- Allow to override request's uri
|
||||
|
||||
- Export `ws` sub-module with websockets related types
|
||||
|
||||
|
||||
## [0.1.0-alpha.1] - 2019-03-28
|
||||
|
||||
- Initial impl
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
- [API Documentation](https://docs.rs/awc)
|
||||
- [Example Project](https://github.com/actix/examples/tree/master/https-tls/awc-https)
|
||||
- Minimum Supported Rust Version (MSRV): 1.54
|
||||
- Minimum Supported Rust Version (MSRV): 1.59
|
||||
|
||||
## Example
|
||||
|
||||
|
Reference in New Issue
Block a user