Change record status: 
Project: 
Introduced in branch: 
11.5.x
Introduced in version: 
11.5.0
Description: 

Session middleware and the session manager had a guard in place to prevent that sessions were started when Drupal is running from the command line. This is no longer necessary because command-line requests now get an in-memory session in DrupalKernel::preHandle().

Impacts: 
Module developers