[news] Yii View 11.0


Version 11.0 of Yii View package was released.

  • Removed deprecated methods withDefaultExtension() and getDefaultExtension() from ViewInterface.
  • Renamed configuration parameter defaultExtension to fallbackExtension.
  • Added variadic parameter $default to ViewInterface::getParameter().
  • Bumped PHP version to ^8.1 and refactor code.
  • Used more specific psalm types in results of WebView methods: getLinkTags(), getCss(), getCssFiles(), getJs() and getJsFiles().
  • Fixed empty string and "0" keys in WebView methods: registerCss(), registerStyleTag(), registerCssFile(), registerJs(), registerScriptTag() and registerJsFile().

See upgrading instructions with notes about upgrading package in your application to this major version.