NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1966 most downloaded on Packagist
An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ).
Latest stable
v1.2.6
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.3 years
Nearly every release is documented
notes for 33 of 34 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
34 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
1.2.6 https://github.com/zordius/lightncandy/releases/v1.2.6
1.2.6 https://github.com/zordius/lightncandy/releases/v1.2.6
1.2.6 https://github.com/zordius/lightncandy/releases/v1.2.6
0ae02b0131 support ArrayAccess and __call()
Your coding agent can read these notes before it upgrades. Set up the MCP server →
67b91587f8 fix {{#if}} {{else}} {{/if}} bug when them are inside {{#*inline}}...{{/inline}}
align with handlebars.js 4.0.11
align with handlebars.js 4.0.11
' in the partial' in the partialalign with handlebars.js 4.0.10
{{foo (bar "moo (1 2)")}} parsing issue{{foo (bar "moo (1 2)")}} parsing issuealign with handlebars.js 4.0.10
FLAG_MUSTACHESECTION to align {{#sec}} context switch behavior with mustache.jsFLAG_MUSTACHE includes FLAG_MUSTACHESECTIONFLAG_MUSTACHESECTION to align {{#sec}} context switch behavior with mustache.jsFLAG_MUSTACHE includes FLAG_MUSTACHESECTION0557429c07 fix {{lookup . "foo"}} parsing issue
hbbch() nowb25ea6b1de support FLAG_JSLENGTH when FLAG_METHOD
e9108cdb52 {{#if}}{{else if}}{{/if}} will not cause next {{else}} validation error now
cb94f98149 fix helpers in partial are not collected bug
b2d9eab03a fix generated PHP code error when FLAG_RUNTIMEPARTIAL is on
{{lookup . foo}} issueCannot use lexical variable $sp as a parameter name issue in PHP 7.171abc9853e fix {{> (lookup foo bar)}} issue (allow builtin helpers in subexpression)
{{> (lookup foo bar)}} issue (allow builtin helpers in subexpression)@partial-block id generation issue7082bd3276 refine helper function exporter
{{else with foo}} , {{else each bar}}, {{else myHelper}} nowa9fb08c3e8 speed up {{@var}} lookup, check parent type when {{../var}}
{{@var}} lookup, check parent type when {{../var}}{{else}} in template{{ and # nowv0.92 https://github.com/zordius/lightncandy/tree/v0.92
v0.92 https://github.com/zordius/lightncandy/tree/v0.92
{{..foo}} syntax error[fo o]="1 2 3" parsing bug{{else if}}{{#with .}} logic when input is an empty arrayv0.90 https://github.com/zordius/lightncandy/tree/v0.90
v0.90 https://github.com/zordius/lightncandy/tree/v0.90
{{ ... }} escaping only takes 70% time.delimiters to change default delimiters.<?php and ?> now.{{else if ...}} and {{else unless ...}} now.{{log ...}} now.a55f2dd067 support both {{@index}} and {{@key}} when {{#each an_object}}
{{@index}} and {{@key}} when {{#each an_object}}{{foo.[bar].10}} now{{~sometag}} or {{sometag~}}v0.89 https://github.com/zordius/lightncandy/tree/v0.89
v0.89 https://github.com/zordius/lightncandy/tree/v0.89
{{.}} or {{this}}{{#if foo includeZero=true}}lcrun option to runtimev0.23 https://github.com/zordius/lightncandy/tree/v0.23
v0.23 https://github.com/zordius/lightncandy/tree/v0.23
{{{{rawblock}}}} ... {{{{/rawblock}}}} when FLAG_RAWBLOCK enabledprePartial() static method and prepartial compile option for extendibility{{!-- --}} bug when it inside a partialv0.22 https://github.com/zordius/lightncandy/tree/v0.22
v0.22 https://github.com/zordius/lightncandy/tree/v0.22
{{foo bar=(tee_taa "hoo")}} parsing issue{{#foo}} issue when foo is an empty ArrayObjectv0.21 https://github.com/zordius/lightncandy/tree/v0.21
v0.21 https://github.com/zordius/lightncandy/tree/v0.21
{{helper undefined}}lcrun to use customized render library when compile(){{helper "foo[]"}}{{helper 'foo[]'}}v0.20 https://github.com/zordius/lightncandy/tree/v0.20
v0.20 https://github.com/zordius/lightncandy/tree/v0.20
{{foo (bar ../abc)}} compile bug{{#each}}$options['_this']5703851e49 fix {{foo bar=['abc=123']}} parsing bug
{{foo bar=['abc=123']}} parsing bug{{foo bar=["abc=123"]}} parsing bug{{foo bar=(helper a b c)}} parsing bug{{#if (foo bar)}}) parsing bug{{foo ( bar) or " car" or ' cat' or [ cage]}} pasing bug{{> (foo)}}{{../foo}} look up inside root scope issue{{number}}{{#if 0.0}} logic to behave as false{{../foo}} double usage count bug7bcce4c1a7 support {{@last}} for {{#each}} on both object and array
{{@last}} for {{#each}} on both object and array{{foo 'bar'}}renderex to extend anything in render function= inside single quoted string{{^myHelper}}3b48a0acf7 fix parsing bug when FLAG_NOESCAPE enabled
{{@../index}}, {{@../key}}, etc.4f036aff62 better error message for named arguments
{{#with var}} ... {{else}} ... {{/with}}{{#foo}} or {{#each foo}} on PHP Traversable instance{{helper "==="}}4c750806e8 fix for \ in template
\ in template\{{foo}} will be rendered as is. ( handlebars spec , require FLAG_SLASH ){{^}} as {{else}} ( require FLAG_ELSE ){{#each}} == {{#each .}} now{{helper 0.1 -1.2}}{{helper "test \" double quote"}}{{#with}} error when FLAG_WITH not used{{.}} without FLAG_JSOBJECT{{>foo bar}} ( require FLAG_RUNTIMEPARTIAL ){{>foo bar name=tee}} . fix {{..}} bugpartials in optionsbasedir hehavior, stop partial files lookup when do not prodive basedir in options{{>"test"}} or {{>[test]}} or {{>1234}} bugalign with handlebars.js 2.0.0-alpha.4
{{/foo}} tag detected{{&foo}}{{^foo}} logic when foo is empty list{{=<% %>=}} to set delimiter{{helper (helper2 foo) bar}}align with handlebars.js 2.0.0-alpha.4
{{this.foo.bar}} )align with handlebars.js 2.0.0-alpha.2
{{@first}} and {{@last}}align with handlebars.js 2.0.0-alpha.2
{{else}} in {{#each}} now{{!-- comments --}} now (this handlebars.js extension allow }} to be placed inside a comment){{@root}} or {{@root.foo.bar}} nowalign with handlebars.js 2.0.0-alpha.1
{{../}} php warning message{{helper name=value}}Nothing published for this version
One column per quarter.