Skip to content

Commit ed5a02f

Browse files
authored
Remove "Public Technical Preview" from QE Equality API (#969)
This includes: - AutoEncryptionOpts.encryptedFieldsMap - AutoEncryptionOpts.bypassQueryAnalysis - EncryptOpts.contentionFactor - EncryptOpts.queryType - The "equality" value for EncryptOpts.queryType - The "Indexed" and "Unindexed" values for EncryptOpts.algorithm ClientEncryption.CreateEncryptedCollection was already not marked.
1 parent 2bba04c commit ed5a02f

File tree

2 files changed

+0
-39
lines changed

2 files changed

+0
-39
lines changed

src/mongocxx/options/auto_encryption.hpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,6 @@ class MONGOCXX_API auto_encryption {
254254
///
255255
/// @see https://docs.mongodb.com/manual/core/security-client-side-encryption/
256256
///
257-
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
258-
/// not be used in production and is subject to backwards breaking changes.
259-
///
260257
auto_encryption& encrypted_fields_map(bsoncxx::document::view_or_value encrypted_fields_map);
261258

262259
///
@@ -265,9 +262,6 @@ class MONGOCXX_API auto_encryption {
265262
/// @return
266263
/// An optional document containing the encrypted fields map
267264
///
268-
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
269-
/// not be used in production and is subject to backwards breaking changes.
270-
///
271265
const stdx::optional<bsoncxx::document::view_or_value>& encrypted_fields_map() const;
272266

273267
///
@@ -304,9 +298,6 @@ class MONGOCXX_API auto_encryption {
304298
///
305299
/// @see https://docs.mongodb.com/manual/core/security-client-side-encryption/
306300
///
307-
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
308-
/// not be used in production and is subject to backwards breaking changes.
309-
///
310301
auto_encryption& bypass_query_analysis(bool should_bypass);
311302

312303
///
@@ -315,9 +306,6 @@ class MONGOCXX_API auto_encryption {
315306
/// @return
316307
/// A boolean specifying whether query analysis is bypassed.
317308
///
318-
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
319-
/// not be used in production and is subject to backwards breaking changes.
320-
///
321309
bool bypass_query_analysis() const;
322310

323311
///

src/mongocxx/options/encrypt.hpp

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -100,17 +100,11 @@ class MONGOCXX_API encrypt {
100100
///
101101
/// Use indexed encryption.
102102
///
103-
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption
104-
/// should not be used in production and is subject to backwards breaking changes.
105-
///
106103
k_indexed,
107104

108105
///
109106
/// Use unindexed encryption.
110107
///
111-
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption
112-
/// should not be used in production and is subject to backwards breaking changes.
113-
///
114108
k_unindexed,
115109

116110
///
@@ -126,9 +120,6 @@ class MONGOCXX_API encrypt {
126120
/// queryType only applies when algorithm is "indexed" or "rangePreview".
127121
/// It is an error to set queryType when algorithm is not "indexed" or "rangePreview".
128122
///
129-
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
130-
/// not be used in production and is subject to backwards breaking changes.
131-
///
132123
enum class encryption_query_type : std::uint8_t {
133124
/// @brief Use query type "equality".
134125
k_equality,
@@ -155,9 +146,6 @@ class MONGOCXX_API encrypt {
155146
/// @see
156147
/// https://docs.mongodb.com/manual/core/security-client-side-encryption/#encryption-algorithms
157148
///
158-
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
159-
/// not be used in production and is subject to backwards breaking changes.
160-
///
161149
encrypt& algorithm(encryption_algorithm algorithm);
162150

163151
///
@@ -168,9 +156,6 @@ class MONGOCXX_API encrypt {
168156
/// @return
169157
/// An optional algorithm.
170158
///
171-
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
172-
/// not be used in production and is subject to backwards breaking changes.
173-
///
174159
const stdx::optional<encryption_algorithm>& algorithm() const;
175160

176161
///
@@ -181,9 +166,6 @@ class MONGOCXX_API encrypt {
181166
/// @param contention_factor
182167
/// An integer specifiying the desired contention factor.
183168
///
184-
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
185-
/// not be used in production and is subject to backwards breaking changes.
186-
///
187169
encrypt& contention_factor(int64_t contention_factor);
188170

189171
///
@@ -192,9 +174,6 @@ class MONGOCXX_API encrypt {
192174
/// @return
193175
/// An optional contention factor.
194176
///
195-
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
196-
/// not be used in production and is subject to backwards breaking changes.
197-
///
198177
const stdx::optional<int64_t>& contention_factor() const;
199178

200179
///
@@ -205,9 +184,6 @@ class MONGOCXX_API encrypt {
205184
/// query_type only applies when algorithm is "Indexed" or "RangePreview".
206185
/// It is an error to set query_type when algorithm is not "Indexed" or "RangePreview".
207186
///
208-
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
209-
/// not be used in production and is subject to backwards breaking changes.
210-
///
211187
encrypt& query_type(encryption_query_type query_type);
212188

213189
///
@@ -216,9 +192,6 @@ class MONGOCXX_API encrypt {
216192
/// @return
217193
/// A query type.
218194
///
219-
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
220-
/// not be used in production and is subject to backwards breaking changes.
221-
///
222195
const stdx::optional<encryption_query_type>& query_type() const;
223196

224197
///

0 commit comments

Comments
 (0)