Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.
Now we return
null for missing properties, like we do for missing keys for arrays. (
Paginate tag shall now respect request parameters.
It is now possible to set a custom query param for the paginate tag.
Page number will now never go overboard.
Major thanks to
@edwardoka and @asacarter.
TagPaginate shall not pollute the global scope, but work in own scope. (Thanks
@edwardoka and @asacarter) TagPaginate errors if no collection present instead of vague warning.
Now a capture tag will save a variable in the global context. (Fixes
TagUnless is an inverted TagIf: simplified implementation
Allow dashes in filenames (thanks
escape_once filters now escape everything, but arrays
New standard filter for explicit string conversion, mainly useful for object with
__toString method in conjunction with filters
Better caching for non-extending templates
Simplified 'assign' tag to use rules for variables (thanks
@jfoucher) Now supporting PHP 7.2
Different types of exception depending on the case (thanks
@jfoucher) Filterbank will not call instance methods statically
Unquoted template names in
include tag, as in Jekyll (thanks
@jfoucher) Caching now works correctly with
Dropped support for EOL'ed versions of PHP (< 5.6)
Arrays won't be silently cast to string as 'Array' anymore
Complex objects could now be passed between templates and to filters
Additional test coverage added
Support for numeric and variable array indicies
Support loop break and continue
Allow looping over extended ranges
Math filters now work with floats
Fixed 'default' filter
Local cache with data stored in a private variable
Virtual file system to get inversion of control and DI
Lots of tests with the coverage upped to 97%
Small bug fixes and various enhancements
Many thanks to
@schmoove, @NathanBaulch, @Eun, and all other reporters and contributors.
Version 1.3 will be the last minor version tested under PHP 5.3 not only because this version is not readily supported on Travis, but because
it reached EOL quite a long time ago in 2014. At least we can be sure there are no obvious bugs in this version.
Press h to open a hovercard with more details.