|
6 | 6 |
|
7 | 7 | - Added `Azure::Core::Url::GetScheme()`. |
8 | 8 | - Added `Azure::Core::Context::TryGetValue()`. |
| 9 | +- Added `Azure::Core::Context::GetDeadline()`. |
| 10 | +- Added `Azure::Core::Credentials::TokenCredentialOptions`. |
| 11 | +- Added useful fields to the `Azure::Core::RequestFailedException` class such as `StatusCode`, `ReasonPhrase`, and the `RawResponse`, for better diagnosis of errors. |
9 | 12 |
|
10 | 13 | ### Breaking Changes |
11 | 14 |
|
12 | 15 | - Simplified the `Response<T>` API surface to expose two public fields with direct access: `T Value` and a `unique_ptr` to an `Azure::Core::Http::RawResponse`. |
| 16 | +- Renamed `Azure::Nullable<T>::GetValue()` to `Value()`. |
13 | 17 | - Removed from `Azure::Core::Http::Request`: |
14 | 18 | - `SetUploadChunkSize()`. |
15 | 19 | - `GetHTTPMessagePreBody()`. |
16 | 20 | - `GetUploadChunkSize()`. |
17 | | -- Removed from `Azure::Core::Http::RawResponse`: |
18 | | - - `SetHeader(std::string const& header)` |
19 | | - - `SetHeader(uint8_t const* const first, uint8_t const* const last)`. |
20 | | - - `GetMajorVersion()`. |
21 | | - - `GetMinorVersion()`. |
22 | | -- Renamed `Azure::Nullable<T>::GetValue()` to `Value()`. |
| 21 | + - `GetHeadersAsString()`. |
| 22 | +- Changes to `Azure::Core::Http::RawResponse`: |
| 23 | + - Removed `SetHeader(std::string const& header)` |
| 24 | + - Removed `SetHeader(uint8_t const* const first, uint8_t const* const last)`. |
| 25 | + - Removed `GetMajorVersion()`. |
| 26 | + - Removed `GetMinorVersion()`. |
| 27 | + - Renamed `GetBodyStream()` to `ExtractBodyStream()`. |
23 | 28 | - Changes to `Azure::Core::Context`: |
24 | 29 | - Removed `Get()` and `HasKey()` in favor of a new method `TryGetValue()`. |
25 | 30 | - Changed input parameter type of `WithDeadline()` to `Azure::DateTime`. |
26 | 31 | - Removed `Azure::Core::PackageVersion`. |
27 | 32 | - Removed from `Azure::Core::Http::Policies` namespace: `HttpPolicyOrder`, `TransportPolicy`, `RetryPolicy`, `RequestIdPolicy`, `TelemetryPolicy`, `BearerTokenAuthenticationPolicy`, `LogPolicy`. |
28 | | -- Renamed `Azure::Core::Http::RawResponse::GetBodyStream()` to `ExtractBodyStream()`. |
29 | 33 | - Removed `AppendQueryParameters()`, `GetUrlWithoutQuery()` and `GetUrlAuthorityWithScheme()` from `Azure::Core::Url`. |
30 | 34 | - Changed the `Azure::Core::Http::HttpMethod` regular enum into an extensible enum class and removed the `HttpMethodToString()` helper method. |
31 | | -- Removed `Azure::Core::Http::Request::GetHeadersAsString()`. |
32 | 35 | - Introduced `Azure::Core::Context::Key` class which takes place of `std::string` used for `Azure::Core::Context` keys previously. |
33 | | -- Renamed type `Azure::Core::Http::CurlTransportSSLOptions` to `Azure::Core::Http::CurlTransportSslOptions`. |
34 | | -- Renamed member `Azure::Core::Http::CurlTransportOptions::SSLOptions` to `Azure::Core::Http::CurlTransportOptions::SslOptions`. |
35 | | -- Renamed member `Azure::Core::Http::CurlTransportOptions::SSLVerifyPeer` to `Azure::Core::Http::CurlTransportOptions::SslVerifyPeer`. |
| 36 | +- Changed the casing of `SSL` in API names to `Ssl`: |
| 37 | + - Renamed type `Azure::Core::Http::CurlTransportSSLOptions` to `CurlTransportSslOptions`. |
| 38 | + - Renamed member `Azure::Core::Http::CurlTransportOptions::SSLOptions` to `SslOptions`. |
| 39 | + - Renamed member `Azure::Core::Http::CurlTransportOptions::SSLVerifyPeer` to `SslVerifyPeer`. |
| 40 | + |
| 41 | +### Other changes and Improvements |
| 42 | + |
| 43 | +- Moved `Azure::Core::Http::Request` to its own header file from `http.hpp` to `inc/azure/core/http/raw_response.hpp`. |
| 44 | +- Moved `Azure::Core::Http::HttpStatusCode` to its own header file from `http.hpp` to `inc/azure/core/http/http_status_code.hpp`. |
36 | 45 |
|
37 | 46 | ## 1.0.0-beta.7 (2021-03-11) |
38 | 47 |
|
|
42 | 51 | - Added `Azure::Core::Operation<T>::GetRawResponse()`. |
43 | 52 | - Added `Azure::Core::PackageVersion`. |
44 | 53 | - Added support for logging to console when `AZURE_LOG_LEVEL` environment variable is set. |
45 | | -- Added `Azure::Core::Context::GetDeadline()`. |
46 | 54 |
|
47 | 55 | ### Breaking Changes |
48 | 56 |
|
|
0 commit comments