Natalia
e84d38ab36
[4.2.x] Added release date for 4.2.2.
...
Backport of 0faad01938
from main
2023-06-05 08:26:28 -03:00
Mariusz Felisiak
87a4cd559b
[4.2.x] Fixed #34620 -- Fixed serialization crash on m2m fields without natural keys when base querysets use select_related().
...
Regression in 19e0587ee5
.
Thanks Martin Svoboda for the report.
Backport of f9936deed1
from main
2023-06-04 20:49:40 +02:00
Simon Charette
738386470d
[4.2.x] Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships.
...
Regression in b3db6c8dcb
.
Thanks Ian Cubitt for the report.
This also corrected test_inheritance_deferred2() test which was
previously properly defined and marked as an expected failure but was
then wrongly adjusted to mask the lack of support for per-alias
deferral that was fixed by #21204 .
Backport of 2cf76f2d5d
from main
2023-06-01 20:27:06 +01:00
David Sanders
91f8df5c2e
[4.2.x] Fixed #34590 -- Reverted "Refs #33308 -- Improved adapting DecimalField values to decimal."
...
This reverts 7990d254b0
.
Thanks Marc Odermatt for the report.
Backport of 0c1518ee42
from main
2023-05-24 11:00:21 +02:00
Simon Charette
c78a4421de
[4.2.x] Fixed #34551 -- Fixed QuerySet.aggregate() crash when referencing subqueries.
...
Regression in 59bea9efd2
.
Refs #28477 .
Thanks Denis Roldán and Mariusz for the test.
Backport of e5c844d6f2
from main
2023-05-23 07:39:24 +02:00
Simon Charette
57f499e412
[4.2.x] Refs #34551 -- Fixed QuerySet.aggregate() crash on precending aggregation reference.
...
Regression in 1297c0d0d7
.
Refs #31679 .
Backport of 2ee01747c3
from main
2023-05-23 07:39:18 +02:00
gtleee
6b76481fb9
[4.2.x] Fixed #34588 -- Removed usage of nonexistent stylesheet in the 'Congrats' page.
...
Regression in d46cc15c51
.
Backport of 0a324f1b66
from main
2023-05-22 11:52:03 +02:00
Simon Charette
e1c00f8b36
[4.2.x] Fixed #34580 -- Avoided unnecessary computation of selected expressions in SQLCompiler.
...
Performance regression in 278881e376
.
Co-authored-by: David Smith <smithdc@gmail.com>
Backport of 98f6ada0e2
from main
2023-05-22 07:57:05 +02:00
Mariusz Felisiak
cdd970ae22
[4.2.x] Fixed #34568 -- Made makemigrations --update respect --name option.
...
Thanks David Sanders for the report.
Backport of c52f4295f2
from main
2023-05-17 13:15:30 +02:00
Simon Charette
201d29b371
[4.2.x] Fixed #34570 -- Silenced noop deferral of many-to-many and GFK.
...
While deferring many-to-many and GFK has no effect, the previous
implementation of QuerySet.defer() ignore them instead of crashing.
Regression in b3db6c8dcb
.
Thanks Paco Martínez for the report.
Backport of 99e5dff737
from main
2023-05-17 08:39:44 +02:00
Julie Rymer
9c301814b0
[4.2.x] Fixed #34539 -- Restored get_prep_value() call when adapting JSONFields.
...
Regression in 5c23d9f0c3
.
Backport of 0ec60661e6
from main
2023-05-16 11:02:33 +02:00
Mariusz Felisiak
e0d8981139
[4.2.x] Fixed #34544 -- Avoided DBMS_LOB.SUBSTR() wrapping with IS NULL condition on Oracle.
...
Regression in 09ffc5c121
.
Thanks Michael Smith for the report.
This also reverts commit 1e4da43955
.
Backport of 1586a09b79
from main
2023-05-08 19:35:20 +02:00
Mariusz Felisiak
110919987b
[4.2.x] Added stub release notes for 4.2.2.
...
Backport of b0d3a5de95
from main
2023-05-03 15:13:54 +02:00