4.0.1.txt 1.0 KB

123456789101112131415161718192021222324252627282930
  1. ==========================
  2. Django 4.0.1 release notes
  3. ==========================
  4. *Expected January 4, 2022*
  5. Django 4.0.1 fixes several bugs in 4.0.
  6. Bugfixes
  7. ========
  8. * Fixed a regression in Django 4.0 that caused a crash of
  9. :meth:`~django.test.SimpleTestCase.assertFormsetError` on a formset named
  10. ``form`` (:ticket:`33346`).
  11. * Fixed a bug in Django 4.0 that caused a crash on booleans with the
  12. ``RedisCache`` backend (:ticket:`33361`).
  13. * Relaxed the check added in Django 4.0 to reallow use of a duck-typed
  14. ``HttpRequest`` in ``django.views.decorators.cache.cache_control()`` and
  15. ``never_cache()`` decorators (:ticket:`33350`).
  16. * Fixed a regression in Django 4.0 that caused creating bogus migrations for
  17. models that reference swappable models such as ``auth.User``
  18. (:ticket:`33366`).
  19. * Fixed a long standing bug in :ref:`geos-geometry-collections` and
  20. :class:`~django.contrib.gis.geos.Polygon` that caused a crash on some
  21. platforms (reported on macOS based on the ``ARM64`` architecture)
  22. (:ticket:`32600`).