Vue.js: 0.11.9 Release

Release date:
May 6, 2015
Previous version:
0.11.8 (released April 21, 2015)
Magnitude:
3,069 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in 0.11.9

yyx990803

Directory Browser for 0.11.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

  • Observed objects now also have the $set method. obj.$set(key, val) is the same as obj[key] = val, except that it calls $add first if the property doesn't exist.
  • v-events now also accept a single expression statement.
  • v-transition now supports dynamic syntax, e.g. v-transition="{{transitionToUse}}"
  • Partials now support filters. e.g. {{> myPartial | transform}}. The filter function will get the partial string as the first argument.
  • Inline expressions now support more globals in addition to Math and Date, including:
    • isNaN
    • isFinite
    • parseInt
    • parseFloat
    • decodeURI & decodeURIComponent
    • encodeURI & encodeURIComponent

Internals

The component transclusion logic has received some major refactoring, improving the overall correctness and code quality. Transcluded content from the parent are now bound to the correct context and remain reactive through compilation/teardowns in v-if and partials. The refactor should also result in better performance for the case where v-repeat and v-component are used together.

Fixed

  • #801 detached hook not firing for transcluded components inside v-if
  • #802 vm.$set not triggering updates in repeated child instances
  • #804 transcluded content inside v-if are not persistent
  • #806 watcher accidentally clearing watcherList on teardown
  • #776 & #813 v-with setter error when bound to literal value
  • #818 skip css transitions if page is not visible