Skip to content

v0.8.0

Latest
Compare
Choose a tag to compare
@whoward whoward released this 12 Mar 02:44
· 89 commits to master since this release

Features

  • implemented Cadenza::ContextObject which allows both metaprogramming of bound variables and increased security
  • filters may now be applied to any variable, number or string in the template
  • added some error exit codes to the CLI
  • implement the magic variable "super" in block nodes which replaces itself with the content of the parent block
  • new filters: reverse, limit, offset, pluck, map, collect and sort
  • implement Cadenza::SourceRenderer to return a Cadenza AST back it's source form
  • functional variables now have higher precedence than everything else when looking up an identifier's value
  • allow implementing aliases for filters, blocks and functional variables

Bug Fixes

  • a0 and similar will not be allowed as an array index
  • remove trailing \n from wordwrap filter