Change Log
v0.1.11 - maintenance
News:
- Added
m.route()overload to allow reading of current route #61 - Added
backgroundoption tom.requestto allow requests that don't affect rendering #62
Bug Fixes:
- Links using
config: m.routecan now be opened in new tab correctly #64 - Fixed diff within contenteditable areas #65
v0.1.10 - maintenance
News:
- Added social buttons to homepage
Bug Fixes:
- Bi-directional bindings no longer wipe out cursor position in Chrome #58
v0.1.9 - maintenance
News:
- Added comparison with React to homepage
- Added support for multi-island apps #34
- m.prop is now JSON-serializable #54
- Added
extractoption tom.requestto allow access to response metadata #53
Bug Fixes:
- Fixed node index displacement by null/undefined nodes #56
- Fixed mock's insertBefore and appendChild when dealing w/ reattachments
Breaking changes:
- changing an id in a virtual element now recreates the element, instead of recycling it #55
v0.1.8 - maintenance
News:
- Mock now contains a basic
insertAdjacentHTMLimplementation to enable better testing ofm.trust/m.renderinteractions
Bug Fixes:
v0.1.7 - maintenance
News:
- 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 here
Bug Fixes:
- Fixed ordering bug when virtual element is preceded by array #50
v0.1.6 - maintenance
Bug Fixes:
- Fixed serious bug when mixing cached text nodes with new virtual elements #49
v0.1.5 - maintenance
News:
- Launched the Mithril Blog
Bug Fixes:
- Fixed serious ordering problem when mixing arrays with virtual elements #48
v0.1.4 - maintenance
News:
- added regression tests for reported bugs
- added support for SVG
Bug Fixes:
- URLs with port numbers are now handled correctly #40
- NPM package now contains unminified version for map files #39
- fixed ordering issue when mixing newly created virtual elements with elements from cache #44
- fixed caching bug in links w/ config option attached #43
- fixed attribute update bug when an element has both
oninputandonkeydownhandlers #36
v0.1.3 - maintenance
News:
- Mithril is now available via Component
- There's now an extra low-level optimization hook called a SubtreeDirective, which allows implementing plugins that only create virtual trees if necessary.
Bug Fixes:
- diff no longer touch the DOM when processing
styleattributes and event handlers - returning a thennable to a resolution callback in
m.deferred().promisenow causes the promise to adopt its state - diff now correctly clears subtree if null or undefined is passed as a node
v0.1.2 - maintenance
News:
- There's now a community mailing list. There's also a web interface
- Mithril is now on Travis CI. The build status can be found in the project homepage
- Mithril is now available via the CommonJS and AMD API
- Mithril can now be installed via npm and bower
Bug Fixes:
m.rendernow correctly reattaches reused DOM elements to replaced parent nodes #31- UI actions that can potentially de-synchronize the DOM from cache now force synchronization #29
v0.1.1 - maintenance
News:
Bug Fixes:
m.route.paramnow resets on route change correctly #15m.rendernow correctly ignores undefined values in the virtual tree#16- errors thrown in promises now cause downstreams to be rejected #1
Breaking changes:
changed default value for
xhr.withCredentialsfromtruetofalseform.request, since public APIs are more common than auth-walled ones. #14In order to configure this flag, the following configuration should be used:
var privateAPI = function(xhr) {xhr.withCredentials = true}; m.request({method: "GET", url: "http://foo.com/api", config: privateAPI});
v0.1 - Initial release