5.0.8.txt 933 B

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