| 1 |
========================== |
| 2 |
Django 4.2.2 release notes |
| 3 |
========================== |
| 4 |
|
| 5 |
*June 5, 2023* |
| 6 |
|
| 7 |
Django 4.2.2 fixes several bugs in 4.2.1. |
| 8 |
|
| 9 |
Bugfixes |
| 10 |
======== |
| 11 |
|
| 12 |
* Fixed a regression in Django 4.2 that caused an unnecessary |
| 13 |
``DBMS_LOB.SUBSTR()`` wrapping in the ``__isnull`` and ``__exact=None`` |
| 14 |
lookups for ``TextField()``/``BinaryField()`` on Oracle (:ticket:`34544`). |
| 15 |
|
| 16 |
* Restored, following a regression in Django 4.2, ``get_prep_value()`` call in |
| 17 |
``JSONField`` subclasses (:ticket:`34539`). |
| 18 |
|
| 19 |
* Fixed a regression in Django 4.2 that caused a crash of ``QuerySet.defer()`` |
| 20 |
when passing a ``ManyToManyField`` or ``GenericForeignKey`` reference. While |
| 21 |
doing so is a no-op, it was allowed in older version (:ticket:`34570`). |
| 22 |
|
| 23 |
* Fixed a regression in Django 4.2 that caused a crash of ``QuerySet.only()`` |
| 24 |
when passing a reverse ``OneToOneField`` reference (:ticket:`34612`). |
| 25 |
|
| 26 |
* Fixed a bug in Django 4.2 where :option:`makemigrations --update` didn't |
| 27 |
respect the ``--name`` option (:ticket:`34568`). |
| 28 |
|
| 29 |
* Fixed a performance regression in Django 4.2 when compiling queries without |
| 30 |
ordering (:ticket:`34580`). |
| 31 |
|
| 32 |
* Fixed a regression in Django 4.2 where nonexistent stylesheet was linked on a |
| 33 |
“Congratulations!” page (:ticket:`34588`). |
| 34 |
|
| 35 |
* Fixed a regression in Django 4.2 that caused a crash of |
| 36 |
``QuerySet.aggregate()`` with expressions referencing other aggregates |
| 37 |
(:ticket:`34551`). |
| 38 |
|
| 39 |
* Fixed a regression in Django 4.2 that caused a crash of |
| 40 |
``QuerySet.aggregate()`` with aggregates referencing subqueries |
| 41 |
(:ticket:`34551`). |
| 42 |
|
| 43 |
* Fixed a regression in Django 4.2 that caused a crash of querysets on SQLite |
| 44 |
when filtering on ``DecimalField`` against values outside of the defined |
| 45 |
range (:ticket:`34590`). |
| 46 |
|
| 47 |
* Fixed a regression in Django 4.2 that caused a serialization crash on a |
| 48 |
``ManyToManyField`` without a natural key when its ``Manager``’s base |
| 49 |
``QuerySet`` used ``select_related()`` (:ticket:`34620`). |