Releases: xp-forge/handlebars-templates
Releases · xp-forge/handlebars-templates
3.5.1: WithFrontMatter fix
3.5.0: XP 12
- Made compatible with XP 12 - @thekid
3.4.0: YAML library compatibility
- Made compatible with https://github.com/xp-forge/yaml 7.0 and 8.0
(@thekid)
3.3.0: Fragment parameters
3.2.0: Frontend library compatibility
- Made compatible with https://github.com/xp-forge/frontend version 6.0
(@thekid)
3.1.0: Nested fragments
3.0.0: Fragments
- Heads up: Dropped compatibility with
xp-forge/handlebars
versions
lower than 9.1.0
(@thekid) - Merged PR #15: Implement fragments, which can thought of as "instantly-
invoked inline partials".
(@thekid) - Merged PR #14: Make it possible to pass fragments to the
render()
and
write()
methods. This will select an inline partial and render that
instead of the whole template.
(@thekid)
2.5.0: Decorator removal
- Made this library compatible with
xp-forge/handlebars
version 9.0,
see xp-forge/handlebars#27
(@thekid) - Merged PR #13: Refactor frontmatter to no longer use decorations API
(@thekid)
2.4.0: Forward compatibility, PHP 8.3 fix
- Fixed PHP 8.3 compatibility in
number
helper. This is due to the
change how negative decimals were handled in number_format(). Before,
they were simply ignored (which is what we relied on), now they're
used for rounding, see php/php-src#11487
(@thekid) - Added forward compatibility with
xp-forge/frontend
version 5.0, see
xp-forge/frontend#37
(@thekid)