Skip to content

Commit 75873e9

Browse files
committed
Target 5.2.3 for release and require MongoDB 8
- MongoDB 7 has rangePreview which we do not plan to support
1 parent fc87e9f commit 75873e9

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

django_mongodb_backend/features.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,10 @@ def is_mongodb_6_3(self):
603603
def is_mongodb_7_0(self):
604604
return self.mongodb_version >= (7, 0)
605605

606+
@cached_property
607+
def is_mongodb_8_0(self):
608+
return self.mongodb_version >= (8, 0)
609+
606610
@cached_property
607611
def supports_atlas_search(self):
608612
"""Does the server support Atlas search queries and search indexes?"""
@@ -644,5 +648,5 @@ def supports_queryable_encryption(self):
644648
return (
645649
(is_enterprise or self.supports_atlas_search)
646650
and self._supports_transactions
647-
and self.is_mongodb_7_0
651+
and self.is_mongodb_8_0
648652
)

docs/howto/queryable-encryption.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Configuring Queryable Encryption
33
================================
44

5-
.. versionadded:: 5.2.2
5+
.. versionadded:: 5.2.3
66

77
:doc:`manual:core/queryable-encryption` is a powerful MongoDB feature that
88
allows you to encrypt sensitive fields in your database while still supporting

docs/ref/models/encrypted-fields.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Encrypted fields
33
================
44

5-
.. versionadded:: 5.2.2
5+
.. versionadded:: 5.2.3
66

77
Django MongoDB Backend supports :doc:`manual:core/queryable-encryption`.
88

@@ -65,7 +65,7 @@ supported by Queryable Encryption.
6565

6666
.. class:: EncryptedFieldMixin
6767

68-
.. versionadded:: 5.2.2
68+
.. versionadded:: 5.2.3
6969

7070
A mixin that can be used to create custom encrypted fields that support
7171
MongoDB's Queryable Encryption.

docs/topics/queryable-encryption.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Queryable Encryption
33
====================
44

5-
.. versionadded:: 5.2.2
5+
.. versionadded:: 5.2.3
66

77
Once you have configured your Django project and MongoDB deployment for
88
Queryable Encryption, you’re ready to start developing applications that take

0 commit comments

Comments
 (0)