3.1.3.txt 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ==========================
  2. Django 3.1.3 release notes
  3. ==========================
  4. *Expected November 2, 2020*
  5. Django 3.1.3 fixes several bugs in 3.1.2 and adds compatibility with Python
  6. 3.9.
  7. Bugfixes
  8. ========
  9. * Fixed a regression in Django 3.1.2 that caused the incorrect height of the
  10. admin changelist search bar (:ticket:`32072`).
  11. * Fixed a regression in Django 3.1.2 that caused the incorrect width of the
  12. admin changelist search bar on a filtered page (:ticket:`32091`).
  13. * Fixed displaying Unicode characters in
  14. :class:`forms.JSONField <django.forms.JSONField>` and read-only
  15. :class:`models.JSONField <django.db.models.JSONField>` values in the admin
  16. (:ticket:`32080`).
  17. * Fixed a regression in Django 3.1 that caused a crash of
  18. :class:`~django.contrib.postgres.aggregates.ArrayAgg` and
  19. :class:`~django.contrib.postgres.aggregates.StringAgg` with ``ordering``
  20. on key transforms for :class:`~django.db.models.JSONField` (:ticket:`32096`).
  21. * Fixed a regression in Django 3.1 that caused a crash of ``__in`` lookup when
  22. using key transforms for :class:`~django.db.models.JSONField` in the lookup
  23. value (:ticket:`32096`).
  24. * Fixed a regression in Django 3.1 that caused a crash of
  25. :class:`~django.db.models.ExpressionWrapper` with key transforms for
  26. :class:`~django.db.models.JSONField` (:ticket:`32096`).
  27. * Fixed a regression in Django 3.1 that caused a migrations crash on PostgreSQL
  28. when adding an
  29. :class:`~django.contrib.postgres.constraints.ExclusionConstraint` with key
  30. transforms for :class:`~django.db.models.JSONField` in ``expressions``
  31. (:ticket:`32096`).
  32. * Fixed a regression in Django 3.1 where
  33. :exc:`ProtectedError.protected_objects <django.db.models.ProtectedError>` and
  34. :exc:`RestrictedError.restricted_objects <django.db.models.RestrictedError>`
  35. attributes returned iterators instead of :py:class:`set` of objects
  36. (:ticket:`32107`).
  37. * Fixed a regression in Django 3.1.2 that caused incorrect form input layout on
  38. small screens in the admin change form view (:ticket:`32069`).
  39. * Fixed a regression in Django 3.1 that invalidated pre-Django 3.1 password
  40. reset tokens (:ticket:`32130`).
  41. * Added support for ``asgiref`` 3.3 (:ticket:`32128`).