Version 9.0 of Yii View package was released.
- added
View::getLocale()andWebView::getLocale()methods; - added immutable method
ViewInterface::withTheme(); - deprecated
ViewInterface::withDefaultExtension()andViewInterface::getDefaultExtension()in favor ofwithFallbackExtension()andgetFallbackExtensions(); - adjusted config to make
ViewandWebViewmore configurable; - made fallback extension configurable & support multiple fallbacks;
- added types to
ViewInterface::setParameter()andViewInterface::addToParameter()parameters; - made event dispatcher in
ViewandWebViewoptional; - made base path in
ViewandWebViewoptional; - fixed signature of
CachedContent::cache(); - fixed reset config for referenced definitions;
- fixed render templates that contain dots in their name.