Skip to content

Commit bf16bf6

Browse files
authored
Client Encryption: Adds support for latest Cosmos package and bumps up Encryption package for nuget release. (#5215)
## Description Adds support for latest Cosmos package and bumps up Encryption package for nuget release. ## Type of change Please delete options that are not relevant. - [] This change requires a documentation update
1 parent 487c193 commit bf16bf6

4 files changed

Lines changed: 20 additions & 9 deletions

File tree

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
<DirectVersion>3.38.0</DirectVersion>
77
<FaultInjectionVersion>1.0.0</FaultInjectionVersion>
88
<FaultInjectionSuffixVersion>beta.0</FaultInjectionSuffixVersion>
9-
<EncryptionOfficialVersion>2.0.4</EncryptionOfficialVersion>
9+
<EncryptionOfficialVersion>2.0.5</EncryptionOfficialVersion>
1010
<EncryptionPreviewVersion>2.1.0</EncryptionPreviewVersion>
11-
<EncryptionPreviewSuffixVersion>preview4</EncryptionPreviewSuffixVersion>
11+
<EncryptionPreviewSuffixVersion>preview5</EncryptionPreviewSuffixVersion>
1212
<CustomEncryptionVersion>1.0.0-preview08</CustomEncryptionVersion>
1313
<HybridRowVersion>1.1.0-preview3</HybridRowVersion>
1414
<LangVersion>10.0</LangVersion>

Microsoft.Azure.Cosmos.Encryption/changelog.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ Preview features are treated as a separate branch and will not be included in th
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
### <a name="2.0.5"/> [2.0.5](https://www.nuget.org/packages/Microsoft.Azure.Cosmos.Encryption/2.0.5) - 2025-05-23
7+
8+
#### Added
9+
- [#5215](https://github.com/Azure/azure-cosmos-dotnet-v3/pull/5215) Adds support for Microsoft.Azure.Cosmos from version 3.37.1 to 3.51.0
10+
11+
### <a name="2.1.0-preview5"/> [2.1.0-preview5](https://www.nuget.org/packages/Microsoft.Azure.Cosmos.Encryption/2.1.0-preview5) - 2025-05-23
12+
13+
#### Added
14+
- [#5215](https://github.com/Azure/azure-cosmos-dotnet-v3/pull/5215) Adds support for Microsoft.Azure.Cosmos 3.52.0-preview.0
15+
16+
### <a name="2.0.3"/> [2.0.3](https://www.nuget.org/packages/Microsoft.Azure.Cosmos.Encryption/2.0.3) - 2023-07-12
17+
618
### <a name="2.0.4"/> [2.0.4](https://www.nuget.org/packages/Microsoft.Azure.Cosmos.Encryption/2.0.4) - 2023-12-12
719

820
#### Added

Microsoft.Azure.Cosmos.Encryption/src/EncryptionContainer.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -753,15 +753,14 @@ public override Task<IEnumerable<string>> GetPartitionKeyRangesAsync(
753753
{
754754
return this.Container.GetPartitionKeyRangesAsync(feedRange, cancellationToken);
755755
}
756-
#endif
757756

758-
#if SDKPROJECTREF
759-
public override ChangeFeedProcessorBuilder GetChangeFeedProcessorBuilderWithAllVersionsAndDeletes<T>(
760-
string processorName,
761-
ChangeFeedHandler<ChangeFeedItem<T>> onChangesDelegate)
757+
public override ChangeFeedProcessorBuilder GetChangeFeedProcessorBuilderWithAllVersionsAndDeletes<T>(string processorName, ChangeFeedHandler<ChangeFeedItem<T>> onChangesDelegate)
762758
{
763759
throw new NotImplementedException();
764760
}
761+
#endif
762+
763+
#if SDKPROJECTREF
765764

766765
public override Task<bool> IsFeedRangePartOfAsync(
767766
Cosmos.FeedRange x,

Microsoft.Azure.Cosmos.Encryption/src/Microsoft.Azure.Cosmos.Encryption.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</ItemGroup>
3030

3131
<ItemGroup Condition=" '$(SdkProjectRef)' != 'True' AND '$(IsPreview)' != 'True' ">
32-
<PackageReference Include="Microsoft.Azure.Cosmos" Version="[3.35.4,3.37.0]" />
32+
<PackageReference Include="Microsoft.Azure.Cosmos" Version="[3.51.0,)" />
3333
</ItemGroup>
3434

3535
<ItemGroup>
@@ -41,7 +41,7 @@
4141
</ItemGroup>
4242

4343
<ItemGroup Condition=" '$(SdkProjectRef)' != 'True' AND '$(IsPreview)' == 'True' ">
44-
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.37.0-preview" />
44+
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.52.0-preview.0" />
4545
</ItemGroup>
4646

4747
<ItemGroup Condition=" '$(SdkProjectRef)' == 'True' ">

0 commit comments

Comments
 (0)