summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-05-20 17:12:25 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-05-23 10:22:36 +0200
commit1704c49a9b149b66b6a0e67abc8c95293bc35649 (patch)
treee7602eea2603cc3d2f87887a18d12d67a79eb714 /docs
parentad6f99889838ccc2c30b3c02ed3868c9b565e81b (diff)
Fixed #36390 -- Deprecated RemoteUserMiddleware subclasses missing aprocess_request().
Regression in 50f89ae850f6b4e35819fe725a08c7e579bfd099. Thank you to shamoon for the report and Natalia Bidart for the review.
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt4
-rw-r--r--docs/releases/5.2.2.txt4
-rw-r--r--docs/releases/5.2.txt4
3 files changed, 12 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 2e0dbb02e5..e6db513dae 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -55,6 +55,10 @@ details on these changes.
``django.contrib.postgres.aggregates.JSONBAgg``, and
``django.contrib.postgres.aggregates.StringAgg`` will be removed.
+* Support for subclasses of ``RemoteUserMiddleware`` that override
+ ``process_request()`` without overriding ``aprocess_request()`` will be
+ removed.
+
.. _deprecation-removed-in-6.0:
6.0
diff --git a/docs/releases/5.2.2.txt b/docs/releases/5.2.2.txt
index f6787bff08..2cf5c750ff 100644
--- a/docs/releases/5.2.2.txt
+++ b/docs/releases/5.2.2.txt
@@ -18,3 +18,7 @@ Bugfixes
* Fixed a regression in Django 5.2 that caused a crash when no arguments were
passed into ``QuerySet.union()`` (:ticket:`36388`).
+
+* Fixed a regression in Django 5.2 where subclasses of ``RemoteUserMiddleware``
+ that had overridden ``process_request()`` were no longer supported
+ (:ticket:`36390`).
diff --git a/docs/releases/5.2.txt b/docs/releases/5.2.txt
index 32a0b35951..feaeb9436a 100644
--- a/docs/releases/5.2.txt
+++ b/docs/releases/5.2.txt
@@ -488,3 +488,7 @@ Miscellaneous
``django.contrib.postgres.aggregates.JSONBAgg``, and
``django.contrib.postgres.aggregates.StringAgg`` is deprecated in favor
of the ``order_by`` argument.
+
+* Support for subclasses of ``RemoteUserMiddleware`` that override
+ ``process_request()`` without overriding ``aprocess_request()`` is
+ deprecated.