UNPKG

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