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

latest releases: @azure/communication-chat_1.5.0, @azure/arm-frontdoor_5.3.0, @azure/arm-cdn_9.1.0...
pre-release4 years ago

2019.10 12.0.0-preview.5

  • [Breaking] IPRange is renamed to SasIPRange. PR #5551
  • Created new interface CommonOptions. This interface is for standard options that apply to all methods that invoke remote operations. This interface currently contains options that enable client-side tracing of the SDK. PR #5550
  • offset parameter is optional in downloadToBuffer method of FileClient. PR #5592
  • Async iterator with pagination support is added to list Handles - listHandles PR #5536
  • [Breaking] Models is no longer exported in public API surface. Instead generated model types required by the public API are explicitly re-exported. PR #5532
  • [Breaking] Cancelling an operation now throws a standardized error with the name AbortError. PR #5633
  • [Breaking] filePath is on FileClient is renamed to path. dirPath is added to DirectoryClient is renamed to path. PR #5613
  • [Breaking] body field from RestError Object in core-http Library is removed, the response property on the error will now have the parsedBody & headers along with raw body & headers that are already present. PRs #5670, #5437
    • Errors from the storage service can be seen in an extra field details with the expected error code. #5688
  • [Breaking] progress callback in the option bags of all the helper methods is renamed to onProgress. PR #5676
  • [Breaking] Type of the permissions attribute in the options bag FileSASSignatureValues to be passed into generateFileSASQueryParameters is changed to FileSASPermissions from type string. PR #5626
    • Similarly, AccountSASPermissions for generateAccountSASQueryParameters instead of type string.
    • Example - permissions attribute in generateFileSASQueryParameters
      • permissions: FileSASPermissions.parse("racwd").toString() changes to FileSASPermissions.parse("racwd")
  • [Breaking] sourceModifiedAccessConditions attribute in FileUploadRangeFromURLOptions is renamed to sourceConditions. PR #5682
  • Renames for following Options interfaces. PR #5650
    • UploadStreamToAzureFileOptions -> FileUploadStreamOptions,
    • UploadToAzureFileOptions -> FileParallelUploadOptions,
    • DownloadFromAzureFileOptions -> FileDownloadToBufferOptions
  • [Breaking] Appropriate attribute renames in all the interfaces PR #5610
    • Example - nextMarker -> continuationToken, HTTPClient -> HttpClient, permission -> permissions, parallelism -> concurrency
  • [Breaking] forceCloseHandlesSegment is not exposed from the library in favour of the new method forceCloseAllHandles on FileClient and DirectoryClient. PR #5620
  • [Breaking] IE11 needs Object.assign polyfill loaded. PR #5727

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

NewReleases is sending notifications on new releases.