All Versions
10
Latest Version
Avg Release Cycle
79 days
Latest Release
1635 days ago

Changelog History

  • v0.6.7 Changes

    May 04, 2017

    โž• Added

    Nothing

    ๐Ÿ”„ Changed

    • ๐Ÿ‘€ The rendered output is not trimmed anymore. See #44. Thanks to @barryo

    ๐Ÿ›  Fixed

    Nothing

  • v0.6.6 Changes

    May 26, 2016

    โž• Added

    • $this->clear() method, to empty a layout section entirely

    ๐Ÿ”„ Changed

    Nothing

    ๐Ÿ›  Fixed

    Nothing

  • v0.6.5 Changes

    March 08, 2016

    โž• Added

    Nothing

    ๐Ÿ”„ Changed

    Nothing

    ๐Ÿ›  Fixed

    • ๐Ÿ‘€ Issue with nested blocks having callbacks that receives arguments - See #32
    • ๐Ÿ‘€ Issue when same section in replace mode is present more than once in same template - See #34
  • v0.6.4 Changes

    February 22, 2016

    โž• Added

    Nothing

    ๐Ÿ”„ Changed

    • Template object has dependency to section factory and not to sections. No API change.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘€ supply() issue when same engine instance is used more than once (see #31)
    • ๐Ÿ‘€ SectionInterface::MODE_REPLACE causes template inheritance to fail (see #30)
  • v0.6.3 Changes

    November 01, 2015

    ๐Ÿ›  Fixed bug when rendering template files containing sections more then once using same engine instance.

  • v0.6.2 Changes

    July 06, 2015

    ๐Ÿ›  Fixed Git issue with tests folder names.

  • v0.6.1 Changes

    July 04, 2015
    • ๐Ÿ›  Fixed a couple of minor issue
    • ๐ŸŒฒ Implemented code coverage logging and codecov.io
    • โž• Added more unit tests
    • โž• Added badges on readme
  • v0.6.0 Changes

    July 03, 2015

    ๐Ÿ†• New Features, Issues Solved

    • Introduced Blocks and Custom Blocks feature
    • Introduced "alias" feature that shorten syntax to access variables and functions inside templates
    • Introduced Section Rendering feature
    • Better control on registered folders , see docs.
    • Engine::render(), Engine::find() and Finder::find() now also accepts an array of template names to be searched in registered folders. The first found is returned.
    • Introduced Foil\Foil class
    • Fixed issue on arraization of objects
    • ๐Ÿ’… Clean up & code style improvements

    Backward Compatibility Breaks

    • ๐Ÿšš Foil\API class has been removed
    • ๐Ÿšš Foil\Contracts\APIAwareInterface has been removed
    • ๐Ÿšš Foil\Traits\APIAwareTrait has been removed
    • ๐Ÿšš Foil\Bootstrapper class has been removed
    • ๐Ÿ‘€ Most of the API functions have been removed. See docs.
    • Foil\engine() functions now always returns a "fresh" instance of Foil\Engine class, whereas in older versions always returned same instance when called more times.
  • v0.5.1 Changes

    May 25, 2015

    CS and typo fix. Minor clean up.

  • v0.5.0 Changes

    May 25, 2015

    Easing the process of using custom template classes.

    • private methods in Template class have been changed to protected
    • introduced 'template_class' engine option
    • โž• add a third argument, $class, for the Engine::renderTemplate() method