Skip to content

Update azure-sdk-for-python monorepo#936

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/azure-sdk-for-python-monorepo
Open

Update azure-sdk-for-python monorepo#936
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/azure-sdk-for-python-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 30, 2026

This PR contains the following updates:

Package Change Age Confidence
azure-core (source) ==1.31.0==1.39.0 age confidence
azure-core (source) ==1.34.0==1.39.0 age confidence
azure-eventhub (source) ==5.12.2==5.15.1 age confidence
azure-eventhub (source) ==5.15.0==5.15.1 age confidence
azure-identity ==1.25.2==1.25.3 age confidence
azure-identity ==1.16.0==1.25.3 age confidence
azure-identity ==1.19.0==1.25.3 age confidence
azure-keyvault-certificates (source) ==4.9.0==4.10.0 age confidence
azure-keyvault-keys (source) ==4.10.0==4.11.0 age confidence
azure-keyvault-secrets (source) ==4.9.0==4.10.0 age confidence
azure-keyvault-secrets (source) ==4.8.0==4.10.0 age confidence
azure-storage-blob (source) ==12.23.1==12.28.0 age confidence
azure-storage-blob (source) ==12.20.0==12.28.0 age confidence

Release Notes

Azure/azure-sdk-for-python (azure-core)

v1.39.0

Compare Source

Breaking Changes
  • Changed the previously undocumented azure_cloud setting environment variable from AZURE_CLOUD to AZURE_SDK_CLOUD_CONF.

v1.38.3

Compare Source

Bugs Fixed
  • Fixed PipelineClient.format_url to preserve trailing slash in the base URL when the URL template is query-string-only (e.g., ?key=value). #​45365
  • Fixed SensitiveHeaderCleanupPolicy to persist the insecure_domain_change flag across retries after a cross-domain redirect. #​45518
Other Changes
  • Added jitter to token refresh timing in BearerTokenCredentialPolicy and AsyncBearerTokenCredentialPolicy to prevent simultaneous token refresh attempts across multiple processes. This helps mitigate the thundering herd problem during token refresh operations. #​43720

v1.38.2

Compare Source

Bugs Fixed
  • Fixed PipelineClient.format_url to preserve the leading slash when the URL template starts with /?. #​45218

v1.38.1

Compare Source

Bugs Fixed
  • Fixed PipelineClient.format_url to avoid adding trailing slashes when the URL template contains only query parameters. #​45044

v1.38.0

Compare Source

Breaking Changes
  • Changed the continuation token format. Continuation tokens generated by previous versions of azure-core are not compatible with this version.

v1.37.0

Compare Source

Features Added
  • Added get_backcompat_attr_name to azure.core.serialization. get_backcompat_attr_name gets the backcompat name of an attribute using backcompat attribute access. #​44084
Bugs Fixed
  • Fixed leaked requests and aiohttp exceptions for streamed responses #​43200
  • Improved granularity of ServiceRequestError and ServiceResponseError exceptions raised in timeout scenarios from the requests and aiohttp transports #​43200

v1.36.0

Compare Source

Features Added
  • Added TypeHandlerRegistry to azure.core.serialization to allow developers to register custom serializers and deserializers for specific types or conditions. #​43051
Bugs Fixed
  • Fixed repeated import attempts of cchardet and chardet when charset_normalizer is used #​43092
Other Changes
  • Removed six as a dependency since it was unused. #​39962
  • Added caching to the tracing implementation detection function to prevent potential performance issues from repeated import attempts. #​43338

v1.35.1

Compare Source

Bugs Fixed
  • Fixed an issue where the retry_backoff_max parameter in RetryPolicy and AsyncRetryPolicy constructors was being ignored, causing retry operations to use default maximum backoff values instead of the user-specified limits. #​42444
Other Changes
  • BearerTokenCredentialPolicy and AsyncBearerTokenCredentialPolicy will now properly surface credential exceptions when handling claims challenges. Previously, exceptions from credential token requests were suppressed; now they are raised and chained with the original 401 HttpResponseError response for better debugging visibility. #​42536

v1.35.0

Compare Source

Features Added
  • Added a start_time keyword argument to the start_span and start_as_current_span methods in the OpenTelemetryTracer class. This allows users to specify a custom start time for created spans. #​41106
  • Added a context keyword argument to the start_span and start_as_current_span methods in the OpenTelemetryTracer class. This allows users to specify a custom parent context for created spans. #​41511
  • Added method as_attribute_dict to azure.core.serialization for backcompat migration purposes. Will return a generated model as a dictionary where the keys are in attribute syntax.
  • Added is_generated_model method to azure.core.serialization. Returns whether a given input is a model from one of our generated sdks. #​41445
  • Added attribute_list method to azure.core.serialization. Returns all of the attributes of a given model from one of our generated sdks. #​41571
Other Changes
  • A timeout error when using the aiohttp transport (the default for async SDKs) will now be raised as a azure.core.exceptions.ServiceResponseTimeoutError, a subtype of the previously raised ServiceResponseError.
  • When using with aiohttp 3.10 or later, a connection timeout error will now be raised as a azure.core.exceptions.ServiceRequestTimeoutError, which can be retried.
  • The default implementation of on_challenge in BearerTokenCredentialPolicy and AsyncBearerTokenCredentialPolicy will now cache the retrieved token. #​41857

v1.34.0

Compare Source

Features Added
  • Added a set_span_error_status method to the OpenTelemetryTracer class. This method allows users to set the status of a span to ERROR after it has been created. #​40703
Other Changes
  • Python 3.8 is no longer supported. Please use Python version 3.9 or later.

