3.1.1.txt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ==========================
  2. Django 3.1.1 release notes
  3. ==========================
  4. *Expected September 1, 2020*
  5. Django 3.1.1 fixes several bugs in 3.1.
  6. Bugfixes
  7. ========
  8. * Fixed wrapping of translated action labels in the admin's navigation sidebar
  9. for East Asian languages (:ticket:`31853`).
  10. * Fixed wrapping of long model names in the admin's navigation sidebar
  11. (:ticket:`31854`).
  12. * Fixed encoding session data while upgrading multiple instances of the same
  13. project to Django 3.1 (:ticket:`31864`).
  14. * Adjusted admin's navigation sidebar template to reduce debug logging when
  15. rendering (:ticket:`31865`).
  16. * Fixed a data loss possibility in the
  17. :meth:`~django.db.models.query.QuerySet.select_for_update()`. When using
  18. related fields pointing to a proxy model in the ``of`` argument, the
  19. corresponding model was not locked (:ticket:`31866`).
  20. * Fixed a data loss possibility, following a regression in Django 2.0, when
  21. copying model instances with a cached fields value (:ticket:`31863`).
  22. * Fixed a regression in Django 3.1 that caused a crash when decoding an invalid
  23. session data (:ticket:`31895`).
  24. * Reverted a deprecation in Django 3.1 that caused a crash when passing
  25. deprecated keyword arguments to a queryset in
  26. ``TemplateView.get_context_data()`` (:ticket:`31877`).
  27. * Enforced thread sensitivity of the :class:`MiddlewareMixin.process_request()
  28. <django.utils.deprecation.MiddlewareMixin>` and ``process_response()`` hooks
  29. when in an async context (:ticket:`31905`).
  30. * Fixed ``__in`` lookup on key transforms for
  31. :class:`~django.db.models.JSONField` with MariaDB, MySQL, Oracle, and SQLite
  32. (:ticket:`31936`).
  33. * Fixed a regression in Django 3.1 that caused permission errors in
  34. ``CommonPasswordValidator`` and ``settings.py`` generated by the
  35. :djadmin:`startproject` command, when user didn't have permissions to all
  36. intermediate directories in a Django installation path (:ticket:`31912`).