Skip to content

Tags: matthewgithub/mustache.php

Tags

v2.6.0

Toggle v2.6.0's commit message
Lots of little changes, plus two bigger ones:

 * Fix disabling lambda template cache option: it didn't before, now it does.
 * Improve tokenizer performance: 25-60% performance boost!

v2.5.1

Toggle v2.5.1's commit message
Fix a tokenization error with sections containing only the number zero.

Yay PHP!

v2.5.0

Toggle v2.5.0's commit message
 * Add section filter support

 * Add more flexible cache options
 * A nested partials whitespace bugfix
 * Add ArrayAccess context lookup support
 * Some lambda section optimizations and smarter cache defaults

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.