Drupal\Core\Plugin\Context\LazyContextRepository now accepts a service locator containing services tagged context_provider, instead of the full service container and an array of provider service IDs.
Passing the service container and provider service IDs to LazyContextRepository::__construct() still works, but is deprecated in Drupal 12.1.0 and will be removed in Drupal 13.0.0. Code that constructs this class directly, including subclasses calling the parent constructor, should pass a Symfony\Contracts\Service\ServiceCollectionInterface keyed by provider service ID and omit the second argument.
Custom service definitions can supply this locator or enable autowiring, as core now does. Subclasses that use the protected $container property must use $contextProviders instead; the locator contains only tagged context providers, not arbitrary services. The $contextProviderServiceIDs property remains for the deprecated constructor arguments.
Context providers still use the context_provider tag. Existing context IDs retain the @service_id:context_id format.