All Versions
11
Latest Version
Avg Release Cycle
141 days
Latest Release
2471 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v4.0.0 Changes
February 06, 2018v4 has been a complete rewrite in the plates system. It's fairly backwards compatible, but a lot of the internals have changed, and we still have a decent amount of features and work to do for v4.
Significant Changes
- Templates are Immutable VO's
- Rendering is handled via RenderTemplate interfaces
- Extensions are first class citizens
- The Engine is now a small wrapper for an IoC Container
๐ New Features
- RenderContext API for defining composable functions and more
- Components
- Powerful and customizable naming strategies for dynamic base paths
- Multi folder fallbacks
- Relative and Absolute Path templates
- ๐ Better Error Handling
- 0๏ธโฃ Default Layouts
- Deep Sections #169
- Template Composers
- Static File Rendering
- Image/Base64Encoding Rendering
- And probably a few more ;p
๐ Documentation is lacking for many of these features. Contributions are welcome! The best way to learn about the features it to look at the tests and examples.
-
v4.0.0-alpha Changes
February 06, 2018v4 has been a complete rewrite in the plates system. It's fairly backwards compatible, but a lot of the internals have changed, and we still have a decent amount of features and work to do for v4.
Significant Changes
- Templates are Immutable VO's
- Rendering is handled via RenderTemplate interfaces
- Extensions are first class citizens
- The Engine is now a small wrapper for an IoC Container
๐ New Features
- RenderContext API for defining composable functions and more
- Components
- Powerful and customizable naming strategies for dynamic base paths
- Multi folder fallbacks
- Relative and Absolute Path templates
- ๐ Better Error Handling
- 0๏ธโฃ Default Layouts
- Deep Sections #169
- Template Composers
- Static File Rendering
- Image/Base64Encoding Rendering
- And probably a few more ;p
๐ Documentation is lacking for many of these features. Contributions are welcome! The best way to learn about the features it to look at the tests and examples.
-
v3.3.0 Changes
December 28, 2016- โ Added the ability to append content to sections using the new
push()
function. - โ Added an
end()
function as an alias tostop()
.
- โ Added the ability to append content to sections using the new
-
v3.2.0 Changes
December 27, 2016- ๐ Fixed an issue where template functions were not accessible from extensions.
- ๐ Fixed an issued with the URI extension throwing errors when it shouldn't.
- โ Added the ability to get all template data by calling
$template->data()
. - โ Added the ability to render a template via the
toString()
magic method. - โ Added the ability to run the tests using
composer test
. - ๐ Improvements to error handling when rendering templates.
- ๐ Various coding style, CI and documentation improvements.
-
v3.1.1 Changes
July 09, 2015 -
v3.1.0 Changes
October 21, 2014- โ Added batch functionality to the escaping functions.
-
v3.0.3 Changes
October 20, 2014- โ Added ability to define the default content of a section.
- Various code improvements (cleanup DocBlocks, class simplification, add Composer keywords, etc).
-
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
Template
class.
-
v3.0.1 Changes
September 28, 2014- โก๏ธ Updated extension interface to ensure that an instance of the
Engine
class 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 toEngine
class, improving the use of theEngine
as the primary API. - Templates variables are now accessed without the
$this
pseudo-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 theEngine
class toexists()
. - ๐ Renamed
getTemplatePath()
method in theEngine
class topath()
. - ๐ Renamed
makeTemplate()
method in theEngine
class tomake()
. - โ Removed the ability to assign template data directly to the
Template
class. For example:$this->name = 'Jonathan'
. This applies both within and outside of templates. Use thedata()
method instead. - โ Removed
getEngine()
method from theTemplate
class. There's no reason to need this anymore. - โ Removed
addFolders()
method from theEngine()
class. - โ Removed
unloadExtension()
andunloadExtensionFunction()
methods from theEngine()
class.