Skip to content

Releases: xp-forge/handlebars

10.0.1: PHP 8.5 deprecation fix

06 Sep 18:52

Choose a tag to compare

  • Fixed E_DEPRECATED: Using null as an array offset is deprecated, use
    an empty string instead
    (PHP 8.5+)
    (@thekid)

10.0.0: PHP 7.4+

04 May 16:34

Choose a tag to compare

  • Heads up: Dropped support for PHP < 7.4, see xp-framework/rfc#343
    (@thekid)
  • Added PHP 8.5 to test matrix - @thekid
  • Refactored template loading to no longer use deprecated functionality
    from the xp-forge/mustache library, making it compatible with its
    newest major release
    (@thekid)

9.5.0: Template loading enhancement

02 Mar 10:24

Choose a tag to compare

  • Merged PR #31: Make withTemplates() accept folder references and in-
    memory declarations
    (@thekid)

9.4.0: XP 12 compatibility

24 Mar 14:29

Choose a tag to compare

  • Made compatible with XP 12 - @thekid

9.3.0: Partial inheritance

29 Oct 21:45

Choose a tag to compare

  • Merged PR #30: Add possibility to inherit partials - @thekid
  • Fixed com.handlebarsjs.PartialNode string representation to include
    closing braces
    (@thekid)

9.2.0: Inverse blocks, literals, optimizations

22 Oct 20:18

Choose a tag to compare

  • Added support for literals enclosed in [] - @thekid
  • Optimized helpers invoked as part of a block - @thekid
  • Fixed Call to undefined method errors for unclosed sections - @thekid
  • Merged PR #29: Implement inverse blocks - @thekid
  • Added PHP 8.4 to the test matrix - @thekid
  • Optimized parsing {{.}} by not parsing following text - @thekid

9.1.0: Block helper functions

25 Jul 20:41

Choose a tag to compare

  • Merged PR #28: Allow registering functions in BlockHelper - @thekid

9.0.0: Decorator removal

23 Jul 07:29

Choose a tag to compare

  • Merged PR #27: Remove decorator support and optimize inline partials
    (@thekid)

8.1.1: HTML escaping warnings fix

22 Jul 10:34

Choose a tag to compare

  • Fixed htmlspecialchars(): Passing null to parameter #1 ($string)
    of type string is deprecated

    (@thekid)

8.1.0: Helper compatibility

07 Apr 11:28

Choose a tag to compare

  • Fixed implementation to not render helper output. This ensures
    compatibility with the official Handlebars implementation. See
    issue #26
    (@thekid)
  • Merged PR #25: Migrate to new testing library - @thekid