Releases: xp-forge/handlebars
Releases · xp-forge/handlebars
8.0.0: Helpers precedence
- Merged PR #23: Add support for literal segments, e.g. notations
likearray.[0].[item-class].
(@thekid) - Merged PR #22: Give helpers precedence over input properties.
Heads up: This creates a BC break,{{date}}will now invoke
the date helper instead of selecting the date property from the
current context!
(@thekid)
7.1.1: Nested loops fix
- Fixed
@firstand@lastinside nested each loops - @thekid
7.1.0: Parent "this"
7.0.1: PHP 8.2 compatiblity
- Fixed "Creation of dynamic property" warnings in PHP 8.2 - @thekid
7.0.0: Drop XP 9 and lower, add XP 11
- Implemented xp-framework/rfc#341, dropping compatibility with XP 9
(@thekid)
6.2.0: Parser accessibility
6.1.1: Partials fix
- Fixed partials with parameters being used inside
each- @thekid
6.1.0: Parent of parent, root and outer iteration access
6.0.1: Nested contexts fix
- Fixed nested contexts inside
{{#each}}...{{/each}}- @thekid
6.0.0: Block params, else if, log levels
- Changed log helper to use
level="..."argument to control log level,
and its default to use loglevel info, aligning it with HandlebarsJS.
See https://handlebarsjs.com/guide/builtin-helpers.html#log
(@thekid) - Merged PR #17: Add support for
else ifas syntactic sugar for nested
if / else cascades
(@thekid) - Merged PR #16: Add support for
eachwith block params. This pull request
also includes a more efficient iteration algorithm as a side-effect.
(@thekid) - Made compatible with
xp-forge/mustacheversion 7.0, which emits single
quotes as'.
(@thekid)