0.12.0-beta4
Pre-release
Pre-release
Breaking Change from 0.12.0-beta3
-
Filter argument syntax has been reworked. Now non-quoted arguments are treated as dynamic paths (and the argument will be auto-retrieved from the vm when the filter function is called); only arguments enclosed in quotes are passed in as plain strings.
Example:
{{ msg | filter argA 'argB' }}
In the
filter
function, the first argument will be the value ofvm.argA
, and the second argument will be a plain string"argB"
.For the reasoning behind it, see this comment.
Improvements
options
param forv-model
now also respectsdisabled: true
in the options array. (via #861 by @holic)v-transition
now adds a.v-transition
class at all times; in the case ofv-transition="fade"
, the added class will be.fade-transition
. This removes the need to manually add an additional class just to give the element transition property.- Internally Vue now uses empty text nodes instead of comment nodes as DOM-manipulation anchors. This results in much cleaner HTML output. When in debug mode, comment nodes will still be used to help better analyze the structure of the rendered DOM.