All releases of Blitz templates for PHP


Release Notes: A critical parsing error was fixed: occasionally tags with useless spaces inside could be skipped. Error handling was also improved: the method getError() was added, the method load() was fixed to return false on errors, and exceptions are thrown optionally when blitz.throw_exceptions is set to 1 (0 by default).


Release Notes: This is the first release with HTML output escaping. Auto-escaping is enabled with a new blitz.auto_escape constant (off by default). Basic filters support was added through {{ $var | filter }} syntax. Only "raw" and "escape" filters are supported, and only for variables. The blitz.charset constant was removed; the engine should use default PHP settings. Please note that the internal HTML extension was improved in 5.4.0 and some escaping features don't work in prior versions, such as disallowed Unicode characters.


Release Notes: This release improves performance and fixes PHP-5.4.* compilation issues.


Release Notes: Various fixes in expressions with globals, undefined variables, and constants. New settings related to callbacks security and priorities: "blitz.enable_callbacks", "blitz.enable_php_callbacks", and "blitz.php_callbacks_first". The old setting "blitz.disable_include" (0 by default) was replaced by new "blitz.enable_include" (1 by default).


Release Notes: Various fixes for expressions support in IF/ELSEIF/ELSE/UNLESS statements were made.


Release Notes: This release adds simple expressions support for IF/ELSEIF/UNLESS statements.


Release Notes: A segfault for tricky nested includes was fixed. Lowercasing for methods can be suppressed by a new variable: blitz.lower_case_method_names. A syntax error for empty arguments in conditions has been fixed. New docs were added into the package.


Release Notes: This version has completely new parser, analyzer, and executor and a lot of changes improving plug-ins, conditions support, error messages, and compilation issues.


Release Notes: The functions hasContext() and fetch() correctly find contexts masked by IF/UNLESS blocks. A possible double free crash for includes was fixed.


Release Notes: A new ini variable "blitz.check_recursion" was added. Use this setting to disable internal recursion check for recursive includes (for example, when building a hierarchical comment tree using a template that includes itself). A segfault in nested includes with user-defined functions was fixed (in some cases, there could be a double free of method result at shutdown stage).