1.0.0-beta.1
Pre-release
Pre-release
This is the first beta release for 1.0.0, which implements all the changes / new features currently available in 1.0.0-alpha.5, but without the backwards compatibility. If your app works in 1.0.0-alpha.5 without raising any deprecation warnings, then it should work properly in 1.0.0-beta.1.
The API can be considered relatively stable. Breaking changes are still possible in new beta releases, but will be kept to a minimum with best effort.
Full Changes from 0.12.15
Breaking
General
- The data binding syntax has been redesigned. Details
- The
prefix
global config has been deprecated. All directives will now consistently use thev-
prefix. - The
strict
global config has been deprecated. Asset resolution is now always in strict mode. Details - The
interpolate
global config has been deprecated. Usev-pre
on elements that should be skipped by the template compiler. - The
inherit
option has been deprecated. Alway pass data to child components via props. - The
$add
method has been deprecated for both Vue instances and observed objects. Use$set
instead. Details - Event propagation for events sent via
$dispatch
and$broadcast
now stops when it triggers a handler for the first time, unless the handler explicitly returnstrue
. Details
Directives
v-repeat
has been deprecated in favor ofv-for
. Detailsv-class
andv-style
have been deprecated in favor of the new binding syntax. Detailsv-ref
andv-el
usage has changed. Detailsv-component
has been deprecated in favor of theis
attribute. Detailsv-on
will now also listen to custom Vue events when used on a child component. Details- The
key
filter forv-on
has been deprecated. Instead, use the new key modifer syntax. Details - The
options
param for<select v-model>
has been deprecated. You can now just usev-for
to render the options and it will work properly with thev-model
on the containing<select>
element. - The
wait-for
param for components has been deprecated in favor of the newactivate
lifecycle hook. Details
Component API
<content>
outlet has been deprecated in favor of the new<slot>
API. Details- Props syntax has changed as part of the new binding syntax.
$data
can no longer be used as a prop.- Props with the
data-
prefix are no longer supported. - Literal props will no longer be auto-casted into Booleans or Numbers - they are now always passed down as Strings.
Non-Breaking Changes
vm.$log()
messages now also include computed properties.- Prop expressions now support filters.