2024-01-02 09:28:34 +00:00
|
|
|
==========================
|
|
|
|
Django 5.0.2 release notes
|
|
|
|
==========================
|
|
|
|
|
2024-01-29 14:41:53 +00:00
|
|
|
*February 6, 2024*
|
2024-01-02 09:28:34 +00:00
|
|
|
|
2024-01-29 14:41:53 +00:00
|
|
|
Django 5.0.2 fixes a security issue with severity "moderate" and several bugs
|
|
|
|
in 5.0.1. Also, the latest string translations from Transifex are incorporated.
|
2024-01-02 09:28:34 +00:00
|
|
|
|
2024-01-22 13:21:13 +00:00
|
|
|
CVE-2024-24680: Potential denial-of-service in ``intcomma`` template filter
|
|
|
|
===========================================================================
|
|
|
|
|
|
|
|
The ``intcomma`` template filter was subject to a potential denial-of-service
|
|
|
|
attack when used with very long strings.
|
|
|
|
|
2024-01-02 09:28:34 +00:00
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2024-01-05 13:08:25 +00:00
|
|
|
* Reallowed, following a regression in Django 5.0.1, filtering against local
|
|
|
|
foreign keys not included in :attr:`.ModelAdmin.list_filter`
|
|
|
|
(:ticket:`35087`).
|
2024-01-18 09:21:12 +00:00
|
|
|
|
|
|
|
* Fixed a regression in Django 5.0 where links in the admin had an incorrect
|
|
|
|
color (:ticket:`35121`).
|
2024-01-19 07:55:50 +00:00
|
|
|
|
|
|
|
* Fixed a bug in Django 5.0 that caused a crash of ``Model.full_clean()`` on
|
|
|
|
models with a ``GeneratedField`` (:ticket:`35127`).
|
2024-01-23 10:51:24 +00:00
|
|
|
|
|
|
|
* Fixed a regression in Django 5.0 that caused a crash of
|
|
|
|
``FilteredRelation()`` with querysets as right-hand sides (:ticket:`35135`).
|
|
|
|
``FilteredRelation()`` now raises a ``ValueError`` on querysets as right-hand
|
|
|
|
sides.
|
2024-01-31 15:10:05 +00:00
|
|
|
|
|
|
|
* Fixed a regression in Django 5.0 that caused a crash of the ``dumpdata``
|
|
|
|
management command when a base queryset used ``prefetch_related()``
|
|
|
|
(:ticket:`35159`).
|
2024-01-04 13:14:30 +00:00
|
|
|
|
|
|
|
* Fixed a regression in Django 5.0 that caused the ``request_finished`` signal to
|
|
|
|
sometimes not be fired when running Django through an ASGI server, resulting
|
|
|
|
in potential resource leaks (:ticket:`35059`).
|
2024-02-03 15:54:51 +00:00
|
|
|
|
|
|
|
* Fixed a bug in Django 5.0 that caused a migration crash on MySQL when adding
|
|
|
|
a ``BinaryField``, ``TextField``, ``JSONField``, or ``GeometryField`` with a
|
|
|
|
``db_default`` (:ticket:`35162`).
|
2024-01-28 17:02:33 +00:00
|
|
|
|
|
|
|
* Fixed a bug in Django 5.0 that caused a migration crash on models with a
|
|
|
|
literal ``db_default`` of a complex type such as ``dict`` instance of a
|
|
|
|
``JSONField``. Running ``makemigrations`` might generate no-op ``AlterField``
|
|
|
|
operations for fields using ``db_default`` (:ticket:`35149`).
|