Skip to content

Latest commit

 

History

History
76 lines (59 loc) · 2.57 KB

CHANGELOG.md

File metadata and controls

76 lines (59 loc) · 2.57 KB

1.0.0 / 20 Dec 2014

  • Inline tag compilation, by @mjackson.
  • Fixed AMD registration, volo package.json entry, by @jrburke.
  • Added spm support, by @afc163.
  • Only access properties of objects on Context.lookup, by @cmbuckley.

0.8.2 / 17 Mar 2014

  • Supporting Bower through a bower.json file.

0.8.1 / 3 Jan 2014

  • Fix usage of partial templates.

0.8.0 / 2 Dec 2013

  • Remove compile* writer functions, use mustache.parse instead. Smaller API.
  • Throw an error when rendering a template that contains higher-order sections and the original template is not provided.
  • Remove low-level Context.make function.
  • Better code readability and inline documentation.
  • Stop caching templates by name.

0.7.3 / 5 Nov 2013

  • Don't require the original template to be passed to the rendering function when using compiled templates. This is still required when using higher-order functions in order to be able to extract the portion of the template that was contained by that section. Fixes #262.
  • Performance improvements.

0.7.2 / 27 Dec 2012

  • Fixed a rendering bug (#274) when using nested higher-order sections.
  • Better error reporting on failed parse.
  • Converted tests to use mocha instead of vows.

0.7.1 / 6 Dec 2012

  • Handle empty templates gracefully. Fixes #265, #267, and #270.
  • Cache partials by template, not by name. Fixes #257.
  • Added Mustache.compileTokens to compile the output of Mustache.parse. Fixes #258.

0.7.0 / 10 Sep 2012

  • Rename Renderer => Writer.
  • Allow partials to be loaded dynamically using a callback (thanks @TiddoLangerak for the suggestion).
  • Fixed a bug with higher-order sections that prevented them from being passed the raw text of the section from the original template.
  • More concise token format. Tokens also include start/end indices in the original template.
  • High-level API is consistent with the Writer API.
  • Allow partials to be passed to the pre-compiled function (thanks @fallenice).
  • Don't use eval (thanks @cweider).

0.6.0 / 31 Aug 2012

  • Use JavaScript's definition of falsy when determining whether to render an inverted section or not. Issue #186.
  • Use Mustache.escape to escape values inside {{}}. This function may be reassigned to alter the default escaping behavior. Issue #244.
  • Fixed a bug that clashed with QUnit (thanks @kannix).
  • Added volo support (thanks @guybedford).