0.12.9
New
-
Support naming assets using camelCase and using them with dash case (similar to props). For example:
// in component options: components: { // register using camelCase myComponent: { /*... */ } }
<!-- use dash case in templates --> <my-component></my-component>
This works nicely with ES6:
import compA from './components/a' import compB from './components/b' export default { // ES6 object literal shorthand components: { compA, compB } }
Changed
- In 0.12.8
v-attr
introduced a new behavior of setting the corresponding property on the element. As it turns out, the only property that needs this behavior isvalue
on input elements. In 0.12.9 this behavior now only applies tovalue
attribute bindings.
Fixed
- Fixed error when running inside jsdom.
- #1079 boolean prop default value not respected
- #1080 strict mode inline repeat instances not inheriting parent scope assets
- #1083 interpolations not working in some directive params such as
track-by
- #1084 not rendering correctly when a component is right inside another one
- #1093 container/template classes are not merged for SVG components
- #1095 Safari content not cloned when inside
- #1097 transcluded
v-if
components assigned wrong $parent - #1104 & #1105
v-attr
unnecesasrily setting properties - #1107 empty string props casted to
0
- #1108
v-model
+v-repeat
of primitive value arrays not syncing booleans and null