2019.08 12.0.0-preview.3
- Updated Azure Storage Service API version to 2019-02-02.
- Added a new API
ShareClient.createPermission()
which allows for the creation of a security descriptor at the Azure File share level. This descriptor can be used for files and directories in the share. - Added a new API
ShareClient.getPermission()
which allows for the retrieval of the security descriptor set on a share. - Added APIs
DirectoryClient.setProperties()
andFileClient.setProperties()
, and updated APIsDirectoryClient.create()
andFileClient.create()
for setting file permission, attributes, creation time, and last write time. - Added a new API
FileClient.uploadRangeFromURL()
which allows range in a file to be written using a range of another file as a source. This permits synchronous server-side copies to be orchestrated for files of any size. - Fixed a bug of
FileClient.downloadToBuffer()
when provided offset is not 0. - Fixed a bug that
Aborter
cannot work during retry interval. - Fixed a bug that
Aborter
throws timeout error even though it succeeds ofFileClient.download()
. - Fixed a bug that "err.code.toUpperCase is not a function" when retries in browser.
Aborter
doesn't requiredom
as tsconfig lib requirement anymore forEvent
type.- Export
RetryPolicyType
. - Updated HTTP client from axios to node-fetch in Node.js runtime.
- A new option
keepAliveOptions
added to parameter ofnewPipeline()
which controls keep-alive configurations. Keep-alive is enabled by default. - The
ShareClient.getStatistics()
now returns the approximate size in bytes withshareUsageBytes
. - Added
DirectoryClient.listHandlesSegment()
andFileClient.listHandlesSegment()
to returns a list of open handles on a directory or a file. - Added
DirectoryClient.forceCloseHandlesSegment()
,FileClient.forceCloseHandlesSegment()
,DirectoryClient.forceCloseHandle()
andFileClient.forceCloseHandle()
to close handles. - Pass through
options.abortSignal
to the optionalabortSignal
attribute in option bags instead of usingAbortSignal.none
as the default value whenoptions.abortSignal
is not specified. - Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - typescript/proxyAuth.ts
- Connection strings for explicit storage endpoints are supported. - Configure Azure Storage connection strings