Skip to content

Releasing Token Expanders

Compare
Choose a tag to compare
@vladsandu vladsandu released this 16 May 13:59
· 13 commits to master since this release

Breaking Changes

  • InferredTemplateModel.ToString() override has been removed. Previously, you could have used it to get the string JSON representation of the inferred model. This was done in order to remove our dependency on serializing it with Newtonsoft.Json. You can now get the un-serialized JSON object using the new method: model.GetModelRepresentation().
  • [Deprecated]: Parse methods taking as argument a bool disableContentEscaping have been marked as obsolete, in favor of new methods using a ParsingOptions object.

New Features

This release adds the ability to extend the functionality of Mustachio with new tag types via TokenExpanders, allowing users to add support for partials and custom functionality such as date formatters, localization, etc.

Improvements

  • The library has been migrated to use .NetStandard2.0.

Other Changes

  • AppVeyor was replaced with Travis CI.