All Versions
14
Latest Version
Avg Release Cycle
352 days
Latest Release
3078 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v3.0.2 Changes
September 30, 2014- โ Added all missing tests.
- ๐ Improved custom function name validation.
- ๐ Fixed bug with fallback folders, where the file extension wasn't being applied.
- ๐ Improved error handling in
Templateclass.
-
v3.0.1 Changes
September 28, 2014- โก๏ธ Updated extension interface to ensure that an instance of the
Engineclass be passed to theregister()method. - Minor code cleanup.
- โก๏ธ Updated extension interface to ensure that an instance of the
-
v3.0.0 Changes
September 27, 2014- โ Added ability to share data across templates.
- โ Added ability to preassign data to specific templates.
- โ Added ability to create one-off template functions, without using an extension.
- โ Added new folder "fall backs", where missing folder templates will fall back to the default folder.
- โ Added new
render()method toEngineclass, improving the use of theEngineas the primary API. - Templates variables are now accessed without the
$thispseudo-variable. - Total overhaul to how extensions are registered. Replaced
getFunctions()method with newregister()method. - Section content is no longer assigned to template variables. Use the the
section()function instead. - ๐ Renamed section
end()function tostop(). This fits more appropriately with thestart()function. - ๐ Renamed
get()function tofetch(). - ๐ Renamed
pathExists()method in theEngineclass toexists(). - ๐ Renamed
getTemplatePath()method in theEngineclass topath(). - ๐ Renamed
makeTemplate()method in theEngineclass tomake(). - โ Removed the ability to assign template data directly to the
Templateclass. For example:$this->name = 'Jonathan'. This applies both within and outside of templates. Use thedata()method instead. - โ Removed
getEngine()method from theTemplateclass. There's no reason to need this anymore. - โ Removed
addFolders()method from theEngine()class. - โ Removed
unloadExtension()andunloadExtensionFunction()methods from theEngine()class.
-
v2.1.0 Changes
April 02, 2014- ๐ Improved DocBlocks throughout the library.
- ๐ The
insert()functionality has been moved to a new extension, called Nest. - A new
get()function was also added with this extension, which offers an alternative syntax for nesting templates. - ๐ Improved error messages.
- A new error check which prevents the calling of the
render()function from within templates themselves. If this functionally is required, use the nesting functions instead. - โ Added a clearer error message to the
content()function when calling it from a non layout template. - โ Added a clearer error message to the
batch()extension function when a provided function does not exist. - ๐ Fixed a bug in the engine where it was possible to overwrite a default extension when loading extensions.