GRMustache v0.10.0 Release Notes
-
🚀 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 nowfirst
,count
, andlast
(the latter being undefined for sets).Context.BoxForMustacheExpression
has been renamedContext.mustacheBoxForExpression
🚚
BoxAnyObject()
is removed. You must now explicit castAnyObject
to a boxable type that you can box withBox()
.Box(value:boolValue:keyedSubscript:filter:render:willRender:didRender:)
has been replaced by a MustacheBox initializer with the same arguments.