github Azure/azure-sdk-for-js @azure/storage-blob_12.0.0-preview.4

latest releases: @azure/core-rest-pipeline_1.16.0, @azure/core-amqp_4.2.2, @azure/communication-sms_1.2.0-beta.1...
pre-release4 years ago

2019.10 12.0.0-preview.4

  • [Breaking] Replace string array with boolean flags to specify dataset to include when listing containers or blobs.
    • For listing containers
      Before this change the option is specified as
      blobServiceClient.listContainers({
        include: "metadata"
      });
      After this change:
      blobServiceClient.listContainers({
        includeMetadata: true
      });
    • For listing blobs
      Before this change the option is specified as
      containerClient.listBlobsFlat({
        include: ["snapshots", "metadata", "uncommittedblobs", "copy", "deleted"]
      });
      After this change:
      containerClient.listBlobsFlat({
        includeCopy: true,
        includeDeleted: true,
        includeMetadata: true,
        includeSnapshots: true,
        includeUncommitedBlobs: true
      });
  • [Breaking] BlobClient.setTier() is renamed to BlobClient.setAccessTier().
  • [Breaking] Fixed typo - chanageLease -> changeLease, a method on LeaseClient.
  • Library tries to load the proxy settings from the environment variables like HTTP_PROXY if the proxy settings are not provided when clients like BlobServiceClient or BlobClient are instantiated.
  • Added development connection string support to connect to the storage emulator Azurite - Extension for VS Code
    • Development Connection String
      • DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;
    • Shorthand notation is also supported
      • UseDevelopmentStorage=true (or UseDevelopmentStorage=true;DevelopmentStorageProxyUri=http://myProxyUri)
  • Added name properties on all the clients for convenience.
    • accountName is added to AppendBlobClient, BlobClient, BlobServiceClient, BlockBlobClient, ContainerClient and PageBlobClient.
    • containerName is added to AppendBlobClient, BlobClient, BlockBlobClient, ContainerClient and PageBlobClient.
    • blobName is added to AppendBlobClient, BlobClient, BlockBlobClient and PageBlobClient.
  • [Breaking] Models.StorageServiceProperties is renamed to Models.BlobServiceProperties
  • [Breaking] Models.StorageServiceStats is renamed to Models.BlobServiceStatistics
  • [Breaking] UserDelegationKey.signedOid is renamed to UserDelegationKey.signedObjectId. UserDelegationKey.signedTid is renamed to UserDelegationKey.signedTenantId.

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

NewReleases is sending notifications on new releases.