Skip to content

v0.11.0

Latest
Compare
Choose a tag to compare
@kbrsh kbrsh released this 14 Jul 16:26
· 684 commits to master since this release

Minor Changes

  • Add support for different input types in 'm-model' (fixes #52): e66280c
  • Allow and enforce data to be a function in components: 640b407
  • Change naming of component cache: 63ec30e
  • Support dynamic values for m-model with radio buttons: e755dd4
  • Begin adding support for dynamic event listeners, add support for arrays, objects, and numbers for 'm-for' (fixes #62): 0093de7
  • Make eventListeners dynamic (added if needed), and add advanced optimizations ⚡: aee07e3
  • Breaking: remove custom delimiters: b12b904
  • Use custom vdom 'm' instead of hyperscript: 8dec037
  • Remove merge utility: fd8aae0
  • Add support for parent-child communication through custom events: 6f88c83

Patches

  • Avoid many lookups in lexer: c5805ba
  • Make lexer more flexible and allow '<' in html: fd7c4ef
  • Add license (fixes #50): da9b6fa
  • Fix emit: 3c870ee
  • Cache attributes in codegen for model: fa90210
  • Faster way of computing dependencies for 'm-model': 1002f79
  • Support dynamic paths in model much faster: 0f4a669
  • Correctly extract dynamic path: f05e97f
  • Optimize lookups when adding event listeners: 2509ffd
  • Add more reserved globals: 0299ec7
  • Correctly have current position in state be tracked in lexer: ed10e15
  • Lex attributes faster: 167c478
  • Check if element has attributes correctly (fixes #59): 93d9f14
  • Fix spacing in generated dependency code: ebd43c2
  • Faster unmount component when replacing node: b133e86
  • Optimize prop merger for functional components, add all props by default: 2fae857
  • Allow renderloop to have a number: c8bee28
  • Allow custom keycodes to be evaluated at runtime (fixes #55): fd35e0d
  • Improve memory by defining runtime helpers once: 9fec38e
  • Improve performance by reusing counter: 0c70406
  • Make some improvements to generator rewrite: 80db683
  • Optimize optimizer, and deoptimize if there is a special directive present: b7d419e
  • Deoptimize on directives: 1710b85
  • Generate event listener code correctly: 4ca98f7
  • Add support for special directives that implement code generation for an individual property: c95d12d
  • Return output of method from callMethod, recommended by @shellvip (closes #69): ef90104
  • Remove unused function from generator: 30aa9c7
  • Ensure special directives that generate code after children don't invoke during the childrens' code generation time: d0eeaa9
  • Fix mount: 39bc539
  • Optimize adding events when parent listens to child component events: e27c520
  • Update initMethods: 736bc17
  • Account for literal values as well as normal values when using 'm-model' with literal values (fixes #60): 11ff0de
  • Allow attributes to be set conditionally (fixes #25): 5e1dc22
  • Escape HTML correctly and efficiently (fixes #83): 63a5441
  • Allow for backslashes in templates: 48791e0
  • Perf: don't use bind: 8271182