Releases: kalimatas/php-liquid
Releases · kalimatas/php-liquid
REQUEST_URI in default context
Fixes the problem with REQUEST_URI in default context, #151
Kudos to @shawngoh87
Another workaround for legacy autoloaders
Guard against legacy autoloaders
As per #145. Kudos to @schmitty42.
PHP 8 ready
Tested to work under PHP 8.
Generators
- Support for iterating and working with generators.
- Support for PHP under 7.3 has been discontinued.
Better regexes!
array.first
Comes with .first
/.last
support for arrays. Kudos to @funkjedi!
Countables
Comes with .size
support for \Countable
variables. Kudos to @funkjedi!
Virtual properties
The library now should work nicely with objects with virtual properties, that is accessible only with __get
.
Better TypeError handling
Not passing a date format to the date filter now results in a common and expected LiquidException
instead of surprising TypeError
under PHP 7.1+. Other filters may also be affected.
Kudos to @PATROMO for raising the issue and providing a fix.
This release also the first one to be thoroughly tested under PHP 7.3, although earlier releases should work just as fine.