GRMustache v0.9.2 Release Notes

  • 🚀 Released on June 7, 2015

    🛠 Fixed

    🆕 New

    • 🔧 TagDelimiterPair is a pair of tag delimiters such as ("{{","}}"). It is the type of the properties Configuration.tagDelimiterPair and Tag.tagDelimiterPair.

    • The Template.contentType property exposes the content type (Text or HTML) of a template.

    • 👍 The Swift Set type now has explicit support through func Box<T: MustacheBoxable>(set: Set<T>?) -> MustacheBox.

    💥 Breaking changes

    • 📜 Template(string:error:) used to load {{>partial}} tags from resources in the main bundle. It is no longer the case, and it returns a GRMustacheErrorDomain error of code GRMustacheErrorCodeTemplateNotFound if such partial tag is found. To parse a template string that contain partial tags that should be loaded from the main bundle resources, store this string as a resource and load Template(named:...), or use an explicit TemplateRepository(bundle: NSBundle.mainBundle()).

    • 🔧 Configuration.tagStartDelimiter and Configuration.tagEndDelimiter have been replaced by Configuration.tagDelimiterPair.

    • Tag.renderInnerContent has been renamed Tag.render.

    • Mustache-specific errors are now of type Mustache.Error.