4.12.0 (2026-10-27)
Bugs Fixed
- Fixed an issue where cached authentication challenges could bypass challenge resource verification.
- Preserve newer cached authentication challenges installed by concurrent requests when an older request fails.
Failed requests now clear only the cache entry they observed or accepted. - Hardened challenge cache reuse as a follow-up to #48710.
Cached challenges are now verified before token use, and stale entries are cleared when challenge parsing or resource verification fails.
Request replay and existing CAE scope/tenant precedence are preserved when concurrent requests invalidate the shared cache. - Preserved redirect header cleanup and header updates when restoring request bodies during authentication.
- Reject request URLs containing backslashes in the authority before authentication.
- Clear the request's cached challenge when a 401 response omits
WWW-Authenticate, returning that response without an authentication retry.
If no newer challenge remains, the next request rediscovers it, which can add an unauthenticated request even when
resource verification is disabled.
Other Changes
- Regenerated the package with stable Key Vault API version
2026-04-01. - The default service version is now
2026-04-01. - Python 3.9 is no longer supported. Please use Python 3.10 or later, in accordance with the Azure SDK for Python version support policy.
- Updated the minimum
azure-coredependency to1.37.0to match the generated client.