Change record status: 
Project: 
Introduced in branch: 
10.1.x
Introduced in version: 
10.1.0
Description: 

UrlGenerator::getPathFromRoute() and UrlGenerator::generateFromRoute() no longer accept Route objects for the $route_name argument, the $route_name should instead always be passed as a string.

Impacts: 
Module developers
Themers