diff options
| author | Petar Netev <pesho.netev@gmail.com> | 2024-01-30 10:10:59 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-02-01 20:36:50 +0100 |
| commit | 741f080ab595fa34ad0d682a096026abade0dcab (patch) | |
| tree | 4ab1bc586d4b18450523a1bbe6831422fcfa6661 | |
| parent | 58d5e5779c6b079f1a36e537a3fc2ebc446a721a (diff) | |
[5.0.x] Fixed #35147 -- Added backward incompatibility note about filtering against overflowing integers.
Backport of 0630ca5725ba5b17c61cd1f6a05dce2660c4724e from main
| -rw-r--r-- | docs/releases/5.0.txt | 5 |
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 |
