UNPKG

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