-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Releases: vuejs/vue
v0.8.0
- Changed
- Computed Properties should now be provided using the
computedoption. - when a binding's key is not found on a ViewModel and any of its parents, the binding will be now created on the current vm instead of root vm.
update()is now optional when creating custom directives.
- Computed Properties should now be provided using the
- Fixed
- Composition Events will now always cause v-model to lock update.
- Other
- Internal refactor for binding logic
Assets 2
v0.7.6
- Fixed
- expressions on repeated items now have correct execution context.
- inline partials now work correctly with directives that require access to parentNode (v-repeat & v-if)
Assets 2
v0.7.5
- New
- new directive:
v-with, which can be used in combination withv-componentor standalone
- new directive:
- Changed
v-componentnow takes only a string value (the component id)Vue.component()now also registers the component id to be usable as a custom element
Assets 2
v0.7.4
- Changed
v-styleandv-visiblehave been removed because the user can simply interpolate the attributes.
- Fixed
- fixed issue in Expression Parser when strings in expressions can contain variable names
Assets 2
v0.7.3
- New
- add support for interpolating bindings in HTML attributes.
- Changes
vm.$watchnow fires callbacks asynchronously, after all bindings updates have been called.vm.$emitnow triggers callback on self only - propagating events should usevm.$dispatch
- Fixed
- resolve
v-modelInput Method composition issues when it's piped through filters.
- resolve
Assets 2
v0.7.2
- avoid duplicate Observer.convert() because of the new compile procedure.
Assets 2
v0.7.1: Async binding updates
Now all binding updates are pushed into a queue and updated asynchronously. This avoids duplicate updates of the same binding when values change multiple times inside a single event loop. In general this brings considerable performance improvement (~40% in the todomvc benchmark).
Assets 2
v0.7.0
-
API change:
scopeoption is now split intodataandmethods.protooption has been removed. -
Object observer rewrite: the ViewModel will now directly proxy the value get/set to the
dataobject passed in at instantiation. This allows the user to manipulate data directly or on the ViewModel and they will always be in sync. -
The new observe mechanism makes the
v-repeatandv-componentmuch simpler, as a nested object is no longer needed when creating child ViewModels:Before
<div v-component="list:listOptions"> <div v-repeat="item:model.items"> {{item.title}} </div> </div>
After
<div v-component="list:listOptions"> <div v-repeat="items"> {{title}} </div> </div>
Assets 2
0.6.0: VueJS
- rename the library to VueJS
- default directive prefix is now "v-"
- add ability to create custom elements with
Vue.element() - more robust directive parsing and expression parsing
- now user can use the
Mathobject within expressions