Azure / azure-cosmos-dotnet-v3

.NET SDK for Azure Cosmos DB for the core SQL API
MIT License
736 stars 491 forks source link

Microsoft.Azure.Cosmos.Encryption.Custom 1.0.0-preview06 is incompatible with Cosmos 3.40.0-preview.0 and newer #4509

Closed adamnova closed 3 months ago

adamnova commented 4 months ago

Describe the bug The Microsoft.Azure.Cosmos.Encryption.Custom library (version 1.0.0-preview06) is not working with Cosmos SDK versions 3.40 and 3.41. We're seeing errors like this: System.TypeLoadException: Method 'GetChangeFeedProcessorBuilderWithAllVersionsAndDeletes' does not have an implementation.

It seems that this incompatibility has been caused by ChangeFeedProcessor: Refactors AllVersionsAndDeletes Metadata Contract for ChangeFeed and ChangeFeedProcessor in Cosmos 3.40.

To Reproduce Use the Microsoft.Azure.Cosmos.Encryption.Custom library with Cosmos SDK 3.40.

Expected behavior The library should work without errors.

Actual behavior An error about a missing method 'GetChangeFeedProcessorBuilderWithAllVersionsAndDeletes' appears.