Commit Graph

3492 Commits

Author SHA1 Message Date
Travis
7fbc933f4d
fix(compiler-core): fix svg with directives being incorrectly hoisted (#5919)
fix #5289
2022-05-22 21:40:53 -04:00
zhangenming
3bdc41dff3
perf: improve the performance of getNow (#5944) 2022-05-22 20:36:57 -04:00
Jinesh Patel
0cd21ba77c
chore: remove unnecessary optional check (#5958) 2022-05-22 20:29:15 -04:00
Alex Kozack
b5462822d6
fix(sfc/types): allow use default factory for primitive types in withDefaults (#5939)
fix #5938
2022-05-22 20:28:39 -04:00
edison
dddbd96dfe
fix(transition): fix cancel leave regression (#5974)
fix #5973
2022-05-22 20:02:15 -04:00
Evan You
a0c577692f release: v3.2.35 2022-05-21 01:16:26 +08:00
Carlos Rodrigues
0c7fd13ea6
fix(types): fix typescript error when spreading $props(#5968) 2022-05-20 12:59:29 -04:00
Evan You
8071ef47b5 fix(types): restore DefineComponent argument order
This is necessary for compatibility w/ tsc-generated component types
using DefineComponent.

revert #5416
reopen #3796
fix #5967
2022-05-21 00:55:51 +08:00
Evan You
583b625987 fix(compiler-sfc): fix usage detection for types in v-for/v-slot expressions
fix #5959
2022-05-21 00:09:15 +08:00
Evan You
8ba0bb8ec3 chore: bump repl 2022-05-21 00:06:13 +08:00
Evan You
523f6aa363 chore: use existing method 2022-05-19 14:08:55 +08:00
Evan You
3991609087 release: v3.2.34 2022-05-19 12:42:34 +08:00
Evan You
31bdde0480 chore: fix lint 2022-05-19 12:39:48 +08:00
Evan You
939209c6b5 fix(ssr): fix hydration for slot with empty text node
fix #5728
2022-05-19 12:35:29 +08:00
Evan You
e1bc2681ef fix(ssr): fix hydration mismatch caused by multi-line comments inside slot
fix #5355
2022-05-19 11:36:31 +08:00
Evan You
516bc548fc fix(compiler-ssr): fix wrong attrs fallthrough on non-single-root v-if branches
fix #5140
2022-05-19 11:21:17 +08:00
小刘(liulinboyi)
6ce75c10f1
test(runtime-dom): vModel tests for input range (#5907) 2022-05-18 19:56:46 -04:00
小刘(liulinboyi)
73e6523134
fix(compiler-sfc): support export { default } from '...' (#5937)
fix #5935
2022-05-18 19:51:44 -04:00
Yunyoung LEE
991d62322f
fix(compiler-sfc): type-only defineProps does not recognize Promise (fix #5941) (#5943) 2022-05-18 19:34:52 -04:00
Carlos Rodrigues
7c8f4578e9
fix(types): fix defineComponent inference to Component (#5949) 2022-05-18 19:34:35 -04:00
Cédric Exbrayat
3e2850fa6c
fix(types): export ComponentProvideOptions (#5947) 2022-05-18 19:32:20 -04:00
Evan You
595263c0e9 fix(ssr/teleport): support nested teleports in ssr
fix #5242
2022-05-18 18:13:08 +08:00
Evan You
84f0353511 test: hydration test case for component w/ teleport root 2022-05-18 17:27:53 +08:00
Evan You
cdda49bbfb fix(runtime-core): adjust force diff of dev root fragments
fix #5946
2022-05-18 16:36:00 +08:00
Evan You
b60cff052c fix(ssr): fix hydration error when teleport is used as component root
fix #4293
2022-05-18 12:18:12 +08:00
Bulat Aykaev
0841b9b524 fix(keep-alive): fix keep-alive rendering when placed in vnode branch
fix #4817
2022-05-18 10:48:58 +08:00
Evan You
3705b3b46a fix(ssr): fix hydration error when transition contains comment children
fix #5351
2022-05-18 10:03:00 +08:00
Evan You
aed10c5072 fix(ssr): render fallthrough attributes for transition-group with tag
fix #5141
2022-05-18 09:55:39 +08:00
Evan You
1035c6b51b chore: split ssr transition group tests 2022-05-18 09:31:31 +08:00
Evan You
ee4186ef9e fix(ssr): fix hydration error on falsy v-if inside transition/keep-alive
fix #5352
2022-05-18 09:28:18 +08:00
Evan You
c65b805ef1 fix(compiler-ssr): only inject fallthrough attrs for root transition/keep-alive 2022-05-18 08:37:24 +08:00
Roan Kattouw
c03459b9b6
fix(ssr): support client-compiled v-model with dynamic type during ssr (#5787)
fix #5786
2022-05-17 05:52:44 -04:00
Evan You
847d7f782b fix(ssr): inherit scope id on functional component during ssr
fix #5817
2022-05-17 17:45:53 +08:00
Evan You
415091b0ee fix(compiler-core): should generate HYDRATE_EVENTS flag on dynamic component that resolves to element
fix #5870
2022-05-17 16:39:48 +08:00
Evan You
f811dc2b60 fix(compiler-ssr): fix component event handlers inheritance in ssr
fix #5664
2022-05-17 15:50:23 +08:00
Evan You
4caa52120d chore: bump repl 2022-05-17 15:06:49 +08:00
Evan You
7fd761e577 release: v3.2.34-beta.1 2022-05-17 12:53:51 +08:00
Evan You
77fef97344 fix(ssr): resolve teleports for stream render APIs 2022-05-17 12:41:40 +08:00
Evan You
57d3a0566f workflow: add prod/dev toggle to sfc playground 2022-05-17 12:10:29 +08:00
Evan You
70c2d5bbc0 fix(ssr): fix ssr render output for fragment in slots
fix #5859
2022-05-17 11:13:22 +08:00
Evan You
efea4a8b57 fix(ssr/sfc-css-vars): fix v-bind css vars codegen for SSR
fix #5443
close #5444
2022-05-17 09:21:44 +08:00
edison
2a9e9a4096
refactor(runtime-core): extract function isReservedPrefix (#3265)
* chore(runtime-core): extract function isReservedKey

* chore: improve code

Co-authored-by: Evan You <yyx990803@gmail.com>
2022-05-13 04:52:19 -04:00
edison
40794c80ca
refactor(runtime-core): extract type SetRootFn (#3209) 2022-05-13 04:48:20 -04:00
阿崔cxr
e85e0a7f3a
chore: use ast node creation helper (#5255) 2022-05-13 04:37:50 -04:00
Package
9def7aa508
fix(types): allow css variables in style binding (#5542) 2022-05-13 04:30:30 -04:00
Spencer McWilliams
e5a90893a6
fix(types): add Set<any> to checkbox binding type for v-model (#5713) 2022-05-13 04:23:33 -04:00
Vanilla
eef14471b2
fix(shared): improve isDate check (#5803) 2022-05-13 04:17:31 -04:00
Adam Jedlička
4d7803ed28
fix(ssr): render teleport inside async component (#5187) 2022-05-13 03:57:10 -04:00
Evan You
31c0bb355a chore: fix snapshots 2022-05-13 15:45:26 +08:00
Evan You
be6a0bff98 refactor: simplify logic 2022-05-13 15:41:49 +08:00