Breaking changes
- Renamed
copy_file_from_url
tostart_copy_from_url
and changed behaviour to return a dictionary of copy properties rather than a polling object. Status of the copy operation can be retrieved with theget_file_properties
operation. - Added
abort_copy
operation to theFileClient
class. This replaces the previous abort operation on the copy status polling operation. - The behavior of listing operations has been modified:
- The previous
marker
parameter has been removed. - The iterable response object now supports a
by_page
function that will return a secondary iterator of batches of results. This function supports acontinuation_token
parameter to replace the previousmarker
parameter.
- The previous
- The new listing behaviour is also adopted by the
receive_messages
operation:- The receive operation returns a message iterator as before.
- The returned iterator supports a
by_page
operation to receive messages in batches.
New features
- Added async APIs to subnamespace
azure.storage.file.aio
. - Distributed tracing framework OpenCensus is now supported.
Dependency updates
-
Adopted azure-core 1.0.0b2
- If you later want to revert to azure-storage-file 12.0.0b1, or another Azure SDK
library requiring azure-core 1.0.0b1, you must explicitly install azure-core
1.0.0b1 as well. For example:
pip install azure-core==1.0.0b1 azure-storage-file==12.0.0b1
- If you later want to revert to azure-storage-file 12.0.0b1, or another Azure SDK
Fixes and improvements
- Fix for closing file handles - continuation token was not being passed to subsequent calls.
- General refactor of duplicate and shared code.