Skip to content

Tags: emeraldjava/mustache.php

Tags

v2.4.1

Toggle v2.4.1's commit message
Mustache.php v2.4.1

 * Fix autoloader for paths starting with `./` (thanks @mirkolofio!)
 * Allow stream URIs in Filesystem Loader (thanks @mlebrun!)
 * Fix bonus indents in lambda sections inside indented partials

v2.4.0

Toggle v2.4.0's commit message
 * Improve tokenizer and parser performance and memory usage. Wheee!

 * Allow passing entity flags for htmlspecialchars() (thanks @pinterface)
 * Fix filesystem loader to work with stream wrappers (thanks @mlebrun)

v2.3.1

Toggle v2.3.1's commit message
 * Fix tokenizing when using `mbstring.func_overload`

 * Fix default value for Mustache_Engine::render context passthrough (thanks @jimbojsb!)

v2.3.0

Toggle v2.3.0's commit message
 * Add a `bin/build_bootstrap.php` script for creating a single-file …

…Mustache library include.

 * Improve catchability of Mustache exceptions (more granular types + all exceptions now implement Mustache_Exception interface).
 * Add a Inline and Cascading template loaders, which are pure awesome.
 * Simplify compiled PHP code for templates without section tags.
 * Fix compiled templates' PSR-2 compliance.
 * Speed up value resolution by 33% for primitives, 25% for methods and properties, and 10% for lambdas.
 * Fix default/overloading of partials in Engine constructor (thanks @mattdeclaire!)

v2.2.0

Toggle v2.2.0's commit message
Add a 'strict_callables' option to Mustache_Engine

v2.1.0

Toggle v2.1.0's commit message
 * Pass a section helper to lambdas (allows rendering the section fro…

…m inside a callback).

 * Don't ask closures about their methods or properties.
 * Allow extending FilesystemLoader (protected instead of private methods).
 * Allow "empty" filesystem loader file extension.
 * Add a "cache_file_mode" option to set cache file permissions.
 * Add filters.
 * Implement PSR-3-compatible logging.

v2.0.2

Toggle v2.0.2's commit message
We do it again, this time with the actual commit.

v2.0.1

Toggle v2.0.1's commit message
Change a mistakenly private method to protected.

v2.0.0

Toggle v2.0.0's commit message
Mustache.php v2.0.0

 * Basically, rewrite Mustache.php from the ground up.
 * Use a recursive descent parser for speed, flexibility, and precision.
 * Compile mustache templates into native PHP classes for the win.
 * Play nice with opcode caches.
 * Massive speed improvements.
 * Add template and partial autoloading.
 * Add "helpers" (template engine globals and helper functions).
 * Switch to PSR-1/PSR-2 coding standard.
 * Add Travis CI integration.
 * Fully compliant with Mustache spec v1.1.2.

v2.0.0-rc.1

Toggle v2.0.0-rc.1's commit message
Version 2.0.0-rc.1