Skip to content

Releases: vuejs/vue

v0.9.1

25 Feb 15:36
Compare
Choose a tag to compare

Patch to fix event delegation regression.

v0.9.0: Animatrix

25 Feb 06:34
Compare
Choose a tag to compare

"...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 to Vue.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.
  • New
    • v-animation for CSS animation support. doc
    • Wrapped setTimeout in JavaScript transition effect functions. doc
    • paramAttributes options for initializing data via inline attributes. doc
    • Extended Component constructors can now use plugins too.
  • 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 for blur and focus events.
    • utils.extend now returns the extended object, thanks to @bpierre !

v0.8.8

20 Feb 23:47
Compare
Choose a tag to compare
  • 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 set el.style.cssText.
  • Fixed
    • When the bound value of v-model does not exist in data, the inline value attribute will be respected and synced into data.

v0.8.7

20 Feb 23:46
Compare
Choose a tag to compare

intermediate release.

v0.8.6

14 Feb 07:12
Compare
Choose a tag to compare
  • Changed
    • v-component-id has been shortened to v-ref
    • lifecycle hooks enteredView and leftView have been renamed to attached and detached.
    • 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

10 Feb 22:27
Compare
Choose a tag to compare
  • v-model now properly support <select> with multiple 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 of replace(), only for semantic purposes.

v0.8.5b patch

  • removed isLiteral option for custom directives. Now custom directives without an update 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

09 Feb 02:50
Compare
Choose a tag to compare
  • 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 and ready events fire synchronously so they cannot be listened to after the VM has been created)
  • Fixed
    • #80 throws error in strict mode
    • #81 skipping directives in IE
    • When a repeated VM is directly $destroyed, it now properly removes itself and its data from corresponding Arrays.

Release v0.8.3

06 Feb 02:25
Compare
Choose a tag to compare
  • New
    • When using v-component-id with v-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.

v0.8.2

03 Feb 22:20
Compare
Choose a tag to compare
  • Fixed
    • defer child components compilation so that they have access to all bindings on parent
    • fix #65 - computed properties that depend on repeated items

v0.8.1

03 Feb 14:23
Compare
Choose a tag to compare
  • New
    • Shorthand for getter-only computed properties: just directly pass in a function.