Skip to content

Releases: tangbc/sugar

v1.2.2

27 Aug 00:38
Compare
Choose a tag to compare
  • v-for support item in/of items as a iterator.
  • v-model support lazy, debounce to control text input event.

v1.2.1

19 Aug 09:20
Compare
Choose a tag to compare

Support computed property.

v1.2.0

18 Aug 08:25
Compare
Choose a tag to compare

[Significance]

v1.2.0 has changed to a completely new dependency tracking mode.

It's lighter and more powerfull than before version.

And, of course, it's more stable and extendable!

v1.1.8

04 Aug 01:29
Compare
Choose a tag to compare

[Significance]

v1.1.8 is the end of path dependency tracking mode, next will be new and more powerfull !

v1.1.7

30 Jul 02:58
Compare
Choose a tag to compare
  • Change component API
    • html change to view
    • viewReady change to afterRender

v1.1.6

27 Jul 01:45
Compare
Choose a tag to compare
  • Change mvvm instance vm.$ to vm.$data.
  • Extract regular expression from some functions.
  • Update ajax module and return the xhr after request.
  • Sub component supports declarative nested in template.
  • Remove sendQueue from messager.

v1.1.5

14 Jul 08:22
Compare
Choose a tag to compare
  • Optimize compile speed.
  • Deal with the same object value in v-for list.

v1.1.4

09 Jul 00:55
Compare
Choose a tag to compare
  • Return a noop if parse directive expression error.
  • Add and remove class, classname can be separated by space.
  • Support use CSS selector such as target: '#app' to build component.

v1.1.3

08 Jul 02:51
Compare
Choose a tag to compare
  • Fixed & add:
    • add destroy api.
    • add clear on util.
    • add eventer module.
    • fixed several system bugs.
  • Update test files and sugar component test.

v1.1.2

02 Jul 03:17
Compare
Choose a tag to compare
  • Fixed & add:
    • Add getItem in vm instance to return a copy model.
    • Data change from two level v-for and get cross scope error.
    • Use back try catch for JSON.parse on module ajax.
  • Use rollup for bundling, pack files are lighter than before.