Releases: yiisoft/view
Releases · yiisoft/view
Version 12.2.2
Version 12.2.1
Version 12.2.0
- New #284: Allow to pass
Stringableobjects toWebView::setTitle()method (@vjik) - Bug #283: Allow using multiple theme paths in
yiisoft/view → theme → pathMappackage parameter (@mariovials, @vjik)
Version 12.1.0
- Chg #280: Change PHP constraint in
composer.jsonto8.1 - 8.4(@vjik) - Enh #282: Allow using
../in the name of the view to refer to parent directory of the directory containing the view
currently being rendered (@vjik) - Bug #280: Explicitly mark nullable parameters (@vjik)
- Bug #282: Fix exception message when relative path is used without currently rendered view (@vjik)
Version 12.0.0
Version 11.0.1
Version 11.0.0
- Chg #271: Remove deprecated methods
withDefaultExtension()andgetDefaultExtension()fromViewInterface(@vjik) - Chg #271: Rename configuration parameter
defaultExtensiontofallbackExtension(@vjik) - Chg #272: Add variadic parameter
$defaulttoViewInterface::getParameter()(@vjik) - Enh #269: Bump PHP version to
^8.1and refactor code (@vjik) - Enh #273: Use more specific psalm types in results of
WebViewmethods:getLinkTags(),getCss(),getCssFiles(),
getJs()andgetJsFiles()(@vjik) - Bug #273: Fix empty string and "0" keys in
WebViewmethods:registerCss(),registerStyleTag(),
registerCssFile(),registerJs(),registerScriptTag()andregisterJsFile()(@vjik)
Version 10.0.0
Version 9.0.0
- New #242: Add
View::getLocale()andWebView::getLocale()methods (@Tigrov) - New #243: Add immutable method
ViewInterface::withTheme()(@Gerych1984) - Chg #232: Deprecate
ViewInterface::withDefaultExtension()andViewInterface::getDefaultExtension()in favor of
withFallbackExtension()andgetFallbackExtensions()(@rustamwin) - Enh #226: Adjust config to make
ViewandWebViewmore configurable (@rustamwin) - Enh #232, #233: Make fallback extension configurable & support multiple fallbacks (@rustamwin)
- Enh #248: Add types to
ViewInterface::setParameter()andViewInterface::addToParameter()parameters (@vjik) - Enh #250: Make event dispatcher in
ViewandWebViewoptional (@vjik) - Enh #251: Make base path in
ViewandWebViewoptional (@vjik) - Bug #224: Fix signature of
CachedContent::cache()(@vjik) - Bug #226: Fix
resetconfig for referenced definitions (@rustamwin) - Bug #232: Fix render templates that contain dots in their name (@rustamwin)