Releases: MithrilJS/mithril.js
Releases · MithrilJS/mithril.js
v0.2.1: Merge remote-tracking branch 'origin/next' into next
IMPORTANT NOTE: Due to some unfortunate factors, 0.2.1 is not a stable release. Please use either 0.2.0 or latest instead
News:
- large refactor to take better advantage of Chrome js optimizations and improve source code readability (thanks to @isiahmeadows)
- added
catch
andfinally
to promises - improvements and fixes in the documentation and wiki
m(component, ...args)
can now be used as a shorthand form.component(component, ...args)
Bug Fixes:
v0.2.0
News:
- Mithril modules will be referred to as components from now on.
- Virtual DOM tree can now contain components
- Components can now be parameterized via
m.component
Deprecations:
m.module
has been renamedm.mount
. Callingm.module
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.
In order to migrate, search for m.module
calls and replace them with m.mount
. The method signature is the same.
Bug Fixes:
- fix diff edge case in
<select>
#569 - fix support for arrays in template compiler