Django - 4.2.2
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 forTextField()
/BinaryField()
on Oracle (#34544). - Restored, following a regression in Django 4.2,
get\_prep\_value()
call in
JSONField
subclasses (#34539). - Fixed a regression in Django 4.2 that caused a crash of
QuerySet.defer()
when passing aManyToManyField
orGenericForeignKey
reference. While
doing so is a no-op, it was allowed in older version (#34570). - Fixed a regression in Django 4.2 that caused a crash of
QuerySet.only()
when passing a reverseOneToOneField
reference (#34612). - Fixed a bug in Django 4.2 where
makemigrations --update
didn’t
respect the--name
option (#34568). - Fixed a performance regression in Django 4.2 when compiling queries without
ordering (#34580). - Fixed a regression in Django 4.2 where nonexistent stylesheet was linked on a
“Congratulations!” page (#34588). - Fixed a regression in Django 4.2 that caused a crash of
QuerySet.aggregate()
with expressions referencing other aggregates
(#34551). - Fixed a regression in Django 4.2 that caused a crash of
QuerySet.aggregate()
with aggregates referencing subqueries
(#34551). - Fixed a regression in Django 4.2 that caused a crash of querysets on SQLite
when filtering onDecimalField
against values outside of the defined
range (#34590). - Fixed a regression in Django 4.2 that caused a serialization crash on a
ManyToManyField
without a natural key when itsManager
’s base
QuerySet
usedselect\_related()
(#34620).
Details
date
June 5, 2023, 11:38 a.m.
type
Patch
official page
👇
Register or login to:
- 🔍View and search all Django releases.
- 🛠️Create and share lists to track your tools.
- 🚨Setup notifications for major, security, feature or patch updates.
- 🚀Much more coming soon!