Releases: cakephp/twig-view
Releases · cakephp/twig-view
CakePHP TwigView 2.0.3
CakePHP TwigView 1.3.1
What's Changed
- Update actions/cache version by @othercorey in #76
- Add convertDeprecationsToExceptions="true" by @othercorey in #77
- Maintanence by @ADmad in #78
- #80 Fix broken link to external Twig docs pages by @danial-k in #81
- update src folder link by @Arhell in #84
- update root folder links by @Arhell in #85
- 1.x: adjust CI to not ignore-platform-reqs by @LordSimal in #88
- Added missing I18n functions by @fabian-mcfly in #90
- allow manually dispatching ci workflow by @LordSimal in #93
- Bump minimum twig version to v3.11 to fix Possible sandbox bypass security vulnerability by @ishanvyas22 in #100
New Contributors
- @danial-k made their first contribution in #81
- @fabian-mcfly made their first contribution in #90
- @ishanvyas22 made their first contribution in #100
Full Changelog: 1.3.0...1.3.1
CakePHP TwigView 2.0.2
What's Changed
- 2.x: change composer.json to cake5 stable version by @LordSimal in #95
- 2.x: stan update by @LordSimal in #96
- Add shim for date filter by @markstory in #98
New Contributors
- @markstory made their first contribution in #98
Full Changelog: 2.0.1...2.0.2
CakePHP TwigView 2.0.1
- Update to stable releases.
Full Changelog: 2.0.0...2.0.1
TwigView 2.0.0
First version compatible with CakePHP 5.0
What's Changed
- #80 Fix broken link to external Twig docs pages by @danial-k in #81
- Added missing I18n functions by @fabian-mcfly in #90
New Contributors
- @danial-k made their first contribution in #81
- @LordSimal made their first contribution in #83
- @Arhell made their first contribution in #84
- @fabian-mcfly made their first contribution in #90
Full Changelog: 1.3.0...2.0.0
TwigView 1.3.0
Changes
- Support CakePHP 4.3
- Use
FrozenTime
instead of deprecatedTime
TwigView 1.2.0
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
andlow
filters are deprecated in favor of the standardupper
andlower
twig filters.
TwigView 1.1.1
Changes
- Allow PHP 8
TwigView 1.1.0
Changes
- Twig
DebugExtension
only loaded whendebug
configure is true. - Twig filters
format
andnumber_format
are no longer hidden/overridden. Usecake_number_format
instead. defaultCurrency()
function callsNumber::getDefaultCurrency()
instead ofNumber::defaultCurrency()
.
Deprecations
debug
andpr
filters deprecated. Use Twigdump()
function instead.count
filter deprecated. Use Twiglength
filter instead.number_formatter()
function deprecated. Usecake_number_format
filter instead.
TwigView 1.0.2
Fixes
- Templates loaded through internal Twig tags and functions like
extends
orinclude()
are always relative to the rootApp.paths.templates
directories. Previously, they were restricted by the Controller template path.