Version 6.0.0 of View package is released. This version adds ViewInterface::withLocale(), ViewInterface::withBasePath() and support for yiisoft/files version 2.0.
There are two renamings as well so adjust your code if necessary:
ViewInterface::setLanguage()→ViewInterface::setLocale()ViewInterface::withSourceLanguage()→ViewInterface::withSourceLocale()