All Versions
18
Latest Version
Avg Release Cycle
230 days
Latest Release
1971 days ago

Changelog History
Page 2

  • v1.0.0 Changes

    ๐Ÿš€ Released on December 7, 2015

    ๐Ÿ†• New

    • ๐Ÿ‘Œ Support for Swift Package Manager (#17)

    ๐Ÿ’ฅ Breaking Change

    • Swift 2.2 (#17)
  • v0.11.0 Changes

    ๐Ÿš€ Released on October 14, 2015

    ๐Ÿ›  Fixed

    • Compatibility with iOS7 (#13)
    • GRMustache.swift no longer messes with AnyObject subscript operator (#12)

    ๐Ÿ’ฅ Breaking Changes

    • Error has been renamed MustacheError.
    • Error.Type has been renamed MustacheError.Kind
    • ๐Ÿšš Subscript operators on MustacheBox and Context have been removed due to a weird Swift bug. Use the mustacheBoxForKey() function instead.
  • v0.10.0 Changes

    ๐Ÿš€ Released on September 10, 2015

    ๐Ÿ†• New

    • StandardLibrary.Logger is there to help debugging templates.

    ๐Ÿ’ฅ Breaking changes

    • Swift 2.

    • ๐Ÿ‘ Collections no longer expose Objective-C-compatible keys to templates: {{ array.firstObject }}, {{ array.lastObject }}, {{ set.anyObject }} no longer render anything. Focusing on Swift standard library, the only supported keys are now first, count, and last (the latter being undefined for sets).

    • Context.BoxForMustacheExpression has been renamed Context.mustacheBoxForExpression

    • ๐Ÿšš BoxAnyObject() is removed. You must now explicit cast AnyObject to a boxable type that you can box with Box().

    • Box(value:boolValue:keyedSubscript:filter:render:willRender:didRender:) has been replaced by a MustacheBox initializer with the same arguments.

  • v0.9.4 Changes

    ๐Ÿš€ Released on August 19, 2015

    ๐Ÿ›  Fixed

    • A memory leak
    • ๐Ÿš€ Reduced deployment targets to iOS 8.0 and OSX 10.9 (#11)
  • v0.9.3 Changes

    ๐Ÿš€ Released on June 9, 2015

    ๐Ÿ’ฅ Breaking changes

    • ๐Ÿšš There is no longer any automatic conversion between Swift and Objective-C numeric types beyond conversions provided by the Swift language itself. For example, a filter of Int no longer accepts Double inputs. The MustacheBox.intValue, uintValue, doubleValue properties that performed those conversions are removed.

    • ๐Ÿ— High-level APIs that would build filters of non-optional values are removed. It is now the responsability of the library user to handle values that are missing or of the wrong type.

  • v0.9.2 Changes

    ๐Ÿš€ 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.

  • v0.9.1 Changes

    ๐Ÿš€ Released on 19 May, 2015

    ๐Ÿ†• New

  • v0.9.0 Changes

    ๐Ÿš€ Released on 12 May, 2015

    ๐Ÿ†• New