Skip to content

Releases: zordius/lightncandy

V0.22 2015-07-28

28 Jul 07:06
Compare
Choose a tag to compare

v0.22 https://github.com/zordius/lightncandy/tree/v0.22

  • align with handlebars.js 3.0.3
  • 1d1e882 fix {{foo bar=(tee_taa "hoo")}} parsing issue
  • 9bd994e fix JavaScript function in runtime partial be changed bug
  • a514e46 fix {{#foo}} issue when foo is an empty ArrayObject

V0.21 2015-05-08

08 May 01:57
Compare
Choose a tag to compare

v0.21 https://github.com/zordius/lightncandy/tree/v0.21

  • align with handlebars.js 3.0.3
  • 9f24268 support FLAG_BARE to remove PHP start/end tags
  • 60d5a46 handle object/propery merge when deal with partial
  • d0130bf support undefined {{helper undefined}}
  • 8d22860 support lcrun to use customized render library when compile()
  • d0bad11 remove tmp PHP file when prepare() now
  • d84bbb4 support keeping tmp PHP file when prepare()
  • ee833ae fix syntax validator bug on {{helper "foo[]"}}
  • 30b891a fix syntax validator bug on {{helper 'foo[]'}}
  • 1867f1c now count subexpression usage correctly
  • 78ef9b8 new syntax validator on handlebars variable name

V0.20 2015-03-04

04 Mar 02:09
Compare
Choose a tag to compare

v0.20 https://github.com/zordius/lightncandy/tree/v0.20

  • align with handlebars.js 3.0.0
  • 3d9a557 fix {{foo (bar ../abc)}} compile bug
  • 7dc16ac refine custom helper error detection logic
  • 72d32dc fix subexpression parsing bug inside {{#each}}
  • d1f1b93 support context access inside a hbhelper by $options['_this']

V0.19 2015-01-30

30 Jan 12:06
Compare
Choose a tag to compare
  • align with handlebars.js 3.0.0
  • 5703851 fix {{foo bar=['abc=123']}} parsing bug
  • 7b4e36a fix {{foo bar=["abc=123"]}} parsing bug
  • c710c83 fix {{foo bar=(helper a b c)}} parsing bug
  • 4bda1c6 fix subexpression+builtin block helper (EX: {{#if (foo bar)}}) parsing bug
  • 6fdba10 fix {{foo ( bar) or " car" or ' cat' or [ cage]}} pasing bug
  • 0cd5f2d fix indent issue when custom helper inside a partial
  • 296ea89 support dynamic partial {{> (foo)}}
  • f491d04 fix {{../foo}} look up inside root scope issue
  • 38fba8a fix scope issue for hbhelpers
  • a24a047 change internal variable structure and fix for {{number}}
  • 7ae8289 fix escape in double quoted string bug
  • 90adb55 fix {{#if 0.0}} logic to behave as false
  • 004a6dd fix {{../foo}} double usage count bug
  • 9d55f12 fix subexpression parsing bug when line change inside it

V0.18 2015-01-01

01 Jan 04:37
Compare
Choose a tag to compare
  • align with handlebars.js 2.0.0
  • 7bcce4c support {{@last}} for {{#each}} on both object and array
  • b0c44c3 remove ending \n in lightncandy.php
  • e130875 support single quoted string input: {{foo 'bar'}}
  • c603aa3 support renderex to extend anything in render function
  • f063e53 now render function debug constants works well in standalone mode
  • 53f6a68 fix parsing bug when there is a = inside single quoted string
  • 2f16c0c now really autoload when installed with composer
  • c4da1f5 supports {{^myHelper}}

V0.17 2014-11-17

17 Nov 09:01
Compare
Choose a tag to compare
  • align with handlebars.js 2.0.0
  • 3b48a0a fix parsing bug when FLAG_NOESCAPE enabled
  • 5c774b1 fix hbhelpers response error with options['fn'] when FLAG_BESTPERFORMANCE enabled
  • c60fe70 fix hbhelpers response error with options['inverse'] when FLAG_BESTPERFORMANCE enabled
  • e19b3e3 provide options['root'] and options['_parent'] to hbhelpers
  • d8a288e refine variable parsing logic to support {{@../index}}, {{@../key}}, etc.

V0.16 2014-09-08

08 Sep 13:25
Compare
Choose a tag to compare
  • align with handlebars.js 2.0.0
  • 4f036af better error message for named arguments
  • 0b462a3 support {{#with var}} ... {{else}} ... {{/with}}
  • 4ca624f fix 1 ANSI code error
  • 01ea3e9 support instances with PHP __call magic funciton
  • 3805903 support {{#foo}} or {{#each foo}} on PHP Traversable instance
  • 366f5ec add FLAG_MUSTACHESP and FLAG_MUSTACHEPAIN into FLAG_HANDLEBARS and FLAG_HANDLEBARSJS now
  • b61d7b4 align with handlebars.js standalone tags behavior
  • b211e17 now render false as 'false'
  • 655a248 fix bug for {{helper "==="}}
  • bb58669 support FLAG_NOESCAPE

V0.15 2014-07-22

22 Jul 09:03
Compare
Choose a tag to compare
  • align with handlebars.js 2.0.0
  • 4c75080 fix for \ in template
  • 12ab662 support escape. \{{foo}} will be rendered as is. ( handlebars spec , require FLAG_SLASH )
  • 876bd44 escape ` to ` ( require FLAG_JSQUOTE )
  • f1f388e support {{^}} as {{else}} ( require FLAG_ELSE )
  • d5e1720 support {{#each}} == {{#each .}} now
  • 742126b fix `{{>foo/bar}} partial not found bug
  • d62c261 support numbers as helper input {{helper 0.1 -1.2}}
  • d40c76b support escape in string arguments {{helper "test \" double quote"}}
  • ecb57a2 fix for missing partial in partial bug
  • 1adad5d fix {{#with}} error when FLAG_WITH not used
  • ffd5e35 fix error when rendering array value as {{.}} without FLAG_JSOBJECT
  • bd4987a support changing context on partial {{>foo bar}} ( require FLAG_RUNTIMEPARTIAL )
  • f5decaa support name sarguments on partial {{>foo bar name=tee}} . fix {{..}} bug
  • c20bb36 support partials in options
  • e8779db change default basedir hehavior, stop partial files lookup when do not prodive basedir in options
  • c4e3401 fix {{>"test"}} or {{>[test]}} or {{>1234}} bug
  • e59f62e fix seciton behavior when input is object, and add one new flag: FLAG_MUSTACHESEC
  • 80eaf8e use static::method not self::method for subclass
  • 0bad5c8 fix usedFeature generation bugs

V0.14 2014-07-12

12 Jul 04:24
Compare
Choose a tag to compare
  • align with handlebars.js 2.0.0-alpha.4
  • fa6225f support boolen value in named arguments for cusotm helper
  • 160743e better error message when unmatch {{/foo}} tag detected
  • d9a9416 support {{&foo}}
  • 8797485 fix {{^foo}} logic when foo is empty list
  • 523b137 fix handlebars custom helper interface
  • a744a2d fix bad syntax when FLAG_RENDER_DEBUG + helpers
  • 0044f7b change FLAG_THIS behavoir
  • b5b0739 support recursive context lookup now ( mustache spec , require FLAG_MUSTACHELOOKUP )
  • 096c241 support standalone tag detection now ( mustache spec , require FLAG_MUSTACHESP )
  • cea46c9 support {{=<% %>=}} to set delimiter
  • 131696a support subexpression {{helper (helper2 foo) bar}}
  • 5184d41 support runtime/recursive partial ( require FLAG_RUNTIMEPARTIAL )
  • 6408917 support partial indent ( mustache spec , require FLAG_MUSTACHEPAIN )

V0.13 2014-06-26

01 Mar 02:35
Compare
Choose a tag to compare
  • align with handlebars.js 2.0.0-alpha.4
  • e5a8fe3 fix issue #46 ( error with {{this.foo.bar}} )
  • ea13151 fix issue #44 ( error with some helper inline function PHP code syntax )
  • 522591a fix issue #49 ( error with some helper user function PHP code syntax )
  • c4f7e1e support `{{foo.bar}} lookup on instance foo then property/method bar ( flagd FLAG_PROPERTY or FLAG_METHOD required )
  • 0f4c0da stop simulate Javascript output for array when pass input to custom helpers
  • 22d07e5 BIG CHANGE of custom helper interface