UNPKG

11.3 kBMarkdownView Raw
1
20.14.1 / 2011-08-14
3==================
4
5 * Added `colons` option for everyone stuck with ":". Closes #231
6 * Optimization: consecutive lines are merged in compiled js
7
80.14.0 / 2011-08-08
9==================
10
11 * Added array iteration with index example. Closes #276
12 * Added _runtime.js_
13 * Added `compileDebug` option to enable lineno instrumentation
14 * Added `inline` option to disable inlining of helpers (for client-side)
15
160.13.0 / 2011-07-13
17==================
18
19 * Added `mixin` support
20 * Added `include` support
21 * Added array support for the class attribute
22
230.12.4 / 2011-06-23
24==================
25
26 * Fixed filter indentation bug. Closes #243
27
280.12.3 / 2011-06-21
29==================
30
31 * Fixed empty strings support. Closes #223
32 * Fixed conditional comments documentation. Closes #245
33
340.12.2 / 2011-06-16
35==================
36
37 * Fixed `make test`
38 * Fixed block comments
39
400.12.1 / 2011-06-04
41==================
42
43 * Fixed attribute interpolation with double quotes. Fixes #232 [topaxi]
44
450.12.0 / 2011-06-03
46==================
47
48 * Added `doctype` as alias of `!!!`
49 * Added; doctype value is now case-insensitive
50 * Added attribute interpolation support
51 * Fixed; retain original indentation spaces in text blocks
52
530.11.1 / 2011-06-01
54==================
55
56 * Fixed text block indentation [Laszlo Bacsi]
57 * Changed; utilizing devDependencies
58 * Fixed try/catch issue with renderFile(). Closes #227
59 * Removed attribute ":" support, use "=" (option for ':' coming soon)
60
610.11.0 / 2011-05-14
62==================
63
64 * Added `self` object to avoid poor `with(){}` performance [masylum]
65 * Added `doctype` option [Jeremy Larkin]
66
670.10.7 / 2011-05-04
68==================
69
70 * expose Parser
71
720.10.6 / 2011-04-29
73==================
74
75 * Fixed CS `Object.keys()` [reported by robholland]
76
770.10.5 / 2011-04-26
78==================
79
80 * Added error context after the lineno
81 * Added; indicate failing lineno with ">"
82 * Added `Object.keys()` for the client-side
83 * Fixed attr strings when containing the opposite quote. Closes 207
84 * Fixed attr issue with js expressions within strings
85 * Fixed single-quote filter escape bug. Closes #196
86
87
880.10.4 / 2011-04-05
89==================
90
91 * Added `html` doctype, same as "5"
92 * Fixed `pre`, no longer text-only
93
940.10.3 / 2011-03-30
95==================
96
97 * Fixed support for quoted attribute keys ex `rss("xmlns:atom"="atom")`
98
990.10.2 / 2011-03-30
100==================
101
102 * Fixed pipeless text bug with missing outdent
103
1040.10.1 / 2011-03-28
105==================
106
107 * Fixed `support/compile.js` to exclude browser js in node
108 * Fixes for IE [Patrick Pfeiffer]
109
1100.10.0 / 2011-03-25
111==================
112
113 * Added AST-filter support back in the form of `<tag>[attrs]<:><block>`
114
1150.9.3 / 2011-03-24
116==================
117
118 * Added `Block#unshift(node)`
119 * Added `jade.js` for the client-side to the repo
120 * Added `jade.min.js` for the client-side to the repo
121 * Removed need for pipes in filters. Closes #185
122 Note that this _will_ break filters used to
123 manipulate the AST, until we have a different
124 syntax for doing so.
125
1260.9.2 / 2011-03-23
127==================
128
129 * Added jade `--version`
130 * Removed `${}` interpolation support, use `#{}`
131
1320.9.1 / 2011-03-16
133==================
134
135 * Fixed invalid `.map()` call due to recent changes
136
1370.9.0 / 2011-03-16
138==================
139
140 * Added client-side browser support via `make jade.js` and `make jade.min.js`.
141
1420.8.9 / 2011-03-15
143==================
144
145 * Fixed preservation of newlines in text blocks
146
1470.8.8 / 2011-03-14
148==================
149
150 * Fixed jade(1) stdio
151
1520.8.7 / 2011-03-14
153==================
154
155 * Added `mkdirs()` to jade(1)
156 * Added jade(1) stdio support
157 * Added new features to jade(1), `--watch`, recursive compilation etc [khingebjerg]
158 * Fixed pipe-less text newlines
159 * Removed jade(1) `--pipe` flag
160
1610.8.6 / 2011-03-11
162==================
163
164 * Fixed parenthesized expressions in attrs. Closes #170
165 * Changed; default interpolation values `== null` to ''. Closes #167
166
1670.8.5 / 2011-03-09
168==================
169
170 * Added pipe-less text support with immediate ".". Closes #157
171 * Fixed object support in attrs
172 * Fixed array support for attrs
173
1740.8.4 / 2011-03-08
175==================
176
177 * Fixed issue with expressions being evaluated several times. closes #162
178
1790.8.2 / 2011-03-07
180==================
181
182 * Added markdown, discount, and markdown-js support to `:markdown`. Closes #160
183 * Removed `:discount`
184
1850.8.1 / 2011-03-04
186==================
187
188 * Added `pre` pipe-less text support (and auto-escaping)
189
1900.8.0 / 2011-03-04
191==================
192
193 * Added block-expansion support. Closes #74
194 * Added support for multi-line attrs without commas. Closes #65
195
1960.7.1 / 2011-03-04
197==================
198
199 * Fixed `script()` etc pipe-less text with attrs
200
2010.7.0 / 2011-03-04
202==================
203
204 * Removed `:javascript` filter (it doesn't really do anything special, use `script` tags)
205 * Added pipe-less text support. Tags that only accept text nodes (`script`, `textarea`, etc) do not require `|`.
206 * Added `:text` filter for ad-hoc pipe-less
207 * Added flexible indentation. Tabs, arbitrary number of spaces etc
208 * Added conditional-comment support. Closes #146
209 * Added block comment support
210 * Added rss example
211 * Added `:stylus` filter
212 * Added `:discount` filter
213 * Fixed; auto-detect xml and do not self-close tags. Closes #147
214 * Fixed whitespace issue. Closes #118
215 * Fixed attrs. `,`, `=`, and `:` within attr value strings are valid Closes #133
216 * Fixed; only output "" when code == null. Ex: `span.name= user.name` when undefined or null will not output "undefined". Closes #130
217 * Fixed; throw on unexpected token instead of hanging
218
2190.6.3 / 2011-02-02
220==================
221
222 * Added `each` support for Array-like objects [guillermo]
223
2240.6.2 / 2011-02-02
225==================
226
227 * Added CSRF example, showing how you can transparently add inputs to a form
228 * Added link to vim-jade
229 * Fixed self-closing col support [guillermo]
230 * Fixed exception when getAttribute or removeAttribute run into removed attributes [Naitik Shah]
231
2320.6.0 / 2010-12-19
233==================
234
235 * Added unescaped interpolation variant `!{code}`. Closes #124
236 * Changed; escape interpolated code by default `#{code}`
237
2380.5.7 / 2010-12-08
239==================
240
241 * Fixed; hyphen in get `tag()`
242
2430.5.6 / 2010-11-24
244==================
245
246 * Added `exports.compile(str, options)`
247 * Renamed internal `_` to `__`, since `_()` is commonly used for translation
248
2490.5.5 / 2010-10-30
250==================
251
252 * Add _coffeescript_ filter [Michael Hampton]
253 * Added link to _slim_; a ruby implementation
254 * Fixed quoted attributes issue.
255
256 * Fixed attribute issue with over greedy regexp.
257 Previously "p(foo=(((('bar')))))= ((('baz')))"
258 would __fail__ for example since the regexp
259 would lookahead to far. Now we simply pair
260 the delimiters.
261
2620.5.4 / 2010-10-18
263==================
264
265 * Adding newline when using tag code when preceding text
266 * Assume newline in tag text when preceding text
267 * Changed; retain leading text whitespace
268 * Fixed code block support to prevent multiple buffer openings [Jake Luer]
269 * Fixed nested filter support
270
2710.5.3 / 2010-10-06
272==================
273
274 * Fixed bug when tags with code also have a block [reported by chrisirhc]
275
2760.5.2 / 2010-10-05
277==================
278
279 * Added; Text introduces newlines to mimic the grammar.
280 Whitespace handling is a little tricky with this sort of grammar.
281 Jade will now mimic the written grammar, meaning that text blocks
282 using the "|" margin character will introduce a literal newline,
283 where as immediate tag text (ex "a(href='#') Link") will not.
284
285 This may not be ideal, but it makes more sense than what Jade was
286 previously doing.
287
288 * Added `Tag#text` to disambiguate between immediate / block text
289 * Removed _pretty_ option (was kinda useless in the state it was in)
290 * Reverted ignoring of newlines. Closes #92.
291 * Fixed; `Parser#parse()` ignoring newlines
292
2930.5.1 / 2010-10-04
294==================
295
296 * Added many examples
297 * Added; compiler api is now public
298 * Added; filters can accept / manipulate the parse tree
299 * Added filter attribute support. Closes #79
300 * Added LL(*) capabilities
301 * Performance; wrapping code blocks in {} instead of `(function(){}).call(this)`
302 * Performance; Optimized attribute buffering
303 * Fixed trailing newlines in blocks
304
3050.5.0 / 2010-09-11
306==================
307
308 * __Major__ refactor. Logic now separated into lexer/parser/compiler for future extensibility.
309 * Added _pretty_ option
310 * Added parse tree output for _debug_ option
311 * Added new examples
312 * Removed _context_ option, use _scope_
313
3140.4.1 / 2010-09-09
315==================
316
317 * Added support for arbitrary indentation for single-line comments. Closes #71
318 * Only strip first space in text (ex '| foo' will buffer ' foo')
319
3200.4.0 / 2010-08-30
321==================
322
323 * Added tab naive support (tabs are converted to a single indent, aka two spaces). Closes #24
324 * Added unbuffered comment support. Closes #62
325 * Added hyphen support for tag names, ex: "fb:foo-bar"
326 * Fixed bug with single quotes in comments. Closes #61
327 * Fixed comment whitespace issue, previously padding. Closes #55
328
3290.3.0 / 2010-08-04
330==================
331
332 * Added single line comment support. Closes #25
333 * Removed CDATA from _:javascript_ filter. Closes #47
334 * Removed _sys_ local
335 * Fixed code following tag
336
3370.2.4 / 2010-08-02
338==================
339
340 * Added Buffer support to `render()`
341 * Fixed filter text block exception reporting
342 * Fixed tag exception reporting
343
3440.2.3 / 2010-07-27
345==================
346
347 * Fixed newlines before block
348 * Fixed; tag text allowing arbitrary trailing whitespace
349
3500.2.2 / 2010-07-16
351==================
352
353 * Added support for `jade.renderFile()` to utilize primed cache
354 * Added link to [textmate bundle](http://github.com/miksago/jade-tmbundle)
355 * Fixed filter issue with single quotes
356 * Fixed hyphenated attr bug
357 * Fixed interpolation single quotes. Closes #28
358 * Fixed issue with comma in attrs
359
3600.2.1 / 2010-07-09
361==================
362
363 * Added support for node-discount and markdown-js
364 depending on which is available.
365
366 * Added support for tags to have blocks _and_ text.
367 this kinda fucks with arbitrary whitespace unfortunately,
368 but also fixes trailing spaces after tags _with_ blocks.
369
370 * Caching generated functions. Closes #46
371
3720.2.0 / 2010-07-08
373==================
374
375 * Added `- each` support for readable iteration
376 * Added [markdown-js](http://github.com/evilstreak/markdown-js) support (no compilation required)
377 * Removed node-discount support
378
3790.1.0 / 2010-07-05
380==================
381
382 * Added `${}` support for interpolation. Closes #45
383 * Added support for quoted attr keys: `label("for": 'something')` is allowed (_although not required_) [Guillermo]
384 * Added `:less` filter [jakeluer]
385
3860.0.2 / 2010-07-03
387==================
388
389 * Added `context` as synonym for `scope` option [Guillermo]
390 * Fixed attr splitting: `div(style:"color: red")` is now allowed
391 * Fixed issue with `(` and `)` within attrs: `a(class: (a ? 'a' : 'b'))` is now allowed
392 * Fixed issue with leading / trailing spaces in attrs: `a( href="#" )` is now allowed [Guillermo]
393