UNPKG

11.8 kBMarkdownView Raw
1# Haml Coffee Changelog
2
3## Version 1.13.3, October 22, 2013
4
5* Standalone mode in the Browser doesn't support the include directive.
6
7## Version 1.13.2, October 17, 2013
8
9* [#19](https://github.com/concordusapps/grunt-haml/issues/19): Fix attr lookahead that swallows JS in a script tag.
10
11## Version 1.13.1, October 16, 2013
12
13* [#19](https://github.com/concordusapps/grunt-haml/issues/19): Fix comment followed by plain text.
14
15## Version 1.13.0, October 10, 2013
16
17* [#80](https://github.com/netzpirat/haml-coffee/pull/80): Add ability to render to HTML through the CLI and API. ([@mehcode](https://github.com/mehcode))
18
19## Version 1.12.0, September 22, 2013
20
21* [haml_coffee_assets issue #113](https://github.com/netzpirat/haml_coffee_assets/issues/113): Fix attribute lookahead, allow add text to closing tags.
22* [#75](https://github.com/netzpirat/haml-coffee/issues/75): Fix surround helper whitespace bug. ([@russellmcc](https://github.com/russellmcc))
23
24## Version 1.11.4, August 09, 2013
25
26* [#74](https://github.com/netzpirat/haml-coffee/issues/74): Fix namespace when compile all files within a directory.
27
28## Version 1.11.3, August 06, 2013
29
30* [#73](https://github.com/netzpirat/haml-coffee/issues/73): Fix include error when custom context contains a string value.
31* [#71](https://github.com/netzpirat/haml-coffee/issues/71): Fix template names when walkdir returns absolute paths. ([@pwnall](https://github.com/pwnall))
32
33## Version 1.11.2, June 17, 2013
34
35* [#70](https://github.com/netzpirat/haml-coffee/issues/70): Fix Windows compatibility for multiple input files. ([@akhanubis](https://github.com/akhanubis))
36* [#68](https://github.com/netzpirat/haml-coffee/issues/68): Compiler deletes all line feed (LF) characters from source.
37* [#68](https://github.com/netzpirat/haml-coffee/issues/68): Preserve helper deletes all line feed (LF) characters.
38* [#67](https://github.com/netzpirat/haml-coffee/issues/67): Ignore indentation in Haml comments.
39* [haml_coffee_assets issue #96](https://github.com/netzpirat/haml_coffee_assets/issues/96): Detect filter content when not indented by exactly two spaces.
40
41## Version 1.10.3, April 06, 2013
42
43* [#65](https://github.com/netzpirat/haml-coffee/issues/65): Add data attributes hyphenation.
44
45## Version 1.10.2, March 24, 2013
46
47* [#64](https://github.com/netzpirat/haml-coffee/issues/64): Fix automatic template naming from the command line.
48
49## Version 1.10.2, March 17, 2013
50
51* [#60](https://github.com/netzpirat/haml-coffee/issues/60): Fix broken CLI compilation.
52
53## Version 1.10.1, February 21, 2013
54
55* [#56](https://github.com/netzpirat/haml-coffee/issues/56): Detect HTML-style attribute without value.
56
57## Version 1.10.0, February 15, 2013
58
59* [#55](https://github.com/netzpirat/haml-coffee/issues/55): Add `+include` directive. ([@mehcode](https://github.com/mehcode))
60* [#54](https://github.com/netzpirat/haml-coffee/issues/54): Add `standalone` placement option. ([@Nami-Doc](https://github.com/Nami-Doc))
61
62## Version 1.9.1, January 8, 2013
63
64* Fix setting a custom reference function.
65
66## Version 1.9.0, January 8, 2013
67
68* HTML and Ruby style attributes can be mixed.
69* [#47](https://github.com/netzpirat/haml-coffee/issues/47): Add support for Haml object reference syntax.
70
71## Version 1.8.2, November 29, 2012
72
73* [haml_coffee_assets issue #78](https://github.com/netzpirat/haml_coffee_assets/issues/78): Fix nested parenthesis detection within attributes..
74
75## Version 1.8.1, November 25, 2012
76
77* [#45](https://github.com/netzpirat/haml-coffee/issues/45): Fix CLI usage help and give a hint when read from STDIN.
78
79## Version 1.8.0, November 15, 2012
80
81* [#44](https://github.com/netzpirat/haml-coffee/issues/44): Allow stream redirection from the CLI.
82
83## Version 1.7.0, November 2, 2012
84
85* [haml_coffee_assets issue #75](https://github.com/netzpirat/haml_coffee_assets/issues/75): Escape forward slash.
86* [haml_coffee_assets issue #74](https://github.com/netzpirat/haml_coffee_assets/issues/74): Add AMD dependency management.
87
88## Version 1.6.2, October 26, 2012
89
90* [#42](https://github.com/netzpirat/haml-coffee/issues/42) Ensure HTML5 `data` attribute format is correct.
91
92## Version 1.6.1, October 23, 2012
93
94* [#41](https://github.com/netzpirat/haml-coffee/issues/41) Fix browserify package configuration.
95
96## Version 1.6.0, October 16, 2012
97
98 * [#40](https://github.com/netzpirat/haml-coffee/pull/40) Added placement option to allow for AMD support. ([@mehcode](https://github.com/mehcode))
99
100## Version 1.5.1, September 24, 2012
101
102 * Simple check to see if the template has an id or class to cleanup
103
104## Version 1.5.0, September 24, 2012
105
106 * Remove empty `id` and `class` attributes from the generated HTML.
107
108## Version 1.4.10, September 14, 2012
109
110 * Fix template context for compiled functions without JST generation.
111
112## Version 1.4.9, September 14, 2012
113
114 * [Issue #38](https://github.com/netzpirat/haml-coffee/issues/38): Helpers should run in the template's context.
115 * Trim whitespace in the helpers.
116
117## Version 1.4.8, September 11, 2012
118
119 * Add `index.js` that loads the CoffeeScript compiler and Haml Coffee on Node.js
120
121## Version 1.4.7, September 3, 2012
122
123 * [haml_coffee_assets issue #68](https://github.com/netzpirat/haml_coffee_assets/issues/68): Don't use trim() for IE <= 8 compatibility.
124
125## Version 1.4.6, August 28, 2012
126
127 * Fix Browserify environment detection.
128
129## Version 1.4.5, August 28, 2012
130
131 * Escape and clean every attribute interpolation.
132 * Don't add the Boolean conversion without any cleaned value.
133
134## Version 1.4.4, August 22, 2012
135
136 * Fix CoffeeScript compiler loading.
137
138## Version 1.4.3, August 22, 2012
139
140 * Add [hamlc](https://github.com/netzpirat/haml-coffee/blob/master/src/hamlc.coffee) facade to the compiler dist.
141 * Fix package distribution.
142
143## Version 1.4.2, August 20, 2012
144
145 * Convert to pure CoffeeScript project. The pure JS compiler is only distributed as bundled file.
146 * Fix colored cli output.
147 * [haml_coffee_assets issue #65](https://github.com/netzpirat/haml_coffee_assets/issues/65): CoffeScript interpolation does not work.
148
149## Version 1.4.1, August 5, 2012
150
151 * Fix bug where caching is always enabled.
152
153## Version 1.4.0, August 5, 2012
154
155 * Add support for Express 3
156
157## Version 1.3.0, August 3, 2012
158
159 * [haml_coffee_assets issue #58](https://github.com/netzpirat/haml_coffee_assets/issues/58): Single quotes in attribute values are converted to double quotes.
160 * [Issue #33](https://github.com/netzpirat/haml-coffee/issues/33): Fix tag attributes that contains multiple attribute keys.
161 * Fix comments with tag attributes that follows a tag with attributes (multiline bug).
162 * Fix wrong quotes that appears in comments.
163
164## Version 1.2.0, Juli 18, 2012
165
166 * [haml_coffee_assets issue #56](https://github.com/netzpirat/haml_coffee_assets/issues/56): Weird behavior when using space before the : of an attribute.
167 * [haml_coffee_assets issue #57](https://github.com/netzpirat/haml_coffee_assets/issues/57): Fix quotes in text content.
168 * [Issue #30](https://github.com/netzpirat/haml-coffee/issues/30): &apos; doesn't work in IE8
169
170## Version 1.1.3, Juli 4, 2012
171
172 * [haml_coffee_assets issue #55](https://github.com/netzpirat/haml_coffee_assets/issues/55): Error parsing HTML attributes with code interpolation.
173
174## Version 1.1.2, June 29, 2012
175
176 * Fix line number in the error message.
177 * Ignore block level within comments.
178 * Update to the latest Haml spec.
179
180## Version 1.1.1, June 19, 2012
181
182 * [haml_coffee_assets issue #51](https://github.com/netzpirat/haml_coffee_assets/issues/51): Parsing fails with double quotes inside single-quoted attribute value.
183 * [haml_coffee_assets issue #49](https://github.com/netzpirat/haml_coffee_assets/issues/49): Failing to quote object literal keys.
184
185## Version 1.1.0, June 12, 2012
186
187 * [haml_coffee_assets issue #48](https://github.com/netzpirat/haml_coffee_assets/issues/48): Adding class on condition.
188 * [Issue #29](https://github.com/netzpirat/haml-coffee/issues/29): Wrong boolean attribute handling.
189
190## Version 1.0.1, June 10, 2012
191
192 * Fix passing the extend CLI flag to the compiler.
193
194## Version 1.0.0, June 10, 2012
195
196 * Add `extendScope` compiler option for using `with` in the JavaScript template for simple context access.
197
198## Version 0.8.3, June 8, 2012
199
200 * [haml_coffee_assets issue #47](https://github.com/netzpirat/haml_coffee_assets/issues/47): Attribute parsing fails with interpolation under some circumstances.
201
202## Version 0.8.2, June 5, 2012
203
204 * [Issue #28](https://github.com/netzpirat/haml-coffee/issues/28): Print errors to stderr.
205
206## Version 0.8.1, Mai 22, 2012
207
208 * [haml_coffee_assets issue #46](https://github.com/netzpirat/haml_coffee_assets/issues/46): Attribute parsing broken
209
210## Version 8.0.0, Mai 21, 2012
211
212 * Fix attribute lookahead with no multilines for elements that have only an id or class declared.
213 * [haml_coffee_assets issue #44](https://github.com/netzpirat/haml_coffee_assets/issues/43): Multiline and attributes doesn't work
214 * Allow Ruby 1.8 and 1.9 style attributes to be mixed on the same tag.
215 * [haml_coffee_assets issue #43](https://github.com/netzpirat/haml_coffee_assets/issues/43): Doesn't support quoted symbols
216
217## Version 0.7.1, Mai 14, 2012
218
219 * [haml_coffee_assets issue #42](https://github.com/netzpirat/haml_coffee_assets/issues/42): Fix tag parsing with parenthesis is the text
220
221## Version 0.7.0, Mai 9, 2012
222
223 * [Issue #26](https://github.com/netzpirat/haml-coffee/issues/26): Improve attribute parsing.
224
225## Version 0.6.3, April 30, 2012
226
227 * [haml_coffee_assets issue #40](https://github.com/netzpirat/haml_coffee_assets/issues/40): Fix class interpolation
228
229## Version 0.6.2
230
231 * [Issue #23](https://github.com/netzpirat/haml-coffee/issues/23): Fix double quotes escaping in Coffee filter.
232
233## Version 0.6.1
234
235 * Fix inserting code within inserting function.
236
237## Version 0.6.0
238
239 * Allow inserting code blocks to post process child output.
240 * More robust attribute detection.
241
242## Version 0.5.6
243
244 * Add boolean attribute logic at render time.
245
246## Version 0.5.5
247
248 * Fix wrong evaluation of the `--basename` option.
249
250## Version 0.5.4
251
252 * Add `--basename` option to omit the path in the JST name.
253 * Better attribute look-ahead support.
254
255## Version 0.5.3
256
257 * Better attribute look-ahead support.
258
259## Version 0.5.2
260
261 * Fix leaking global variables when generating the Express view
262 * Fix Ruby 1.9 style attributes with double quotes
263
264## Version 0.5.1
265
266 * Improve template compilation for Express
267
268## Version 0.5.0
269
270 * Express support
271 * Optimizations for enhanced rendering speed and template size
272 * Add `--disable-clean-value` option
273
274## Version 0.4.0
275
276 * Remove short version for seldom used haml-coffee options
277 * Add preserve and findAndPreserve helper and customization options
278 * Add `--preserve` option to define the whitespace preserved tag list
279 * Add `--autoclose` option to define self-closing tags
280 * Add `--uglify` option to generate non-indented HTML tags
281
282## Version 0.3.1
283
284 * Fix custom clean value function when escaping function is also custom provided.
285
286## Version 0.3.0
287
288 * Add full Haml compatibility (haml-spec passes)
289 * Add code documentation and improved README
290 * Add support for Ruby 1.9 syntax attributes
291 * Add `:coffeescript` filter
292 * Add new compiler options
293 - Namespace
294 - Disable attribute escaping
295 - Custom clean value
296 - HTML output format
297
298## Version 0.2.4
299
300 * Fixed a bug with relative directories, closes issue #1
301
302## Version 0.2.3
303
304 * Added inline assignment of coffeescript expression for haml tags
305
306## Version 0.1.12
307
308 * Attribute values can be coffeescript expressions
309
310## Version 0.1.11
311
312 * Fixed bug with attribute comma separation
313
314## Version 0.1.8
315
316 * Bugfix with long text
317 * Refactor tests into valid and invalid cases
318 * Add exit codes for binary
319
\No newline at end of file