Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

Releases: insin/msx

v0.4.1

13 May 07:08
Compare
Choose a tag to compare
  • Fixed missing comma in bin script.

v0.4.0

11 May 12:08
Compare
Choose a tag to compare
  • Mithril 0.2 component support:
    • <TitleCase> and <nested.object> tags are now treated as Mithril components - <lowercase> and <lowercase-hyphenated> tags are treated as regular tags.
    • Component attributes will be passed as the second argument to m.component().
    • Component child contents will be wrapped in an array and passed as the third argument to m.component().
  • Merged in changes since JSX Transformer 0.12.2 up to the last version before React's visitors were moved into jstransform itself.
    • Removed hardcoded list of known tags. Any lowercase name, allowing for hyphenation, is now accepted as an HTML tag.
    • New transforms: es6-call-spread, reserved-words

v0.3.0

27 Jan 00:58
Compare
Choose a tag to compare
  • Merged in changes since JSX Transformer 0.10.0 up to the current release
    version, 0.12.2:
    • The /* @jsx m */ pragma is no longer needed - Mithril's m() function is
      assumed to be in scope.
    • More ES6 transforms are
      supported when using the harmony flag.
    • JSX Spread Attributes
      allow you to merge objects into a tag's attrs, but with MSX you must ensure
      Object.assign() is available in order to use them.
    • More HTML and SVG tag names are supported.
    • Inline sourcemaps can be generated by passing a sourceMap: true option (or
      --source-map-inline flag on the command line).
  • Changed license back to MIT, now that React is licensed under BSD.

v0.2.1

26 Jan 10:14
Compare
Choose a tag to compare
  • Added a precompile option, defaulting to true.
  • Added a no-precompile option to the msx command.

v0.2.0

24 Jan 20:36
Compare
Choose a tag to compare
  • Known tag names are now precompiled to tag objects [liamcurry]
    • Unknown tag names will continue to generate m() calls