1
0
mirror of https://github.com/django/django.git synced 2025-10-09 06:49:12 +00:00
django/docs/releases/5.2.5.txt
Simon Charette b3bb7230e1 [5.2.x] Fixed #34871, #36518 -- Implemented unresolved lookups expression replacement.
This allows the proper resolving of lookups when performing constraint
validation involving Q and Case objects.

Thanks Andrew Roberts for the report and Sarah for the tests and review.

Backport of 079d31e698fa08dd92e2bc4f3fe9b4817a214419 from main.
2025-08-04 09:42:32 +02:00

22 lines
635 B
Plaintext

==========================
Django 5.2.5 release notes
==========================
*Expected August 6, 2025*
Django 5.2.5 fixes several bugs in 5.2.4.
Bugfixes
========
* Fixed a regression in Django 5.2.1 that prevented the usage of ``UNNEST``
PostgreSQL strategy of ``QuerySet.bulk_create()`` with foreign keys
(:ticket:`36502`).
* Fixed a crash in Django 5.2 when filtering against a composite primary key
using a tuple containing expressions (:ticket:`36522`).
* Fixed a crash in Django 5.2 when validating a model that uses
``GeneratedField`` or constraints composed of ``Q`` and ``Case`` lookups
(:ticket:`36518`).