Releases: xp-forge/handlebars
Releases · xp-forge/handlebars
5.1.1: BlockNode fix
- Fixed
com.handlebarsjs.BlockNode
string cast not yielding options
correctly separated from node name
(@thekid)
5.1.0: Escaping
- Merged PR #13: Add support for escaping tags - either by prefixing a
backslash (\{{escaped}}
) or by using quadruple mustaches. See
https://handlebarsjs.com/guide/expressions.html#escaping-handlebars-expressions
(@thekid)
5.0.0: Drop PHP 5 support
- Implemented xp-framework/rfc#334: Drop PHP 5.6:
. Heads up: Minimum required PHP version now is PHP 7.0.0
. Rewrote code base, grouping use statements
. Convertednewinstance
to anonymous classes
. Rewroteisset(X) ? X : default
toX ?? default
(@thekid)
4.3.4: Annotation syntax
- Implemented RFC #335: Remove deprecated key/value pair annotation syntax
(@thekid)
4.3.3: XP10 compatibility
- Made compatible with XP 10 - @thekid
4.3.2: PHP 7.4 compatibility
- Made compatible with PHP 7.4 - refrain using
{}
for string offsets
(@thekid)
4.3.1: Partials fix
4.3.0: Generators
- Added support for generators in
each
, where they are treated like
hashes, producing@key
and@first
selectors for each yielded value.
Hoewever, note generators can only be iterated once due to the nature of
their implementation!
(@thekid) - Added support for generators in
if
andunless
. Iterators yielding
at least one element are considered truthy.
(@thekid)
4.2.3: Logging compatiblity
- Made compatible with
xp-framework/logging
version 9.0.0 - @thekid
4.2.2: Multiline tokens fix
- Fixed multiline tokens creating hundreds of zero option values - @thekid