summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornessita <124304+nessita@users.noreply.github.com>2025-04-23 17:26:48 -0300
committerNatalia <124304+nessita@users.noreply.github.com>2025-04-23 17:28:00 -0300
commit7d80f70988d96b39bd613c755b91bdf7355c1d71 (patch)
tree3ae3954477cc601f0ba10b33e1e674663d40316b
parent305aa4d0c5507072fa3a1c2f03fba9559329b499 (diff)
[5.2.x] Refs #36341 -- Added release notes for 5.1.9 and 4.2.21 for fix in wordwrap template filter.
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.
-rw-r--r--docs/releases/4.2.21.txt7
-rw-r--r--docs/releases/5.1.9.txt6
2 files changed, 11 insertions, 2 deletions
diff --git a/docs/releases/4.2.21.txt b/docs/releases/4.2.21.txt
index 36e24df12f..1064dcf202 100644
--- a/docs/releases/4.2.21.txt
+++ b/docs/releases/4.2.21.txt
@@ -4,7 +4,7 @@ Django 4.2.21 release notes
*Expected May 7, 2025*
-Django 4.2.21 fixes a data loss bug in 4.2.20.
+Django 4.2.21 fixes a data loss bug and a regression in 4.2.20.
Bugfixes
========
@@ -13,3 +13,8 @@ Bugfixes
``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`).
diff --git a/docs/releases/5.1.9.txt b/docs/releases/5.1.9.txt
index 6847aa9a2c..50daaf7528 100644
--- a/docs/releases/5.1.9.txt
+++ b/docs/releases/5.1.9.txt
@@ -4,7 +4,7 @@ Django 5.1.9 release notes
*Expected May 7, 2025*
-Django 5.1.9 fixes a data loss bug in 5.1.8.
+Django 5.1.9 fixes a data loss bug and a regression in 5.1.8.
Bugfixes
========
@@ -13,3 +13,7 @@ Bugfixes
``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 5.1.8, introduced when fixing :cve:`2025-26699`,
+ where the :tfilter:`wordwrap` template filter did not preserve empty lines
+ between paragraphs after wrapping text (:ticket:`36341`).