2019.11 12.0.0-preview.6
- [Breaking]
@azure/storage-file
package is renamed to@azure/storage-file-share
to better align with the upcoming new package for Azure Storage Files DataLake. As a consequence,FileServiceClient
becomesShareServiceClient
DirectoryClient
becomesShareDirectoryClient
FileClient
becomesShareFileClient
- Bug Fix - Previous versions of
@azure/storage-file
library failed for the react-apps because of the usage offs.stat
method which is not available in browsers. The issue is fixed in this new release. - [Breaking] The custom browser and retry policies that are specific to the Storage libraries have been
renamed to have theStorage
prefix. PR 5862.
Below are the entities that now have the Storage prefix- BrowserPolicy
- BrowserPolicyFactory
- RetryPolicy
- RetryPolicyType
- RetryOptions
- RetryPolicyFactory
- [Breaking] The properties in the StoragePipelineOptions interface have been updated as below:
- The
proxy
property of typeProxySettings | string
has been renamed toproxyOptions
and
will be of typeProxyOptions
. If you have been passing url directly, split the value intohost
andport
then pass it as a json object. - The
telemetry
property of typeTelemetryOptions
has been renamed touserAgentOptions
of
typeUserAgentOptions
. - The
logger
is no longer a property available to configure. To enable logging, please see the
Troubleshooting section of our readme.
- The
- [Breaking] The
UniqueRequestIdPolicy
andKeepAlivePolicy
are no longer exported from this library. The
corresponding policies from the@azure/core-http
library are meant to be used instead. - Bug Fix - Previous versions of
@azure/storage-file
library failed for the react-apps because of the usage offs.stat
method which is not available in browsers. The issue is fixed in this new release.