github Azure/azure-sdk-for-js @azure/storage-file_12.0.0-preview.3

latest releases: @azure/core-lro_3.0.0-beta.2, @azure/arm-security_6.0.0-beta.5, @azure-tools/test-recorder_3.5.0...
pre-release4 years ago

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() and FileClient.setProperties(), and updated APIs DirectoryClient.create() and FileClient.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 of FileClient.download().
  • Fixed a bug that "err.code.toUpperCase is not a function" when retries in browser.
  • Aborter doesn't require dom as tsconfig lib requirement anymore for Event type.
  • Export RetryPolicyType.
  • Updated HTTP client from axios to node-fetch in Node.js runtime.
  • A new option keepAliveOptions added to parameter of newPipeline() which controls keep-alive configurations. Keep-alive is enabled by default.
  • The ShareClient.getStatistics() now returns the approximate size in bytes with shareUsageBytes.
  • Added DirectoryClient.listHandlesSegment() and FileClient.listHandlesSegment() to returns a list of open handles on a directory or a file.
  • Added DirectoryClient.forceCloseHandlesSegment(), FileClient.forceCloseHandlesSegment(), DirectoryClient.forceCloseHandle() and FileClient.forceCloseHandle() to close handles.
  • Pass through options.abortSignal to the optional abortSignal attribute in option bags instead of using AbortSignal.none as the default value when options.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

Don't miss a new azure-sdk-for-js release

NewReleases is sending notifications on new releases.