v0.10.0
Minor Changes
- Remove custom prefix configuration option + make directive generation faster: 1ba2ec5
- Improve parser by allowing custom elements that self close, but throw if there is no slash to indicate it: a645d40
- M-if now uses an empty te 6F4F xt node: a8056b2
- Make mustache tags run first with precedence: d4906cc
- Allow scoping and javascript expressions within mustaches: b3966b0
- Add a dependency system for directives and special directives, to avoid calling a getter multiple times: 147ab02
- Change all scoping inside of directives to be literal by default, without mustaches: 84c627c
Patches
- Allow lexer to handle unclosed elements (fixes #35): 5c08af7
- Allow 'el' to be a DOM element (fixes #34): 2f70afc
- Fix string escaper: ef5ffea
- Add warning for undefined values in development mode: 9333416
- Allow support for booleans and object properties in mustaches: 00f33de
- Make mask a special directive: 0430b54
- Remove m-literal on directives (already literal by default): c408132
- Diff event listeners (fixes #38)": 50b989f
- Allow text to contain comments: d888a48
- Global variables: b3bf117
- Faster way of checking for globals: 04b37da
- Allow options in plugins: d2b1182
- Format browser support table: 35e2a2e
- Clean up code generator: 2088081
- Generate children faster: 98ac037
- Faster code generation for m-for: 353dc8c
- Faster code generation for m-on: d440470
- Faster code generation for m-on and m-model: ab73cab
- Faster code generation for directives: 2b6415b
- Make dom props faster: e6dae96
- Diff a component faster: e528aeb
- Correctly add variables to scope in m-for: 4c05b2f
- Scope dynamic keypaths in m-model correctly: f53c236
- Remove unused regex: ac8fa56
- Speed up child lookup: abd312d
- Correctly diff removing children by using a seperate counter for old children: 4b919af
- Specific case for logging/error when silent: d533fc9
- Faster replace: 7d2f9ac
- Keep same regex for functions: 52dfa5c
- Warn at closing element with no matching tag: c8224d8
- Change name of parse tree walker: b692c13
- Better message for ignored closing tag: 3def907
- Simplify createNodeFromVNode by using existing appendChild utility: f441791
- Handle null children when creating nodes from vnodes: 4101a47
- Avoid many lookups into objects (perf boost): 2f61451
- Faster for loop when resolving keypath: 248781d
- Specific case for traversing children in hydration: d9d880d
- Set children when clearing in optimization by reference to retain for next diff: 858e806