summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/6.1.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt
index 77188e0c8e..477117c004 100644
--- a/docs/releases/6.1.txt
+++ b/docs/releases/6.1.txt
@@ -315,6 +315,11 @@ Models
:class:`~django.db.models.query.QuerySet` is ordered and the ordering is
deterministic.
+* The new :class:`~django.db.models.BitAnd`, :class:`~django.db.models.BitOr`,
+ and :class:`~django.db.models.BitXor` aggregates return the bitwise ``AND``,
+ ``OR``, ``XOR``, respectively. These aggregates were previously included only
+ in ``contrib.postgres``.
+
Pagination
~~~~~~~~~~
@@ -420,6 +425,9 @@ backends.
``get_geom_placeholder_sql`` and is expected to return a two-elements tuple
composed of an SQL format string and a tuple of associated parameters.
+* Set the new ``DatabaseFeatures.supports_bit_aggregations`` attribute to
+ ``False`` if the database doesn't support bitwise aggregations.
+
:mod:`django.contrib.admin`
---------------------------
@@ -539,6 +547,12 @@ Miscellaneous
:ref:`expressions <writing-your-own-query-expressions>`, is deprecated in
favor of the newly introduced ``quote_name()`` method.
+* The ``BitAnd``, ``BitOr``, and ``BitXor`` classes in
+ ``django.contrib.postgres.aggregates`` are deprecated in favor of the
+ generally available :class:`~django.db.models.BitAnd`,
+ :class:`~django.db.models.BitOr`, and :class:`~django.db.models.BitXor`
+ classes.
+
Features removed in 6.1
=======================