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-transition
is now an empty directive, which indicates that the element has CSS transition.vm.$watch
callbacks 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-on
now delegates on a VM's root element in all cases except forblur
andfocus
events.utils.extend
now returns the extended object, thanks to @bpierre !
v0.8.8
- New
v-repeat
optimization: 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-repeat
can now iterate over Objects too! doc- Component constructors created from
Vue.extend
can 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-data
for inline data. doc v-style
now also accepts a value without argument. The value will be used to setel.style.cssText
.
- Fixed
- When the bound value of
v-model
does not exist in data, the inlinevalue
attribute will be respected and synced into data.
- When the bound value of
v0.8.7
v0.8.6
- Changed
v-component-id
has been shortened tov-ref
- lifecycle hooks
enteredView
andleftView
have been renamed toattached
anddetached
. - 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-model
now properly support<select>
withmultiple
attribute. Thanks to @duckbox !v-attr
now properly handles boolean attributes e.g.disabled
. Thanks to @th0r !- text binding now output Objects and Arrays via
JSON.stringify
instead of blank string. Thanks to @duckbox ! v-repeat
can 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
isLiteral
option for custom directives. Now custom directives without anupdate
method 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-style
has been reintroduced to deal with IE removing invalid inline styles. It comes with sweet prefixing sugar! See the API reference for more details.isLiteral
option 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. (created
andready
events fire synchronously so they cannot be listened to after the VM has been created)
- Fixed
Release v0.8.3
- New
- When using
v-component-id
withv-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