Skip to content

Releases: phug-php/phug

1.8.1

25 Sep 14:57
ee81108
Compare
Choose a tag to compare

Support namespace with debug mode on

1.8.0

16 May 15:11
39195e9
Compare
Choose a tag to compare
  • #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 to false (throw an exception).
  • #69 Changed comments parsing to consider interpolations as raw text

1.7.3

15 May 22:21
f86900b
Compare
Choose a tag to compare
  • Fixed PHP 8 compatibility (fallback deprecated reflection methods)
  • Improved PHPDoc

1.7.2

25 Apr 16:48
79d9507
Compare
Choose a tag to compare
  • Added OutputEvent::prependCode()
  • Added OutputEvent::prependOutput()
  • Added OutputEvent::hasNamespaceStatement()

1.7.1

10 Apr 10:50
e7ad585
Compare
Choose a tag to compare
  • Fixed #64 remove new line after interpolation
  • Fixed #65 consecutive interpolation
  • Fixed #63 support of array variable references in shared variables

1.7.0

06 Apr 13:21
964fc01
Compare
Choose a tag to compare

Fixed #61 Support objects that implement __toBoolean in conditions/loops

1.6.0

03 Feb 23:00
3ffce1f
Compare
Choose a tag to compare
  • Allowed to pass 'this' as local rendering variable
    • The passed value is used as $this context so it needs
      to be an object.

1.5.0

13 Jan 21:56
3408926
Compare
Choose a tag to compare
  • Added Invoker class and InvokerInterface
  • Added AbstractPlugin
  • Added mixin_token and mixin_call_token option

1.4.0

26 Nov 23:22
3376168
Compare
Choose a tag to compare

Allow Optimizer to use the cache registry

1.4.0-beta2

26 Nov 21:49
48b31f0
Compare
Choose a tag to compare
1.4.0-beta2 Pre-release
Pre-release

Allow Optimizer to use the cache registry