v2.7.2
Notable Changes
Filters
Dust filter functions previously took one argument, the string to filter. They now accept a second argument, which is the current context
.
Helpers
Dust helpers can now return primitives.
Helpers act like references or sections depending on if they have a body. When they have no body, they act like a reference and look in params.filters
for filters to use. When they have a body, they act like a section. You can return thenables and streams normally.
{@return value="" filters="|s" /}
{@return value=""}{.} World{/return}