Skip to content

Releases: yiisoft/view

Version 12.2.4

18 Mar 10:35
Immutable release. Only release title and notes can be modified.
12.2.4
eaf52e6

Choose a tag to compare

  • Enh #305: Add support for yiisoft/html version ^4.0 (@vjik)

Full changelog

Version 12.2.3

26 Jan 06:13
Immutable release. Only release title and notes can be modified.
12.2.3
addebc5

Choose a tag to compare

  • Enh #289: Add validation of renderers configuration to ViewTrait::withRenderers() (@samdark)
  • Enh #295: Minor refactor ViewTrait::getParameter() and ViewTrait::resolveViewFilePath() (@samdark)
  • Enh #302: Explicitly import classes, functions, and constants in "use" section (@vjik)
  • Bug #295: Remove unnecessary CacheKeyNormalizer instance creation in CachedContent (@samdark)
  • Bug #300: Fix renderer selection for view files with double extensions (@vjik)

Full changelog

Version 12.2.2

07 Dec 06:51
Immutable release. Only release title and notes can be modified.
12.2.2
1eb44c3

Choose a tag to compare

Full changelog

Version 12.2.1

20 Jul 15:14
12.2.1
0c4aaa2

Choose a tag to compare

  • Enh #286: Allow to use null as value of basePath parameter in package configuration (@vjik)

Version 12.2.0

16 May 06:57
12.2.0
a60d15e

Choose a tag to compare

  • New #284: Allow to pass Stringable objects to WebView::setTitle() method (@vjik)
  • Bug #283: Allow using multiple theme paths in yiisoft/view → theme → pathMap package parameter (@mariovials, @vjik)

Version 12.1.0

15 Mar 12:51
12.1.0
ada7a1c

Choose a tag to compare

  • Chg #280: Change PHP constraint in composer.json to 8.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

23 Dec 07:43
12.0.0
b6b6910

Choose a tag to compare

  • New #278: Add ViewInterface::deepClone() method that clones object, including state cloning (@vjik)
  • Chg #276: Allow to pass null to ViewInterface methods withBasePath() and withContext() (@vjik)
  • Bug #279: Fix clearing theme in View::withClearedState() and WebView::withClearedState() (@vjik)

Version 11.0.1

08 Oct 07:48
11.0.1
dfdae3f

Choose a tag to compare

  • Enh #275: Make psr/event-dispatcher dependency optional (@vjik)

Version 11.0.0

02 Oct 09:59
11.0.0
c73dd70

Choose a tag to compare

  • Chg #271: Remove deprecated methods withDefaultExtension() and getDefaultExtension() from ViewInterface (@vjik)
  • Chg #271: Rename configuration parameter defaultExtension to fallbackExtension (@vjik)
  • Chg #272: Add variadic parameter $default to ViewInterface::getParameter() (@vjik)
  • Enh #269: Bump PHP version to ^8.1 and refactor code (@vjik)
  • Enh #273: Use more specific psalm types in results of WebView methods: getLinkTags(), getCss(), getCssFiles(),
    getJs() and getJsFiles() (@vjik)
  • Bug #273: Fix empty string and "0" keys in WebView methods: registerCss(), registerStyleTag(),
    registerCssFile(), registerJs(), registerScriptTag() and registerJsFile() (@vjik)

Version 10.0.0

28 Jun 10:03
10.0.0
4416d30

Choose a tag to compare

  • Chg #266: Change logic of template file searching in ViewInterface::render() (@vjik)
  • Chg #266: Remove ViewInterface::renderFile() (@vjik)
  • Chg #266: When the view cannot be resolved in ViewInterface::render(), change exception from RuntimeException to
    LogicException (@vjik)