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
prefixglobal config has been deprecated. All directives will now consistently use thev-prefix. - The
strictglobal config has been deprecated. Asset resolution is now always in strict mode. Details - The
interpolateglobal config has been deprecated. Usev-preon elements that should be skipped by the template compiler. - The
inheritoption has been deprecated. Alway pass data to child components via props. - The
$addmethod has been deprecated for both Vue instances and observed objects. Use$setinstead. Details - Event propagation for events sent via
$dispatchand$broadcastnow stops when it triggers a handler for the first time, unless the handler explicitly returnstrue. Details
Directives
v-repeathas been deprecated in favor ofv-for. Detailsv-classandv-stylehave been deprecated in favor of the new binding syntax. Detailsv-refandv-elusage has changed. Detailsv-componenthas been deprecated in favor of theisattribute. Detailsv-onwill now also listen to custom Vue events when used on a child component. Details- The
keyfilter forv-onhas been deprecated. Instead, use the new key modifer syntax. Details - The
optionsparam for<select v-model>has been deprecated. You can now just usev-forto render the options and it will work properly with thev-modelon the containing<select>element. - The
wait-forparam for components has been deprecated in favor of the newactivatelifecycle 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.
$datacan 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.