Skip to content

1.2.1 Optimal Simplification

Choose a tag to compare

@theodorejb theodorejb released this 02 Apr 21:01
· 9 commits to master since this release

Changed

  • Updated to PHP Handlebars Parser 2.0, which removed unnecessary options state from the parser and made it possible to reuse the same parser instance when compiling multiple templates (e.g. for runtime partials). The PHP Handlebars API hasn't changed, but it now performs better and has significantly lower memory usage when compiling two or more templates.
  • Options, HelperOptions, and SafeString are now final, since there's no reason to ever extend them.

Removed

  • Unnecessary internal StringObject class.