diff options
| author | Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> | 2021-04-16 16:57:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-16 16:57:15 -0700 |
| commit | 8a62e591852faf9d978c7e6f7b6509662c172881 (patch) | |
| tree | bb8daae88cb7772ad86b262354fa59cb3e39a45a /ports/azure-core-cpp | |
| parent | a267ab118c09f56f3dae96c9a4b3410820ad2f0b (diff) | |
| download | vcpkg-8a62e591852faf9d978c7e6f7b6509662c172881.tar.gz vcpkg-8a62e591852faf9d978c7e6f7b6509662c172881.zip | |
[azure-core-cpp, azure-identity-cpp] Update to latest version (#17142)
* [azure-core-cpp] Update to 1.0.0-beta.8
## 1.0.0-beta.8 (2021-04-07)
### New Features
- 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()`.
- `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`.
- 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.
- Introduced `Azure::Core::Context::Key` class which takes place of `std::string` used for `Azure::Core::Context` keys previously.
- 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`.
* [azure-identity-cpp] Update to 1.0.0-beta.5
## 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`.
* [azure-storage-common-cpp] Update to 12.0.0-beta.10
## 12.0.0-beta.10 (2021-04-16)
### New Features
- Added server timeout support.
- Added `PagedResponse<T>` for returning paginated collections.
### Breaking Changes
- Removed `Azure::Storage::Common::PackageVersion`.
- Moved `ReliableStream` to internal namespace.
- Removed `HttpGetterInfo` and `HTTPGetter` from the `Azure::Storage` namespace.
* [azure-storage-blobs-cpp] Update to 12.0.0-beta.10
## 12.0.0-beta.10 (2021-04-16)
### Breaking Changes
- Removed `Azure::Storage::Blobs::PackageVersion`.
- Renamed `GetUserDelegationKeyOptions::startsOn` to `StartsOn`.
- Replaced all paginated collection functions that have the SinglePage suffix with pageable functions returning a `PagedResponse<T>`-derived type. The options are also renamed accordingly.
- `BlobServiceClient::ListBlobContainers()`.
- `BlobServiceClient::FindBlobsByTags()`.
- `BlobContainerClinet::ListBlobs()`.
- `BlobContainerClient::ListBlobsByHierarchy()`.
- `PageBlobClient::GetPageRanges()`.
- `PageBlobClient::GetPageRangesDiff()`.
- `PageBlobClient::GetManagedDiskPageRangesDiff()`.
- Renamed `FilterBlobItem` to `TaggedBlobItem`.
- `FindBlobsByTags()` now returns `FindBlobsByTagsPagedResponse` and the field `FindBlobsByTagsSinglePageResult::Items` was renamed to `FindBlobsByTagsPagedResponse::TaggedBlobs`.
* [azure-storage-files-datalake-cpp] Update to 12.0.0-beta.10
## 12.0.0-beta.10 (2021-04-16)
### Breaking Changes
- Removed `Azure::Storage::Files::DataLake::PackageVersion`.
- Renamed `GetUserDelegationKeyOptions::startsOn` to `StartsOn`.
- Replaced all paginated collection functions that have the SinglePage suffix with pageable functions returning a `PagedResponse<T>`-derived type. The options are also renamed accordingly.
- `DataLakeServiceClient::ListFileSystems()`.
- `DataLakeFileSystemClient::ListPaths()`.
- `DataLakeDirectoryClient::ListPaths()`.
- Removed `DataLakePathClient::SetAccessControlListRecursiveSinglePage()`, `UpdateAccessControlListRecursiveSinglePage()` and `RemoveAccessControlListRecursiveSinglePage()`.
### Bug Fixes
- Rename functions always fail because `/` was left out in the renamed source path.
* [azure-storage-files-shares-cpp] Update to 12.0.0-beta.10
## 12.0.0-beta.10 (2021-04-16)
### Breaking Changes
- Removed `Azure::Storage::Files::Shares::PackageVersion`.
- Renamed `GetUserDelegationKeyOptions::startsOn` to `StartsOn`.
- Removed `ShareClient::ListFilesAndDirectories()`.
- Replaced all paginated collection functions that have the SinglePage suffix with pageable functions returning a `PagedResponse<T>`-derived type. The options are also renamed accordingly.
- `ShareServiceClient::ListShares()`.
- `ShareDirectoryClient::ListFilesAndDirectories()`.
- `ShareDirectoryClient::ListHandles()`.
- `ShareFileClient::ListHandles()`.
- Removed `ShareDirectoryClient::ForceCloseAllHandlesSinglePage()` and `ShareFileClient::ForceCloseAllHandlesSinglePage()`.
* Update vcpkg ports to use a manifest json file instead of a CONTROL file.
* Update git tree sha versions using the command 'x-add-version --all --overwrite-version'
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
Diffstat (limited to 'ports/azure-core-cpp')
| -rw-r--r-- | ports/azure-core-cpp/CONTROL | 19 | ||||
| -rw-r--r-- | ports/azure-core-cpp/portfile.cmake | 4 | ||||
| -rw-r--r-- | ports/azure-core-cpp/vcpkg.json | 60 |
3 files changed, 62 insertions, 21 deletions
diff --git a/ports/azure-core-cpp/CONTROL b/ports/azure-core-cpp/CONTROL deleted file mode 100644 index 97d6c6008..000000000 --- a/ports/azure-core-cpp/CONTROL +++ /dev/null @@ -1,19 +0,0 @@ -Source: azure-core-cpp
-Version: 1.0.0-beta.7
-Build-Depends: openssl (!windows&!uwp)
-Description: Microsoft Azure Core SDK for C++
- This library provides shared primitives, abstractions, and helpers for modern Azure SDK client libraries written in the C++.
-Homepage: https://github.com/Azure/azure-sdk-for-cpp/tree/master/sdk/core/azure-core
-Default-Features: http
-
-Feature: http
-Build-Depends: azure-core-cpp[core, curl], azure-core-cpp[core, curl, winhttp] (windows&!uwp)
-Description: Build all HTTP transport implementations, depending on the platform
-
-Feature: curl
-Build-Depends: azure-core-cpp[core], curl
-Description: Build an HTTP transport implementation with LibCURL
-
-Feature: winhttp
-Build-Depends: azure-core-cpp[core]
-Description: Build an HTTP transport implementation with WinHTTP
diff --git a/ports/azure-core-cpp/portfile.cmake b/ports/azure-core-cpp/portfile.cmake index d9f7e95f4..74d20a8a2 100644 --- a/ports/azure-core-cpp/portfile.cmake +++ b/ports/azure-core-cpp/portfile.cmake @@ -1,8 +1,8 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-sdk-for-cpp
- REF azure-core_1.0.0-beta.7
- SHA512 2ec13d3ee592869fc086c601e884fb992c123298135c9ffc8d43089c6a4a8368266ebc88f9636b5e63fc19af917d169e7557b2054c5449648bbf21ab3793fbd1
+ REF azure-core_1.0.0-beta.8
+ SHA512 fd882e37332fd5f35627b94c96cfae78178d9bc551cc9a27480f2ef08d496ea2379dc8d0e6a237e902ce063ae87ed6f9e8dc0b91e2e16bd8638e839f8d9e4c2a
)
vcpkg_check_features(
diff --git a/ports/azure-core-cpp/vcpkg.json b/ports/azure-core-cpp/vcpkg.json new file mode 100644 index 000000000..2f88f104c --- /dev/null +++ b/ports/azure-core-cpp/vcpkg.json @@ -0,0 +1,60 @@ +{ + "name": "azure-core-cpp", + "version-string": "1.0.0-beta.8", + "description": [ + "Microsoft Azure Core SDK for C++", + "This library provides shared primitives, abstractions, and helpers for modern Azure SDK client libraries written in the C++." + ], + "homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/master/sdk/core/azure-core", + "dependencies": [ + { + "name": "openssl", + "platform": "!windows & !uwp" + } + ], + "default-features": [ + "http" + ], + "features": { + "curl": { + "description": "Build an HTTP transport implementation with LibCURL", + "dependencies": [ + { + "name": "azure-core-cpp", + "default-features": false + }, + "curl" + ] + }, + "http": { + "description": "Build all HTTP transport implementations, depending on the platform", + "dependencies": [ + { + "name": "azure-core-cpp", + "default-features": false, + "features": [ + "curl" + ] + }, + { + "name": "azure-core-cpp", + "default-features": false, + "features": [ + "curl", + "winhttp" + ], + "platform": "windows & !uwp" + } + ] + }, + "winhttp": { + "description": "Build an HTTP transport implementation with WinHTTP", + "dependencies": [ + { + "name": "azure-core-cpp", + "default-features": false + } + ] + } + } +} |
