v2.0.0-rc.3
Pre-release
Pre-release
New
-
Vue.set
andVue.delete
is now also exposed on Vue instances asthis.$set
andthis.$delete
. Note this is different from the 1.x counterparts: they are simply aliases to the global API.This change eliminates the need to import/require Vue just to access these two methods, and makes it easier to pre-compile standalone Vue components.
-
Added a warning when mounting the root instance to
body
orhtml
. This is no longer recommended in 2.0.
Fixed
- #3455 fix refs missing on empty component root
- #3468 ensure
v-model
changes take effect beforev-on
listeners - #3472 fix incorrect name option warning
- #3474 fix transition insert hook duplicate invocation on slot nodes
- #3478 fix
v-on
with chained key modifiers - #3484 fix
v-show
should be able to overwrite inlinedisplay: none
- #3488 fix
v-show
transition enter hook when using raw render function / JSX