v2.5.18-beta.0
Pre-release
Pre-release
Bug Fixes
- compiler: wrap scoped slots v-if conditions in parens (#9119) ef8524a, closes #9119 #9114
- compiler: maybeComponent should return true when "is" attribute exists (#8114) aef2a5f, closes #8114 #8101
- compiler: normalize potential functional component children in v-for (#8558) d483a49, closes #8558 #8468
- compiler: should keep newline after unary tags in
<pre>
(#8965) 05001e6, closes #8965 #8950 - compiler: templates inside v-pre should be rendered to HTML (#8146) ecac831, closes #8146 #8041
- component: clean up memory leak after loading async component completes (fix #8740) (#8755) 2e472c5, closes #8740 #8755
- core: avoid mutating original children when cloning vnode 097f622, closes #7975
- core: properly handle reused vnodes 530ca1b, closes #7913
- core: skip mixins and extends if child is already merged (#8870) 80f17fa, closes #8870 #8865
- data: skip recursive call if values are identical (#8967) a7658e0, closes #8967
- error handling: handle errors on immediate watcher execution (#8581) 2686818, closes #8581 #8567
- for: use IE compatible regex in v-for regex (#8048) ecc239e, closes #8048 #7946
- lifecycle: updated should not be called after component being destroyed (#8381) a64ff19, closes #8381 #8076
- parser: allow CRLFs in string interpolations (#8408) 8f04135, closes #8408 #8103
- server: use path.posix.join to generate public path (#8177) 46b8d2c, closes #8177 #8167
- sfc: avoid deindent when pad option is specified (#7647) 9d2f9a0, closes #7647
- shared: check dates in looseEqual (#7940) db7287c, closes #7940 #7928
- ssr: adjust call stack size defer threshold e4b1b57, closes #8545
- ssr: check js assets more accurate in ssr webpack plugin (#8639) 5624278, closes #8639
- ssr: computed properties should pass vm as first argument in ssr (#9090) 33e669b, closes #9090 #8977
- ssr: fix double escaping of staticClass values (#7859) (#8037) c21b89e, closes #7859 #8037
- ssr: remove trailing hash in webpack module identifier when ae6dcd6
- ssr: render initial and used async css chunks (#7902) 575b6e7, closes #7902 #7897
- ssr: resolve server directives the same as on client (#9129) 3078352, closes #9129 #8961
- transition: check existence of
el.parentNode
(#8422) 0b16927, closes #8422 #8199 - transition: handle local-formatted floats in toMs function. (#8495) 59d4351, closes #8495 #4894
- transition: transition-group should only listen for first-level children's end events (#8374) 504d5da, closes #8374
- types: accept
number
type as key on Vue.set/delete (#8707) (#8709) 0ba79e2, closes #8707 #8709 - types: fix
renderError
arguments type (#8636) ac217d2, closes #8636 #8635 - types: fix vm.$once argument type (#8995) 97086f3, closes #8995 #8983
- types: make VNodeDirective properties optional, fix #8013 (#8003) 99a51b4, closes #8013 #8003
- types: relax the return type of props default option (#8537) a9eb198, closes #8537
- types: support chain call for Vue.use and Vue.mixin (#8595) c711ec1, closes #8595
- types: support typing $el as SVGElement (#8809) 3cd4af4, closes #8809
- v-bind object should be overridable with kebab-cased props (#8845) 7585241, closes #8845
- v-model: avoid duplicate model transforms 7b7164c, closes #8436
- v-on: correctly remove once listener (#8036) 19c33a7, closes #8036 #8032
- actually disable dep collection when invoking lifecycle hooks (#9095) 0d62bb8, closes #9095 #9046
- fix potential xss vulnerability in ssr when using v-bind 3d36a44
- v-pre: skip compiling custom component tags in v-pre blocks (fix #8286) (#8376) a71853b, closes #8286 #8376
- fix server env detection in wechat mini program (#9075) 05e8bcf, closes #9075
- handle undefined style properties in jsdom (fix #7444) (#8281) 5cfdf1a, closes #7444 #8281
- make sure global state is restored in the case of an exception in macrotask callback (#9093) b111de4, closes #9093
- replace hardcoded .parentNode with abstract ops, fix #8713 (#8714) 1e1ce0c, closes #8713 #8714
- support modifier combination of click.right + .once (#8492) eb60452, closes #8492