Skip to content

Releases: wireframe-framework/Wireframe

0.25.0

30 Jun 07:19
c72fea8
Compare
Choose a tag to compare

Added

  • New method View::renderView() for rendering View with specific view file, without layout.
  • New method Page::renderView() for rendering Page with specific view file, without layout.

Fixed

  • Malformed sprintf statement for exceptions thrown by View::setViewsPath().

0.24.2

11 Apr 16:23
Compare
Choose a tag to compare

Fixed

  • An issue where rendering pages with non-default view was unintentionally generating cached files if view had been set via Page::setView() or Page::view().

0.24.1

14 Mar 05:22
Compare
Choose a tag to compare

Added

  • Resources added to paths (in addition to urls) for convenience.

0.24.0

09 Mar 15:15
Compare
Choose a tag to compare

Added

  • New config setting global_config_paths for defining which Wireframe paths get automatically added to ProcessWire's $config->paths config object.

0.23.1

06 Mar 19:50
Compare
Choose a tag to compare

Added

  • Support for view namespaces, initially implemented for partial files only. Namespaces are mapped via the view_namespaces config setting to directories within site path, after which files from said directories can be fetched with $partials->get('namespace::partial'), $partials->render('namespace::partial'), or Wireframe::partial('namespace::partial').

Fixed

  • Additional validation rule to prevent relative view namespace root paths.

0.22.2

05 Mar 13:53
Compare
Choose a tag to compare

Fixed

  • Issue in Wireframe::partial() where dot was missing from before extension when using ProcessWire's native template extension.

0.22.1

01 Mar 19:31
Compare
Choose a tag to compare

Fixed

  • Second argument to Partials::get() wasn't applicable unless partial name had at least one slash; this has now been fixed.

0.22.0

01 Mar 14:37
Compare
Choose a tag to compare

Added

  • New method Partials::get('path/to/partial') for getting a partial with path. If an array is provided as second argument for this method, rendered markup is returned instead of a Partial object.
  • New method Partials::render('path/to/partial', $args) for returning the rendered markup of a Partial object.

0.21.3

27 Feb 10:34
Compare
Choose a tag to compare

Fixed

  • Fixes and improvements to make it easier to use components (and other Wireframe features) outside the context of Wireframe rendered templates.

0.21.2

05 Sep 14:20
Compare
Choose a tag to compare

Fixed

  • Second fix for the issue with non-null falsy value handling in View. Fix introduced in 0.21.1 was not fully functional yet.