Announcements:
- The vote to raise minimum PHP requirement to 5.4.0 has passed! (3 👍 vs 0 👎 )
- The vote to remove deprecated classmap.php file has passed! (2 👍 vs 0 👎 )
Breaking Changes:
- Parser: remove deprecated show() and to() methods
- Parser, Compiler: convert stdClass to Block, Node, and OutputBlock abstractions
- Compiler: 2nd argument passed to user registered functions now receive kwargs instead of a Compiler instance
Enhancements:
- New control directives:
@break
,@continue
, and naked@return
- New operator:
<=>
(spaceship) operator
Compatibility Fixes:
- Compiler:
index()
- coerce first argument to list - Compiler/Parser: fix
@media
nested in mixin - Compiler: output literal string instead of division-by-zero exception
- Compiler:
str-slice()
- handle negative index - Compiler: pass kwargs to built-ins and user registered functions