Skip to content

Commit b8db3d4

Browse files
authored
CSHARP-4647: Remove "Public Technical Preview" from Queryable Encryption Equality API (#1102)
CSHARP-4647: Remove "Public Technical Preview" from Queryable Encryption Equality API - update libmongocrypt to 1.8.0
1 parent 9a8baaa commit b8db3d4

13 files changed

+31
-31
lines changed

src/MongoDB.Driver.Core/Core/Configuration/ClusterSettings.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public class ClusterSettings
5858
/// </summary>
5959
/// <param name="connectionMode">The connection mode.</param>
6060
/// <param name="connectionModeSwitch">The connection mode switch.</param>
61-
/// <param name="cryptClientSettings">[Beta] Crypt client settings.</param>
61+
/// <param name="cryptClientSettings">Crypt client settings.</param>
6262
/// <param name="directConnection">The directConnection.</param>
6363
/// <param name="endPoints">The end points.</param>
6464
/// <param name="loadBalanced">The load balanced.</param>
@@ -142,7 +142,7 @@ public ConnectionModeSwitch ConnectionModeSwitch
142142
}
143143

144144
/// <summary>
145-
/// [Beta] Gets the crypt client settings.
145+
/// Gets the crypt client settings.
146146
/// </summary>
147147
public CryptClientSettings CryptClientSettings
148148
{
@@ -286,7 +286,7 @@ public IServerSelector PostServerSelector
286286
/// </summary>
287287
/// <param name="connectionMode">The connection mode.</param>
288288
/// <param name="connectionModeSwitch">The connection mode switch.</param>
289-
/// <param name="cryptClientSettings">[Beta] Crypt client settings.</param>
289+
/// <param name="cryptClientSettings">Crypt client settings.</param>
290290
/// <param name="directConnection">The directConnection.</param>
291291
/// <param name="endPoints">The end points.</param>
292292
/// <param name="loadBalanced">The load balanced.</param>

src/MongoDB.Driver.Core/Core/Configuration/CryptClientSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
namespace MongoDB.Driver.Core.Configuration
2121
{
2222
/// <summary>
23-
/// [Beta] Represents settings for a crypt client.
23+
/// Represents settings for a crypt client.
2424
/// </summary>
2525
public sealed class CryptClientSettings
2626
{

src/MongoDB.Driver.Core/MongoDB.Driver.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<ItemGroup>
2222
<PackageReference Include="AWSSDK.SecurityToken" Version="3.7.100.14" />
2323
<PackageReference Include="DnsClient" Version="1.6.1" />
24-
<PackageReference Include="MongoDB.Libmongocrypt" Version="1.8.0-alpha.0" />
24+
<PackageReference Include="MongoDB.Libmongocrypt" Version="1.8.0" />
2525
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.0.0" />
2626
<PackageReference Include="SharpCompress" Version="0.30.1" />
2727
<PackageReference Include="Snappier" Version="1.0.0" />

src/MongoDB.Driver/CreateCollectionOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public ChangeStreamPreAndPostImagesOptions ChangeStreamPreAndPostImagesOptions
8181
}
8282

8383
/// <summary>
84-
/// [Beta] Gets or sets encrypted fields.
84+
/// Gets or sets encrypted fields.
8585
/// </summary>
8686
public BsonDocument EncryptedFields
8787
{

src/MongoDB.Driver/DropCollectionOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class DropCollectionOptions
2525
private BsonDocument _encryptedFields;
2626

2727
/// <summary>
28-
/// [Beta] Gets or sets encrypted fields.
28+
/// Gets or sets encrypted fields.
2929
/// </summary>
3030
public BsonDocument EncryptedFields
3131
{

src/MongoDB.Driver/Encryption/AutoEncryptionOptions.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public class AutoEncryptionOptions : IEncryptionOptions
5454
/// <param name="keyVaultClient">The keyVault client.</param>
5555
/// <param name="schemaMap">The schema map.</param>
5656
/// <param name="tlsOptions">The tls options.</param>
57-
/// <param name="encryptedFieldsMap">[Beta] The encryptedFields map.</param>
58-
/// <param name="bypassQueryAnalysis">[Beta] The bypass query analysis flag.</param>
57+
/// <param name="encryptedFieldsMap">The encryptedFields map.</param>
58+
/// <param name="bypassQueryAnalysis">The bypass query analysis flag.</param>
5959
public AutoEncryptionOptions(
6060
CollectionNamespace keyVaultNamespace,
6161
IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>> kmsProviders,
@@ -93,12 +93,12 @@ public AutoEncryptionOptions(
9393
public bool BypassAutoEncryption => _bypassAutoEncryption;
9494

9595
/// <summary>
96-
/// [Beta] Gets a value indicating whether to bypass query analysis.
96+
/// Gets a value indicating whether to bypass query analysis.
9797
/// </summary>
9898
public bool? BypassQueryAnalysis => _bypassQueryAnalysis;
9999

100100
/// <summary>
101-
/// [Beta] Gets the encrypted fields map.
101+
/// Gets the encrypted fields map.
102102
/// Supplying an encryptedFieldsMap provides more security than relying on an encryptedFields obtained from the server. It protects against a malicious server advertising a false encryptedFields.
103103
/// </summary>
104104
public IReadOnlyDictionary<string, BsonDocument> EncryptedFieldsMap => _encryptedFieldsMap;
@@ -161,12 +161,12 @@ public AutoEncryptionOptions(
161161
/// <param name="keyVaultNamespace">The keyVault namespace.</param>
162162
/// <param name="kmsProviders">The kms providers.</param>
163163
/// <param name="bypassAutoEncryption">The bypass auto encryption flag.</param>
164-
/// <param name="bypassQueryAnalysis">[Beta] The bypass query analysis flag.</param>
164+
/// <param name="bypassQueryAnalysis">The bypass query analysis flag.</param>
165165
/// <param name="extraOptions">The extra options.</param>
166166
/// <param name="keyVaultClient">The keyVault client.</param>
167167
/// <param name="schemaMap">The schema map.</param>
168168
/// <param name="tlsOptions">The tls options.</param>
169-
/// <param name="encryptedFieldsMap">[Beta] The encryptedFields map.</param>
169+
/// <param name="encryptedFieldsMap">The encryptedFields map.</param>
170170
/// <returns>A new instance of <see cref="AutoEncryptionOptions"/>.</returns>
171171
public AutoEncryptionOptions With(
172172
Optional<CollectionNamespace> keyVaultNamespace = default,

src/MongoDB.Driver/Encryption/ClientEncryption.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public Task<BsonDocument> AddAlternateKeyNameAsync(Guid id, string alternateKeyN
8282
_libMongoCryptController.AddAlternateKeyNameAsync(id, alternateKeyName, cancellationToken);
8383

8484
/// <summary>
85-
/// [Beta] Create encrypted collection.
85+
/// Create encrypted collection.
8686
/// </summary>
8787
/// <param name="database">The database.</param>
8888
/// <param name="collectionName">The collection name.</param>
@@ -103,7 +103,7 @@ public CreateEncryptedCollectionResult CreateEncryptedCollection(IMongoDatabase
103103
}
104104

105105
/// <summary>
106-
/// [Beta] Create encrypted collection.
106+
/// Create encrypted collection.
107107
/// </summary>
108108
/// <param name="database">The database.</param>
109109
/// <param name="collectionName">The collection name.</param>
@@ -145,7 +145,7 @@ public CreateEncryptedCollectionResult CreateEncryptedCollection(IMongoDatabase
145145
}
146146

147147
/// <summary>
148-
/// [Beta] Create encrypted collection.
148+
/// Create encrypted collection.
149149
/// </summary>
150150
/// <param name="database">The database.</param>
151151
/// <param name="collectionName">The collection name.</param>
@@ -166,7 +166,7 @@ public Task<CreateEncryptedCollectionResult> CreateEncryptedCollectionAsync(IMon
166166
}
167167

168168
/// <summary>
169-
/// [Beta] Create encrypted collection.
169+
/// Create encrypted collection.
170170
/// </summary>
171171
/// <param name="database">The database.</param>
172172
/// <param name="collectionName">The collection name.</param>

src/MongoDB.Driver/Encryption/CreateEncryptedCollectionResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
namespace MongoDB.Driver.Encryption
1919
{
2020
/// <summary>
21-
/// [Beta] Represents the result of a create encrypted collection.
21+
/// Represents the result of a create encrypted collection.
2222
/// </summary>
2323
public sealed class CreateEncryptedCollectionResult
2424
{

src/MongoDB.Driver/Encryption/EncryptOptions.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ private static string ConvertEnumAlgorithmToString(EncryptionAlgorithm encryptio
115115
/// <param name="algorithm">The encryption algorithm.</param>
116116
/// <param name="alternateKeyName">The alternate key name.</param>
117117
/// <param name="keyId">The key Id.</param>
118-
/// <param name="contentionFactor">[Beta] The contention factor.</param>
119-
/// <param name="queryType">[Beta] The query type.</param>
118+
/// <param name="contentionFactor">The contention factor.</param>
119+
/// <param name="queryType">The query type.</param>
120120
/// <param name="rangeOptions">The range options.</param>
121121
public EncryptOptions(
122122
string algorithm,
@@ -150,8 +150,8 @@ public EncryptOptions(
150150
/// <param name="algorithm">The encryption algorithm.</param>
151151
/// <param name="alternateKeyName">The alternate key name.</param>
152152
/// <param name="keyId">The key Id.</param>
153-
/// <param name="contentionFactor">[Beta] The contention factor.</param>
154-
/// <param name="queryType">[Beta] The query type.</param>
153+
/// <param name="contentionFactor">The contention factor.</param>
154+
/// <param name="queryType">The query type.</param>
155155
/// <param name="rangeOptions">The range options.</param>
156156
public EncryptOptions(
157157
EncryptionAlgorithm algorithm,
@@ -188,7 +188,7 @@ public EncryptOptions(
188188
public string AlternateKeyName => _alternateKeyName;
189189

190190
/// <summary>
191-
/// [Beta] Gets the contention factor.
191+
/// Gets the contention factor.
192192
/// </summary>
193193
/// <value>
194194
/// The contention factor.
@@ -204,7 +204,7 @@ public EncryptOptions(
204204
public Guid? KeyId => _keyId;
205205

206206
/// <summary>
207-
/// [Beta] Gets the query type.
207+
/// Gets the query type.
208208
/// </summary>
209209
/// <value>
210210
/// The query type.
@@ -230,8 +230,8 @@ public EncryptOptions(
230230
/// <param name="algorithm">The encryption algorithm.</param>
231231
/// <param name="alternateKeyName">The alternate key name.</param>
232232
/// <param name="keyId">The keyId.</param>
233-
/// <param name="contentionFactor">[Beta] The contention factor.</param>
234-
/// <param name="queryType">[Beta] The query type.</param>
233+
/// <param name="contentionFactor">The contention factor.</param>
234+
/// <param name="queryType">The query type.</param>
235235
/// <param name="rangeOptions">The range options.</param>
236236
/// <returns>A new EncryptOptions instance.</returns>
237237
public EncryptOptions With(

src/MongoDB.Driver/Encryption/EncryptionAlgorithm.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ public enum EncryptionAlgorithm
2929
/// </summary>
3030
AEAD_AES_256_CBC_HMAC_SHA_512_Random,
3131
/// <summary>
32-
/// [Beta] Indexed algorithm.
32+
/// Indexed algorithm.
3333
/// </summary>
3434
/// <remarks>
3535
/// To insert or query with an "Indexed" encrypted payload, use a MongoClient configured with AutoEncryptionOptions.
3636
/// AutoEncryptionOptions.BypassQueryAnalysis may be true. AutoEncryptionOptions.BypassAutoEncryption must be false.
3737
/// </remarks>
3838
Indexed,
3939
/// <summary>
40-
/// [Beta] Unindexed algorithm.
40+
/// Unindexed algorithm.
4141
/// </summary>
4242
Unindexed,
4343
/// <summary>

0 commit comments

Comments
 (0)