Skip to content

Releases: cakephp/twig-view

CakePHP TwigView 2.0.3

11 Oct 07:53
b11df8e
Compare
Choose a tag to compare

What's Changed

  • Bump up twig to address possible sandbox bypass. by @ADmad in #102
  • Update tests to account for changes in CakePHP 5.1 by @ADmad in #103

Full Changelog: 2.0.2...2.0.3

CakePHP TwigView 1.3.1

11 Oct 06:33
e4a18e9
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.3.0...1.3.1

CakePHP TwigView 2.0.2

02 Jul 20:43
2bda8f7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.1...2.0.2

CakePHP TwigView 2.0.1

10 Sep 03:35
Compare
Choose a tag to compare
  • Update to stable releases.

Full Changelog: 2.0.0...2.0.1

TwigView 2.0.0

10 Sep 03:21
abf3c5c
Compare
Choose a tag to compare

First version compatible with CakePHP 5.0

What's Changed

New Contributors

Full Changelog: 1.3.0...2.0.0

TwigView 1.3.0

20 Sep 10:51
14df503
Compare
Choose a tag to compare

Changes

  • Support CakePHP 4.3
  • Use FrozenTime instead of deprecated Time

TwigView 1.2.0

15 Dec 05:48
668dd6a
Compare
Choose a tag to compare

Changes

  • Added layout tag for setting the layout from view template.

    This is the replacement for $this->layout = 'Name' when porting from CakePHP View templates.

    {% layout 'Name' %}
    

Deprecations

  • up and low filters are deprecated in favor of the standard upper and lower twig filters.

TwigView 1.1.1

24 Oct 06:14
0fdd577
Compare
Choose a tag to compare

Changes

  • Allow PHP 8

TwigView 1.1.0

16 Jul 07:07
f498721
Compare
Choose a tag to compare

Changes

  • Twig DebugExtension only loaded when debug configure is true.
  • Twig filters format and number_format are no longer hidden/overridden. Use cake_number_format instead.
  • defaultCurrency() function calls Number::getDefaultCurrency() instead of Number::defaultCurrency().

Deprecations

  • debug and pr filters deprecated. Use Twig dump() function instead.
  • count filter deprecated. Use Twig length filter instead.
  • number_formatter() function deprecated. Use cake_number_format filter instead.

TwigView 1.0.2

01 May 03:08
c5d6f03
Compare
Choose a tag to compare

Fixes

  • Templates loaded through internal Twig tags and functions like extends or include() are always relative to the root App.paths.templates directories. Previously, they were restricted by the Controller template path.