Skip to content

Releases: MithrilJS/mithril.js

🎉 All kinds of components! 🎉

27 Mar 22:01
Compare
Choose a tag to compare

New

  • support for ES6 class components
  • support for closure components

Bug fixes

  • fix IE11 input[type] error - #1610
  • apply #1609 to unkeyed children case
  • fix abort detection #1612
  • fix input value focus issue when value is loosely equal to old value #1593

v0.2.3

02 Mar 21:20
Compare
Choose a tag to compare

Bug Fixes:

  • fix regression that prevented string keys
  • fix handling of read-only attributes #925
  • fix double unloading issue #931

v0.2.2-rc.1

20 Dec 14:34
Compare
Choose a tag to compare

Bug Fixes:

  • revert regressions from 0.2.1 refactor
  • revert finally because it's not in the ES6 promise spec

v0.2.1: Merge remote-tracking branch 'origin/next' into next

19 Dec 03:20
Compare
Choose a tag to compare

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 and finally to promises
  • improvements and fixes in the documentation and wiki
  • m(component, ...args) can now be used as a shorthand for m.component(component, ...args)

Bug Fixes:

  • errors thrown from the exception monitor no longer freeze redrawing
  • fix edge case with falsy keys
  • fix controller prototype inheritance in component controllers
  • fix return value of parseQueryString if input is empty string
  • fix component unloading #614 #866

v0.2.0

01 May 13:00
Compare
Choose a tag to compare

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 renamed m.mount. Calling m.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