2024-04-03 17:21:28 +02:00
|
|
|
==========================
|
|
|
|
Django 5.0.5 release notes
|
|
|
|
==========================
|
|
|
|
|
|
|
|
*Expected May 6, 2024*
|
|
|
|
|
|
|
|
Django 5.0.5 fixes several bugs in 5.0.4.
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2024-04-08 18:10:14 +02:00
|
|
|
* Fixed a bug in Django 5.0 that caused a crash of ``Model.save()`` when
|
|
|
|
creating an instance of a model with a ``GeneratedField`` and providing a
|
|
|
|
primary key (:ticket:`35350`).
|
2024-04-09 22:45:30 +02:00
|
|
|
|
2024-04-11 16:27:50 +02:00
|
|
|
* Fixed a compatibility issue encountered in Python 3.11.9+ and 3.12.3+ when
|
|
|
|
validating email max line lengths with content decoded using the
|
|
|
|
``surrogateescape`` error handling scheme (:ticket:`35361`).
|
2024-04-16 06:11:36 +02:00
|
|
|
|
|
|
|
* Fixed a bug in Django 5.0 that caused a crash when applying migrations
|
|
|
|
including alterations to ``GeneratedField`` such as setting ``db_index=True``
|
|
|
|
on SQLite (:ticket:`35373`).
|
2024-04-19 20:44:54 +02:00
|
|
|
|
|
|
|
* Allowed importing ``aprefetch_related_objects`` from ``django.db.models``
|
|
|
|
(:ticket:`35392`).
|
2024-04-12 16:31:41 +02:00
|
|
|
|
|
|
|
* Fixed a bug in Django 5.0 that caused a migration crash when a
|
|
|
|
``GeneratedField`` was added before any of the referenced fields from its
|
|
|
|
``expression`` definition (:ticket:`35359`).
|
2024-05-02 20:31:51 +02:00
|
|
|
|
|
|
|
* Fixed a bug in Django 5.0 that caused a migration crash when altering a
|
2024-05-03 14:50:55 +02:00
|
|
|
``GeneratedField`` referencing a renamed field (:ticket:`35422`).
|