Skip to content

Commit 46c84e3

Browse files
ahsonkhanvhvb1989
andauthored
Update the Azure.Core changelog to be more consise and complete for the beta.8 (#2069)
* Update the Azure.Core changelog to be more consise and complete for the beta.8 release. * Fix the new feature section since `GetDeadline` was added this release. * Add note about types moving between header files. * Make identity related fixes. Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>
1 parent 4ef65aa commit 46c84e3

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
lines changed

sdk/core/azure-core/CHANGELOG.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,42 @@
66

77
- Added `Azure::Core::Url::GetScheme()`.
88
- 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.
912

1013
### Breaking Changes
1114

1215
- 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()`.
1317
- Removed from `Azure::Core::Http::Request`:
1418
- `SetUploadChunkSize()`.
1519
- `GetHTTPMessagePreBody()`.
1620
- `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()`.
2328
- Changes to `Azure::Core::Context`:
2429
- Removed `Get()` and `HasKey()` in favor of a new method `TryGetValue()`.
2530
- Changed input parameter type of `WithDeadline()` to `Azure::DateTime`.
2631
- Removed `Azure::Core::PackageVersion`.
2732
- Removed from `Azure::Core::Http::Policies` namespace: `HttpPolicyOrder`, `TransportPolicy`, `RetryPolicy`, `RequestIdPolicy`, `TelemetryPolicy`, `BearerTokenAuthenticationPolicy`, `LogPolicy`.
28-
- Renamed `Azure::Core::Http::RawResponse::GetBodyStream()` to `ExtractBodyStream()`.
2933
- Removed `AppendQueryParameters()`, `GetUrlWithoutQuery()` and `GetUrlAuthorityWithScheme()` from `Azure::Core::Url`.
3034
- 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()`.
3235
- 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`.
3645

3746
## 1.0.0-beta.7 (2021-03-11)
3847

@@ -42,7 +51,6 @@
4251
- Added `Azure::Core::Operation<T>::GetRawResponse()`.
4352
- Added `Azure::Core::PackageVersion`.
4453
- Added support for logging to console when `AZURE_LOG_LEVEL` environment variable is set.
45-
- Added `Azure::Core::Context::GetDeadline()`.
4654

4755
### Breaking Changes
4856

sdk/identity/azure-identity/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## 1.0.0-beta.5 (2021-04-07)
44

5+
### New Features
6+
7+
- Add Active Directory Federation Service (ADFS) support to `ClientSecretCredential`.
8+
59
### Breaking Changes
610

711
- Removed `Azure::Identity::PackageVersion`.

0 commit comments

Comments
 (0)