Skip to content

Releases: csainty/Veil

1.0.0-alpha

16 Apr 11:38
Compare
Choose a tag to compare
1.0.0-alpha Pre-release
Pre-release

First release targeting netstandard1.6 for cross-platform use.

v0.3.1

24 Mar 12:59
Compare
Choose a tag to compare

Core

  • Tiny perf tweak to remove an allocation or two
  • Correctly Dispose() TextReaders

Veil.Mvc5

v0.3.0

11 Jan 10:13
Compare
Choose a tag to compare

Core

  • Refactored code-generation to use LINQ expressions. This should make the code easier for other people to extend since Sigil did not work out xplat.

Veil.Handlebars

  • Added .hbs as a default extension
  • Removed .haml as a default extension

v0.2.0

05 Jul 12:56
Compare
Choose a tag to compare

Core

  • Fixed a bunch of late-binding bugs when dealing with value types
  • Added optional support for late-binding with case-insensitive matches. Up to each parser to decide whether this is supported or not.

Veil.Handlebars

  • Added support for case-insensitive expressions. e.g. {{ name }} mapping to the Name property.
  • Fixed scope bug for late bound expressions

v0.1.3

04 Jul 18:52
Compare
Choose a tag to compare

Core

  • Fixed bugs with the CollectionHasItems expression which was not type checking very well. Used by SuperSimple's Has* expression.

Veil.SuperSimple

  • Refactored the parser to be easier to continue devloping
  • Improved error messages

Nancy.ViewEngines.Veil

  • Explicitly render in UTF-8 encoding and specify this in the response header

v0.1.2

29 Jun 19:35
Compare
Choose a tag to compare

Veil.Core

  • Fixed a bug when converting non-numeric value types to strings for writing to the output

Nancy.ViewEngines.Veil

  • Improved error message display

v0.1.1

28 Jun 12:14
Compare
Choose a tag to compare

Nancy.ViewEngines.Veil

  • Improved error display when template compilation fails
  • Improved partial / master page lookup to more correctly use Nancy's view locator

v0.1.0

28 Jun 10:15
Compare
Choose a tag to compare

Veil.Core

  • Improved performance of the HtmlEncoder
  • Support for arbitrary scope changes when executing nodes
  • Auto-wire parser at runtime removing the need for explicit registration

Veil.Handlebars

  • Refactored the parser to make it a little easier to understand the code
  • Improved error reporting for invalid templates
  • Use the new scope changing nodes for {{#with}} blocks to simply parser

Nancy.ViewEngines.Veil

  • Created a single Veil viewengine for Nancy which will use all registered parsers

0.1.0-beta

20 Jun 12:11
Compare
Choose a tag to compare
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

0.1.0-alpha

10 May 08:54
Compare
Choose a tag to compare
0.1.0-alpha Pre-release
Pre-release

An early release of Veil for gathering feedback.