Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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