2022-08-03 16:52:38 +08:00
|
|
|
==========================
|
|
|
|
Django 4.1.1 release notes
|
|
|
|
==========================
|
|
|
|
|
2022-09-05 11:21:23 +08:00
|
|
|
*September 5, 2022*
|
2022-08-03 16:52:38 +08:00
|
|
|
|
|
|
|
Django 4.1.1 fixes several bugs in 4.1.
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2022-08-03 21:39:35 +08:00
|
|
|
* Reallowed, following a regression in Django 4.1, using ``GeoIP2()`` when GEOS
|
|
|
|
is not installed (:ticket:`33886`).
|
2022-08-03 21:45:09 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that caused a crash of admin's autocomplete
|
|
|
|
widgets when translations are deactivated (:ticket:`33888`).
|
2022-08-04 15:16:38 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that caused a crash of the ``test``
|
|
|
|
management command when running in parallel and ``multiprocessing`` start
|
|
|
|
method is ``spawn`` (:ticket:`33891`).
|
2022-08-05 15:27:20 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that caused an incorrect redirection to the
|
|
|
|
admin changelist view when using *"Save and continue editing"* and *"Save and
|
|
|
|
add another"* options (:ticket:`33893`).
|
2022-08-06 23:59:31 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that caused a crash of
|
|
|
|
:class:`~django.db.models.expressions.Window` expressions with
|
|
|
|
:class:`~django.contrib.postgres.aggregates.ArrayAgg` (:ticket:`33898`).
|
2022-08-07 04:51:43 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that caused a migration crash on SQLite
|
|
|
|
3.35.5+ when removing an indexed field (:ticket:`33899`).
|
2022-08-09 12:08:48 +08:00
|
|
|
|
|
|
|
* Fixed a bug in Django 4.1 that caused a crash of model validation on
|
|
|
|
``UniqueConstraint()`` with field names in ``expressions`` (:ticket:`33902`).
|
2022-08-09 14:16:23 +08:00
|
|
|
|
|
|
|
* Fixed a bug in Django 4.1 that caused an incorrect validation of
|
|
|
|
``CheckConstraint()`` with range fields on PostgreSQL (:ticket:`33905`).
|
2022-08-12 23:30:23 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that caused an incorrect migration when
|
|
|
|
adding ``AutoField``, ``BigAutoField``, or ``SmallAutoField`` on PostgreSQL
|
|
|
|
(:ticket:`33919`).
|
2022-08-17 19:19:16 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that caused a migration crash on PostgreSQL
|
|
|
|
when altering ``AutoField``, ``BigAutoField``, or ``SmallAutoField`` to
|
|
|
|
``OneToOneField`` (:ticket:`33932`).
|
2022-08-20 02:03:15 +08:00
|
|
|
|
|
|
|
* Fixed a migration crash on ``ManyToManyField`` fields with ``through``
|
|
|
|
referencing models in different apps (:ticket:`33938`).
|
2022-08-24 21:10:56 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that caused an incorrect migration when
|
|
|
|
renaming a model with ``ManyToManyField`` and ``db_table`` (:ticket:`33953`).
|
2022-08-25 03:14:32 +08:00
|
|
|
|
|
|
|
* Reallowed, following a regression in Django 4.1, creating reverse foreign key
|
|
|
|
managers on unsaved instances (:ticket:`33952`).
|
2022-08-29 15:55:45 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that caused a migration crash on SQLite <
|
|
|
|
3.20 (:ticket:`33960`).
|
2022-09-02 03:09:16 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.1 that caused an admin crash when the
|
|
|
|
:mod:`~django.contrib.admindocs` app was used (:ticket:`33955`,
|
|
|
|
:ticket:`33971`).
|