Releases: kalimatas/php-liquid
Releases · kalimatas/php-liquid
More strict escape filter
escape
andescape_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
Easy filters
Unquoted template names
- Unquoted template names in
include
tag, as in Jekyll (thanks @jfoucher) - Caching now works correctly with
extends
tag
Complex objects could now be passed between templates
- 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
97% test coverage. Yay!
- 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.
1.3.0
PHPUnit ~4.8
1.2.2 Require phpunit: ~4.8
1.2.1
Context-aware auto-escaping
Changelog (thanks to @sanmai):
- Added
ESCAPE_BY_DEFAULT
setting for context-aware auto-escaping - Made
Context
work with plain objects escape
now useshtmlentities
- Fixed
escape_now
Namespaces
- Add namespaces
- Add composer support
- Implement new standard filters
- Add
raw
tag