Permalink
Browse files

v5.0.1

  • Loading branch information...
groue committed Sep 15, 2012
1 parent fecf39d commit b4dfe0d72d26e5cb92d71dfc4ff5301308b0f95f
View
@@ -3,7 +3,7 @@ GRMustache
GRMustache is a production-ready implementation of [Mustache](http://mustache.github.com/) templates for MacOS Cocoa and iOS.
-**September 12th, 2012: GRMustache 5.0.0 is out.** [Release notes](GRMustache/blob/master/RELEASE_NOTES.md)
+**September 15th, 2012: GRMustache 5.0.1 is out.** [Release notes](GRMustache/blob/master/RELEASE_NOTES.md)
**iPhone5 development**: use the [iPhone5 branch](https://github.com/groue/GRMustache/tree/iPhone5). It includes the armv7s slice.
View
@@ -4,6 +4,14 @@ GRMustache Release Notes
You can compare the performances of GRMustache versions at https://github.com/groue/GRMustacheBenchmark.
+## v5.0.1
+
+Bug fixes:
+
+- [Section delegates](Guides/delegate.md) used not to be given the rendered template as expected.
+- [Helpers](Guides/helpers.md) used not to be able to render partial templates when rendering alternate template strings.
+
+
## v5.0.0
**[Performance improvements](https://github.com/groue/GRMustacheBenchmark), and fix for flaws in the GRMustacheDelegate API.**
@@ -42,6 +42,18 @@
id _token;
}
+/**
+ * Returns a string that describes the invocation.
+ *
+ * It contains the original Mustache tag, the line number, and the path, URL, or
+ * name of the template, if any.
+ *
+ * @return a string that describes the invocation.
+ *
+ * @since v1.12
+ */
+- (NSString *)description;
+
/**
* The return value of the invocation.
*
@@ -129,8 +129,6 @@
*/
+ (id)templateFromContentsOfFile:(NSString *)path error:(NSError **)outError AVAILABLE_GRMUSTACHE_VERSION_5_0_AND_LATER;
-#if !TARGET_OS_IPHONE || __IPHONE_OS_VERSION_MAX_ALLOWED >= 40000
-
/**
* Parses a template file, and returns a compiled template.
*
@@ -150,8 +148,6 @@
*/
+ (id)templateFromContentsOfURL:(NSURL *)url error:(NSError **)outError AVAILABLE_GRMUSTACHE_VERSION_5_0_AND_LATER;
-#endif /* if !TARGET_OS_IPHONE || __IPHONE_OS_VERSION_MAX_ALLOWED >= 40000 */
-
/**
* Renders an object from a file template.
*
@@ -193,9 +189,6 @@
*/
+ (NSString *)renderObject:(id)object withFilters:(id)filters fromContentsOfFile:(NSString *)path error:(NSError **)outError AVAILABLE_GRMUSTACHE_VERSION_5_0_AND_LATER;
-
-#if !TARGET_OS_IPHONE || __IPHONE_OS_VERSION_MAX_ALLOWED >= 40000
-
/**
* Renders an object from a file template.
*
@@ -237,8 +230,6 @@
*/
+ (NSString *)renderObject:(id)object withFilters:(id)filters fromContentsOfURL:(NSURL *)url error:(NSError **)outError AVAILABLE_GRMUSTACHE_VERSION_5_0_AND_LATER;
-#endif /* if !TARGET_OS_IPHONE || __IPHONE_OS_VERSION_MAX_ALLOWED >= 40000 */
-
////////////////////////////////////////////////////////////////////////////////
/// @name Parsing and Rendering NSBundle Resources
@@ -143,7 +143,6 @@
id _currentlyParsedTemplateID;
}
-#if !TARGET_OS_IPHONE || __IPHONE_OS_VERSION_MAX_ALLOWED >= 40000
////////////////////////////////////////////////////////////////////////////////
/// @name Building Repositories for Templates stored in the file system
@@ -270,7 +269,6 @@
* @since v1.13
*/
+ (id)templateRepositoryWithBaseURL:(NSURL *)URL templateExtension:(NSString *)ext encoding:(NSStringEncoding)encoding AVAILABLE_GRMUSTACHE_VERSION_5_0_AND_LATER;
-#endif /* if !TARGET_OS_IPHONE || __IPHONE_OS_VERSION_MAX_ALLOWED >= 40000 */
/**
* Returns a GRMustacheTemplateRepository that loads Mustache template strings
@@ -40,5 +40,5 @@
*
* @since v1.0
*/
-#define GRMUSTACHE_PATCH_VERSION 0
+#define GRMUSTACHE_PATCH_VERSION 1
View
Binary file not shown.
View
Binary file not shown.
@@ -40,5 +40,5 @@
*
* @since v1.0
*/
-#define GRMUSTACHE_PATCH_VERSION 0
+#define GRMUSTACHE_PATCH_VERSION 1

0 comments on commit b4dfe0d

Please sign in to comment.