Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 148 lines (79 sloc) 3.562 kB
0219c22 @groue v1.0.0
authored
1 GRMustache Release Notes
2 ========================
3
f19ba84 @groue v1.6.1
authored
4 ## v1.6.1
5
6 The NSUndefinedKeyException silencing activated by the DEBUG macro applies to NSManagedObject instances (see the [Avoid the NSUndefinedKeyException attack](https://github.com/groue/GRMustache/wiki/Avoid-the-NSUndefinedKeyException-attack) wiki page).
7
6b1dbf7 @groue v1.6.0
authored
8 ## v1.6.0
9
10 **Reduced memory footprint**
11
12 New GRMustacheTemplateLoader class methods:
13
14 - `+ (id)templateLoaderWithDirectory:(NSString *)path;`
15 - `+ (id)templateLoaderWithDirectory:(NSString *)path extension:(NSString *)ext;`
16 - `+ (id)templateLoaderWithDirectory:(NSString *)path extension:(NSString *)ext encoding:(NSStringEncoding)encoding;`
17
18 Deprecated GRMustacheTemplateLoader class methods (replace `BasePath` with `Directory`):
19
20 - `+ (id)templateLoaderWithBasePath:(NSString *)path;`
21 - `+ (id)templateLoaderWithBasePath:(NSString *)path extension:(NSString *)ext;`
22 - `+ (id)templateLoaderWithBasePath:(NSString *)path extension:(NSString *)ext encoding:(NSStringEncoding)encoding;`
23
24 Bug fixes around the NSUndefinedKeyException handling when the `DEBUG` macro is set (thanks to [Mike Ash](http://www.mikeash.com/)).
25
499face @groue v1.5.2
authored
26 ## v1.5.2
27
f19ba84 @groue v1.6.1
authored
28 The `DEBUG` macro makes GRMustache raise much less NSUndefinedKeyException (see the [Avoid the NSUndefinedKeyException attack](https://github.com/groue/GRMustache/wiki/Avoid-the-NSUndefinedKeyException-attack) wiki page).
499face @groue v1.5.2
authored
29
e0a103f @groue v1.5.1
authored
30 ## v1.5.1
31
4031037 @groue RELEASE_NOTES wording
authored
32 Bug fixes
e0a103f @groue v1.5.1
authored
33
3de3613 @groue v1.5.0
authored
34 ## v1.5.0
0915e91 @groue v1.4.1
authored
35
4031037 @groue RELEASE_NOTES wording
authored
36 **API simplification**
37
c5761e8 @groue RELEASE_NOTES wording
authored
38 New GRMustacheTemplate method:
39
40 - `- (NSString *)renderObjects:(id)object, ...;`
41
42 New GRMustacheSection method:
43
44 - `- (NSString *)renderObjects:(id)object, ...;`
45
46 New class:
47
48 - `GRMustacheBlockHelper`
49
50 Deprecated class (use `id` instead when refering to a context, and use `renderObjects:` methods instead of instanciating one):
51
52 - `GRMustacheContext`
53
54 Deprecated function (use GRMustacheBlockHelper instead):
55
56 - `id GRMustacheLambdaBlockMake(NSString *(^block)(GRMustacheSection*, GRMustacheContext*));`
0915e91 @groue v1.4.1
authored
57
a1f2cf1 @groue v1.4.0
authored
58 ## v1.4.0
59
4031037 @groue RELEASE_NOTES wording
authored
60 **iOS 3.0 support**
c5761e8 @groue RELEASE_NOTES wording
authored
61
62 New `GRMustacheTemplate` methods:
63
64 - `+ (NSString *)renderObject:(id)object fromContentsOfFile:(NSString *)path error:(NSError **)outError;`
65 - `+ (id)parseContentsOfFile:(NSString *)path error:(NSError **)outError;`
66
67 New `GRMustacheTemplateLoader` class methods:
68
69 - `+ (id)templateLoaderWithBasePath:(NSString *)path;`
70 - `+ (id)templateLoaderWithBasePath:(NSString *)path extension:(NSString *)ext;`
71 - `+ (id)templateLoaderWithBasePath:(NSString *)path extension:(NSString *)ext encoding:(NSStringEncoding)encoding;`
a1f2cf1 @groue v1.4.0
authored
72
de489d5 @groue v1.3.3
authored
73 ## v1.3.3
74
4031037 @groue RELEASE_NOTES wording
authored
75 Bug fixes
de489d5 @groue v1.3.3
authored
76
be39647 @groue v1.3.2
authored
77 ## v1.3.2
78
4031037 @groue RELEASE_NOTES wording
authored
79 Bug fixes
be39647 @groue v1.3.2
authored
80
7f1e927 @groue v1.3.1
authored
81 ## v1.3.1
82
4031037 @groue RELEASE_NOTES wording
authored
83 Bug fixes
7f1e927 @groue v1.3.1
authored
84
b03eb3c @groue v1.3.0
authored
85 ## v1.3.0
86
4031037 @groue RELEASE_NOTES wording
authored
87 **Block-less API for helpers.**
b03eb3c @groue v1.3.0
authored
88
c5761e8 @groue RELEASE_NOTES wording
authored
89 New classes:
90
91 - `GRMustacheContext`
92 - `GRMustacheSection`
b03eb3c @groue v1.3.0
authored
93
c5761e8 @groue RELEASE_NOTES wording
authored
94 New functions:
a368aaf @groue v1.2.1
authored
95
c5761e8 @groue RELEASE_NOTES wording
authored
96 - `id GRMustacheLambdaBlockMake(NSString *(^block)(GRMustacheSection*, GRMustacheContext*));`
97
98 Deprecated functions (use GRMustacheLambdaBlockMake instead):
99
100 - `GRMustacheLambda GRMustacheLambdaMake(NSString *(^block)(NSString *(^)(id object), id, NSString *));`
a368aaf @groue v1.2.1
authored
101
c88c5c6 @groue v1.2.0
authored
102 ## v1.2.0
103
4031037 @groue RELEASE_NOTES wording
authored
104 **iOS 4.0 support**
c5761e8 @groue RELEASE_NOTES wording
authored
105
106 Deprecated class (use `[NSNumber numberWithBool:YES]` instead of `[GRYes yes]`):
107
108 - `GRYes`
109
110 Deprecated class (use `[NSNumber numberWithBool:NO]` instead of `[GRNo no]`):
111
112 - `GRNo`
c88c5c6 @groue v1.2.0
authored
113
16c756d @groue v1.1.6
authored
114 ## v1.1.6
115
c5761e8 @groue RELEASE_NOTES wording
authored
116 GRMustacheTemplateLoader subclasses can now rely on an immutable `extension` property.
16c756d @groue v1.1.6
authored
117
0805e50 @groue v1.1.5
authored
118 ## v1.1.5
119
4031037 @groue RELEASE_NOTES wording
authored
120 Bug fixes
0805e50 @groue v1.1.5
authored
121
8e257be @groue v1.1.4
authored
122 ## v1.1.4
123
4031037 @groue RELEASE_NOTES wording
authored
124 Bug fixes
8e257be @groue v1.1.4
authored
125
3f89a0b @groue v1.1.3
authored
126 ## v1.1.3
127
4031037 @groue RELEASE_NOTES wording
authored
128 **Rendering performance improvement**
3f89a0b @groue v1.1.3
authored
129
8dbe23f @groue v1.1.2
authored
130 ## v1.1.2
131
4031037 @groue RELEASE_NOTES wording
authored
132 **Template compiling performance improvement**
8dbe23f @groue v1.1.2
authored
133
161c96c @groue v1.1.1
authored
134 ## v1.1.1
135
4031037 @groue RELEASE_NOTES wording
authored
136 Bug fixes
161c96c @groue v1.1.1
authored
137
6ede60b @groue v1.1.0
authored
138 ## v1.1.0
0219c22 @groue v1.0.0
authored
139
c5761e8 @groue RELEASE_NOTES wording
authored
140 New methods:
141
142 - `[GRYes yes]` responds to `boolValue`
143 - `[GRNo no]` responds to `boolValue`
6ede60b @groue v1.1.0
authored
144
145 ## v1.0.0
146
4031037 @groue RELEASE_NOTES wording
authored
147 **First versioned release**
Something went wrong with that request. Please try again.