Skip to content

CXX-2689 Remove "Public Technical Preview" from QE Equality API #969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions src/mongocxx/options/auto_encryption.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,6 @@ class MONGOCXX_API auto_encryption {
///
/// @see https://docs.mongodb.com/manual/core/security-client-side-encryption/
///
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
/// not be used in production and is subject to backwards breaking changes.
///
auto_encryption& encrypted_fields_map(bsoncxx::document::view_or_value encrypted_fields_map);

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

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

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

///
Expand Down
27 changes: 0 additions & 27 deletions src/mongocxx/options/encrypt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,11 @@ class MONGOCXX_API encrypt {
///
/// Use indexed encryption.
///
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption
/// should not be used in production and is subject to backwards breaking changes.
///
k_indexed,

///
/// Use unindexed encryption.
///
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption
/// should not be used in production and is subject to backwards breaking changes.
///
k_unindexed,

///
Expand All @@ -126,9 +120,6 @@ class MONGOCXX_API encrypt {
/// queryType only applies when algorithm is "indexed" or "rangePreview".
/// It is an error to set queryType when algorithm is not "indexed" or "rangePreview".
///
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
/// not be used in production and is subject to backwards breaking changes.
///
enum class encryption_query_type : std::uint8_t {
/// @brief Use query type "equality".
k_equality,
Expand All @@ -155,9 +146,6 @@ class MONGOCXX_API encrypt {
/// @see
/// https://docs.mongodb.com/manual/core/security-client-side-encryption/#encryption-algorithms
///
/// @warning Queryable Encryption is in Public Technical Preview. Queryable Encryption should
/// not be used in production and is subject to backwards breaking changes.
///
encrypt& algorithm(encryption_algorithm algorithm);

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

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

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

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

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

///
Expand Down