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