Notable Changes
{@select}
New behavior:
key
is no longer required. If it is not provided,key
must be present on individual truth tests inside the select block.type
can be attached to the select to apply it to all truth tests inside (and a truth test can override the type)- If a provided key is
undefined
and atype
is provided, the undefined value will be cast totype
.
{@default}
{@default}
has been removed after being deprecated in 1.6.
You can replace {@default}
with {@none}
in your templates without any change in functionality (but you can have more than one {@none}
block, and only one {@default}
was allowed.)
{@size}
{@size}
will evaluate Dust template strings and provide the size of the result.
Your name has {@size key="{name}" /} letters.
{@math}
{@any}
and {@none}
now work inside {@math}
blocks.