1.0.0-alpha.5
Pre-release
Pre-release
·
3593 commits
to main
since this release
Alpha versions are pre-releases and the API may change at any time. By using the alpha releases you are responsible for any risk involved. If you have an in-production 0.12 app, it's recommended to wait until the stable 1.0 migration release before upgrading.
Changes from 1.0.0-alpha.4
Breaking
For a full reference of the latest syntax, see #1325
bind-attr
is now replaced byv-bind:attr
, with:attr
as shorthand;on-event
is now replaced byv-on:event
, with@event
as shorthand; Also, key filter is now denoted with.
as a modifier:@keyup.esc="handleEsc"
.- Literal directive:
v-dir#="xxx"
is now replaced byv-dir.literal="xxx"
. - Prop binding types:
:prop@="twoWay"
is now replaced by:prop.sync="twoWay"
:prop*="oneTime"
is now replaced by:prop.once="oneTime"
- Child component and element refs:
$.child
is now replaced byv-ref:child
.vm.$
is also renamed tovm.$refs
.$$.node
is now replaced byv-el:node
.vm.$$
is also renamed tovm.$els
.
Non-breaking
v-on
now also works for custom events when used on a child component.
Fixed
- all fixes in 0.12.15.