summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorLorenzo Peña <lorinkoz@gmail.com>2024-07-23 12:06:29 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-07-25 09:38:46 +0200
commit0e94f292cda632153f2b3d9a9037eb0141ae9c2e (patch)
treeb4441d84b721f8154afa9ebd9b4db22e0fc89f13 /docs/releases
parent2c024c9ac096d06d9e78d1ae02b52f73a45eadf8 (diff)
Fixed #35627 -- Raised a LookupError rather than an unhandled ValueError in get_supported_language_variant().
LocaleMiddleware didn't handle the ValueError raised by get_supported_language_variant() when language codes were over 500 characters. Regression in 9e9792228a6bb5d6402a5d645bc3be4cf364aefb.
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/4.2.15.txt14
-rw-r--r--docs/releases/5.0.8.txt4
-rw-r--r--docs/releases/index.txt1
3 files changed, 19 insertions, 0 deletions
diff --git a/docs/releases/4.2.15.txt b/docs/releases/4.2.15.txt
new file mode 100644
index 0000000000..a15eced1a3
--- /dev/null
+++ b/docs/releases/4.2.15.txt
@@ -0,0 +1,14 @@
+===========================
+Django 4.2.15 release notes
+===========================
+
+*Expected August 6, 2024*
+
+Django 4.2.15 fixes a regression in 4.2.14.
+
+Bugfixes
+========
+
+* Fixed a regression in Django 4.2.14 that caused a crash in
+ ``LocaleMiddleware`` when processing a language code over 500 characters
+ (:ticket:`35627`).
diff --git a/docs/releases/5.0.8.txt b/docs/releases/5.0.8.txt
index 7bdb5488b2..0f5123f68f 100644
--- a/docs/releases/5.0.8.txt
+++ b/docs/releases/5.0.8.txt
@@ -19,3 +19,7 @@ Bugfixes
* 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`).
+
+* Fixed a regression in Django 5.0.7 that caused a crash in
+ ``LocaleMiddleware`` when processing a language code over 500 characters
+ (:ticket:`35627`).
diff --git a/docs/releases/index.txt b/docs/releases/index.txt
index 2ace2b44af..bece4a981a 100644
--- a/docs/releases/index.txt
+++ b/docs/releases/index.txt
@@ -55,6 +55,7 @@ versions of the documentation contain the release notes for any later releases.
.. toctree::
:maxdepth: 1
+ 4.2.15
4.2.14
4.2.13
4.2.12