File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -149,12 +149,20 @@ mongo_setting(
149149 if(ENABLE_SASL STREQUAL "SSPI" AND NOT WIN32)
150150 message(WARNING "ENABLE_SASL=SSPI is only supported on Windows platforms")
151151 endif()
152+ if(ENABLE_SASL STREQUAL "CYRUS" AND WIN32)
153+ message(DEPRECATION "ENABLE_SASL=CYRUS on Windows platforms is deprecated and may be removed in a future major release")
154+ endif()
152155 ]]
153156)
154157
155158mongo_setting(CYRUS_PLUGIN_PATH_PREFIX "An absolute path prefix to enable loading Cyrus SASL plugins on Windows"
156159 TYPE STRING
157160 VISIBLE_IF [[ENABLE_SASL STREQUAL "CYRUS" AND WIN32]]
161+ VALIDATE CODE [[
162+ if (CYRUS_PLUGIN_PATH_PREFIX)
163+ message(DEPRECATION "CYRUS_PLUGIN_PATH_PREFIX is deprecated and may be removed in a future major release")
164+ endif ()
165+ ]]
158166)
159167
160168mongo_setting(ENABLE_CLIENT_SIDE_ENCRYPTION "Enable In-Use Encryption support. Requires additional support libraries."
Original file line number Diff line number Diff line change @@ -32,8 +32,9 @@ Deprecated:
3232 * `mongoc_cursor_get_hint` is deprecated for `mongoc_cursor_get_server_id`
3333
3434 * A future minor release plans to drop support for Visual Studio 2013.
35-
3635 * `ENABLE_SSL=LIBRESSL` is deprecated along with `mongoc_stream_tls_libressl_new`. Support for LibreSSL may be dropped in a future major release.
36+ * `ENABLE_SASL=CYRUS` on Windows platforms is deprecated. Support for `ENABLE_SASL=CYRUS` on Windows may be dropped in a future major release.
37+ * The associated Windows-only option `CYRUS_PLUGIN_PATH_PREFIX` is deprecated.
3738
3839libmongoc 1.27.6
3940================
You can’t perform that action at this time.
0 commit comments