Releases: auraphp/Aura.View
Releases · auraphp/Aura.View
2.4.0
2.3.0
2.2.1
2.2.0
2.1.1
2.1.0
This release has one feature addition, in addition to doucmentation and support file updates.
Per @harikt, we have brought back the "finder" functionality from Aura.View v1. This means the TemplateRegistry can now search through directory paths to find templates implicitly, in addition to the existing explicitly registered templates. (Explicit mappings take precedence over search paths.)
Thanks also to @iansltx for his HHVM-related testing work.
2.0.1
2.0.0
First stable 2.0 release.
- DOC: Update docblocks and README.
- CHG: View::render() now takes a second param, $data, for an array of vars to be extract()ed into the template scope. Closure-based templates will need to extract this on their own. (The previous technique of placing partial vars in the main template object still works.)
2.0.0-beta2
- [BRK] Stop using a "content variable" and begin using setContent()/getContent() instead. In your layouts, replace
echo $this->content_var_name
withecho $this->getContent()
. (This also removes thesetContentVar()
andgetContentVar()
methods.) - [ADD] Add support for sections per strong desire from @harikt, which fixes #46. The new methods are
setSection()
,hasSection()
, andgetSection()
, along withbeginSection()
andendSection()
.
2.0.0-beta1
First 2.0.0-beta1 release.