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-attrintroduced a new behavior of setting the corresponding property on the element. As it turns out, the only property that needs this behavior isvalueon input elements. In 0.12.9 this behavior now only applies tovalueattribute 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-ifcomponents assigned wrong $parent - #1104 & #1105
v-attrunnecesasrily setting properties - #1107 empty string props casted to
0 - #1108
v-model+v-repeatof primitive value arrays not syncing booleans and null