Skip to content

Releases: xp-forge/handlebars-templates

3.5.1: WithFrontMatter fix

12 Apr 09:32
Compare
Choose a tag to compare
  • Fixed issue #21: WithFrontMatter incompatible with Nodes::inheriting()
    (@thekid)

3.5.0: XP 12

12 Apr 09:32
Compare
Choose a tag to compare
  • Made compatible with XP 12 - @thekid

3.4.0: YAML library compatibility

04 Feb 09:57
Compare
Choose a tag to compare

3.3.0: Fragment parameters

14 Jan 09:18
Compare
Choose a tag to compare
  • Merged PR #20: Add support for fragment parameters - @thekid

3.2.0: Frontend library compatibility

25 Dec 12:29
Compare
Choose a tag to compare

3.1.0: Nested fragments

29 Oct 22:16
Compare
Choose a tag to compare
  • Merged PR #19: Support nested fragments - @thekid
  • Added PHP 8.4 to test matrix - @thekid

3.0.0: Fragments

29 Jul 11:44
Compare
Choose a tag to compare
  • 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

23 Jul 07:31
Compare
Choose a tag to compare

2.4.0: Forward compatibility, PHP 8.3 fix

22 Jul 09:03
Compare
Choose a tag to compare
  • 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)

2.3.0: Rendering

18 Mar 18:36
Compare
Choose a tag to compare
  • Merged PR #12: Add render() method which returns the result as a string
    (@thekid)
  • Merged PR #11: Migrate to new testing library - @thekid