mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 23:39:02 +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.
27 lines
767 B
CMake
27 lines
767 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Azure/azure-sdk-for-cpp
|
|
REF azure-core_1.8.0
|
|
SHA512 13d49b79dbc9e5c2fd8ce019e76b2ba92258174f7b12945eae67c7451548ada4afc059023b5092c3de7ce77bc4bb0954a5c483b8451aeefde4a3133401ace632
|
|
)
|
|
|
|
vcpkg_check_features(
|
|
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
FEATURES
|
|
curl BUILD_TRANSPORT_CURL
|
|
winhttp BUILD_TRANSPORT_WINHTTP
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core/
|
|
OPTIONS
|
|
${FEATURE_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()
|