Skip to content

Releases: bobthecow/mustache.php

Mustache.php v2.14.2

23 Aug 13:08
Compare
Choose a tag to compare
  • Throw syntax error for unclosed tags.
  • Remove dev dependency on deprecated YAML library.

Mustache.php v2.14.1 — Security release

21 Jan 07:17
Compare
Choose a tag to compare
  • 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

14 Dec 14:50
Compare
Choose a tag to compare
  • 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

23 Nov 21:42
Compare
Choose a tag to compare
  • 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

11 Jul 12:55
Compare
Choose a tag to compare
  • 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

31 Jul 06:19
Compare
Choose a tag to compare
  • Fix test bootstrap in PHP < 5.5

Mustache.php v2.11.0

31 Jul 06:09
Compare
Choose a tag to compare
  • 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

27 Feb 19:23
Compare
Choose a tag to compare
  • 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

15 Aug 19:24
Compare
Choose a tag to compare
  • 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

01 Apr 06:39
Compare
Choose a tag to compare
  • Tons of CS fixes. Thanks @keradus!
  • Fix for extra indent inside template inheritance sections.