All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add support for recursive liquid tags #1731
- Match rounding precision to ruby gem when using the
round
filter with invalid precision.
- Add support for inline comments
- Remove dependency on Timex.
- Update other dependencies.
- Add cache prefix for multitenancy #44
- Thank you dkulchenko Allow the cache to have a prefix to support multiple caches in case Liquex is used in a multitenant environment
- Deprecated Liquex.render/2 for Liquex.render!/2 Liquex.render/2 will be replaced with a function that returns an error tuple instead of raising an error in 0.11
- Add devcontainer
- Fix regression on round filter with invalid inputs
- Add {% liquid %} tag to follow Liquid 5.0.0.
- Add {% render %} tag to follow Liquid 5.0.0.
- Add caching behaviour for use in {% render %} tag.
- Migrate all tags into using the new tag system originally defined by custom tag handler
- Add .last handler
- Fix issue where
break
andcontinue
would throw away prior content in same scope - Allow date filter to handle nil values #34
- Thank you stevencorona
- Removed deprecated custom renderer code.
- Fix struct access in liquid template regression #31
- Allow accessing variables that implement the Access behaviour #26
- Allow types supporting String.Chars protocol to be used in string operations #23
- Thank you cipater
- Allow multiple values in case statements #29
- Thank you ouven
- Refactored custom tags for better developer experience #20
- Deprecated old custom tags format
- Added
Liquex.parse!/2
that raises an exception instead of returning an error tuple
- Capture variables as strings instead of an iodata #17
- Thank you resterle
- Optimize compilation speed #19 #18
- Thank you tmjoen
- Fix
contains
to_existing_atom call. #12
This release is now 100% compatible with the Liquid gem for ruby.
- Whitespace control using
{%-
and{{-
- Indifferent access in structs/maps using string or atom keys
- Sort and where clauses to Liquex.Collection
- Fixed issue where identifiers could not end in question marks
{% assign %}
now allows the use of filters
Liquex.Collection
added for for custom iteratorsLiquex.Represent
added for lazy object rendering