Skip to content

Commit a8914fe

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 084e0c8 commit a8914fe

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
@@ -600,6 +600,10 @@ def is_mongodb_6_3(self):
600600
def is_mongodb_7_0(self):
601601
return self.mongodb_version >= (7, 0)
602602

603+
@cached_property
604+
def is_mongodb_8_0(self):
605+
return self.mongodb_version >= (8, 0)
606+
603607
@cached_property
604608
def supports_atlas_search(self):
605609
"""Does the server support Atlas search queries and search indexes?"""
@@ -641,5 +645,5 @@ def supports_queryable_encryption(self):
641645
return (
642646
(is_enterprise or self.supports_atlas_search)
643647
and self._supports_transactions
644-
and self.is_mongodb_7_0
648+
and self.is_mongodb_8_0
645649
)

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)