summaryrefslogtreecommitdiff
path: root/docs/releases/4.2.2.txt
blob: 7506b8a2371e863bde40981a750fc61f8a313a5d (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
==========================
Django 4.2.2 release notes
==========================

*Expected June 5, 2023*

Django 4.2.2 fixes several bugs in 4.2.1.

Bugfixes
========

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

* Restored, following a regression in Django 4.2, ``get_prep_value()`` call in
  ``JSONField`` subclasses (:ticket:`34539`).

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

* Fixed a bug in Django 4.2 where :option:`makemigrations --update` didn't
  respect the ``--name`` option (:ticket:`34568`).