Skip to content

0.9.0 Modern Cleanup

Compare
Choose a tag to compare
@theodorejb theodorejb released this 18 Mar 17:53
· 33 commits to master since this release

Initial release after forking from LightnCandy 1.2.6.

Added

  • New compile method which takes a template string and options and returns an executable Closure.

Changed

  • PHP 8.2+ is now required.
  • Replaced compile options array with Options object.
  • Replaced helper options array with HelperOptions object.
  • Renamed old compile method to precompile.
  • Replaced prepare method with much faster template method, and removed dependency on URL include and filesystem write access.

Fixed

Removed

  • Custom autoloader.
  • Used feature tracking.
  • Option to change delimiters.
  • partialresolver option.
  • compilePartial method.
  • prepartial callback option.
  • renderex option to inject compiled code.
  • Option to change runtime class.
  • HTML documentation.
  • Dozens of unnecessary feature flags.