Change record status: 
Project: 
Introduced in branch: 
10.2.x
Introduced in version: 
10.2.0
Description: 

\Drupal\Core\DependencyInjection\Compiler\ContextProvidersPass is deprecated.

The class was utilised to collect services as constructor arguments which can be achieved using the service_id_collector tag instead.

This should not affect modules or extensions as services tagged with context_provider will still be collected by the context repository.

Impacts: 
Module developers