v1.33.0

Compare Source

Features Added
  • Added native OpenTelemetry tracing to Azure Core which enables users to use OpenTelemetry to trace Azure SDK operations without needing to install a plugin. #​39563
    • To enable native OpenTelemetry tracing, users need to:
      1. Have opentelemetry-api installed.
      2. Ensure that settings.tracing_implementation is not set.
      3. Ensure that settings.tracing_enabled is set to True.
    • If setting.tracing_implementation is set, the tracing plugin will be used instead of the native tracing.
    • If settings.tracing_enabled is set to False, tracing will be disabled.
    • The OpenTelemetryTracer class was added to the azure.core.tracing.opentelemetry module. This is a wrapper around the OpenTelemetry tracer that is used to create spans for Azure SDK operations.
    • Added a get_tracer method to the new azure.core.instrumentation module. This method returns an instance of the OpenTelemetryTracer class if OpenTelemetry is available.
    • A TracingOptions TypedDict class was added to define the options that SDK users can use to configure tracing per-operation. These options include the ability to enable or disable tracing and set additional attributes on spans.
      • Example usage: client.method(tracing_options={"enabled": True, "attributes": {"foo": "bar"}})
    • The DistributedTracingPolicy and distributed_trace/distributed_trace_async decorators now uses the OpenTelemetry tracer if it is available and native tracing is enabled.
      • SDK clients can define an _instrumentation_config class variable to configure the OpenTelemetry tracer used in method span creation. Possible configuration options are library_name, library_version, schema_url, and attributes.
      • DistributedTracingPolicy now accepts a instrumentation_config keyword argument to configure the OpenTelemetry tracer used in HTTP span creation.
Breaking Changes
  • Removed automatic tracing enablement for the OpenTelemetry plugin if opentelemetry was imported. To enable tracing with the plugin, please import azure.core.settings.settings and set settings.tracing_implementation to "opentelemetry". #​39563
  • In DistributedTracingPolicy, the default span name is now just the HTTP method (e.g., "GET", "POST") and no longer includes the URL path. This change was made to converge with the OpenTelemetry HTTP semantic conventions. The full URL is still included in the span attributes.
  • Renamed span attributes in DistributedTracingPolicy:
    • "x-ms-client-request-id" is now "az.client_request_id"
    • "x-ms-request-id" is now "az.service_request_id"
Bugs Fixed
  • Fixed an issue where the traceparent header was not being set correctly in the DistributedTracingPolicy. The traceparent header will now set based on the context of the HTTP client span. #​40074
Other Changes
  • Added opentelemetry-api as an optional dependency for tracing. This can be installed with pip install azure-core[tracing]. #​39563

v1.32.0

Compare Source

Features Added
  • Added a default implementation to handle token challenges in BearerTokenCredentialPolicy and AsyncBearerTokenCredentialPolicy.
Bugs Fixed
  • Fixed an issue where the tracing_attributes keyword argument wasn't being handled at the request/method level. #​38164
Other Changes
  • Log "x-vss-e2eid" and "x-msedge-ref" headers in HttpLoggingPolicy.
Azure/azure-sdk-for-python (azure-eventhub)

v5.15.1

Compare Source

5.15.1 (2025-11-11)
Bugs Fixed
  • Fixed a bug in the EventHub client where the maximum message size negotiation during the AMQP attach frame was handled incorrectly. The client now correctly sends a max message size of 0 (unlimited), allowing the server to apply its internal limit (20 MB) as intended. (#​43462)

v5.15.0

Compare Source

5.15.0 (2025-04-15)

Features Added
  • Added support for geo-replication and disaster recovery-enabled Event Hubs. To learn more about geo-replication, refer to this doc. To enable geo-replication on your Dedicated Event Hubs namespace, refer to this guide.
  • Added a class method from_bytes to EventData to create from a message payload of bytes. (#​39711)
Bugs Fixed
  • Fixed a bug where service errors were incorrectly required and expected to have info/description fields.
  • Fixed a bug so that the BufferedProducer ThreadPoolExecutor uses one worker per partition. (#​38961)
Other Changes
  • Added support for handling a C# DateTime.MinValue timestamp, which is returned by the service as a sentinel for time which is not set.
  • Deprecating uamqp_transport in favor of pyAMQP transport. The uamqp_transport will be removed in the next minor release.
  • Fixed aiohttp websocket library showing a deprecation warning due to an incorrect timeout type (#​40429)
  • Dropped support for Python 3.8
  • The following change has been temporarily pulled out and will be added to a future release:
    • Implemented a new websockets library so that using AmqpOverWebsocket no longer requires separate optional dependency installations.

v5.14.0

Compare Source

5.14.0 (2025-02-13)

Features Added
Bugs Fixed
  • Fixed a bug where async websocket disconnects were not being retried properly.
  • Fixed a bug where pyAMQP was doubly retrying, causing latency on reconnect. (#​39037)
  • Fixed a bug where handle partial frames being sent twice due to multiple threads trying to send from the same outgoing internal buffer for large messages. (#​38067)
  • Missing await in sender async on pyAMQP. (#​39182)
  • Fixed a bug where message IDs in management operation requests were not unique.
Other Changes
  • Updates to the Event Hubs Troubleshooting guidelines
  • Updates to mypy/pylint
  • Removed python 2.7 code (#​38735)

v5.13.0

Compare Source

5.13.0 (2024-11-12)

Features Added
  • Added ssl_context parameter to the clients to allow users to pass in the SSL context, in which case, connection_verify will be ignored if specified.
Other Changes
  • Added debug logging to track received messages.

Configuration

📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants