#36390: Django 5.2.1 breaking for RemoteUserMiddleware subclasses that use
process_request?
-------------------------+-----------------------------------------
Reporter: shamoon | Type: Uncategorized
Status: new | Component: contrib.auth
Version: 5.2 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------+-----------------------------------------
Hello,
There were some async changes
https://github.com/django/django/pull/18036
to middleware released in 5.2.1 but is this not a breaking change? Even
just the diff for `RemoteUserMiddleware` completely removes
`process_request` thereby breaking anything that depended on that:
https://github.com/django/django/pull/18036/files#diff-
0855f8c0e8b7fbb0ed4cd47469c9b75c9e8f3de04fd0415d92e05b7e682fbb1e
I didn't see it explicitly mentioned in the release notes and found it
quite a challenge to track down.
Apologies if I've missed something here.
--
Ticket URL: <
https://code.djangoproject.com/ticket/36390>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.