2019.12 12.0.0
- [Breaking] The default browser bundle has been removed from the npm package. Bundling your application with a bundler such as Webpack is the recommended approach to building a browser bundle. For details on how to do this, please refer to our bundling documentation.
- [Breaking] The
expiryTime
andstartTime
members of theAccountSASSignatureValues
andFileSASSignatureValues
types, as well as theexpiry
andstart
members of theaccessPolicy
field of theSignedIdentifier
type, have all been renamed toexpiresOn
andstartsOn
respectively for consistency with@azure/storage-blob
and@azure/storage-queue
. - [Breaking]
forceCloseAllHandles
will returnCloseHandlesInfo
type instead of number. - [Breaking]
forceCloseHandle
will returnclosedHandlesCount
property instead ofnumberOfHandlesClosed
to be compatible withCloseHandlesInfo
. - Updated to use OpenTelemetry 0.2 via
@azure/core-tracing
- Bug Fix - Convert empty prefixes (
""
) toundefined
when passed as options to thelistFiles
orlistShares
methods to avoid sending an invalid request to the service. Fixes bug 5817. - The
ShareFileClient.downloadToBuffer()
helper method has a new overload where it is not required to pass aBuffer
. The attributesoffset
andcount
are optional, and it downloads the entire file if they are not provided. - [Breaking]
shareName
onShareClient
has been renamed toname
. PR 6135 ShareFileClient
andShareDirectoryClient
now have aname
property that returns the file or directory name respectively. PR 6135- [Breaking] In browsers,
blobBody
onFileDownloadResponse
has been renamed tocontentAsBlob
in order to avoid naming confusion between browserBlob
objects andBlob
s from@azure/storage-blob
. PR 6183 - [Breaking] Removed
uploadBrowserData
fromShareFileClient
in favor of a unified methoduploadData
that accepts both browserBlob
objects as well as Node.jsBuffer
objects. - Added a warning to the documentation of
downloadToBuffer
that explains the limitations of Node.jsBuffer
sizes to around 2GB on 64-bit architectures and 1GB on 32-bit architectures. - Documented the behavior of
getProperties
methods with respect to metadata keys and their casing inconsistency when compared to the metadata keys returned through corresponding "list" methods with theincludeMetadata
option.