Change record status: 
Project: 
Introduced in branch: 
9.4.x
Introduced in version: 
9.4.0
Description: 

The UserLoginForm now requires an additional injected service, the typed bare_html_page_renderer. \Drupal\user\Form\UserLoginForm::__construct() requires these 1 new parameter:

   * @param \Drupal\Core\Render\BareHtmlPageRendererInterface $bare_html_renderer
   *   The renderer.

If your code is instantiating this class directly, without using the create() method, your code is probably doing it wrong. But in this case, you should add this additional service. Between 9.4.x and 10.0.x the form will trigger a deprecation notice, but starting in 10.0.0, the fallback behavior to look up the service for you will be removed.

Impacts: 
Module developers