Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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