2022-09-05 12:02:40 +08:00
|
|
|
==========================
|
|
|
|
Django 4.1.2 release notes
|
|
|
|
==========================
|
|
|
|
|
2022-09-27 15:44:39 +08:00
|
|
|
*October 4, 2022*
|
2022-09-05 12:02:40 +08:00
|
|
|
|
2022-09-27 15:50:01 +08:00
|
|
|
Django 4.1.2 fixes a security issue with severity "medium" and several bugs in
|
2022-09-27 15:44:39 +08:00
|
|
|
4.1.1.
|
2022-09-05 12:02:40 +08:00
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2022-09-07 11:53:37 +08:00
|
|
|
* Fixed a regression in Django 4.1 that caused a migration crash on PostgreSQL
|
|
|
|
when adding a model with ``ExclusionConstraint`` (:ticket:`33982`).
|
2022-09-08 10:30:06 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that caused aggregation over a queryset that
|
|
|
|
contained an ``Exists`` annotation to crash due to too many selected columns
|
|
|
|
(:ticket:`33992`).
|
2022-09-08 22:02:58 +08:00
|
|
|
|
|
|
|
* Fixed a bug in Django 4.1 that caused an incorrect validation of
|
|
|
|
``CheckConstraint`` on ``NULL`` values (:ticket:`33996`).
|
2022-09-16 22:47:50 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that caused a
|
|
|
|
``QuerySet.values()/values_list()`` crash on ``ArrayAgg()`` and
|
|
|
|
``JSONBAgg()`` (:ticket:`34016`).
|
2022-09-21 20:56:22 +08:00
|
|
|
|
|
|
|
* Fixed a bug in Django 4.1 that caused :attr:`.ModelAdmin.autocomplete_fields`
|
|
|
|
to be incorrectly selected after adding/changing related instances via popups
|
|
|
|
(:ticket:`34025`).
|
2022-09-28 16:02:25 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 where the app registry was not populated
|
|
|
|
when running parallel tests with the ``multiprocessing`` start method
|
|
|
|
``spawn`` (:ticket:`34010`).
|
2022-09-28 16:02:54 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 where the ``--debug-mode`` argument to
|
|
|
|
``test`` did not work when running parallel tests with the
|
|
|
|
``multiprocessing`` start method ``spawn`` (:ticket:`34010`).
|
2022-09-29 19:20:14 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that didn't alter a sequence type when
|
|
|
|
altering type of pre-Django 4.1 serial columns on PostgreSQL
|
|
|
|
(:ticket:`34058`).
|
2022-09-29 18:10:02 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that caused a crash for :class:`View`
|
|
|
|
subclasses with asynchronous handlers when handling non-allowed HTTP methods
|
|
|
|
(:ticket:`34062`).
|
2022-10-01 00:18:33 +08:00
|
|
|
|
|
|
|
* Reverted caching related managers for ``ForeignKey``, ``ManyToManyField``,
|
|
|
|
and ``GenericRelation`` that caused the incorrect refreshing of related
|
|
|
|
objects (:ticket:`33984`).
|