Vue.js: 0.12.12 Release

Release date:
August 26, 2015
Previous version:
0.12.12-csp (released August 26, 2015)
Magnitude:
66 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in 0.12.12

yyx990803

Directory Browser for 0.12.12

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

Release Notes Published

Improvements

  • v-model on checkbox can now bind the model value to expressions instead of just true or false. Example:
  <input type="checkbox" v-model="example" true-exp="a" false-exp="b">
  // when checked:
  vm.example === vm.a
  // when unchecked:
  vm.example === vm.b
  • v-model on radio also gets the same feature:
  <input type="radio" v-model="example" exp="a">
  // when checked:
  vm.example === vm.a

Fixed

  • v-model on checkbox should now update the input checked state based on truthy-ness again. In 0.12.11 it is only checked when value strictly equals true.