2024-07-09 11:34:44 -03:00
|
|
|
==========================
|
|
|
|
Django 5.0.8 release notes
|
|
|
|
==========================
|
|
|
|
|
2024-07-31 11:21:32 +02:00
|
|
|
*August 6, 2024*
|
2024-07-09 11:34:44 -03:00
|
|
|
|
2024-07-31 11:21:32 +02:00
|
|
|
Django 5.0.8 fixes three security issues with severity "moderate", one security
|
|
|
|
issue with severity "high", and several bugs in 5.0.7.
|
2024-07-09 11:34:44 -03:00
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2024-07-13 22:18:21 -04:00
|
|
|
* Added missing validation for ``UniqueConstraint(nulls_distinct=False)`` when
|
|
|
|
using ``*expressions`` (:ticket:`35594`).
|
2024-07-17 18:50:45 +05:00
|
|
|
|
|
|
|
* Fixed a regression in Django 5.0 where ``ModelAdmin.action_checkbox`` could
|
|
|
|
break the admin changelist HTML page when rendering a model instance with a
|
|
|
|
``__html__`` method (:ticket:`35606`).
|
2024-07-23 00:33:31 -04:00
|
|
|
|
|
|
|
* Fixed a crash when creating a model with a ``Field.db_default`` and a
|
|
|
|
``Meta.constraints`` constraint composed of ``__endswith``, ``__startswith``,
|
|
|
|
or ``__contains`` lookups (:ticket:`35625`).
|
2024-07-23 12:06:29 +02:00
|
|
|
|
|
|
|
* Fixed a regression in Django 5.0.7 that caused a crash in
|
|
|
|
``LocaleMiddleware`` when processing a language code over 500 characters
|
|
|
|
(:ticket:`35627`).
|
2024-07-24 13:53:06 -05:00
|
|
|
|
|
|
|
* Fixed a bug in Django 5.0 that caused a system check crash when
|
|
|
|
``ModelAdmin.date_hierarchy`` was a ``GeneratedField`` with an
|
|
|
|
``output_field`` of ``DateField`` or ``DateTimeField`` (:ticket:`35628`).
|