Releases: wireframe-framework/Wireframe
Releases · wireframe-framework/Wireframe
0.25.0
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
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
Added
- Resources added to paths (in addition to urls) for convenience.
0.24.0
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
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
Fixed
- Issue in Wireframe::partial() where dot was missing from before extension when using ProcessWire's native template extension.
0.22.1
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
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
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
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.