Browse files

v1.6.0

  • Loading branch information...
1 parent f96a1a8 commit 6b1dbf756b6f5506acd874abd58474f383f8beb2 @groue committed Mar 17, 2011
Showing with 27 additions and 9 deletions.
  1. +2 −2 Classes/GRMustacheVersion.h
  2. +6 −6 README.md
  3. +19 −1 RELEASE_NOTES.md
View
4 Classes/GRMustacheVersion.h
@@ -35,14 +35,14 @@
@since v1.0.0
*/
-#define GRMUSTACHE_MINOR_VERSION 5
+#define GRMUSTACHE_MINOR_VERSION 6
/**
The patch-level component of GRMustache version
@since v1.0.0
*/
-#define GRMUSTACHE_PATCH_VERSION 2
+#define GRMUSTACHE_PATCH_VERSION 0
/**
View
12 README.md
@@ -560,16 +560,16 @@ You may instanciate one with the following GRMustacheTemplateLoader class method
encoding:(NSStringEncoding)encoding;
// Loads templates and partials from a directory, with "mustache" extension, encoded in UTF8
- + (id)templateLoaderWithBasePath:(NSString *)path;
+ + (id)templateLoaderWithDirectory:(NSString *)path;
// Loads templates and partials from a directory, with provided extension, encoded in UTF8
- + (id)templateLoaderWithBasePath:(NSString *)path
- extension:(NSString *)ext;
+ + (id)templateLoaderWithDirectory:(NSString *)path
+ extension:(NSString *)ext;
// Loads templates and partials from a directory, with provided extension, encoded in provided encoding
- + (id)templateLoaderWithBasePath:(NSString *)path
- extension:(NSString *)ext
- encoding:(NSStringEncoding)encoding;
+ + (id)templateLoaderWithDirectory:(NSString *)path
+ extension:(NSString *)ext
+ encoding:(NSStringEncoding)encoding;
// Loads templates and partials from a bundle, with "mustache" extension, encoded in UTF8
+ (id)templateLoaderWithBundle:(NSBundle *)bundle;
View
20 RELEASE_NOTES.md
@@ -1,9 +1,27 @@
GRMustache Release Notes
========================
+## v1.6.0
+
+**Reduced memory footprint**
+
+New GRMustacheTemplateLoader class methods:
+
+- `+ (id)templateLoaderWithDirectory:(NSString *)path;`
+- `+ (id)templateLoaderWithDirectory:(NSString *)path extension:(NSString *)ext;`
+- `+ (id)templateLoaderWithDirectory:(NSString *)path extension:(NSString *)ext encoding:(NSStringEncoding)encoding;`
+
+Deprecated GRMustacheTemplateLoader class methods (replace `BasePath` with `Directory`):
+
+- `+ (id)templateLoaderWithBasePath:(NSString *)path;`
+- `+ (id)templateLoaderWithBasePath:(NSString *)path extension:(NSString *)ext;`
+- `+ (id)templateLoaderWithBasePath:(NSString *)path extension:(NSString *)ext encoding:(NSStringEncoding)encoding;`
+
+Bug fixes around the NSUndefinedKeyException handling when the `DEBUG` macro is set (thanks to [Mike Ash](http://www.mikeash.com/)).
+
## v1.5.2
-The `DEBUG` macro has GRMustache raise much less NSUndefinedKeyException
+The `DEBUG` macro makes GRMustache raise much less NSUndefinedKeyException.
## v1.5.1

0 comments on commit 6b1dbf7

Please sign in to comment.