mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 13:49:09 +08:00
37c9f412ca
* [azure-core-cpp] Update to 1.8.0 ## 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`. - [[#4206]](https://github.com/Azure/azure-sdk-for-cpp/issues/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-core-tracing-opentelemetry-cpp] Update to 1.0.0-beta.4 ## 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.
19 lines
631 B
CMake
19 lines
631 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Azure/azure-sdk-for-cpp
|
|
REF azure-core-tracing-opentelemetry_1.0.0-beta.4
|
|
SHA512 645c616fe54024f30a6e4b9c2626bfeaf906086be7bbeccc4a1155178670fb70d9818938db2f9fa8e3b9593ca45e0b10042dcd67fde04d2542f6f72a74884697
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core-tracing-opentelemetry/
|
|
OPTIONS
|
|
-DWARNINGS_AS_ERRORS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
vcpkg_cmake_config_fixup()
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
vcpkg_copy_pdbs()
|