pypi / azure-core
azure-core
What changed in azure-core 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-17.
azure-core 120 changes
Breaking changes 4
Python 3.9 is no longer supported; applications must use Python 3.10 or later.
Query parameters in URL attributes are now sanitized by default; additional parameters require explicit allowance.
The environment variable for the previously undocumented azure_cloud setting changed from AZURE_CLOUD to AZURE_SDK_CLOUD_CONF.
Continuation tokens generated by previous azure-core versions are incompatible with this version.
Security 2
Persists the insecure-domain change flag across retries after a cross-domain redirect.
Azure Core is vulnerable to deserialization of untrusted data
New APIs and options 5
Accepts VERBOSE, case-insensitively, as an alias for DEBUG.
Policies and SDK clients can allow specified URL query parameters to remain unredacted in span attributes or logs.
Per-operation http_logging_level overrides are now supported in HttpLoggingPolicy.
Adds a serialization helper that gets an attribute's backcompat name using backcompat attribute access.
Added a registry for custom serializers and deserializers for specific types or conditions.
Performance 1
Added caching to tracing implementation detection to prevent potential performance issues from repeated import attempts.
Behavior and default changes 4
Invalid values log a warning and use INFO instead of raising errors.
Invalid values log a warning and use the default value instead of raising errors.
Invalid values log a warning and use the default value instead of raising errors.
Adds jitter to token refresh timing to prevent simultaneous refresh attempts across multiple processes and mitigate the thundering herd problem.
Fixes and other changes 4
Preserves a trailing slash in the base URL when the URL template contains only a query string.
Preserves the leading slash when the URL template starts with /?.
Avoids adding trailing slashes when the URL template contains only query parameters.
Fixed repeated import attempts of cchardet and chardet when charset_normalizer is used.