[11.1] Deprecate UserAuthInterface

Created on 12 March 2024, 4 months ago

Problem/Motivation

πŸ“Œ Optimize user logins by avoiding duplicate entity queries Needs work adds UserAuthenticationInterface to replace UserAuthInterface, but it doesn't yet deprecate the old interface because it would be a hard break for type hints of code relying on the current service. Instead we trigger runtime deprecations when we notice the new interface isn't in use, which should prompt contrib modules to update their UserAuth decorators to implement the new interface, and allow any code type hinting the old interface to update too.

Once we get to 11.1, we can assume that contrib should have updated and Drupal 10.2 support has been dropped. Then we can deprecate UserAuthInterface for removal in 12.x, and stop implementing it in the UserAuth class.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
User moduleΒ  β†’

Last updated 43 minutes ago

Created by

πŸ‡¬πŸ‡§United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024