Lightncandy Versions Save

An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ),

v1.2.6

2 years ago

1.2.6 https://github.com/zordius/lightncandy/releases/v1.2.6

  • align with handlebars.js 4.1.2
  • 207d424c4c fix for PHP 8.0 code generator issue

v1.2.5

4 years ago
  • align with handlebars.js 4.1.2
  • 0ae02b0131 support ArrayAccess and __call()
  • ade2d444c7 fix for PHP 7.4 implode() warning
  • c9f02aa6e4 fix for PHP 7.4 implode() warning
  • 096bf4c2ae remove PHP 7.1 tests (stop supporting/verifying)
  • c77aaa7a27 fix for PHP 7.4 warning access int as array

v1.2.4

4 years ago
  • align with handlebars.js 4.1.1
  • 67b91587f8 fix {{#if}} {{else}} {{/if}} bug when them are inside {{#*inline}}...{{/inline}}
  • e232e13e12 fix {{else}} compile bug when them are inside {{#*inline}}...{{/inline}}

v1.2.3

5 years ago
  • align with handlebars.js 4.0.11
  • f429712406 fix partial block standalone tag detection issue
  • 4f1ca85a08 fix for {{#each foo as |bar|}} when the value is not an array
  • ca892c4514 fix for PHP 7.2 count(null) issue and StringObject not found issue

v1.2.2

6 years ago
  • align with handlebars.js 4.0.11
  • 6ef2efd8d9 fix LightnCandy::compilePartial() error when there is ' in the partial
  • 658244f864 better error message when a=b found without FLAG_NAMEDARG option
  • a752abd855 BREAK CHANGE remove FLAG_SPACECTL option because it always enabled and useless
  • 9615b44920 fix partial block stand alone detection issue

v1.2.1

6 years ago
  • align with handlebars.js 4.0.10
  • 15201d7300 fix {{foo (bar "moo (1 2)")}} parsing issue

v1.2.0

6 years ago
  • align with handlebars.js 4.0.10
  • 046de72460 reduce is_array() check when context is not changed
  • d217900d5b BREAK CHANGE
    • fix {{#sec}} context switch behavior for mustache.js compatibility
    • new FLAG_MUSTACHESECTION to align {{#sec}} context switch behavior with mustache.js
    • now FLAG_MUSTACHE includes FLAG_MUSTACHESECTION

v1.1.0

7 years ago
  • align with handlebars.js 4.0.6
  • 0557429c07 fix {{lookup . "foo"}} parsing issue
  • 6939eebef8 fix {{foo a=(foo a=(bar))}} parsing issue
  • 59eba28d8a fix error message when compile {{each foo as |bar|}}
  • 3164c82047 BREAK CHANGE block custom helper is compiled as hbbch() now

v1.0.3

7 years ago
  • align with handlebars.js 4.0.6
  • b25ea6b1de support FLAG_JSLENGTH when FLAG_METHOD (#255)

v1.0.2

7 years ago
  • align with handlebars.js 4.0.6
  • e9108cdb52 {{#if}}{{else if}}{{/if}} will not cause next {{else}} validation error now