botbuilder-js icon indicating copy to clipboard operation
botbuilder-js copied to clipboard

Migrate from azure-storage and documentdb to @azure/cosmos

Open BruceHaley opened this issue 3 years ago • 2 comments

Note: This issue may be covered in the v5.1 issue #3995.

The libraries azure-storage and documentdb are deprecated as of September 2020. Recommended is to upgrade to @azure/cosmos. https://www.npmjs.com/package/azure-storage https://www.npmjs.com/package/documentdb

libraries/botbuilder-azure/package.json shows:

"dependencies": {
   "@azure/cosmos": "^3.3.1",
   "@types/documentdb": "^1.10.5",
   "azure-storage": "2.10.2",
   "documentdb": "^1.15.3",

Looks like we already have a dependency on @azure/cosmos. It also looks like migration from the outmoded libraries needs to be completed and the azure-storage and documentdb dependencies removed.

The migration guide: Guide for migrating to @azure/storage-blob v12 from azure-storage

BruceHaley avatar Jan 24 '22 20:01 BruceHaley

Assigning @JuanAr for investigation.

mrivera-ms avatar Mar 03 '22 21:03 mrivera-ms

@mrivera-ms, the libraries azure-storage and documentdb are used by the CosmosDbStorage, BlobStorage and AzureBlobTranscriptStore deprecated classes. Should we still make the migration despite the deprecated classes?

sw-joelmut avatar Mar 15 '22 13:03 sw-joelmut