2023-05-03 21:13:07 +08:00
|
|
|
|
==========================
|
|
|
|
|
Django 4.2.2 release notes
|
|
|
|
|
==========================
|
|
|
|
|
|
2023-06-05 19:21:56 +08:00
|
|
|
|
*June 5, 2023*
|
2023-05-03 21:13:07 +08:00
|
|
|
|
|
|
|
|
|
Django 4.2.2 fixes several bugs in 4.2.1.
|
|
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
|
========
|
|
|
|
|
|
2023-05-09 01:34:30 +08: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 21:19:38 +08:00
|
|
|
|
|
|
|
|
|
* Restored, following a regression in Django 4.2, ``get_prep_value()`` call in
|
|
|
|
|
``JSONField`` subclasses (:ticket:`34539`).
|
2023-05-17 03:11:19 +08: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 19:14:43 +08:00
|
|
|
|
|
2023-06-01 06:04:17 +08: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 19:14:43 +08:00
|
|
|
|
* Fixed a bug in Django 4.2 where :option:`makemigrations --update` didn't
|
|
|
|
|
respect the ``--name`` option (:ticket:`34568`).
|
2023-05-21 23:59:56 +08:00
|
|
|
|
|
|
|
|
|
* Fixed a performance regression in Django 4.2 when compiling queries without
|
|
|
|
|
ordering (:ticket:`34580`).
|
2023-05-22 13:43:15 +08:00
|
|
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 where nonexistent stylesheet was linked on a
|
|
|
|
|
“Congratulations!” page (:ticket:`34588`).
|
2023-05-22 11:49:05 +08: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 11:57:49 +08:00
|
|
|
|
|
|
|
|
|
* Fixed a regression in Django 4.2 that caused a crash of
|
|
|
|
|
``QuerySet.aggregate()`` with aggregates referencing subqueries
|
|
|
|
|
(:ticket:`34551`).
|
2023-05-24 16:59:55 +08: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-05 02:49:07 +08: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`).
|