Skip to content

v0.4.0

Compare
Choose a tag to compare
@robocoder robocoder released this 09 Nov 15:14
· 437 commits to master since this release

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