From e8dcef155c1848ef49e54f787a7d20faf3bf9296 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Wed, 30 Nov 2022 08:22:10 +0100 Subject: [PATCH] Refs #33397, Refs #34160 -- Added release note for resolving output_field changes. --- docs/releases/4.1.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt index dd1470fc15..1a59d4ab93 100644 --- a/docs/releases/4.1.txt +++ b/docs/releases/4.1.txt @@ -590,6 +590,12 @@ Miscellaneous * The minimum supported version of ``asgiref`` is increased from 3.4.1 to 3.5.2. +* Combined expressions no longer use the error-prone behavior of guessing + ``output_field`` when argument types match. As a consequence, resolving an + ``output_field`` for database functions and combined expressions may now + crash with mixed types. You will need to explicitly set the ``output_field`` + in such cases. + .. _deprecated-features-4.1: Features deprecated in 4.1