Skip to content

Releases: wireframe-framework/Wireframe

0.31.0

25 Jan 20:46
Compare
Choose a tag to compare

Added

  • Support for setting a view prefix with $wireframe->setViewPrefix(string $view_prefix). This is a string that will be prepended to the filename when rendering a view and can be used (for an example) if a separate theme is required for a specific part of the site. For security reasons multiple dots are not allowed, as traversing the directory tree up might result in unexpected issues.
  • New methods Wireframe::getDefaultView() and Wireframe::getDefaultLayout() for getting default view and layout names. For now these will always be "default".

0.30.0

01 Dec 10:17
Compare
Choose a tag to compare

Added

  • New method Wireframe::createDirectories() for adding Wireframe directories in code.

0.29.2

30 May 18:24
Compare
Choose a tag to compare

Fixed

  • PHP 8.2 deprecation errors resulting from dynamic ViewData properties.

0.29.1

05 Mar 18:35
Compare
Choose a tag to compare

Fixed

  • PHP deprecation warning from passing null to basename().

0.29.0

10 Jan 19:25
Compare
Choose a tag to compare

Added

  • New PartialView class that extends TemplateFile core class.

Fixed

  • Fixed an issue where rendering page within page did not properly restore the $view API variable to the state it was in before rendering said page.

0.28.0

10 Jan 13:22
Compare
Choose a tag to compare

Added

  • Page::renderView() now accepts an array of options as second argument, behaving same as Page::render() when passed an array of options.

0.27.1

12 Oct 15:40
Compare
Choose a tag to compare

Changed

  • Improve compatibility with RepeaterMatrix module by disabling unsupported render hook(s).
  • Improve performance of some file operations by applying GLOB_NOSORT.

0.27.0

27 Sep 05:41
20a960d
Compare
Choose a tag to compare

Changed

  • Stash (and later restore) Wireframe class data array when a page is rendered within another page.
  • Include Page object data array in cache key generated by Wireframe::render().

0.26.2

31 Aug 07:13
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where Wireframe::page() wasn't handling "non-wired" Page objects properly, resulting in a notice.

0.26.1

08 Aug 19:26
Compare
Choose a tag to compare

Changed

  • Use TracyDebugger::COLOR_NORMAL for Wireframe Tracy Debugger panel icon and help icon fill color.