NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1140 most downloaded on PyPI
Microsoft Azure Azure File Share Storage Client Library for Python
Last release 1 months ago
10 Aug 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 37 of 37 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
64 releases · first in 2019
One column per quarter.
The StorageUserAgentPolicy is now replaced with the UserAgentPolicy from azure-core. With this, the custom user agents are now added as a prefix inste
Notes
StorageUserAgentPolicy is now replaced with the UserAgentPolicy from azure-core. With this, the custom user agents are now added as a prefix instead of being appended.Added support for the 2019-07-07 service version, and added api_version parameter to clients.
New features
api_version parameter to clients.ShareLeaseClient was introduced to both sync and async versions of the SDK, which allows users to perform operations on file leases.failed_handles_count info was included in close_handle and close_all_handles result.list_shares and get_share_properties.start_copy_from_url parameters - file_permission, permission_key, file_attributes, file_creation_time, file_last_write_time, ignore_read_only, and set_archive_attribute.Fixes and improvements
clear_range API was not working.Fixes
Code | Docs Support: Active
Code | Docs
Support: Active
New features
delete_directory method to the share_client.close() method to close the sockets opened by the client when using without a context manager.Fixes and improvements
Breaking changes
close_handle(handle) and close_all_handles() no longer return int. These functions return a dictionary which has the number of handles closed and number of handles failed to be closed.Code | Docs Storage - Files Data Lake azure-storage-file-datalake
Code | Docs
Storage - Files Data Lake
azure-storage-file-datalake
Important: This package was previously named azure-storage-file
Going forward, to use this SDK, please install azure-storage-file-share.
Additionally:
azure.storage.fileshare.FileServiceClient has been renamed to ShareServiceClient.DirectoryClient has been renamed to ShareDirectoryClient.FileClient has been renamed to ShareFileClient.Additional Breaking changes
ShareClient now accepts only account_url with mandatory a string param share_name.
To use a share_url, the method from_share_url must be used.ShareDirectoryClient now accepts only account_url with mandatory string params share_name and directory_path.
To use a directory_url, the method from_directory_url must be used.ShareFileClient now accepts only account_url with mandatory string params share_name and
file_path. To use a file_url, the method from_file_url must be used.file_permission_key parameter has been renamed to permission_keyset_share_access_policy has required parameter signed_identifiers.NoRetry policy has been removed. Use keyword argument retry_total=0 for no retries.ShareServiceClient, ShareClient, ShareDirectoryClient and ShareFileClient should be imported from azure.storage.fileshare.aioloopmax_concurrencyvalidate_contenttimeout etc.azure.storage.fileshare and azure.storage.fileshare.aio only.generate_shared_access_signature methods on each of ShareServiceClient, ShareClient and ShareFileClient have been replaced by module level functions generate_account_sas, generate_share_sas and generate_file_sas.start_range and end_range params are now renamed to and behave likeoffset and length in
the following APIs:
StorageStreamDownloader is no longer iterable. To iterate over the file data stream, use StorageStreamDownloader.chunks.StorageStreamDownloader have been limited to:
name (str): The name of the file.path (str): The full path of the file.share (str): The share the file will be downloaded from.properties (FileProperties): The properties of the file.size (int): The size of the download. Either the total file size, or the length of a subsection if specified. Previously called download_size.StorageStreamDownloader now has new functions:
readall(): Reads the complete download stream, returning bytes. This replaces the functions content_as_bytes and content_as_text which have been deprecated.readinto(stream): Download the complete stream into the supplied writable stream, returning the number of bytes written. This replaces the function download_to_stream which has been deprecated.ShareFileClient.close_handles and ShareDirectoryClient.close_handles have both been replaced by two functions each; close_handle(handle) and close_all_handles(). These functions are blocking and return integers (the number of closed handles) rather than polling objects.get_service_properties now returns a dict with keys consistent to set_service_propertiesNew features
ResourceTypes, NTFSAttributes, and Services now have method from_string which takes parameters as a string.Your coding agent can read these notes before it upgrades. Set up the MCP server →