[azure-*-cpp] Update to July Release for Core and Identity Packages (#32425)

* [azure-identity-cpp] Update to 1.5.1
## 1.5.1 (2023-07-06)

### Bugs Fixed

- [#4723]](https://github.com/Azure/azure-sdk-for-cpp/issues/4723) Accept a wider variety of token responses.

* [azure-core-cpp] Update to 1.10.1
## 1.10.1 (2023-07-06)

### Breaking Changes

- [[#4662]](https://github.com/Azure/azure-sdk-for-cpp/issues/4662) `Azure::Core::Operation<T>::GetRawResponseInternal()` is now deprecated and no longer requires an overload.

### Other Changes

- Empty diagnostic messages will no longer be generated.

* [azure-core-amqp-cpp] Update to 1.0.0-beta.1
## 1.0.0-beta.1 (2023-07-06)

### Features Added

- Initial release

* Dependency search fix

* Dependency link fix

* x-add-version

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Azure SDK Bot 2023-07-07 10:14:11 -07:00 committed by GitHub
parent 4016bcea25
commit 243b4c8604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 124 additions and 8 deletions

View File

@ -0,0 +1,43 @@
diff --git a/sdk/core/azure-core-amqp/CMakeLists.txt b/sdk/core/azure-core-amqp/CMakeLists.txt
index 4af39728..f888b1ba 100644
--- a/sdk/core/azure-core-amqp/CMakeLists.txt
+++ b/sdk/core/azure-core-amqp/CMakeLists.txt
@@ -31,7 +31,7 @@ if(NOT AZ_ALL_LIBRARIES)
endif()
find_package(uamqp CONFIG REQUIRED)
-find_package(umock_c)
+find_package(umock_c CONFIG REQUIRED)
find_package(azure_macro_utils_c CONFIG REQUIRED)
find_package(azure_c_shared_utility CONFIG REQUIRED)
@@ -101,8 +101,8 @@ add_library(Azure::azure-core-amqp ALIAS azure-core-amqp)
# coverage. Has no effect if BUILD_CODE_COVERAGE is OFF
create_code_coverage(core azure-core-amqp azure-core-amqp-tests "tests?/*;samples?/*")
-# uAMQP's headers require the manual addition of umock_c and azure_macro_utils_c to the target link libraries.
-target_link_libraries(azure-core-amqp PRIVATE uamqp umock_c azure_macro_utils_c PUBLIC Azure::azure-core)
+# uAMQP's headers require the manual addition of umock_c, azure_macro_utils_c, and aziotsharedutil to the target link libraries.
+target_link_libraries(azure-core-amqp PRIVATE uamqp umock_c azure_macro_utils_c aziotsharedutil PUBLIC Azure::azure-core)
get_az_version("${CMAKE_CURRENT_SOURCE_DIR}/src/private/package_version.hpp")
generate_documentation(azure-core-amqp ${AZ_LIBRARY_VERSION})
diff --git a/sdk/core/azure-core-amqp/vcpkg/Config.cmake.in b/sdk/core/azure-core-amqp/vcpkg/Config.cmake.in
index 989c8be1..176bc75f 100644
--- a/sdk/core/azure-core-amqp/vcpkg/Config.cmake.in
+++ b/sdk/core/azure-core-amqp/vcpkg/Config.cmake.in
@@ -4,9 +4,12 @@
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
-find_dependency(azure-core-cpp "1.9.0-beta.1")
+find_dependency(azure-core-cpp)
-find_dependency(azure-uamqp-c)
+find_dependency(uamqp)
+find_dependency(umock_c)
+find_dependency(azure_macro_utils_c)
+find_dependency(azure_c_shared_utility)
include("${CMAKE_CURRENT_LIST_DIR}/azure-core-amqp-cppTargets.cmake")

View File

@ -0,0 +1,21 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-sdk-for-cpp
REF azure-core-amqp_1.0.0-beta.1
SHA512 4fc520c546cd395d4c50a9385d33db09b50865046b5383b1442057d4ac78ffc6a6be221af6aef3dcb938ffde1927e8de4270d5b1c9cf5d97ac8b1581b51d014b
PATCHES
00100-fix_dependency.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/sdk/core/azure-core-amqp/"
OPTIONS
-DWARNINGS_AS_ERRORS=OFF
-DBUILD_TESTING=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()

View File

@ -0,0 +1,27 @@
{
"name": "azure-core-amqp-cpp",
"version-semver": "1.0.0-beta.1",
"description": [
"Microsoft Azure AMQP SDK for C++",
"This library provides AMQP functionality to Azure SDK services."
],
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/core/azure-core-amqp",
"license": "MIT",
"supports": "!uwp",
"dependencies": [
{
"name": "azure-core-cpp",
"default-features": false,
"version>=": "1.9.0-beta.1"
},
"azure-uamqp-c",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-sdk-for-cpp
REF azure-core_1.10.0
SHA512 8917d5a3934a743bd8b44dacc12c3cd410cd59f1fa596c36a50f78562a1c7fe7a189c762e4099f3b24d23fcf5dcb0243ac3f139f1d345e6283ff4b5db418ecda
REF azure-core_1.10.1
SHA512 498deebd853070b367f4fc07ac6b54a8ec4850ad5152da81728e909838f89aa0c1d2c2996267ad343bb06f6ebaedf151973359298dee6ad3b49949af016eb568
)
vcpkg_check_features(
@ -17,6 +17,7 @@ vcpkg_cmake_configure(
OPTIONS
${FEATURE_OPTIONS}
-DWARNINGS_AS_ERRORS=OFF
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()

View File

@ -1,6 +1,6 @@
{
"name": "azure-core-cpp",
"version-semver": "1.10.0",
"version-semver": "1.10.1",
"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++."

View File

@ -1,14 +1,15 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-sdk-for-cpp
REF azure-identity_1.5.0
SHA512 1f96c2c9a056e83e083d9d8bc6c55fce1bc84b1ccee0a980c4b09d13b364551a1760c8a44232e5786b179fd60bea4b5b05c6cadd6b7fb270979a606a895bb7b6
REF azure-identity_1.5.1
SHA512 f3e12c0685ec7a1cde724feafbc84a8aa66688ed7b54bb9c4787d516aee3142310863013a5d49869e1a1e64af8f5ce908640fee64190bc9c2f9715e3afa833bc
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/sdk/identity/azure-identity/"
OPTIONS
-DWARNINGS_AS_ERRORS=OFF
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()

View File

@ -1,6 +1,6 @@
{
"name": "azure-identity-cpp",
"version-semver": "1.5.0",
"version-semver": "1.5.1",
"description": [
"Microsoft Azure Identity SDK for C++",
"This library provides common authentication-related abstractions for Azure SDK."

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "c42a4ff250d353e2d0764b8f58dfec820b3cea69",
"version-semver": "1.0.0-beta.1",
"port-version": 0
}
]
}

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "52af14a3a0795d87c3fd9f09b9026c91fcae4b81",
"version-semver": "1.10.1",
"port-version": 0
},
{
"git-tree": "b74424cb6faf3443c02effba66f048e0539437aa",
"version-semver": "1.10.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2855fbb155aacc587ca1e2d518ab2e8369e6d8c0",
"version-semver": "1.5.1",
"port-version": 0
},
{
"git-tree": "abdd671a9667a8b13e439410503d5bb582189fdc",
"version-semver": "1.5.0",

View File

@ -396,8 +396,12 @@
"baseline": "2023-01-18",
"port-version": 1
},
"azure-core-amqp-cpp": {
"baseline": "1.0.0-beta.1",
"port-version": 0
},
"azure-core-cpp": {
"baseline": "1.10.0",
"baseline": "1.10.1",
"port-version": 0
},
"azure-core-tracing-opentelemetry-cpp": {
@ -405,7 +409,7 @@
"port-version": 0
},
"azure-identity-cpp": {
"baseline": "1.5.0",
"baseline": "1.5.1",
"port-version": 0
},
"azure-iot-sdk-c": {