v2.0.0-beta.7
Pre-release
Pre-release
·
2630 commits
to main
since this release
New
- Improved warning information for SSR hydration failures.
- Support
:class
and:style
binding values when usingclass
andstyle
inv-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.