Releases: phug-php/phug
Releases · phug-php/phug
1.8.1
Support namespace with debug mode on
1.8.0
- #70 Added multiline_interpolation option (true by default)
- #70 Disallowed multi-line tag interpolations
#[\n]
(throw an exception). - #70 Disallowed multi-line expression interpolations
#{\n}
if'multiline_interpolation'
option is set tofalse
(throw an exception). - #69 Changed comments parsing to consider interpolations as raw text
1.7.3
- Fixed PHP 8 compatibility (fallback deprecated reflection methods)
- Improved PHPDoc
1.7.2
- Added OutputEvent::prependCode()
- Added OutputEvent::prependOutput()
- Added OutputEvent::hasNamespaceStatement()
1.7.1
1.7.0
1.6.0
- Allowed to pass 'this' as local rendering variable
- The passed value is used as $this context so it needs
to be an object.
- The passed value is used as $this context so it needs
1.5.0
- Added Invoker class and InvokerInterface
- Added AbstractPlugin
- Added mixin_token and mixin_call_token option
1.4.0
Allow Optimizer to use the cache registry
1.4.0-beta2
Allow Optimizer to use the cache registry