@yyx990803 yyx990803 released this Aug 1, 2018 · 48 commits to dev since this release

Assets 2

NOTE: this is a hot fix that contains the following changes only, and does NOT include any changes from 2.5.17-beta.0.

Bug Fixes

  • fix potential xss vulnerability in ssr when using v-bind c28f792
Pre-release

@yyx990803 yyx990803 released this Mar 23, 2018 · 29 commits to dev since this release

Assets 2

This release contains a number of "risky" changes (specifically #7822 , #7823, #7824). Although they do not alter the public API, they do alter internal behavior and may cause breakage if your code relies on some of these specific behaviors. This is therefore released under the beta dist tag so that users can test this release in development environments to ensure compatibility.

Bug Fixes

Performance Improvements

  • avoid unnecessary re-renders when computed property value did not change (#7824) 653aac2, closes #7824 #7767

@yyx990803 yyx990803 released this Mar 13, 2018 · 48 commits to dev since this release

Assets 2

Bug Fixes

  • allow multiline expression in v-for 71b4b25, closes #7792
  • fix keyName checking for arrow keys in IE11 4378fc5, closes #7806
  • fix regression on duplicate component init when using shared data objects 984927a, closes #7805
  • core: Make set/delete warning condition for undefined, null and (#7818) 9084747, closes #7818 #7452
  • keep-alive: run prune after render for correct active component check 215f877, closes #7566
  • model: fix static input type being overwritten by v-bind object (#7819) a6169d1, closes #7819 #7811
  • ssr: fix SSR for async functional components 882e719, closes #7784
  • ssr: fix v-show inline style rendering when style binding is array (#7814) 1a979c4, closes #7814 #7813
  • fix wrongly matched named slots in functional components 62a922e, closes #7817
  • named slots for nested functional components 6dd73e9, closes #7710

@yyx990803 yyx990803 released this Mar 10, 2018 · 64 commits to dev since this release

Assets 2

Bug Fixes

  • do not traverse VNodes when regsitering dependencies 84a9a9d, closes #7786

@yyx990803 yyx990803 released this Mar 9, 2018 · 67 commits to dev since this release

Assets 2

Bug Fixes

@yyx990803 yyx990803 released this Dec 19, 2017 · 150 commits to dev since this release

Assets 2

Bug Fixes

  • revert auto cache for inline prop literals, fix regressions (#7283)

@yyx990803 yyx990803 released this Dec 19, 2017 · 153 commits to dev since this release

Assets 2

Bug Fixes

Improvements

  • core: allow symbol as vdom key bacb911, closes #7271

  • core: prop bindings with inline Object/Array literal values no longer cause the child component to always re-render:

    <foo :bar="[1, 2, 3]"/>

    The compiler now automatically wraps the literal value as an inline computed property to avoid creating new values on each render (unless data it depends on has changed).

  • types: extract VueConfiguration type for easy expansion (#7274) c0d516c, closes #7273

@yyx990803 yyx990803 released this Dec 14, 2017 · 198 commits to dev since this release

Assets 2

Bug Fixes

  • avoid unnecessary lowercase coersion in component name validation 3f0c628, closes #7237

Improvements

@yyx990803 yyx990803 released this Dec 12, 2017 · 206 commits to dev since this release

Assets 2

Bug Fixes

  • core: data() should be called with vm as first argument in mixins bd4819e, closes #7191
  • core: more consistent component naming warnings across the API 644274c, closes #7212
  • core: revert shared static tree cache to avoid memory leak 5875c7c, closes #7184
  • core: warn duplicate keys in all cases (#7200) 023f171, closes #7199
  • v-for: support array and nested destructuring in v-for f5ce6b5
  • v-model: should not update in-focus input value with lazy modifier 60da366, closes #7153
  • ssr: fix double escaping of ssrNode attribute values (#7224) 73a89bf, closes #7224 #7223
  • ssr: properly handle errors in async component 8936b8d, closes #6778
  • weex: send createFinish signal after root component mounted (#7154) 0da8bce

@yyx990803 yyx990803 released this Nov 27, 2017 · 223 commits to dev since this release

Assets 2

Bug Fixes

  • core: ensure functionalContext is cloned during slot clones 604e081, closes #7106
  • core: fix async component resolving in sibling mounted hook dd21eac, closes #7107
  • compiler: fix v-for iterator parsing destructuring + parens without index aa82625
  • keep-alive: should not destroy active instance when pruning cache 3932a45, closes #7105
  • types: add missing ssr renderToString signature 14e9908
  • types: add Promise signature for bundleRenderer.renderToString (#7098) 3554eb2
  • types: bump ts version and fix typing bugs (#7135) a71e653, closes #7135
  • types: improve and test bundleRenderer.renderToString Promise types fcc1229
  • types: use object and string instead of Object and String (#7126) d2e1d49
  • browser quirks: block unnecessary input event on textarea placeholder in IE 0f7c443, closes #7138