@@ -431,6 +431,10 @@ def _parse_version(version):
431431 * the path string is literal "$SYSTEM", then libmongocrypt will defer to the
432432 * system's library resolution mechanism to find the crypt_shared library.
433433 *
434+ * @warning Use of "$SYSTEM" will search system directories for the
435+ * mongo_crypt_v1.(dll,so,dylib) following the search behavior of LoadLibrary
436+ * on Windows and dlopen on Unix. Ensure secure deployment of the library.
437+ *
434438 * @note If no crypt_shared dynamic library is found in any of the directories
435439 * specified by the search paths loaded here, @ref mongocrypt_init() will still
436440 * succeed and continue to operate without crypt_shared.
@@ -687,7 +691,8 @@ def _parse_version(version):
687691/// String constant for setopt_algorithm "Indexed" explicit encryption
688692/// String constant for setopt_algorithm "Unindexed" explicit encryption
689693// DEPRECATED: support "RangePreview" has been removed in favor of "range".
690- /// NOTE: "textPreview" is experimental only and may be removed in a future non-major release.
694+ /// DEPRECATED: "textPreview" has been removed. Use "string".
695+ // String constant for setopt_algorithm "string" explicit encryption.
691696
692697/**
693698 * Identify the AWS KMS master key to use for creating a data key.
@@ -1485,9 +1490,8 @@ def _parse_version(version):
14851490bool mongocrypt_ctx_setopt_algorithm_range(mongocrypt_ctx_t *ctx, mongocrypt_binary_t *opts);
14861491
14871492/**
1488- * Set options for explicit encryption with the "textPreview " algorithm.
1493+ * Set options for explicit encryption with the "string " algorithm.
14891494 *
1490- * NOTE: "textPreview" is experimental only and may be removed in a future non-major release.
14911495 * @p opts is a BSON document of the form:
14921496 * {
14931497 * "caseSensitive": bool,
@@ -1508,6 +1512,8 @@ def _parse_version(version):
15081512 * }
15091513 *
15101514 * "prefix" and "suffix" can both be set.
1515+ *
1516+ * NOTE: Driver public APIs should use the name "string" rather than "text" to refer to options.
15111517 */
15121518bool mongocrypt_ctx_setopt_algorithm_text(mongocrypt_ctx_t *ctx, mongocrypt_binary_t *opts);
15131519
@@ -1522,9 +1528,9 @@ def _parse_version(version):
15221528
15231529/// String constants for setopt_query_type
15241530// DEPRECATED: Support "rangePreview" has been removed in favor of "range".
1525- /// NOTE: "substringPreview" is experimental and may be removed in a future non-major release.
1526- /// NOTE: "suffixPreview" is experimental and may be removed in a future non-major release.
1527- /// NOTE: "prefixPreview" is experimental and may be removed in a future non-major release.
1531+ /// DEPRECATED: Support for "substringPreview" has been removed in favor of "substring"
1532+ /// DEPRECATED: Support for "suffixPreview" has been removed in favor of "suffix"
1533+ /// DEPRECATED: Support for "prefixPreview" has been removed in favor of "prefix"
15281534
15291535"""
15301536)
0 commit comments