Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Latest commit

 

History

History
44 lines (30 loc) · 1.82 KB

CHANGELOG.md

File metadata and controls

44 lines (30 loc) · 1.82 KB

Kirby Twig Plugin: Change log

v3.0.2

  • #29 Fix loading some templates on Windows

v3.0.1

  • #25 Can't register namespaces, functions & filters in plugins
  • #26 Somehow allow adding safe functions

v3.0.0

Breaking changes:

  • Removed the twig boolean option. The plugin is now active if it’s installed (classical installation). For Composer installs, there is a separate registering step.
  • Removed the twig.env.classes option and new() Twig function.
  • Twig’s template cache is now disabled by default (enable with c::set('twig.cache', true);).
  • Error reporting: the twig.error config key is now ignored. Instead, the site’s main error page (whose URI is error by default) will be used in some specific situations. See doc/errors.md for details.
  • Namespace and class names (and sometimes methods) have changed (again); there is now a Kirby\Twig\Plugin class which will act as a stable API, while other implementation details may change.

Deprecated (still working):

  • twig.env.functions in favor of twig.function.myFunction;
  • twig.env.filters in favor of twig.filter.myFilter;
  • twig.env.namespace.xyz in favor of twig.namespace.xyz.

v2.x

See on GitHub:

v1.x