Vue.js: 1.0.0-alpha.3 Release

Release date:
September 7, 2015
Previous version:
1.0.0-alpha.2 (released September 3, 2015)
Magnitude:
8,371 Diff Delta
Contributors:
2 total committers
Data confidence:
Commits:

Top Contributors in 1.0.0-alpha.3

yyx990803
nkovacs

Directory Browser for 1.0.0-alpha.3

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

Release Notes Published

Alpha versions are pre-releases and the API may change at any time. By using the alpha releases you are responsible for any risk involved. If you have an in-production 0.12 app, it's recommended to wait until the stable 1.0 migration release before upgrading.

Known Issue

  • Not working with vue-router 0.5.2. ~~Please wait for a vue-router update.~~ Please upgrade to vue-router 0.6.0.

Changes since 1.0.0-alpha.2

For an detailed overview of the data-binding syntax changes, see the latest proposal. - All fixes in 0.12.13 - Props now share the same bind- syntax with normal attributes.

  <comp
    literal-prop="string"
    bind-dynamic-prop="someThing"
    bind-two-way="@someThing"
    bind-one-time="*someThing">
  </comp>
  • Add : shorthand for bind-.

The example above can be shortened as:

  <comp
    literal-prop="string"
    :dynamic-prop="someThing"
    :two-way="@someThing"
    :one-time="*someThing">
  </comp>
  • Event handler key filter delimiter changed from : to -:
  <!-- 1.0.0-alpha.2 -->
  <input on-keyup:esc="handleEsc">

  <!-- 1.0.0-alpha.3 -->
  <input on-keyup-esc="handleEsc">
  • bind-style now support an Array of style objects:
  <div bind-style="[styleObjectA, styleObjectB]"></div>
  • Use .= syntax to pass a literal string to directives:
  <a v-link.="/a/b/c">

v-link's update function will be called once with "/a/b/c".