Skip to content

Releases: cakephp/twig-view

TwigView 1.0.1

23 Apr 01:24
e2f557a
Compare
Choose a tag to compare

Fixes

  • Templates now load the same using either Twig or View functions.

    Previously, templates loaded through extends or include() required the file extension and only loaded from the local templates directory. Now, they can load from plugins and anywhere View loads templates.

    Users who wrote custom Twig templates with 1.0.0 that used the full filename will need to remove the .twig extension.

    Loading templates through View functions like element() and cell() should work the same as before.

TwigView 1.0.0

17 Apr 05:14
2d058a8
Compare
Choose a tag to compare

cakephp/twig-view 1.0 is the official plugin for Twig template views in your CakePHP application. This package replaces wyrihaximus/twig-view and provides tighter coupling with CakePHP.

New Features

  • Configuration through ViewBuilder.
  • Overriding Twig initialization through your AppView. No more event-based configuration.
  • fetch(), element() and cell() functions allow you to access View data in a Twig-friendly way. No more |raw after every call.
  • Easy markdown_to_html() support with DefaultMarkdown.

Backwards Compatibility

  • element and cell tags from wyrihaximus/twig-view supported with deprecation warnings.

1.0.0-RC2

14 Apr 02:13
2d058a8
Compare
Choose a tag to compare
1.0.0-RC2 Pre-release
Pre-release

2nd release candidate.

  • Fixed loading .twig files directly with Twig tags and functions like include()

1.0.0-RC1

11 Apr 17:43
4f2a223
Compare
Choose a tag to compare
1.0.0-RC1 Pre-release
Pre-release

First release candidate.

1.0.0-beta2

07 Apr 20:26
528654f
Compare
Choose a tag to compare
1.0.0-beta2 Pre-release
Pre-release

2nd beta.

1.0.0-beta1

29 Mar 09:02
dabd5f2
Compare
Choose a tag to compare
1.0.0-beta1 Pre-release
Pre-release

1st release.