Skip to content

Releases: jdiamond/Nustache

Nustache v1.16.0.1

19 May 19:47
Compare
Choose a tag to compare
  • Bug: Reference types and ToString overrides no longer cause ArgumentExceptions in compilation (thanks to @unarist) #116
  • Bug: Xml List items can now be referenced by index (thanks to @Pxtl) #115
  • Bug: XmlNodes are treated as single objects instead of lists (thanks to @Pxtl) #114
  • Feature: Allow using a different encoder each render (thanks to @aelij) #108

Nustache v1.15.3.5

21 Jul 11:12
Compare
Choose a tag to compare
  • Bug: JValue for Floats and Integers weren't working correctly (thanks to @trullock)

Nustache v1.15.2.10

02 Jul 12:06
Compare
Choose a tag to compare

Bug Fix: JToken values should be properly extracted and interpreted as primitive types #99 (Thanks to @minidfx)

Nustache v1.15.1.3

16 May 09:43
Compare
Choose a tag to compare
  • Bug Fix: Compiled Templates don't allow you to remove Encoding #91
  • Bug Fix: Inverted Sections with Empty DataTables don't render #92

Nustache v1.15.0.4

30 Apr 15:28
Compare
Choose a tag to compare
  • Bug Fix: Json.Net JObjects don't parse correctly as Blocks #89
  • Bug Fix: DataTables with columns named after properties aren't rendered #86
  • Feature: Lambda functions have been overhauled and brought in line with the mustache spec (The version we're currently targeting.)

Lambdas!

Nustache now has properly implemented Lambda functionality. This comes in two flavours, blocks ({{#MyLambda}}{{/MyLambda}}) and variables ({{MyLambda}}).

The outputs of Lambdas are rendered also so you can actually return valid Mustache strings which will be properly rendered!

Variable Lambdas

Variable Lambdas are functions which take no arguments and look like this:

(Lambda<object>)() => "World";

Block Lambdas

Block Lambdas are tags which wrap a section of markup which is passed to the function to manipulate in some way like this:

(Lambda<string, object>)(content) => "<b>" + content </b>;

Nustache v1.14.0.4

15 Apr 19:38
Compare
Choose a tag to compare
  • Bug Fix: Nested fully qualified accessors were not working correctly. Thanks @rafarhat
  • Bug Fix: AmbigiousMatchExceptions will no longer be thrown if there are two properties with the same name. It will match the first instead. Thanks @dhgoldman
  • Bug Fix: Escaping will not be lost when using lamdas. Thanks @joaompneves
  • Bug Fix: Unicode surrogates are properly encoded. Thanks @joaompneves
  • **Feature:**Lambda functions now have context and render function in to match Mustache usage. Thanks @lukasz-lysik
  • Feature: Added support for multi-level includes. Thanks @gordonmleigh
  • Feature: You can now use NameValueCollections. Thanks @rafarhat
  • Feature: You can now pass DataTables and they will be correctly parsed.
  • Project: MVC3 Project will now use the most recent version of nustache.core as a nuget dependency. Thanks @raoulmillais

Nustache v1.13.9.5

30 Mar 06:20
Compare
Choose a tag to compare
  • Bug Fix: Fixed some broken tests with Nustache.Compilation project.
  • Change: Added new notice to top of readme regarding activity.
  • Change: Updated Readme to use Markdown.
  • Change: Set example project not to build on solution build (For CI)
  • Change: Added MVC3 to Nustache.MVC3 project via Nuget (For CI - Development dependency only)