12.16.0b1 (2024-04-16)
This version and all future versions will require Python 3.8+. Python 3.7 is no longer supported.
Features Added
- Added
exists
method toShareFileClient
to check if a file exists. - Added support for service version 2024-05-04.
- The
services
parameter has been added to thegenerate_account_sas
API, which enables the ability to generate SAS
tokens to be used with multiple services. By default, the SAS token service scope will default to the current service.
Bugs Fixed
- Fixed an issue where the
ShareDirectoryClient
returned byget_subdirectory_client
with aShareDirectoryClient
pointing to the root of the file share would raise anInvalidResourceName
on any operations. - Bumped dependency of
typing-extensions
to>=4.6.0
to avoid potentialTypeError
withtyping.TypeVar
on
Python 3.12. - Fixed an issue where authentication errors could raise
AttributeError
instead ofClientAuthenticationError
when
using async OAuth credentials. - Fixed an issue where parameter
delete_snapshots
todelete_share
API did not support all possible enums. This change
makesdelete_snapshots
now accept string literals 'include' and 'include-leased'. - Fixed an issue where specifying datetime objects with less than 7 digits of precision as input could incorrectly raise
InvalidHeaderValue
due to improper precision parsing.