0.1.0-beta
Pre-release
Pre-release
Core
- Added support for multi-instance parsers by accepting a parser factory in
RegisterParser
-RegisterParser(string templateType, Func<ITemplateParser> parserFactory)
WriteLiteral
now only writes strings- Sigil was removed for mono-compat. It will return if mono support is added
- New ExpressionScope added for referencing parent scope block
- Support an optional "empty" block on iteration nodes that will be rendered when there are no items
- Big perf boost for latebound/dynamic models
- Perf boost when iterating arrays
- Big refactor of the .Parser namespace to make a cleaner public interface
SuperSimple
- Support parsing
@IfNull
and@IfNotNull
expressions
Handlebars
- Added a nancy viewengine wrapper for the handlebars parser
- Disable HTML escaping with
{{{ }}}
expression - Support for flushing the response via
{{#flush}}
- Support for partials via
{{> name}}
syntax - Support for master pages with
{{< master}}
syntax and{{body}}
to mark content insertion - Support for comments via
{{! my comment}}
syntax - Support for late bound expressions (non-typed models)
- Support for referencing parent scopes via
../
- Support whitespace control with
~
in expressions - Support for scoped blocks with the
{{#with model}}
syntax - Support for negated conditionals with
{{#unless}}
block - Support the
{{else}}
syntax for{{#each}}
blocks to render when no items