| 1 |
Upgrade Notice |
| 2 |
============== |
| 3 |
|
| 4 |
* Standalone templates compiled by older LightnCandy can be executed safe when you upgrade to any new version of LightnCandy. |
| 5 |
|
| 6 |
* Recompile your none standalone templates when you upgrade LightnCandy. |
| 7 |
|
| 8 |
Version v1.0.0 |
| 9 |
-------------- |
| 10 |
* Support PHP 7.1 |
| 11 |
|
| 12 |
Version v0.91 |
| 13 |
------------- |
| 14 |
* Option basedir removed. Please use the new partialresolver option to handle partial files. |
| 15 |
* Option fileext removed. Please use the new partialresolver option to handle partial files. |
| 16 |
|
| 17 |
Version v0.90 |
| 18 |
------------- |
| 19 |
* Option FLAG_BARE removed. |
| 20 |
* When you save your compiled PHP code into a file, you need to add `<?php ` and `?>` by yourself. |
| 21 |
* Remove $option['helpers'] and $option['blockhelpers'] |
| 22 |
* Rename $option['hbhelpers'] into $option['helpers'] |
| 23 |
|
| 24 |
Version v0.89 |
| 25 |
------------- |
| 26 |
* Option FLAG_MUSTACHESP removed. |
| 27 |
* Option FLAG_MUSTACHEPAIN removed. |
| 28 |
* Option FLAG_WITH removed. |
| 29 |
* Option FLAG_MUSTACHE includes FLAG_RUNTIMEPARTIAL now. |
| 30 |
* Option FLAG_MUSTACHE includes FLAG_NOHBHELPERS now. |
| 31 |
* Option FLAG_JSQUOTE is changed to FLAG_HBESCAPE |
| 32 |
* Option FLAG_STANDALONE is changed to FLAG_STANDALONEPHP |
| 33 |
* Option `lcrun` is changed to `runtime` |
| 34 |
* generated render function interface changed, aligned with handlebars.js now |
| 35 |
* LightnCandy be refactored into many sub classes, you can not just use curl to install it now. |
| 36 |
* Due to big change of rendering function: sec() and inv(), the rendering supporting class `LCRun3` is renamed to `LightnCandy\Runtime`. If you compile templates as none standalone PHP code by LightnCandy v0.23 or before, you should compile these templates again. Or, you may run into `Class 'LCRun3' not found` error when you execute these old rendering functions. |
| 37 |
|
| 38 |
Version v0.19 |
| 39 |
------------- |
| 40 |
* Option FLAG_MUSTACHESEC removed, no need to use this flag anymore. |
| 41 |
|
| 42 |
Version v0.13 |
| 43 |
------------- |
| 44 |
* The interface of custom helpers was changed from v0.13 . if you use this feature you may need to modify your custom helper functions. |
| 45 |
|
| 46 |
Version v0.12 |
| 47 |
------------- |
| 48 |
* LightnCandy::getJsonSchema() removed |
| 49 |
* jsonSchema generation feature removed |
| 50 |
* Due to big change of render() debugging, the rendering supporting class `LCRun2` is renamed to `LCRun3`. If you compile templates as none standalone PHP code by LightnCandy v0.11 or before, you should compile these templates again. Or, you may run into `Class 'LCRun2' not found` error when you execute these old rendering functions. |
| 51 |
|
| 52 |
Version v0.10 |
| 53 |
------------ |
| 54 |
* Due to big change of variable name handling, the rendering supporting class `LCRun` is renamed to `LCRun2`. If you compile templates as none standalone PHP code by LightnCandy v0.9 or before, you should compile these templates again. Or, you may run into `Class 'LCRun' not found` error when you execute these old rendering functions. |