Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 276 lines (155 sloc) 8.754 kb
0219c22 @groue v1.0.0
authored
1 GRMustache Release Notes
2 ========================
3
9b3ce86 @groue Link to benchmarks
authored
4 You can compare the performances of GRMustache version at https://github.com/groue/GRMustacheBenchmark.
5
75eae3b @groue v1.10.2
authored
6 ## v1.10.2
7
8 Performance improvements
9
745be05 @groue v1.10.1
authored
10 ## v1.10.1
11
12 Performance improvements
13
31100d3 @groue v1.10.0
authored
14 ## v1.10
15
745be05 @groue v1.10.1
authored
16 **Improved Handlebars.js support and performance improvements**
31100d3 @groue v1.10.0
authored
17
745be05 @groue v1.10.1
authored
18 Now `{{foo/bar}}` and `{{foo.bar}}` syntaxes are both supported.
31100d3 @groue v1.10.0
authored
19
8020800 @groue v1.9.0
authored
20 ## v1.9
21
3293103 @groue Introduce GRMustacheNumberFormatterHelper
authored
22 - **Better lambda encapsulation with classes conforming to the GRMustacheHelper protocol.**
23 - **Format all numbers in a section with GRMustacheNumberFormatterHelper**
f52da9d @groue README+RELEASE_NOTES for GRMustacheNumberFormatterHelper and GRMustac…
authored
24 - **Format all dates in a section with GRMustacheDateFormatterHelper**
8020800 @groue v1.9.0
authored
25
26 New protocol:
27
3293103 @groue Introduce GRMustacheNumberFormatterHelper
authored
28 - `GRMustacheHelper`
29
f52da9d @groue README+RELEASE_NOTES for GRMustacheNumberFormatterHelper and GRMustac…
authored
30 New classes:
3293103 @groue Introduce GRMustacheNumberFormatterHelper
authored
31
32 - `GRMustacheNumberFormatterHelper`
f52da9d @groue README+RELEASE_NOTES for GRMustacheNumberFormatterHelper and GRMustac…
authored
33 - `GRMustacheDateFormatterHelper`
8020800 @groue v1.9.0
authored
34
8704042 @groue v1.8.6
authored
35 ## v1.8.6
36
37 Fixed bug in [GRMustacheTemplate renderObjects:...]
38
d209bef @groue v1.8.5
authored
39 ## v1.8.5
40
41 Added missing symbols from lib/libGRMustache1-ios3.a
42
edf6200 @groue v1.8.4
authored
43 ## v1.8.4
44
d209bef @groue v1.8.5
authored
45 Added missing symbols from lib/libGRMustache1-ios3.a and lib/libGRMustache1-ios4.a
edf6200 @groue v1.8.4
authored
46
6a23fe6 @groue v1.8.3
authored
47 ## v1.8.3
48
49 Availability fixes.
50
8abbac9 @groue v1.8.2
authored
51 ## v1.8.2
52
53 Better testing of public API thanks to availability macros.
54
b643aa1 @groue v1.8.1
authored
55 ## v1.8.1
56
57 Bug fixes
58
18dc85c @groue v1.8.0
authored
59 ## v1.8
60
8abbac9 @groue v1.8.2
authored
61 **GRMustache now supports the [Mustache specification v1.1.2](https://github.com/mustache/spec).**
62
63 New type and enum:
64
65 enum {
66 GRMustacheTemplateOptionNone = 0,
67 GRMustacheTemplateOptionMustacheSpecCompatibility = 0x01,
68 };
69
70 typedef NSUInteger GRMustacheTemplateOptions;
71
72 New GRMustache methods:
73
74 - `+ (GRMustacheTemplateOptions)defaultTemplateOptions;`
75 - `+ (void)setDefaultTemplateOptions:(GRMustacheTemplateOptions)templateOptions;`
76
77 New GRMustacheTemplate methods:
78
79 - `+ (id)parseString:(NSString *)templateString options:(GRMustacheTemplateOptions)options error:(NSError **)outError;`
80 - `+ (id)parseContentsOfURL:(NSURL *)url options:(GRMustacheTemplateOptions)options error:(NSError **)outError;`
81 - `+ (id)parseContentsOfFile:(NSString *)path options:(GRMustacheTemplateOptions)options error:(NSError **)outError;`
82 - `+ (id)parseResource:(NSString *)name bundle:(NSBundle *)bundle options:(GRMustacheTemplateOptions)options error:(NSError **)outError;`
83 - `+ (id)parseResource:(NSString *)name withExtension:(NSString *)ext bundle:(NSBundle *)bundle options:(GRMustacheTemplateOptions)options error:(NSError **)outError;`
84 - `+ (NSString *)renderObject:(id)object fromString:(NSString *)templateString options:(GRMustacheTemplateOptions)options error:(NSError **)outError;`
85 - `+ (NSString *)renderObject:(id)object fromContentsOfURL:(NSURL *)url options:(GRMustacheTemplateOptions)options error:(NSError **)outError;`
86 - `+ (NSString *)renderObject:(id)object fromContentsOfFile:(NSString *)path options:(GRMustacheTemplateOptions)options error:(NSError **)outError;`
87 - `+ (NSString *)renderObject:(id)object fromResource:(NSString *)name bundle:(NSBundle *)bundle options:(GRMustacheTemplateOptions)options error:(NSError **)outError;`
88 - `+ (NSString *)renderObject:(id)object fromResource:(NSString *)name withExtension:(NSString *)ext bundle:(NSBundle *)bundle options:(GRMustacheTemplateOptions)options error:(NSError **)outError;`
89
90 New GRMustacheTemplateLoader methods:
91
92 - `+ (id)templateLoaderWithBaseURL:(NSURL *)url options:(GRMustacheTemplateOptions)options;`
93 - `+ (id)templateLoaderWithBaseURL:(NSURL *)url extension:(NSString *)ext options:(GRMustacheTemplateOptions)options;`
94 - `+ (id)templateLoaderWithBaseURL:(NSURL *)url extension:(NSString *)ext encoding:(NSStringEncoding)encoding options:(GRMustacheTemplateOptions)options;`
95 - `+ (id)templateLoaderWithDirectory:(NSString *)path options:(GRMustacheTemplateOptions)options;`
96 - `+ (id)templateLoaderWithDirectory:(NSString *)path extension:(NSString *)ext options:(GRMustacheTemplateOptions)options;`
97 - `+ (id)templateLoaderWithDirectory:(NSString *)path extension:(NSString *)ext encoding:(NSStringEncoding)encoding options:(GRMustacheTemplateOptions)options;`
98 - `+ (id)templateLoaderWithBundle:(NSBundle *)bundle options:(GRMustacheTemplateOptions)options;`
99 - `+ (id)templateLoaderWithBundle:(NSBundle *)bundle extension:(NSString *)ext options:(GRMustacheTemplateOptions)options;`
100 - `+ (id)templateLoaderWithBundle:(NSBundle *)bundle extension:(NSString *)ext encoding:(NSStringEncoding)encoding options:(GRMustacheTemplateOptions)options;`
101
18dc85c @groue v1.8.0
authored
102
d08841f @groue v1.7.4
authored
103 ## v1.7.4
104
105 Bug fix: avoid crashing when one provides uninitialized NSError* to GRMustache.
106
8059b38 @groue v1.7.3
authored
107 ## v1.7.3
108
109 One no longer needs to add `-all_load` to the "Other Linker Flags" target option tu use GRMustache static libraries.
110
6d6e020 @groue v1.7.2
authored
111 ## v1.7.2
112
113 - Fixed [issue #6](https://github.com/groue/GRMustache/issues/6)
114 - `[GRMustache preventNSUndefinedKeyExceptionAttack]` no longer prevents the rendering of `nil`.
115
cd4de9d @groue v1.7.1
authored
116 ## v1.7.1
117
118 Added missing header file
119
e5d100a @groue v1.7.0
authored
120 ## v1.7.0
121
122 **GRMustache now ships as a static library.**
123
124 See the [Embedding](https://github.com/groue/GRMustache/wiki/Embedding) wiki page in order to see how to embed GRMustache in your project.
125
126 Besides, the NSUndefinedKeyException silencing is no longer activated by the DEBUG macro. You now have to explicitely call the `[GRMustache preventNSUndefinedKeyExceptionAttack]` method. For more details, see the [Avoid the NSUndefinedKeyException attack](https://github.com/groue/GRMustache/wiki/Avoid-the-NSUndefinedKeyException-attack) wiki page.
127
4373916 @groue v1.6.2
authored
128 ## v1.6.2
129
130 **LLVM3 compatibility**
131
f19ba84 @groue v1.6.1
authored
132 ## v1.6.1
133
134 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).
135
6b1dbf7 @groue v1.6.0
authored
136 ## v1.6.0
137
138 **Reduced memory footprint**
139
8abbac9 @groue v1.8.2
authored
140 New GRMustacheTemplateLoader methods:
6b1dbf7 @groue v1.6.0
authored
141
142 - `+ (id)templateLoaderWithDirectory:(NSString *)path;`
143 - `+ (id)templateLoaderWithDirectory:(NSString *)path extension:(NSString *)ext;`
144 - `+ (id)templateLoaderWithDirectory:(NSString *)path extension:(NSString *)ext encoding:(NSStringEncoding)encoding;`
145
8abbac9 @groue v1.8.2
authored
146 Deprecated GRMustacheTemplateLoader methods (replace `BasePath` with `Directory`):
6b1dbf7 @groue v1.6.0
authored
147
148 - `+ (id)templateLoaderWithBasePath:(NSString *)path;`
149 - `+ (id)templateLoaderWithBasePath:(NSString *)path extension:(NSString *)ext;`
150 - `+ (id)templateLoaderWithBasePath:(NSString *)path extension:(NSString *)ext encoding:(NSStringEncoding)encoding;`
151
152 Bug fixes around the NSUndefinedKeyException handling when the `DEBUG` macro is set (thanks to [Mike Ash](http://www.mikeash.com/)).
153
499face @groue v1.5.2
authored
154 ## v1.5.2
155
f19ba84 @groue v1.6.1
authored
156 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
157
e0a103f @groue v1.5.1
authored
158 ## v1.5.1
159
4031037 @groue RELEASE_NOTES wording
authored
160 Bug fixes
e0a103f @groue v1.5.1
authored
161
3de3613 @groue v1.5.0
authored
162 ## v1.5.0
0915e91 @groue v1.4.1
authored
163
4031037 @groue RELEASE_NOTES wording
authored
164 **API simplification**
165
c5761e8 @groue RELEASE_NOTES wording
authored
166 New GRMustacheTemplate method:
167
168 - `- (NSString *)renderObjects:(id)object, ...;`
169
170 New GRMustacheSection method:
171
172 - `- (NSString *)renderObjects:(id)object, ...;`
173
174 New class:
175
176 - `GRMustacheBlockHelper`
177
178 Deprecated class (use `id` instead when refering to a context, and use `renderObjects:` methods instead of instanciating one):
179
180 - `GRMustacheContext`
181
182 Deprecated function (use GRMustacheBlockHelper instead):
183
184 - `id GRMustacheLambdaBlockMake(NSString *(^block)(GRMustacheSection*, GRMustacheContext*));`
0915e91 @groue v1.4.1
authored
185
a1f2cf1 @groue v1.4.0
authored
186 ## v1.4.0
187
4031037 @groue RELEASE_NOTES wording
authored
188 **iOS 3.0 support**
c5761e8 @groue RELEASE_NOTES wording
authored
189
190 New `GRMustacheTemplate` methods:
191
192 - `+ (NSString *)renderObject:(id)object fromContentsOfFile:(NSString *)path error:(NSError **)outError;`
193 - `+ (id)parseContentsOfFile:(NSString *)path error:(NSError **)outError;`
194
8abbac9 @groue v1.8.2
authored
195 New `GRMustacheTemplateLoader` methods:
c5761e8 @groue RELEASE_NOTES wording
authored
196
197 - `+ (id)templateLoaderWithBasePath:(NSString *)path;`
198 - `+ (id)templateLoaderWithBasePath:(NSString *)path extension:(NSString *)ext;`
199 - `+ (id)templateLoaderWithBasePath:(NSString *)path extension:(NSString *)ext encoding:(NSStringEncoding)encoding;`
a1f2cf1 @groue v1.4.0
authored
200
de489d5 @groue v1.3.3
authored
201 ## v1.3.3
202
4031037 @groue RELEASE_NOTES wording
authored
203 Bug fixes
de489d5 @groue v1.3.3
authored
204
be39647 @groue v1.3.2
authored
205 ## v1.3.2
206
4031037 @groue RELEASE_NOTES wording
authored
207 Bug fixes
be39647 @groue v1.3.2
authored
208
7f1e927 @groue v1.3.1
authored
209 ## v1.3.1
210
4031037 @groue RELEASE_NOTES wording
authored
211 Bug fixes
7f1e927 @groue v1.3.1
authored
212
b03eb3c @groue v1.3.0
authored
213 ## v1.3.0
214
4031037 @groue RELEASE_NOTES wording
authored
215 **Block-less API for helpers.**
b03eb3c @groue v1.3.0
authored
216
c5761e8 @groue RELEASE_NOTES wording
authored
217 New classes:
218
219 - `GRMustacheContext`
220 - `GRMustacheSection`
b03eb3c @groue v1.3.0
authored
221
c5761e8 @groue RELEASE_NOTES wording
authored
222 New functions:
a368aaf @groue v1.2.1
authored
223
c5761e8 @groue RELEASE_NOTES wording
authored
224 - `id GRMustacheLambdaBlockMake(NSString *(^block)(GRMustacheSection*, GRMustacheContext*));`
225
226 Deprecated functions (use GRMustacheLambdaBlockMake instead):
227
228 - `GRMustacheLambda GRMustacheLambdaMake(NSString *(^block)(NSString *(^)(id object), id, NSString *));`
a368aaf @groue v1.2.1
authored
229
c88c5c6 @groue v1.2.0
authored
230 ## v1.2.0
231
4031037 @groue RELEASE_NOTES wording
authored
232 **iOS 4.0 support**
c5761e8 @groue RELEASE_NOTES wording
authored
233
234 Deprecated class (use `[NSNumber numberWithBool:YES]` instead of `[GRYes yes]`):
235
236 - `GRYes`
237
238 Deprecated class (use `[NSNumber numberWithBool:NO]` instead of `[GRNo no]`):
239
240 - `GRNo`
c88c5c6 @groue v1.2.0
authored
241
16c756d @groue v1.1.6
authored
242 ## v1.1.6
243
c5761e8 @groue RELEASE_NOTES wording
authored
244 GRMustacheTemplateLoader subclasses can now rely on an immutable `extension` property.
16c756d @groue v1.1.6
authored
245
0805e50 @groue v1.1.5
authored
246 ## v1.1.5
247
4031037 @groue RELEASE_NOTES wording
authored
248 Bug fixes
0805e50 @groue v1.1.5
authored
249
8e257be @groue v1.1.4
authored
250 ## v1.1.4
251
4031037 @groue RELEASE_NOTES wording
authored
252 Bug fixes
8e257be @groue v1.1.4
authored
253
3f89a0b @groue v1.1.3
authored
254 ## v1.1.3
255
4031037 @groue RELEASE_NOTES wording
authored
256 **Rendering performance improvement**
3f89a0b @groue v1.1.3
authored
257
8dbe23f @groue v1.1.2
authored
258 ## v1.1.2
259
4031037 @groue RELEASE_NOTES wording
authored
260 **Template compiling performance improvement**
8dbe23f @groue v1.1.2
authored
261
161c96c @groue v1.1.1
authored
262 ## v1.1.1
263
4031037 @groue RELEASE_NOTES wording
authored
264 Bug fixes
161c96c @groue v1.1.1
authored
265
6ede60b @groue v1.1.0
authored
266 ## v1.1.0
0219c22 @groue v1.0.0
authored
267
c5761e8 @groue RELEASE_NOTES wording
authored
268 New methods:
269
270 - `[GRYes yes]` responds to `boolValue`
271 - `[GRNo no]` responds to `boolValue`
6ede60b @groue v1.1.0
authored
272
273 ## v1.0.0
274
4031037 @groue RELEASE_NOTES wording
authored
275 **First versioned release**
Something went wrong with that request. Please try again.