Releases: vuejs/vue
Releases · vuejs/vue
v0.9.1
v0.9.0: Animatrix
"...then man made the machine in his own likeness. Thus did man become the architect of his own demise." - The Instructor
Make sure to use latest version instead which fixes a few issues in this release.
- Breaking Changes
- JavaScript transition effect functions are now indicated by
v-effect="effect-id". Vue.transition()has been renamed toVue.effect()v-transitionis now an empty directive, which indicates that the element has CSS transition.vm.$watchcallbacks are now batched - multiple changes to the same value within a single event loop will result in the callback fired only once, with the latest value.
- JavaScript transition effect functions are now indicated by
- New
- Fixed
- #129 Extended Component constructors now properly encapsulate assets registered through methods.
- Internal Changes
v-onnow delegates on a VM's root element in all cases except forblurandfocusevents.utils.extendnow returns the extended object, thanks to @bpierre !
v0.8.8
- New
v-repeatoptimization: now when reseting the Array, Vue.js performs diffing to find out if the new Array contains any data from the old Array. For any existing data, the associated VM and DOM node will be reused. This greatly improves performance when the repeated VM itself has a complicated inner structure.v-repeatcan now iterate over Objects too! doc- Component constructors created from
Vue.extendcan now also add more private assets using asset registration methods similar to their global counterparts. doc - Original HTML content of a component node will be inserted at
{{>yield}}inside templates. doc - add
v-datafor inline data. doc v-stylenow also accepts a value without argument. The value will be used to setel.style.cssText.
- Fixed
- When the bound value of
v-modeldoes not exist in data, the inlinevalueattribute will be respected and synced into data.
- When the bound value of
v0.8.7
v0.8.6
- Changed
v-component-idhas been shortened tov-ref- lifecycle hooks
enteredViewandleftViewhave been renamed toattachedanddetached. - Non-element nodes inside templates are now ignored.
- New
v-cloak: similar to ngCloak. It is automatically removed when the ViewModel is ready.
- Fixed
- text bindings now work properly for objects and arrays. However, events emitted from objects inside an Array won't propagate outside of the Array for efficiency concerns. The use case doesn't justify the increase in complexity.
Patch v0.8.5c
v-modelnow properly support<select>withmultipleattribute. Thanks to @duckbox !v-attrnow properly handles boolean attributes e.g.disabled. Thanks to @th0r !- text binding now output Objects and Arrays via
JSON.stringifyinstead of blank string. Thanks to @duckbox ! v-repeatcan now deal with Arrays of primitive values. doc- Added a rough implementation for the plugin interface. doc
- Added some protection for common template XSS attacks
- Observed Arrays now also has a
set()method, which is essentially an alias ofreplace(), only for semantic purposes.
v0.8.5b patch
- removed
isLiteraloption for custom directives. Now custom directives without anupdatemethod will simply be treated as literal. - reverted the behavior that when a repeated VM is $destroyed it would remove its data from bound Array, as this would cause trouble when having nested repeat structures. The advice here is never manually $destroy a repeated instance; always do so by manipulating the Array data.
v0.8.5c patch
- Use updated version of gulp-component to rebuild
v0.8.4
- New
v-stylehas been reintroduced to deal with IE removing invalid inline styles. It comes with sweet prefixing sugar! See the API reference for more details.isLiteraloption for custom directives. This allows the user to create a directive that literally take its attribute value as the value.- Lifecycle hooks mechanism has been rewritten. User can now listen to
'hook:eventName'on created VMs. (createdandreadyevents fire synchronously so they cannot be listened to after the VM has been created)
- Fixed
Release v0.8.3
- New
- When using
v-component-idwithv-repeat,parent.$[id]will return an Array of ViewModels mirroring the data Array. - use triple mustache for unescaped inline HTML:
{{{ "<em>" + msg + "</em>" }}} - IE9 no longer requires classList polyfill.
- When using