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 asAfter this change:blobServiceClient.listContainers({ include: "metadata" });
blobServiceClient.listContainers({ includeMetadata: true });
- For listing blobs
Before this change the option is specified asAfter this change:containerClient.listBlobsFlat({ include: ["snapshots", "metadata", "uncommittedblobs", "copy", "deleted"] });
containerClient.listBlobsFlat({ includeCopy: true, includeDeleted: true, includeMetadata: true, includeSnapshots: true, includeUncommitedBlobs: true });
- For listing containers
- [Breaking]
BlobClient.setTier()
is renamed toBlobClient.setAccessTier()
. - [Breaking] Fixed typo -
chanageLease
->changeLease
, a method onLeaseClient
. - 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
orBlobClient
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
(orUseDevelopmentStorage=true;DevelopmentStorageProxyUri=http://myProxyUri
)
- Development Connection String
- Added name properties on all the clients for convenience.
accountName
is added toAppendBlobClient
,BlobClient
,BlobServiceClient
,BlockBlobClient
,ContainerClient
andPageBlobClient
.containerName
is added toAppendBlobClient
,BlobClient
,BlockBlobClient
,ContainerClient
andPageBlobClient
.blobName
is added toAppendBlobClient
,BlobClient
,BlockBlobClient
andPageBlobClient
.
- [Breaking]
Models.StorageServiceProperties
is renamed toModels.BlobServiceProperties
- [Breaking]
Models.StorageServiceStats
is renamed toModels.BlobServiceStatistics
- [Breaking]
UserDelegationKey.signedOid
is renamed toUserDelegationKey.signedObjectId
.UserDelegationKey.signedTid
is renamed toUserDelegationKey.signedTenantId
.