0.9.0 Modern Cleanup
Initial release after forking from LightnCandy 1.2.6.
Added
- New
compilemethod which takes a template string and options and returns an executableClosure.
Changed
- PHP 8.2+ is now required.
- Replaced compile options array with
Optionsobject. - Replaced helper options array with
HelperOptionsobject. - Renamed old
compilemethod toprecompile. - Replaced
preparemethod with much fastertemplatemethod, and removed dependency on URL include and filesystem write access.
Fixed
- Rendering data in
{{else}}of{{#each}}(from zordius/lightncandy#369). - Parsing strings with escaped quotes and parentheses (based on zordius/lightncandy#358).
- Argument count for built-in helpers is now validated.
Removed
- Custom autoloader.
- Used feature tracking.
- Option to change delimiters.
partialresolveroption.compilePartialmethod.prepartialcallback option.renderexoption to inject compiled code.- Option to change runtime class.
- HTML documentation.
- Dozens of unnecessary feature flags.