From 573fe95a0e40fab6dc5416db0e6f599768cd99f5 Mon Sep 17 00:00:00 2001 From: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> Date: Wed, 10 Sep 2025 12:45:39 -0700 Subject: [PATCH] Azure Core and Identity September Releases (#6725) * Azure Core and Identity September Releases * "Identity" * Update azure-core-cpp version to 1.16.0 * Enclose BIO_seek() OpenSSL macro in -Wold-style-cast ignore pragmas for macOS --------- Co-authored-by: Anton Kolesnyk --- sdk/core/azure-core/CHANGELOG.md | 8 ++------ .../azure-core/src/private/package_version.hpp | 6 +++--- sdk/identity/azure-identity/CHANGELOG.md | 14 +++++++------- .../src/client_certificate_credential.cpp | 17 ++++++++++++++++- .../src/private/package_version.hpp | 6 +++--- 5 files changed, 31 insertions(+), 20 deletions(-) diff --git a/sdk/core/azure-core/CHANGELOG.md b/sdk/core/azure-core/CHANGELOG.md index 374c36c3f..ba150834b 100644 --- a/sdk/core/azure-core/CHANGELOG.md +++ b/sdk/core/azure-core/CHANGELOG.md @@ -1,14 +1,10 @@ # Release History -## 1.17.0-beta.1 (Unreleased) - -### Features Added - -### Breaking Changes +## 1.16.1 (2025-09-11) ### Bugs Fixed -### Other Changes +- Fixed `DateTime::operator std::chrono::system_clock::time_point()` when compiled with Xcode 16. ## 1.16.0 (2025-07-10) diff --git a/sdk/core/azure-core/src/private/package_version.hpp b/sdk/core/azure-core/src/private/package_version.hpp index 99f903c21..290c21433 100644 --- a/sdk/core/azure-core/src/private/package_version.hpp +++ b/sdk/core/azure-core/src/private/package_version.hpp @@ -11,9 +11,9 @@ #include #define AZURE_CORE_VERSION_MAJOR 1 -#define AZURE_CORE_VERSION_MINOR 17 -#define AZURE_CORE_VERSION_PATCH 0 -#define AZURE_CORE_VERSION_PRERELEASE "beta.1" +#define AZURE_CORE_VERSION_MINOR 16 +#define AZURE_CORE_VERSION_PATCH 1 +#define AZURE_CORE_VERSION_PRERELEASE "" #define AZURE_CORE_VERSION_ITOA_HELPER(i) #i #define AZURE_CORE_VERSION_ITOA(i) AZURE_CORE_VERSION_ITOA_HELPER(i) diff --git a/sdk/identity/azure-identity/CHANGELOG.md b/sdk/identity/azure-identity/CHANGELOG.md index 3e50e7e5c..4f89d07a7 100644 --- a/sdk/identity/azure-identity/CHANGELOG.md +++ b/sdk/identity/azure-identity/CHANGELOG.md @@ -1,16 +1,16 @@ # Release History -## 1.14.0-beta.1 (Unreleased) - -### Features Added - -### Breaking Changes +## 1.13.1 (2025-09-11) ### Bugs Fixed -- Fixed IMDS token requests for managed identities, which were broken by an invalid URL path in 1.12.0-beta.1. +- Fixed IMDS token requests for managed identities, which were broken by an invalid URL path in 1.12.0-beta.1. (A community contribution, courtesy of _[chewi](https://github.com/chewi)_) -### Other Changes +### Acknowledgments + +Thank you to our developer community members who helped to make Azure Identity better with their contributions to this release: + +- James Le Cuirot _([GitHub](https://github.com/chewi))_ ## 1.13.0 (2025-08-05) diff --git a/sdk/identity/azure-identity/src/client_certificate_credential.cpp b/sdk/identity/azure-identity/src/client_certificate_credential.cpp index 298c9d4a0..100ed3518 100644 --- a/sdk/identity/azure-identity/src/client_certificate_credential.cpp +++ b/sdk/identity/azure-identity/src/client_certificate_credential.cpp @@ -460,14 +460,21 @@ std::tuple ReadPemCertificate( UniqueHandle x509{PEM_read_bio_X509(bioCert.get(), nullptr, nullptr, nullptr)}; if (!x509) { +#if defined(__clang__) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wold-style-cast" +#endif // __clang__ std::ignore = BIO_seek(bioCert.get(), 0); +#if defined(__clang__) +#pragma clang diagnostic pop +#endif // __clang__ + x509.reset(PEM_read_bio_X509(bioCert.get(), nullptr, nullptr, nullptr)); if (!x509) { throw AuthenticationException("Failed to read X509 section."); } } - return GetThumbprintAndKey(std::move(x509), std::move(pkey)); } @@ -489,7 +496,15 @@ std::tuple ReadPemCertificate(const std UniqueHandle x509{PEM_read_bio_X509(bio.get(), nullptr, nullptr, nullptr)}; if (!x509) { +#if defined(__clang__) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wold-style-cast" +#endif // __clang__ std::ignore = BIO_seek(bio.get(), 0); +#if defined(__clang__) +#pragma clang diagnostic pop +#endif // __clang__ + x509.reset(PEM_read_bio_X509(bio.get(), nullptr, nullptr, nullptr)); if (!x509) { diff --git a/sdk/identity/azure-identity/src/private/package_version.hpp b/sdk/identity/azure-identity/src/private/package_version.hpp index 2dadb0733..e2dc7e8ec 100644 --- a/sdk/identity/azure-identity/src/private/package_version.hpp +++ b/sdk/identity/azure-identity/src/private/package_version.hpp @@ -11,9 +11,9 @@ #include #define AZURE_IDENTITY_VERSION_MAJOR 1 -#define AZURE_IDENTITY_VERSION_MINOR 14 -#define AZURE_IDENTITY_VERSION_PATCH 0 -#define AZURE_IDENTITY_VERSION_PRERELEASE "beta.1" +#define AZURE_IDENTITY_VERSION_MINOR 13 +#define AZURE_IDENTITY_VERSION_PATCH 1 +#define AZURE_IDENTITY_VERSION_PRERELEASE "" #define AZURE_IDENTITY_VERSION_ITOA_HELPER(i) #i #define AZURE_IDENTITY_VERSION_ITOA(i) AZURE_IDENTITY_VERSION_ITOA_HELPER(i)