- 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.
- TagPaginate shall not pollute the global scope, but work in own scope.
- TagPaginate errors if no collection present instead of vague warning.
- Capture tag shall save a variable in the global context.
- TagUnless is an inverted TagIf: simplified implementation
- Allow dashes in filenames
escape
andescape_once
filters now escape everything, but arrays- New standard filter for explicit string conversion
- Better caching for non-extending templates
- Simplified 'assign' tag to use rules for variables
- Now supporting PHP 7.2
- Different types of exception depending on the case
- Filterbank will not call instance methods statically
- Callback-type filters
- Unquoted template names in 'include' tag, as in Jekyll
- Caching now works correctly with 'extends' tag
- 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
- 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
- Support Traversable loops and filters
- Fix date filter for format with colon
- Various minor improvements and bugs fixes
- Remove content injection from $_GET.
- Add PHP 5.6, 7.0, 7.1 to Travis file.
- Added "ESCAPE_BY_DEFAULT" setting for context-aware auto-escaping.
- Made "Context" work with plain objects.
- "escape" now uses "htmlentities".
- Fixed "escape_now".
- New tags: "paginate", "unless", "ifchanged" were added
- Added support for "for in (range)" syntax
- Added support for multiple conditions in if statements
- Added support for hashes/objects in for loops
- Add namespaces
- Add composer support
- Implement new standard filters
- Add 'raw' tag
- context->set allows now global vars
- Allow Templatenames with Fileextension
- Tag 'extends' supports now multiple inheritance
- Clean up code, change all variables and methods to camelCase
- added the extends and block filter
- Initial release