Skip to content

Releases: bertptrs/marty

v6.2.0

11 Sep 15:52
Compare
Choose a tag to compare

This release bumps the supported Smarty version to v4. Smarty's compatibility bump mostly relates to minimum supported PHP version and arbitrary code execution, so it should not affect most users. If backwards compatibility is required, add Smarty v3 as an explicit dependency in your composer.json.

Added

  • Added compatibility with PHP 8.0.
  • Added compatibility with PHP 8.1.
  • Added support for Mako 8.x.
  • Added support for Smarty 4.x

v6.1.0

19 Sep 15:31
Compare
Choose a tag to compare

Added

  • Add support for Mako Framework 7. Support for Mako 6.x is unchanged.

Fixed

  • Fixed an issue in PHP 7.4 relating to ReflectionType string conversion.

v6.0

09 Apr 11:42
Compare
Choose a tag to compare
  • Require Mako 6.0 or compatible
  • Require PHP 7.2
  • TemplateCompilationTest now supports PHPUnit 6 or higher.
    • Note that this still needs PHP 7.2.

No API's have changed, outside of framework related options. The major version bump is simply because upgrading Mako is a backwards incompatible change.

v5.2.2

22 Aug 11:15
Compare
Choose a tag to compare

Changes:

  • Move testing namespace to autoload-dev to hide them in production
  • Add unit testing for PHP 7.2

v5.2.0

05 Apr 18:45
Compare
Choose a tag to compare
  • Generate a more sensible exception when the parameter cannot be resolved

v1.0.0

20 Aug 08:31
Compare
Choose a tag to compare

First serious release!

This release brings support for plugin dirs and scraps caching and the static interface.

v0.3.1

15 Dec 16:06
Compare
Choose a tag to compare

Hotfix: error in plugin registration.

v0.3.0

15 Dec 15:51
Compare
Choose a tag to compare

New feature:

  • Register smarty plugins! The syntax is the same as for regular smarty, except that the registerPlugin() function is now called on the MartyConfig statically rather that directly on the smarty object.

v0.2

25 Nov 10:38
Compare
Choose a tag to compare

Version 0.2 of Marty

Introducing:

  • Configuration using the MartyConfig class
  • Caching using the smarty cache.

TODO:

  • Race condition prevention (caching)
  • Smarty config files.
  • Better documentation

v0.1

18 Nov 20:01
Compare
Choose a tag to compare

Version 0.1 of Marty.

Features:

  • Rendering Smarty templates in the Mako Framework.
  • Sensible default configuration for production environments.
  • Template compilation caching.

Todo:

  • Smarty-based template caching.
  • Smarty config files.