npm vue-template-compiler 2.0.0-beta.7

latest releases: 2.7.16, 2.7.16-beta.2, 2.7.16-beta.1...
7 years ago

New

  • Improved warning information for SSR hydration failures.
  • Support :class and :style binding values when using class and style in v-bind="object".

Fixed

  • Fixed SSR hydration failures when using <transition> that evaluates to empty nodes.
  • #3379 :style bindings now work for plain strings as well
  • #3386 & #3391 slot children not correctly updating

Breaking Changes

  • When using render functions, it is now no longer necessary (nor supported) to wrap component children inside a function:

    render (h) {
      // before
      return h(Comp, () => [...children])
    
      // after
      return h(Comp, [...children])
    }

    If you are using JSX, make sure to upgrade to babel-plugin-transform-vue-jsx to ^3.0.0.

Don't miss a new vue-template-compiler release

NewReleases is sending notifications on new releases.