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 <antkmsft@users.noreply.github.com>
This commit is contained in:
Anton Kolesnyk 2025-09-10 12:45:39 -07:00 committed by GitHub
parent fac93b7d35
commit 573fe95a0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 31 additions and 20 deletions

View File

@ -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)

View File

@ -11,9 +11,9 @@
#include <cstdint>
#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)

View File

@ -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)

View File

@ -460,14 +460,21 @@ std::tuple<CertificateThumbprint, UniquePrivateKey> ReadPemCertificate(
UniqueHandle<X509> 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<CertificateThumbprint, UniquePrivateKey> ReadPemCertificate(const std
UniqueHandle<X509> 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)
{

View File

@ -11,9 +11,9 @@
#include <cstdint>
#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)