Releases: bobthecow/mustache.php
Releases · bobthecow/mustache.php
Mustache.php v2.14.2
Mustache.php v2.14.1 — Security release
- Fix CVE-2022-0323, possible RCE when rendering untrusted user templates, reported by @altm4n via huntr.dev
- Improve compatibility with PHP 8.1
Mustache.php v2.14.0
- Improve compatibility with PHP 8.1 (thanks @schlessera!)
- Update spec to v1.2.2
- Various README and CONTRIBUTORS updates (thanks @samizdam and @Kirill89!)
- Add .gitattributes for better release packaging (thanks @fezfez!)
Mustache.php v2.13.0
- Fix notices on PHP 7.4 (Thanks @tomjn, @stronk7, and @JoyceBabu!)
- Fix a parse error in the delimiter change tag (e.g.
{{=<% %>=}}
) and throw a syntax error when it's invalid. - Improve Tokenizer::scan performance by 98.2%.
- Test against all the PHPs in CI.
Mustache.php v2.12.0
- Prevent redundant Autoloader registration (Thanks @hcpss-banderson!)
- Add a ProductionFilesystemLoader, which doesn't read template file contents before every render.
- Improve test coverage.
- Fix a bug when rendering the same block names multiple times in one template.
- Add a
delimiters
option for overriding default delimiters at the engine level. - Add validation to prevent empty
template_class_prefix
config.
Mustache.php v2.11.1
- Fix test bootstrap in PHP < 5.5
Mustache.php v2.11.0
- Add support for exception chaining (Thanks @thewilkybarkid!)
- Support parent tags and block args as direct children of blocks and sections.
- Add support for non-local templates via FilesystemLoader (Thanks @oschettler!)
Mustache.php v2.10.0
- Respect delimiter changes inside lambda sections. See janl/mustache.js#489
- Fix incorrect padding added to lambda values inside partials. See #286
- Make LambdaHelper invokable. See #285
Mustache.php v2.9.0
- Lazily evaluate template BLOCKS pragma sections. See #264 and #265. Thanks @damyon!
- Add ANCHORED-DOT pragma to enable "anchored dot notation". See #129 and mustache/spec#52
- A bit of CS cleanup, and remove the unused create_example script.
Mustache.php v2.8.0
- Tons of CS fixes. Thanks @keradus!
- Fix for extra indent inside template inheritance sections.