mirror of
https://github.com/django/django.git
synced 2025-10-09 14:59:24 +00:00
Revision 1e9db35836d42a3c72f3d1015c2f302eb6fee046 fixed a regression in 55d89e25f4115c5674cdd9b9bcba2bb2bb6d820b, which also needs to be backported to the stable branches in extended support (5.1.x and 4.2.x). Backport of c86242d61ff81bddbead115c458c1eb532d43b43 from main.
21 lines
661 B
Plaintext
21 lines
661 B
Plaintext
===========================
|
|
Django 4.2.21 release notes
|
|
===========================
|
|
|
|
*Expected May 7, 2025*
|
|
|
|
Django 4.2.21 fixes a data loss bug and a regression in 4.2.20.
|
|
|
|
Bugfixes
|
|
========
|
|
|
|
* Fixed a data corruption possibility in ``file_move_safe()`` when
|
|
``allow_overwrite=True``, where leftover content from a previously larger
|
|
file could remain after overwriting with a smaller one due to lack of
|
|
truncation (:ticket:`36298`).
|
|
|
|
* Fixed a regression in Django 4.2.20, introduced when fixing
|
|
:cve:`2025-26699`, where the :tfilter:`wordwrap` template filter did not
|
|
preserve empty lines between paragraphs after wrapping text
|
|
(:ticket:`36341`).
|