2021-12-07 17:41:32 +08:00
|
|
|
==========================
|
|
|
|
Django 4.0.1 release notes
|
|
|
|
==========================
|
|
|
|
|
2021-12-27 21:42:14 +08:00
|
|
|
*January 4, 2022*
|
2021-12-07 17:41:32 +08:00
|
|
|
|
2021-12-27 21:42:14 +08:00
|
|
|
Django 4.0.1 fixes one security issue with severity "medium", two security
|
|
|
|
issues with severity "low", and several bugs in 4.0.
|
2021-12-07 17:41:32 +08:00
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2021-12-08 21:46:22 +08:00
|
|
|
* Fixed a regression in Django 4.0 that caused a crash of
|
|
|
|
:meth:`~django.test.SimpleTestCase.assertFormsetError` on a formset named
|
|
|
|
``form`` (:ticket:`33346`).
|
2021-12-14 00:09:13 +08:00
|
|
|
|
|
|
|
* Fixed a bug in Django 4.0 that caused a crash on booleans with the
|
|
|
|
``RedisCache`` backend (:ticket:`33361`).
|
2021-12-17 03:13:17 +08:00
|
|
|
|
|
|
|
* Relaxed the check added in Django 4.0 to reallow use of a duck-typed
|
|
|
|
``HttpRequest`` in ``django.views.decorators.cache.cache_control()`` and
|
|
|
|
``never_cache()`` decorators (:ticket:`33350`).
|
2021-12-16 08:36:08 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.0 that caused creating bogus migrations for
|
|
|
|
models that reference swappable models such as ``auth.User``
|
|
|
|
(:ticket:`33366`).
|
2021-12-19 14:15:09 +08:00
|
|
|
|
|
|
|
* Fixed a long standing bug in :ref:`geos-geometry-collections` and
|
|
|
|
:class:`~django.contrib.gis.geos.Polygon` that caused a crash on some
|
|
|
|
platforms (reported on macOS based on the ``ARM64`` architecture)
|
|
|
|
(:ticket:`32600`).
|