4.1.2.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ==========================
  2. Django 4.1.2 release notes
  3. ==========================
  4. *October 4, 2022*
  5. Django 4.1.2 fixes a security issue with severity "medium" and several bugs in
  6. 4.1.1.
  7. Bugfixes
  8. ========
  9. * Fixed a regression in Django 4.1 that caused a migration crash on PostgreSQL
  10. when adding a model with ``ExclusionConstraint`` (:ticket:`33982`).
  11. * Fixed a regression in Django 4.1 that caused aggregation over a queryset that
  12. contained an ``Exists`` annotation to crash due to too many selected columns
  13. (:ticket:`33992`).
  14. * Fixed a bug in Django 4.1 that caused an incorrect validation of
  15. ``CheckConstraint`` on ``NULL`` values (:ticket:`33996`).
  16. * Fixed a regression in Django 4.1 that caused a
  17. ``QuerySet.values()/values_list()`` crash on ``ArrayAgg()`` and
  18. ``JSONBAgg()`` (:ticket:`34016`).
  19. * Fixed a bug in Django 4.1 that caused :attr:`.ModelAdmin.autocomplete_fields`
  20. to be incorrectly selected after adding/changing related instances via popups
  21. (:ticket:`34025`).
  22. * Fixed a regression in Django 4.1 where the app registry was not populated
  23. when running parallel tests with the ``multiprocessing`` start method
  24. ``spawn`` (:ticket:`34010`).
  25. * Fixed a regression in Django 4.1 where the ``--debug-mode`` argument to
  26. ``test`` did not work when running parallel tests with the
  27. ``multiprocessing`` start method ``spawn`` (:ticket:`34010`).
  28. * Fixed a regression in Django 4.1 that didn't alter a sequence type when
  29. altering type of pre-Django 4.1 serial columns on PostgreSQL
  30. (:ticket:`34058`).
  31. * Fixed a regression in Django 4.1 that caused a crash for :class:`View`
  32. subclasses with asynchronous handlers when handling non-allowed HTTP methods
  33. (:ticket:`34062`).
  34. * Reverted caching related managers for ``ForeignKey``, ``ManyToManyField``,
  35. and ``GenericRelation`` that caused the incorrect refreshing of related
  36. objects (:ticket:`33984`).
  37. * Relaxed the system check added in Django 4.1 for the same name used for
  38. multiple template tag modules to a warning (:ticket:`32987`).