5.0.8.txt 849 B

12345678910111213141516171819202122232425
  1. ==========================
  2. Django 5.0.8 release notes
  3. ==========================
  4. *Expected August 6, 2024*
  5. Django 5.0.8 fixes several bugs in 5.0.7.
  6. Bugfixes
  7. ========
  8. * Added missing validation for ``UniqueConstraint(nulls_distinct=False)`` when
  9. using ``*expressions`` (:ticket:`35594`).
  10. * Fixed a regression in Django 5.0 where ``ModelAdmin.action_checkbox`` could
  11. break the admin changelist HTML page when rendering a model instance with a
  12. ``__html__`` method (:ticket:`35606`).
  13. * Fixed a crash when creating a model with a ``Field.db_default`` and a
  14. ``Meta.constraints`` constraint composed of ``__endswith``, ``__startswith``,
  15. or ``__contains`` lookups (:ticket:`35625`).
  16. * Fixed a regression in Django 5.0.7 that caused a crash in
  17. ``LocaleMiddleware`` when processing a language code over 500 characters
  18. (:ticket:`35627`).