Vue.js: v2.0.0-beta.8 Release

Release date:
August 10, 2016
Previous version:
v2.0.0-beta.7 (released August 5, 2016)
Magnitude:
995 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in v2.0.0-beta.8

yyx990803

Directory Browser for v2.0.0-beta.8

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

New

  • Improved SSR error handling when using bundleRenderer.renderToStream
  • Improved SSR warning when component is missing render function / templates

Breaking Changes

  • keep-alive is no longer a special attribute: it is now a wrapper component, similar to <transition>:
  <keep-alive>
    <component :is="view"></component>
  </keep-alive>

This makes it possible to use keep-alive on multiple conditional children (note the children should eventually evaluate to a single child - any child other than the first one will be ignored):

  <keep-alive>
    <comp-a v-if="a > 1"></comp-a>
    <comp-b v-else></comp-b>
  </keep-alive>

When used together with <transition>, make sure to nest it inside:

  <transition>
    <keep-alive>
      <component :is="view"></component>
    </keep-alive>
  </transition>

Fixed

  • #3395 fix v-show transition triggering more than necessary
  • #3400 fix slot resolution on re-renders
  • #3403 fix double quote decoding inside attributes when using DOM template
  • #3406 fix static node reused incorrectly inside v-for