summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPetar Netev <pesho.netev@gmail.com>2024-01-30 10:10:59 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2024-02-01 18:34:43 +0100
commit0630ca5725ba5b17c61cd1f6a05dce2660c4724e (patch)
treef8d7729eb87bd4e1288414a01be7ce8831a46d5f /docs
parentf71bcc001bb3324020cfd756e84d4e9c6bb98cce (diff)
Fixed #35147 -- Added backward incompatibility note about filtering against overflowing integers.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/5.0.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt
index 6b18bace4f..a10c9d280a 100644
--- a/docs/releases/5.0.txt
+++ b/docs/releases/5.0.txt
@@ -588,6 +588,11 @@ Miscellaneous
* The minimum supported version of ``docutils`` is increased to 0.19.
+* Filtering querysets against overflowing integer values now always returns an
+ empty queryset. As a consequence, you may need to use ``ExpressionWrapper()``
+ to :ref:`explicitly wrap <using-f-with-annotations>` arithmetic against
+ integer fields in such cases.
+
.. _deprecated-features-5.0:
Features deprecated in 5.0