Skip to content

0.12.10

Compare
Choose a tag to compare
@yyx990803 yyx990803 released this 10 Aug 03:46
· 3593 commits to main since this release

Improvements

  • Support one static <option> inside <select> with v-model + dynamic options:

    <select v-model="selectedUser" options="users">
      <option value="">Select a user...</option>
    </select>

    This static option will be selected by default if the v-model value is falsy (excluding 0). Options created from users will be appended after the default option.

  • Dynamic component wait-for listeners are now attached in the component's created hook, thus firing the event synchronously in compiled hook will now properly trigger the DOM insertion.

Fixed

  • template parser now trims empty textNodes from <script> templates, avoiding unnecessarily turning components into fragment mode.
  • #1109 mustach tags inside <textarea> are interpolated only once
  • #1116 transition hangs when immediately leaving after entering
  • #1117 synchronously calling done in leave transition hook causes error
  • #1118 nested <template> not rendering in Safari
  • #1119 out-in transition mode not working as desired when switching faster than transition duration.
  • #1124 number attribute param for v-model not respected on <input type="radio">.