mithril-vndb/archive/v0.1.10/change-log.html
2014-04-25 13:51:17 -04:00

207 lines
No EOL
9.9 KiB
HTML

<!doctype html>
<html>
<head>
<title>Mithril</title>
<link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic" rel="stylesheet" />
<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>&#9675;</span> Mithril</a>
<a href="getting-started.html">Guide</a>
<a href="mithril.html">API</a>
<a href="community.html">Community</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.1.10)</h2>
<h3 id="core">Core</h3>
<ul>
<li><a href="mithril.html">m</a></li>
<li><a href="mithril.prop.html">m.prop</a></li>
<li><a href="mithril.withAttr.html">m.withAttr</a></li>
<li><a href="mithril.module.html">m.module</a></li>
<li><a href="mithril.trust.html">m.trust</a></li>
<li><a href="mithril.render.html">m.render</a></li>
<li><a href="mithril.redraw.html">m.redraw</a></li>
</ul>
<h3 id="routing">Routing</h3>
<ul>
<li><a href="mithril.route.html">m.route</a>
<ul>
<li><a href="mithril.route.html#defining-routes">m.route(rootElement, defaultRoute, routes)</a></li>
<li><a href="mithril.route.html#redirecting">m.route(path)</a></li>
<li><a href="mithril.route.html#mode-abstraction">m.route(element)</a></li>
<li><a href="mithril.route.html#mode">m.route.mode</a></li>
<li><a href="mithril.route.html#param">m.route.param</a></li>
</ul>
</li>
</ul>
<h3 id="data">Data</h3>
<ul>
<li><a href="mithril.request.html">m.request</a></li>
<li><a href="mithril.deferred.html">m.deferred</a></li>
<li><a href="mithril.sync.html">m.sync</a></li>
<li><a href="mithril.computation.html">m.startComputation / m.endComputation</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>
<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&#39;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&#39;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&#39;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&#39;s now a <a href="mailto:mithriljs@googlegroups.com">community mailing list</a>. There&#39;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: &quot;GET&quot;, url: &quot;http://foo.com/api&quot;, 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 />&copy; 2014 Leo Horie
</div>
</footer>
<script src="lib/prism/prism.js"></script>
</body>
</html>