Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[azure-core-*] Update azure-core-cpp to 1.8.0 and azure-core-tracing-opentelemetry-cpp to 1.0.0-beta.4 #29427

Merged
merged 2 commits into from
Feb 3, 2023

Conversation

azure-sdk
Copy link
Contributor

Update vcpkg ports for Azure SDK release. This release may contain multiple ports.

## 1.8.0 (2023-02-02)

### Features Added

- Added support for parsing space character in place of 'T' in RFC3339 DateTimes.
- Added support for HTTP proxy servers, both unauthenticated and with basic authentication.
- Added universal support for several TLS options:
  - Added the ability to set the expected TLS root certificate for TLS connection (useful if a proxy server uses a TLS certificate that is not chained to a known root).
  - Added the ability to enable TLS certificate revocation list checks (off by default).
    - For libcurl only: Allow TLS connection to succeed if CRL retrieval fails.
    - *NOTE*: This change only applies if libcurl is built using the OpenSSL crypto backend. It does NOT apply if libcurl uses the schannel (Windows default) or SecureTransport (macOS/iOS default).

### Breaking Changes

- Changed the name of several distributed tracing HTTP span attributes:
  - `requestId` is renamed to `az.client_request_id`
  - `serviceRequestId` is renamed to `az.service_request_id`

- Bearer token authentication will not work for endpoint URL protocol schemes other than `"https"`. This ensures token security and is consistent with the Azure SDKs for other languages.

- Removed `noexcept` specification from `Azure::DateTime::clock::now()`.

- Updated retry policy timeouts to conform to Azure guidelines.
  - The default delay between retries is changed from 4 seconds to 800ms.
  - The maximum retry delay is changed from 2 minutes to 60 seconds (one minute).

  If the original behavior is desired, customers can adjust these timeouts by changing the `RetryDelay` and `MaxRetryDelay` fields in the `RetryOptions` structure.

### Bugs Fixed

- Fixed bug in WinHTTP client which caused the `IgnoreUnknownCertificateAuthority` and `EnableCertificateRevocationListCheck` fields to be ignored if they were passed in from `TransportOptions`.
- [[microsoft#4206]](Azure/azure-sdk-for-cpp#4206) Fixed connectivity issues in libcurl HTTP transport which can occur if a TCP connection is dropped prematurely. (A community contribution, courtesy of _[ahojnnes](https://github.com/ahojnnes)_)

### Other Changes

- Update distributed tracing attributes to align with current Azure Distributed Tracing Conventions attributes and names.
- Added the ability to consume version 1.1.1n of OpenSSL.
- Added support for Identity token caching, and for configuring token refresh offset in `BearerTokenAuthenticationPolicy`.
- Improved cancellation support for WinHTTP transport.

### Acknowledgments

Thank you to our developer community members who helped to make Azure Core better with their contributions to this release:

- Johannes Schonberger _([GitHub](https://github.com/ahojnnes))_
@azure-sdk
Copy link
Contributor Author

Adding azure-core to release

cc: @RickWinter, @ahsonkhan, @antkmsft, @vhvb1989, @gearama, @LarryOsterman

github-actions[bot]
github-actions bot previously approved these changes Feb 3, 2023
## 1.0.0-beta.4 (2023-02-02)

### Features Added

- Aligned OpenTelemetry tracing infrastructure with OpenTelemetry 1.17.0 conventions for use with Azure Monitor.

### Other Changes

- Suppress several warnings from opentelemetry-cpp package.
@azure-sdk
Copy link
Contributor Author

Adding azure-core-tracing-opentelemetry to release

cc: @RickWinter, @ahsonkhan, @antkmsft, @vhvb1989, @gearama, @LarryOsterman

@Adela0814 Adela0814 changed the title [azure-core-cpp] Update to 1.8.0, [azure-core-tracing-opentelemetry-cpp] Update to 1.0.0-beta.4 [azure-core-*] Update azure-core-cpp to 1.8.0 and azure-core-tracing-opentelemetry-cpp to 1.0.0-beta.4 Feb 3, 2023
@Adela0814 Adela0814 added the category:port-update The issue is with a library, which is requesting update new revision label Feb 3, 2023
@Adela0814 Adela0814 added the info:reviewed Pull Request changes follow basic guidelines label Feb 3, 2023
@BillyONeal BillyONeal merged commit 37c9f41 into microsoft:master Feb 3, 2023
@BillyONeal
Copy link
Member

Thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-update The issue is with a library, which is requesting update new revision info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants