Skip to content

Commit

Permalink
Update the Azure.Core changelog to be more consise and complete for t…
Browse files Browse the repository at this point in the history
…he 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>
  • Loading branch information
ahsonkhan and vhvb1989 authored Apr 7, 2021
1 parent 4ef65aa commit 46c84e3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
32 changes: 20 additions & 12 deletions sdk/core/azure-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,42 @@

- Added `Azure::Core::Url::GetScheme()`.
- Added `Azure::Core::Context::TryGetValue()`.
- Added `Azure::Core::Context::GetDeadline()`.
- Added `Azure::Core::Credentials::TokenCredentialOptions`.
- Added useful fields to the `Azure::Core::RequestFailedException` class such as `StatusCode`, `ReasonPhrase`, and the `RawResponse`, for better diagnosis of errors.

### Breaking Changes

- 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`.
- Renamed `Azure::Nullable<T>::GetValue()` to `Value()`.
- Removed from `Azure::Core::Http::Request`:
- `SetUploadChunkSize()`.
- `GetHTTPMessagePreBody()`.
- `GetUploadChunkSize()`.
- Removed from `Azure::Core::Http::RawResponse`:
- `SetHeader(std::string const& header)`
- `SetHeader(uint8_t const* const first, uint8_t const* const last)`.
- `GetMajorVersion()`.
- `GetMinorVersion()`.
- Renamed `Azure::Nullable<T>::GetValue()` to `Value()`.
- `GetHeadersAsString()`.
- Changes to `Azure::Core::Http::RawResponse`:
- Removed `SetHeader(std::string const& header)`
- Removed `SetHeader(uint8_t const* const first, uint8_t const* const last)`.
- Removed `GetMajorVersion()`.
- Removed `GetMinorVersion()`.
- Renamed `GetBodyStream()` to `ExtractBodyStream()`.
- Changes to `Azure::Core::Context`:
- Removed `Get()` and `HasKey()` in favor of a new method `TryGetValue()`.
- Changed input parameter type of `WithDeadline()` to `Azure::DateTime`.
- Removed `Azure::Core::PackageVersion`.
- Removed from `Azure::Core::Http::Policies` namespace: `HttpPolicyOrder`, `TransportPolicy`, `RetryPolicy`, `RequestIdPolicy`, `TelemetryPolicy`, `BearerTokenAuthenticationPolicy`, `LogPolicy`.
- Renamed `Azure::Core::Http::RawResponse::GetBodyStream()` to `ExtractBodyStream()`.
- Removed `AppendQueryParameters()`, `GetUrlWithoutQuery()` and `GetUrlAuthorityWithScheme()` from `Azure::Core::Url`.
- Changed the `Azure::Core::Http::HttpMethod` regular enum into an extensible enum class and removed the `HttpMethodToString()` helper method.
- Removed `Azure::Core::Http::Request::GetHeadersAsString()`.
- Introduced `Azure::Core::Context::Key` class which takes place of `std::string` used for `Azure::Core::Context` keys previously.
- Renamed type `Azure::Core::Http::CurlTransportSSLOptions` to `Azure::Core::Http::CurlTransportSslOptions`.
- Renamed member `Azure::Core::Http::CurlTransportOptions::SSLOptions` to `Azure::Core::Http::CurlTransportOptions::SslOptions`.
- Renamed member `Azure::Core::Http::CurlTransportOptions::SSLVerifyPeer` to `Azure::Core::Http::CurlTransportOptions::SslVerifyPeer`.
- Changed the casing of `SSL` in API names to `Ssl`:
- Renamed type `Azure::Core::Http::CurlTransportSSLOptions` to `CurlTransportSslOptions`.
- Renamed member `Azure::Core::Http::CurlTransportOptions::SSLOptions` to `SslOptions`.
- Renamed member `Azure::Core::Http::CurlTransportOptions::SSLVerifyPeer` to `SslVerifyPeer`.

### Other changes and Improvements

- Moved `Azure::Core::Http::Request` to its own header file from `http.hpp` to `inc/azure/core/http/raw_response.hpp`.
- Moved `Azure::Core::Http::HttpStatusCode` to its own header file from `http.hpp` to `inc/azure/core/http/http_status_code.hpp`.

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

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

### Breaking Changes

Expand Down
4 changes: 4 additions & 0 deletions sdk/identity/azure-identity/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

### New Features

- Add Active Directory Federation Service (ADFS) support to `ClientSecretCredential`.

### Breaking Changes

- Removed `Azure::Identity::PackageVersion`.
Expand Down

0 comments on commit 46c84e3

Please sign in to comment.