Change record status: 
Project: 
Introduced in branch: 
main
Introduced in version: 
12.1.0
Description: 

The $tableName argument of \Drupal\Core\Routing\RouteProvider::__construct() is deprecated. Routes are always read from the router table. The language manager now goes in its place, and not passing it is deprecated as well.

Before:

new RouteProvider($connection, $state, $current_path, $cache, $path_processor, $cache_tag_invalidator, $fast_cache, 'router', $language_manager);

After:

new RouteProvider($connection, $state, $current_path, $cache, $path_processor, $cache_tag_invalidator, $fast_cache, $language_manager);

Service definitions that decorate or replace router.route_provider should drop the 'router' argument.

Impacts: 
Module developers