2023-05-03 13:13:07 +00:00
|
|
|
|
==========================
|
|
|
|
|
Django 4.2.2 release notes
|
|
|
|
|
==========================
|
|
|
|
|
|
2023-06-05 11:21:56 +00:00
|
|
|
|
*June 5, 2023*
|
2023-05-03 13:13:07 +00:00
|
|
|
|
|
|
|
|
|
Django 4.2.2 fixes several bugs in 4.2.1.
|
|
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
|
========
|
|
|
|
|
|
2023-05-08 17:34:30 +00:00
|
|
|
|
* Fixed a regression in Django 4.2 that caused an unnecessary
|
|
|
|
|
``DBMS_LOB.SUBSTR()`` wrapping in the ``__isnull`` and ``__exact=None``
|
|
|
|
|
lookups for ``TextField()``/``BinaryField()`` on Oracle (:ticket:`34544`).
|
2023-05-15 13:19:38 +00:00
|
|
|
|
|
|
|
|
|
* Restored, following a regression in Django 4.2, ``get_prep_value()`` call in
|
|
|
|
|
``JSONField`` subclasses (:ticket:`34539`).
|
2023-05-16 19:11:19 +00:00
|
|
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 that caused a crash of ``QuerySet.defer()``
|
|
|
|
|
when passing a ``ManyToManyField`` or ``GenericForeignKey`` reference. While
|
|
|
|
|
doing so is a no-op, it was allowed in older version (:ticket:`34570`).
|
2023-05-17 11:14:43 +00:00
|
|
|
|
|
2023-05-31 22:04:17 +00:00
|
|
|
|
* Fixed a regression in Django 4.2 that caused a crash of ``QuerySet.only()``
|
|
|
|
|
when passing a reverse ``OneToOneField`` reference (:ticket:`34612`).
|
|
|
|
|
|
2023-05-17 11:14:43 +00:00
|
|
|
|
* Fixed a bug in Django 4.2 where :option:`makemigrations --update` didn't
|
|
|
|
|
respect the ``--name`` option (:ticket:`34568`).
|
2023-05-21 15:59:56 +00:00
|
|
|
|
|
|
|
|
|
* Fixed a performance regression in Django 4.2 when compiling queries without
|
|
|
|
|
ordering (:ticket:`34580`).
|
2023-05-22 05:43:15 +00:00
|
|
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 where nonexistent stylesheet was linked on a
|
|
|
|
|
“Congratulations!” page (:ticket:`34588`).
|
2023-05-22 03:49:05 +00:00
|
|
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 that caused a crash of
|
|
|
|
|
``QuerySet.aggregate()`` with expressions referencing other aggregates
|
|
|
|
|
(:ticket:`34551`).
|
2023-05-22 03:57:49 +00:00
|
|
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 that caused a crash of
|
|
|
|
|
``QuerySet.aggregate()`` with aggregates referencing subqueries
|
|
|
|
|
(:ticket:`34551`).
|
2023-05-24 08:59:55 +00:00
|
|
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 that caused a crash of querysets on SQLite
|
|
|
|
|
when filtering on ``DecimalField`` against values outside of the defined
|
|
|
|
|
range (:ticket:`34590`).
|
2023-06-04 18:49:07 +00:00
|
|
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 that caused a serialization crash on a
|
|
|
|
|
``ManyToManyField`` without a natural key when its ``Manager``’s base
|
|
|
|
|
``QuerySet`` used ``select_related()`` (:ticket:`34620`).
|