All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Events properly broadcast the original id of the pattern
- Added support for multiple template engines (Handlebars & Twig)
- Each pattern folder can also include an optional
init.php
that gets loaded before any data making it easier to scope view composers - Patterns now include raw template rendering
- Patterns now show the data needed to render them
- Added
View::composer($name, $callable)
as syntactic sugar forEvent::listen("view.$name", $callable)
- Primer specific data moved to
primer
namespace indata.json
files - New Handlebars engine drops support for
.handlebars
extensions, only.hbs
now supported out of the box - Removed
Pattern::composer
- Added
getTemplates()
function to enable easy access to the list of templates currently available in the Primer install
- Fixed minor rendering bugs in IE8
- Initial Release