Vue.js: 0.12.9 Release

Release date:
July 31, 2015
Previous version:
0.12.9-csp (released July 31, 2015)
Magnitude:
95 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in 0.12.9

yyx990803

Directory Browser for 0.12.9

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

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 is value on input elements. In 0.12.9 this behavior now only applies to value 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 <template> content not cloned when inside <content>
  • #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