forked from agsdot/mithril
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchange-log.html
534 lines (531 loc) · 30.7 KB
/
change-log.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
<!doctype html>
<html>
<head>
<title>Change Log - Mithril</title>
<meta name="description" value="Mithril.js - a Javascript Framework for Building Brilliant Applications" />
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>
<body>
<header>
<nav class="container">
<a href="index.html" class="logo"><span>○</span> Mithril</a>
<a href="getting-started.html">Guide</a>
<a href="mithril.html">API</a>
<a href="community.html">Community</a>
<a href="http://lhorie.github.io/mithril-blog">Learn</a>
<a href="mithril.min.zip">Download</a>
<a href="http://github.com/lhorie/mithril.js" target="_blank">Github</a>
</nav>
</header>
<main>
<section class="content">
<div class="container">
<div class="row">
<div class="col(3,3,12)">
<h2 id="api">API (v0.2.0)</h2>
<h3 id="core">Core</h3>
<ul>
<li><a href="mithril.html" title="A utility to create virtual elements">m</a></li>
<li><a href="mithril.component.html" title="Parameterizes a component">m.component</a></li>
<li><a href="mithril.mount.html" title="Renders a component">m.mount</a></li>
<li><a href="mithril.prop.html" title="A getter-setter utility">m.prop</a></li>
<li><a href="mithril.withAttr.html" title="A event handler factory utility">m.withAttr</a></li>
</ul>
<h3 id="routing">Routing</h3>
<ul>
<li><a href="mithril.route.html" title="A routing utility">m.route</a>
<ul>
<li><a href="mithril.route.html#defining-routes" title="Defines what routes exist">m.route(rootElement, defaultRoute, routes)</a></li>
<li><a href="mithril.route.html#redirecting" title="Redirects to a route">m.route(path, params, replaceHistory)</a></li>
<li><a href="mithril.route.html#reading-current-route" title="Read the current route">m.route()</a></li>
<li><a href="mithril.route.html#mode-abstraction" title="Routing mode abstraction">m.route(element)</a></li>
<li><a href="mithril.route.html#mode" title="Whether routing uses location hash, querystring or pathname">m.route.mode</a></li>
<li><a href="mithril.route.html#param" title="Read an argument from a parameterized route">m.route.param</a></li>
<li><a href="mithril.route.html#buildQueryString" title="Serialize data into querystring format">m.route.buildQueryString</a></li>
<li><a href="mithril.route.html#parseQueryString" title="Read an argument from a parameterized route">m.route.parseQueryString</a></li>
</ul>
</li>
</ul>
<h3 id="data">Data</h3>
<ul>
<li><a href="mithril.request.html" title="A high-level AJAX utility">m.request</a></li>
<li><a href="mithril.deferred.html" title="A Promise factory">m.deferred</a></li>
<li><a href="mithril.sync.html" title="A Promise aggregator">m.sync</a></li>
</ul>
<h3 id="html">HTML</h3>
<ul>
<li><a href="mithril.trust.html" title="A method to unescape HTML">m.trust</a></li>
</ul>
<h3 id="rendering">Rendering</h3>
<ul>
<li><a href="mithril.render.html" title="The lowest level rendering method">m.render</a></li>
<li><a href="mithril.redraw.html" title="A high-level explicit rendering method">m.redraw</a>
<ul>
<li><a href="mithril.redraw.html#strategy" title="A flag that drives the rendering strategy for the next redraw">m.redraw.strategy(strategy)</a></li>
</ul>
</li>
<li><a href="mithril.computation.html" title="Utilities to integrate asynchronous contexts to the rendering system">m.startComputation / m.endComputation</a></li>
</ul>
<h3 id="data">Testing</h3>
<ul>
<li><a href="mithril.deps.html" title="The dependency injector">m.deps</a></li>
</ul>
<h2 id="archive">History</h2>
<ul>
<li><a href="roadmap.html">Roadmap</a></li>
<li><a href="change-log.html">Change log</a></li>
</ul>
</div>
<div class="col(9,9,12)">
<h2 id="change-log">Change Log</h2>
<hr>
<p><a href="/mithril/archive/v0.2.0">v0.2.0</a> - improved components</p>
<h3 id="news-">News:</h3>
<ul>
<li>Mithril modules will be referred to as <em>components</em> from now on.</li>
<li>Virtual DOM tree can now contain <a href="mithril.component.html">components</a></li>
<li>Components can now be parameterized via <code>m.component</code></li>
</ul>
<h3 id="deprecations-">Deprecations:</h3>
<ul>
<li><p><code>m.module</code> has been renamed <code>m.mount</code>. Calling <code>m.module</code> will still work, but should be considered deprecated. Rationale: Mithril modules and components are the same thing, therefore from now on, they will be referred to as components, since that name is more descriptive of their purpose, and causes less confusion in the face of ES6 modules.</p>
<p>In order to migrate, search for <code>m.module</code> calls and replace them with <code>m.mount</code>. The method signature is the same.</p>
</li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>fix diff edge case in <code><select></code> <a href="https://github.com/lhorie/mithril.js/issues/569">#569</a></li>
<li>fix support for arrays in template compiler</li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.34">v0.1.34</a> - maintenance</p>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>fix identity bug when mixing unkeyable elements in a tree <a href="https://github.com/lhorie/mithril.js/issues/524">#524</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.33">v0.1.33</a> - maintenance</p>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>fix diff bug when mixing <code>undefined</code> in a tree <a href="https://github.com/lhorie/mithril.js/issues/524">#524</a></li>
<li>fix reference to map file in package.json for cdnjs</li>
<li>fix links in documentation</li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.32">v0.1.32</a> - maintenance</p>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>fix regression caused by <a href="https://github.com/lhorie/mithril.js/issues/454">#454</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.31">v0.1.31</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>Typescript definitions are more strongly typed</li>
<li>m.request's <code>unwrapSuccess</code> and <code>unwrapError</code> callbacks now receive the XMLHttpRequest instance as a second parameter</li>
<li>3rd parameter for <code>m.route(route, params, shouldReplaceHistory)</code> is now public</li>
<li>exact routes now have higher precedence than routes w/ variables <a href="https://github.com/lhorie/mithril.js/issues/452">#452</a></li>
<li>there's now a <code>retain</code> flag to control on-route-change diff strategy on a per-element basis</li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>fix routing bug in IE9 <a href="https://github.com/lhorie/mithril.js/issues/320">#320</a></li>
<li>fix ordering bug in m.trust when using HTML entities <a href="https://github.com/lhorie/mithril.js/issues/453">#453</a></li>
<li>set promise's default value to initialValue if coming from m.request <a href="https://github.com/lhorie/mithril.js/issues/454">#454</a></li>
<li>fix dom element ownership bug when mixing keyed elements and third party plugin elements <a href="https://github.com/lhorie/mithril.js/issues/463">#463</a></li>
<li>fix edge case in flatten algorithm <a href="https://github.com/lhorie/mithril.js/issues/448">#448</a></li>
<li>prevent unnecessary DOM move operation when mixing keyed and unkeyed elements <a href="https://github.com/lhorie/mithril.js/issues/398">#398</a></li>
<li>revert <a href="https://github.com/lhorie/mithril.js/issues/382">#382</a> due to diff regression <a href="https://github.com/lhorie/mithril.js/issues/512">#512</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.30">v0.1.30</a> - maintenance</p>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>fix history.back() regression <a href="https://github.com/lhorie/mithril.js/issues/435">#435</a></li>
<li>fix module.view's <code>this</code> association regression in Haxe environment <a href="https://github.com/lhorie/mithril.js/issues/434">#434</a></li>
<li>fix array serialization syntax in querystrings <a href="https://github.com/lhorie/mithril.js/issues/440">#440</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.29">v0.1.29</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>Calling m.module without a module now unloads the current one <a href="https://github.com/lhorie/mithril.js/issues/420">#420</a></li>
<li>Both <code>controller</code> and <code>view</code> properties in modules are now optional</li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>prevent empty class attributes <a href="https://github.com/lhorie/mithril.js/issues/382">#382</a></li>
<li>array-to-querystring serialization in <code>m.request</code> now behaves like jQuery <a href="https://github.com/lhorie/mithril.js/issues/426">#426</a></li>
<li>fix querystring detection bug in pathname mode <a href="https://github.com/lhorie/mithril.js/issues/425">#425</a></li>
<li>don't add history entry if reloading from a link <a href="https://github.com/lhorie/mithril.js/issues/428">#428</a></li>
<li>fix key association when DOM order is modified by external code <a href="https://github.com/lhorie/mithril.js/issues/424">#424</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.28">v0.1.28</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>Landed some performance improvements</li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>throw error if root element is null in m.module/m.route <a href="https://github.com/lhorie/mithril.js/issues/388">#388</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.27">v0.1.27</a> - maintenance</p>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>prevent strategy("none") event contamination <a href="https://github.com/lhorie/mithril.js/issues/378">#378</a></li>
<li>fix equality strictness <a href="https://github.com/lhorie/mithril.js/issues/379">#379</a></li>
<li>fix keys bug when list has nulls <a href="https://github.com/lhorie/mithril.js/issues/299">#299</a></li>
<li>make sure empty value in option tag creates attribute <a href="https://github.com/lhorie/mithril.js/issues/380">#380</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.26">v0.1.26</a> - maintenance</p>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>make sure input[type] is CSS-targetable <a href="https://github.com/lhorie/mithril.js/issues/364">#364</a></li>
<li>throw error if m.route.param is called before initializing routes <a href="https://github.com/lhorie/mithril.js/issues/361">#361</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.25">v0.1.25</a> - maintenance</p>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>fixed input cursor jumping regression</li>
<li>fixed interop bug when QUnit and AMD are used at the same time <a href="https://github.com/lhorie/mithril.js/issues/355">#355</a></li>
<li>fixed route arg duplication in edge case <a href="https://github.com/lhorie/mithril.js/issues/352">#352</a></li>
<li>prevented meaningless error in Chrome edge case <a href="https://github.com/lhorie/mithril.js/issues/358">#358</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.24">v0.1.24</a> - maintenance</p>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>Prevent rogue <code>is</code> attribute from being created in Chrome</li>
<li>Fix <code>data</code> regression in <code>m.request</code></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.23">v0.1.23</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>There's now support for extended custom elements (e.g. <code>m("button[is=my-button]")</code>)</li>
<li><code>m.request</code> now supports a <code>initialValue</code> option to help prevent type errors in views when using the <code>background</code> option</li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>docs now have anchor links for easier navigation</li>
<li>fixed a bunch of IE8 issues <a href="https://github.com/lhorie/mithril.js/issues/298">#298</a></li>
<li>fixed handling of <code>method</code> option in JSONP mode <a href="https://github.com/lhorie/mithril.js/issues/292">#292</a></li>
<li>fixed source map files</li>
<li>fixed handling of select[multiple]</li>
<li>fixed template compiler edge case <a href="https://github.com/lhorie/mithril.js/issues/286">#286</a></li>
<li>fixed pathname bug in m.route <a href="https://github.com/lhorie/mithril.js/issues/290">#290</a></li>
<li>fixed pathname querystring bug in routed links <a href="https://github.com/lhorie/mithril.js/issues/304">#304</a></li>
<li>fixed handling of value in inputs when model value is not in sync with input value <a href="https://github.com/lhorie/mithril.js/issues/336">#336</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.22">v0.1.22</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>docs now have anchor links for easier navigation</li>
<li>there is more documentation for things that weren't that clear</li>
<li>json-p support added</li>
<li><code>m()</code> now supports splat for children (e.g. <code>m("div", m("a"), m("b"), m("i"))</code> for nicer Coffeescript syntax</li>
<li>by popular demand, <code>m.module</code> now returns a controller instance</li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>gracefully degrade on IE exceptions when setting invalid values</li>
<li>fixes for Typescript definition file</li>
<li>fixed bug in keys algorithm when mixing keyed and unkeyed elements <a href="https://github.com/lhorie/mithril.js/issues/246">#246</a></li>
<li>added promise exception monitor and reverted promise exception handling semantics to v0.1.19 semantics (see <a href="mithril.deferred.html#unchecked-error-handling">docs</a>)</li>
<li>fixed redraw scheduling bug in old version of IE</li>
<li>fixed incorrect diff when document is root, and html element is omitted</li>
<li>fixed querystring clobbering in links w/ config:m.route <a href="https://github.com/lhorie/mithril.js/issues/261">#261</a></li>
<li>fixed rare bug that made events get dropped <a href="https://github.com/lhorie/mithril.js/issues/214">#214</a></li>
<li>don't send Content-Type header if there's no request data <a href="https://github.com/lhorie/mithril.js/issues/280">#280</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.21">v0.1.21</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>passing a promise to an <code>m.prop</code> now populates it with the resolved value upon resolution, and returns <code>undefined</code> otherwise</li>
<li><code>m.redraw</code> can now be forced to called synchronously</li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>fixed handling of <code>+</code> character in <code>m.route.param</code> <a href="https://github.com/lhorie/mithril.js/issues/204">#204</a></li>
<li>fixed corner case for undefined children in diff <a href="https://github.com/lhorie/mithril.js/issues/206">#206</a></li>
<li>fixed context.onunload for array items <a href="https://github.com/lhorie/mithril.js/issues/200">#200</a></li>
<li>fixed handling on comments in HTML converter tool</li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.20">v0.1.20</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>redraw strategy can now be modified via <code>m.redraw.strategy</code></li>
<li><code>math</code> tags now automatically get created with the MathML namespace</li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>fixed IE8 null reference exception in <code>m</code></li>
<li>fixed IE8 empty-text-node-in-input issue <a href="https://github.com/lhorie/mithril.js/issues/195">#195</a></li>
<li>fixed <code>m.sync</code> resolution when passed an empty array <a href="https://github.com/lhorie/mithril.js/issues/191">#191</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.19">v0.1.19</a> - maintenance</p>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>fixed double redraw when events fire simultaneously <a href="https://github.com/lhorie/mithril.js/issues/151">#151</a></li>
<li>fixed node insertion bug when using document as root <a href="https://github.com/lhorie/mithril.js/issues/153">#153</a></li>
<li>prevent routes from reverting to original route in some cases</li>
<li>fixed nested array ordering <a href="https://github.com/lhorie/mithril.js/issues/156">#156</a></li>
<li>fixed key ordering in interpolation case <a href="https://github.com/lhorie/mithril.js/issues/157">#157</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.18">v0.1.18</a> - maintenance</p>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>routing now correctly clears diff cache <a href="https://github.com/lhorie/mithril.js/issues/148">#148</a></li>
<li>fixed incorrect context unloading when reattaching a child to a new parent</li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.17">v0.1.17</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>config contexts can now have an <code>onunload</code> property for clean up tasks after elements are detached from the document</li>
<li>route changes now re-render from scratch, rather than attempting a virtual dom diff</li>
<li>virtual elements that are children of an array can now accept a <code>key</code> attribute which maintains the identity of the underlying DOM elements when the array gets shuffled <a href="https://github.com/lhorie/mithril.js/issues/98">#98</a></li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>fixed a subtree directive bug that happened in inputs inside loops</li>
<li>fixed select.value so that the correct option is displayed on first render</li>
<li>in m.request, non-idempotent methods now automatically send appropriate Content-Type header if <code>serialize</code> is <code>JSON.stringify</code> <a href="https://github.com/lhorie/mithril.js/issues/139">#139</a></li>
<li><code>m</code> selectors now correctly handle empty attribute values like <code>[href='']</code></li>
<li>pre-existing nodes in a root element now get cleared if there's no cell cache associated with the element <a href="https://github.com/lhorie/mithril.js/issues/60">#60</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.16">v0.1.16</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>controller::onunload now receives an event parameter so that the unloading can be aborted <a href="https://github.com/lhorie/mithril.js/issues/135">#135</a></li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>prevent route change when only hash changes in non-hash mode <a href="https://github.com/lhorie/mithril.js/issues/107">#107</a></li>
<li>config now always runs after template is attached to document <a href="https://github.com/lhorie/mithril.js/issues/109">#109</a></li>
<li>fix null reference exception with Browserify <a href="https://github.com/lhorie/mithril.js/issues/110">#110</a></li>
<li>fix nested array removal edge cases <a href="https://github.com/lhorie/mithril.js/issues/120">#120</a></li>
<li>ignore redraw calls when controller is not ready <a href="https://github.com/lhorie/mithril.js/issues/127">#127</a></li>
<li>fix null reference exception in nested array edge case <a href="https://github.com/lhorie/mithril.js/issues/129">#129</a></li>
<li>fix a contenteditable null reference error <a href="https://github.com/lhorie/mithril.js/issues/134">#134</a></li>
<li>fix textarea value diffing when value is a node inside an array <a href="https://github.com/lhorie/mithril.js/issues/136">#136</a></li>
<li>fix diff bug with trusted strings <a href="https://github.com/lhorie/mithril.js/issues/138">#138</a></li>
</ul>
<h3 id="breaking-changes-">Breaking changes:</h3>
<ul>
<li>Due to the poor level of compatibility between XDomainRequest and XHR2, XDomainRequest is no longer called internally by Mithril. If you need to use CORS in IE9 or lower, you will need to return an XDomainRequest instance from <code>m.request</code>'s <code>config</code> method <a href="https://github.com/lhorie/mithril.js/issues/121">#121</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.15">v0.1.15</a> - maintenance</p>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li><code>m.sync</code> now correctly passes arguments to resolver in same order as input arguments <a href="https://github.com/lhorie/mithril.js/issues/96">#96</a> </li>
<li>fixed diff deletion bug <a href="https://github.com/lhorie/mithril.js/issues/99">#99</a> </li>
<li>updating textarea attributes updates its value correctly <a href="https://github.com/lhorie/mithril.js/issues/100">#100</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.14">v0.1.14</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>The signature of <code>m</code> now accepts virtual elements as the second parameter of the function.</li>
<li><code>m.route(path, params)</code> now accepts an argument that gets parsed as a querystring.</li>
<li>routes now ignore trailing slashes <a href="https://github.com/lhorie/mithril.js/issues/88">#88</a></li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>Resolving promises early without a value now works <a href="https://github.com/lhorie/mithril.js/issues/85">#85</a></li>
<li>Throwing exceptions within <code>m.request</code> now follow the same resolution procedure as <code>m.deferred</code> <a href="https://github.com/lhorie/mithril.js/issues/85">#86</a></li>
<li>Promises now always update their <code>m.prop</code> on success (and leave the m.prop alone on error)</li>
<li>Nested arrays no longer cause double removal of elements <a href="https://github.com/lhorie/mithril.js/issues/87">#87</a></li>
<li>HTTP error codes now correctly reject promises</li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.13">v0.1.13</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>m.module now runs clean-up code in root module controllers that implement an <code>onunload</code> instance method <a href="https://github.com/lhorie/mithril.js/issues/82">#82</a></li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>Removing CSS rules now diffs correctly <a href="https://github.com/lhorie/mithril.js/issues/79">#79</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.12">v0.1.12</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>It's now possible to define <a href="mithril.route.html#variadic-routes">variadic routes</a> <a href="https://github.com/lhorie/mithril.js/issues/70">#70</a></li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>Fix link location in links using <code>config: m.route</code> after redraws <a href="https://github.com/lhorie/mithril.js/issues/74">#74</a></li>
<li>Fixed support for <code>list</code> attribute in inputs <a href="https://github.com/lhorie/mithril.js/issues/69">#69</a></li>
<li>Fixed URL decoding in route params <a href="https://github.com/lhorie/mithril.js/issues/75">#75</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.11">v0.1.11</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>Added <code>m.route()</code> overload to allow reading of current route <a href="https://github.com/lhorie/mithril.js/issues/61">#61</a></li>
<li>Added <code>background</code> option to <code>m.request</code> to allow requests that don't affect rendering <a href="https://github.com/lhorie/mithril.js/issues/62">#62</a></li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>Links using <code>config: m.route</code> can now be opened in new tab correctly <a href="https://github.com/lhorie/mithril.js/issues/64">#64</a></li>
<li>Fixed diff within contenteditable areas <a href="https://github.com/lhorie/mithril.js/issues/65">#65</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.10">v0.1.10</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>Added social buttons to homepage</li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>Bi-directional bindings no longer wipe out cursor position in Chrome <a href="https://github.com/lhorie/mithril.js/issues/58">#58</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.9">v0.1.9</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>Added comparison with React to homepage</li>
<li>Added support for multi-island apps <a href="https://github.com/lhorie/mithril.js/issues/34">#34</a></li>
<li>m.prop is now JSON-serializable <a href="https://github.com/lhorie/mithril.js/issues/54">#54</a></li>
<li>Added <code>extract</code> option to <code>m.request</code> to allow access to response metadata <a href="https://github.com/lhorie/mithril.js/issues/53">#53</a></li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>Fixed node index displacement by null/undefined nodes <a href="https://github.com/lhorie/mithril.js/issues/56">#56</a></li>
<li>Fixed mock's insertBefore and appendChild when dealing w/ reattachments</li>
</ul>
<h3 id="breaking-changes-">Breaking changes:</h3>
<ul>
<li>changing an id in a virtual element now recreates the element, instead of recycling it <a href="https://github.com/lhorie/mithril.js/issues/55">#55</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.8">v0.1.8</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>Mock now contains a basic <code>insertAdjacentHTML</code> implementation to enable better testing of <code>m.trust</code> / <code>m.render</code> interactions</li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>Fixed ordering bug in deep subchildren <a href="https://github.com/lhorie/mithril.js/issues/51">#51</a></li>
<li>Fixed ordering bug with trusted strings <a href="https://github.com/lhorie/mithril.js/issues/51">#51</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.7">v0.1.7</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>Mithril will be on a accelerated release cycle for the rest of the v0.1.x series. This means CDNs may lag behind in versions, so it's recommended that you either use one of the supported NodeJS package managers or fork from the Github repo directly. More information can be found <a href="https://groups.google.com/forum/#!msg/mithriljs/mc0qTgFTlgs/OD7Mc7_2Wa4J">here</a></li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>Fixed ordering bug when virtual element is preceded by array <a href="https://github.com/lhorie/mithril.js/issues/50">#50</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.6">v0.1.6</a> - maintenance</p>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>Fixed serious bug when mixing cached text nodes with new virtual elements <a href="https://github.com/lhorie/mithril.js/issues/49">#49</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.5">v0.1.5</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>Launched the <a href="http://lhorie.github.io/mithril-blog">Mithril Blog</a></li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>Fixed serious ordering problem when mixing arrays with virtual elements <a href="https://github.com/lhorie/mithril.js/issues/48">#48</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.4">v0.1.4</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>added regression tests for reported bugs</li>
<li>added support for SVG</li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>URLs with port numbers are now handled correctly <a href="https://github.com/lhorie/mithril.js/issues/40">#40</a></li>
<li>NPM package now contains unminified version for map files <a href="https://github.com/lhorie/mithril.js/issues/39">#39</a></li>
<li>fixed ordering issue when mixing newly created virtual elements with elements from cache <a href="https://github.com/lhorie/mithril.js/issues/44">#44</a></li>
<li>fixed caching bug in links w/ config option attached <a href="https://github.com/lhorie/mithril.js/issues/43">#43</a></li>
<li>fixed attribute update bug when an element has both <code>oninput</code> and <code>onkeydown</code> handlers <a href="https://github.com/lhorie/mithril.js/issues/36">#36</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.3">v0.1.3</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>Mithril is now available via <a href="http://component.io">Component</a></li>
<li>There's now an extra low-level optimization hook called a SubtreeDirective, which allows implementing plugins that only create virtual trees if necessary.</li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li>diff no longer touch the DOM when processing <code>style</code> attributes and event handlers</li>
<li>returning a thennable to a resolution callback in <code>m.deferred().promise</code> now causes the promise to adopt its state </li>
<li>diff now correctly clears subtree if null or undefined is passed as a node</li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.2">v0.1.2</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>There's now a <a href="mailto:[email protected]">community mailing list</a>. There's also a <a href="https://groups.google.com/forum/#!forum/mithriljs">web interface</a></li>
<li>Mithril is now on Travis CI. The build status can be found in the <a href="https://github.com/lhorie/mithril.js">project homepage</a></li>
<li>Mithril is now available via the CommonJS and AMD API</li>
<li>Mithril can now <a href="installation.html">be installed via npm and bower</a></li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li><code>m.render</code> now correctly reattaches reused DOM elements to replaced parent nodes <a href="https://github.com/lhorie/mithril.js/issues/31">#31</a></li>
<li>UI actions that can potentially de-synchronize the DOM from cache now force synchronization <a href="https://github.com/lhorie/mithril.js/issues/29">#29</a></li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1.1">v0.1.1</a> - maintenance</p>
<h3 id="news-">News:</h3>
<ul>
<li>Mithril is now available at <a href="http://cdnjs.com/libraries/mithril/">cdnjs</a> and <a href="http://www.jsdelivr.com/#!mithril">jsdelivr</a></li>
</ul>
<h3 id="bug-fixes-">Bug Fixes:</h3>
<ul>
<li><code>m.route.param</code> now resets on route change correctly <a href="https://github.com/lhorie/mithril.js/issues/15">#15</a></li>
<li><code>m.render</code> now correctly ignores undefined values in the virtual tree<a href="https://github.com/lhorie/mithril.js/issues/16">#16</a></li>
<li>errors thrown in promises now cause downstreams to be rejected <a href="https://github.com/lhorie/mithril.js/issues/1">#1</a></li>
</ul>
<h3 id="breaking-changes-">Breaking changes:</h3>
<ul>
<li><p>changed default value for <code>xhr.withCredentials</code> from <code>true</code> to <code>false</code> for <code>m.request</code>, since public APIs are more common than auth-walled ones. <a href="https://github.com/lhorie/mithril.js/issues/14">#14</a></p>
<p>In order to configure this flag, the following configuration should be used:</p>
<pre><code class="lang-javascript">var privateAPI = function(xhr) {xhr.withCredentials = true};
m.request({method: "GET", url: "http://foo.com/api", config: privateAPI});
</code></pre>
</li>
</ul>
<hr>
<p><a href="/mithril/archive/v0.1">v0.1</a> - Initial release</p>
</div>
</div>
</div>
</section>
</main>
<footer>
<div class="container">
Released under the <a href="http://opensource.org/licenses/MIT" target="_blank">MIT license</a>
<br />© 2014 Leo Horie
</div>
</footer>
<script src="lib/prism/prism.js"></script>
</body>
</html>