summaryrefslogtreecommitdiff
path: root/docs/releases/5.2.5.txt
blob: 1bc0c8fde4f3a4942e8988a50dd0a7667b1eb9ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
==========================
Django 5.2.5 release notes
==========================

*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`).

* Added compatibility for ``docutils`` 0.22 (:ticket:`36535`).

* Fixed a crash in Django 5.2 when using a ``ManyToManyField`` on a model with
  a composite primary key, by extending the ``fields.E347`` system check
  (:ticket:`36530`).