Commit Graph

3210 Commits

Author SHA1 Message Date
Che Guevara
d84d5ecdbd
test(vue): add config.compilerOptions.isCustomElement test (#4682) 2021-09-27 10:52:59 -04:00
Evan You
c5c53846ed release: v3.2.19 2021-09-25 14:58:20 -04:00
skirtle
50d9d34360
fix(server-renderer): respect compilerOptions during runtime template compilation (#4631) 2021-09-25 14:40:32 -04:00
Daniel Roe
e4ae1fc3d0
chore(vue): package index.mjs (#4675) 2021-09-25 14:21:40 -04:00
Herrington Darkholme
7aa0ea06c8
fix(compiler-core): should treat attribute key as expression (#4658) 2021-09-25 14:21:09 -04:00
Evan You
901e18bd94 chore: upgrade repl
close #4673
2021-09-24 17:08:47 -04:00
Evan You
13bfa2edfe release: v3.2.18 2021-09-24 16:05:16 -04:00
Evan You
570c955b48 build: add exports field to support Node native ESM 2021-09-24 15:20:57 -04:00
Evan You
f5076eb4b7 release: v3.2.17 2021-09-24 12:43:11 -04:00
Evan You
7b7e28ad6a test: fix utils test 2021-09-24 12:34:31 -04:00
Evan You
fc85ad28ae fix(build): avoid importing @babel/parser in esm-bundler build
fix #4665
2021-09-23 23:20:53 -04:00
Evan You
87c86e4cc2 refactor: ensure ssr branches are included in esm-bundler build 2021-09-23 15:02:19 -04:00
Evan You
4886a63d82 ci: fix size on ci 2021-09-23 14:56:02 -04:00
Evan You
f27a98becc ci: improve size script 2021-09-23 14:46:16 -04:00
Evan You
c1cf26d207 chore: improve feature flag warning 2021-09-23 14:04:52 -04:00
Evan You
1e5a0db4d4 refactor: use getGlobalThis when attachting hmr runtime 2021-09-23 11:53:00 -04:00
Evan You
114b856fd1 release: v3.2.16 2021-09-23 10:17:02 -04:00
Evan You
8e05b7f9fc fix(ssr): fix ssr runtime helper import in module mode 2021-09-23 10:08:28 -04:00
Evan You
74a84ff546 release: v3.2.15 2021-09-23 09:48:59 -04:00
Evan You
acd869f4d6 chore(compiler-sfc): avoid relying on estree type in generated dts 2021-09-23 00:13:54 -04:00
Evan You
d74f21a42c fix(compiler-ssr): import ssr helpers from updated path 2021-09-22 23:28:20 -04:00
Guillaume Chau
f730ed9177 chore(playground): update @vue/repl 2021-09-23 00:51:17 +02:00
Evan You
df4fcd94d8 release: v3.2.14 2021-09-22 18:36:57 -04:00
Evan You
6257adeaac fix(compiler-core): more robust member expression check in Node 2021-09-22 17:16:21 -04:00
Evan You
686d0149b6 fix(compiler-core): generate TS-cast safe assignment code for v-model
fix #4655
2021-09-22 16:55:06 -04:00
Ziwen Mei
1873f0f48c
chore(compiler-core): fix typo in transformElement (#4649) [ci skip] 2021-09-22 10:12:52 -04:00
Ziwen Mei
bf267b1ce3
chore(compiler-core): fix typo in errors.ts and options.ts (#4650) [ci skip] 2021-09-22 10:12:33 -04:00
zhangenming
52e4ea732d
refactor(reactivity): reuse toReactive helper (#4641) 2021-09-22 10:11:54 -04:00
Evan You
6d6cc90912 fix(compiler-sfc): fix local var access check for bindings in normal script
fix #4644
2021-09-22 10:10:20 -04:00
Evan You
2476eaad6e
fix(devtools): fix prod devtools detection + handle late devtools hook injection (#4653) 2021-09-22 09:07:08 -04:00
Evan You
64aa8e26ae docs: add note on compiler-sfc/server-renderer usage update [ci skip] 2021-09-21 22:55:10 -04:00
Evan You
b9deb6e50e release: v3.2.13 2021-09-21 14:22:53 -04:00
Che Guevara
a0cacc0d83
chore: fix warning in ref-transform (#4643) [ci skip] 2021-09-21 13:12:20 -04:00
Ziwen Mei
56be30b5c7
chore(compiler-core): fix typo in hoistStatic (#4625) [ci skip] 2021-09-21 13:06:39 -04:00
zhangenming
b264551c9b
refactor(reactivity): reuse computed getter check (#4623) 2021-09-21 13:03:09 -04:00
就是喜欢陈粒
5addef8ecd
fix(compiler-core): add check when v-else-if is behind v-else (#4603) 2021-09-21 12:59:38 -04:00
skirtle
5aa4255808
fix(runtime-core): return the exposeProxy from mount (#4606) 2021-09-21 12:55:08 -04:00
tryag
2ca45dc3e6
chore: fix docs typo (#4602) [ci skip] 2021-09-21 12:49:41 -04:00
Amour1688
140f089917
fix(types): incorrect type inference of array (#4578) 2021-09-21 12:41:10 -04:00
ygj6
58b1fa5ed1
fix(hydration): ensure hydrated event listeners have bound instance (#4529)
fix #4479
2021-09-21 12:39:21 -04:00
Herrington Darkholme
d8a36d0198
fix(compiler-core): only merge true handlers (#4577) 2021-09-21 12:37:51 -04:00
tryag
f31a6c105d
chore: fix type in compatConfig.ts (#4604) [ci skip] 2021-09-21 12:35:42 -04:00
tryag
08e5909659
chore: remove unused parameter type definitions (#4607) 2021-09-21 12:35:11 -04:00
Wouter Kettlitz
6171aecdcd
types: allow binding any value to SelectElement (#4575) 2021-09-21 12:34:25 -04:00
Yang Mingshan
11a2098a69
fix(watch): remove redundant parameter default value (#4565) 2021-09-21 12:32:12 -04:00
Herrington Darkholme
044812525f
fix(compiler-core): dedupe renderSlot's default props (#4557) 2021-09-21 12:31:27 -04:00
Evan You
ed6470c845 fix(compiler-dom): fix transition children check for whitespace nodes
fix #4637
2021-09-21 12:25:05 -04:00
Evan You
d23fde3d3b fix(compiler-core): more robust member expression check when running in node
fix #4640
2021-09-21 12:19:27 -04:00
Evan You
7c3c28eb03 test: bump @vue/consolidate to fix dts tests 2021-09-21 10:53:48 -04:00
Evan You
471f66a1f6 build: expose compiler-sfc and server-renderer under main vue package + optimize package size 2021-09-21 10:26:08 -04:00
Evan You
a42a14d3bc types(compiler-sfc): type annotation tweaks + move @babel/types to devDeps 2021-09-20 22:06:12 -04:00
Evan You
0dc521b9e1 fix(compiler-core): support ts syntax in expressions when isTS is true 2021-09-20 11:51:01 -04:00
Evan You
e9c0694451 chore: bump repl 2021-09-19 22:04:46 -04:00
Evan You
cb2d7c0e3c fix(compiler-core): ensure hoisted scopeId code can be treeshaken 2021-09-19 17:14:26 -04:00
Evan You
54db1eb372 chore: bump repl 2021-09-19 14:59:49 -04:00
Evan You
585615beb1 feat(compiler-sfc): allow disabling sourcemap when not needed 2021-09-18 17:42:09 -04:00
Evan You
ebe00f66dd release: v3.2.12 2021-09-17 10:55:26 -04:00
Evan You
c36b557b3e chore: bump repl version 2021-09-17 10:49:27 -04:00
Evan You
dd9a2760a8 fix(compiler-ssr): handle v-memo in ssr compilation 2021-09-17 10:23:06 -04:00
Evan You
71f22061a6 chore: improve component resolution failure message 2021-09-17 10:01:04 -04:00
Evan You
51f74679ef chore(sfc-playground): fix autoresize 2021-09-17 09:48:17 -04:00
Evan You
0cfa2112ce fix(custom-elements): fix number prop casting
fix #4370, close #4393
2021-09-16 19:15:15 -04:00
Evan You
5bd0ac67f3 chore: bump repl version 2021-09-16 18:40:42 -04:00
Evan You
a276e7253a chore(sfc-playground): improve buttons 2021-09-16 17:25:29 -04:00
edison
8055445b68
fix(compiler-sfc): register exported bindings in normal script when using script setup (#4601)
fix #4600
2021-09-16 17:22:29 -04:00
Evan You
cab9541ffd refactor(compiler-sfc): improve TLA codegen 2021-09-16 17:07:29 -04:00
Evan You
39cebf5f7a fix(compiler-sfc): fix TLA codegen semicolon insertion
fix #4596
2021-09-16 16:49:59 -04:00
edison
ae942cdcd9
fix(compiler-sfc): support nested await statements (#4458)
fix #4448
2021-09-16 16:23:46 -04:00
Evan You
524688bc99 chore(sfc-playground): add dark mode toggle 2021-09-16 14:25:43 -04:00
Thorsten Lünborg
bdb1a7958b
fix(compiler-sfc): handle empty strings during template usage analysis of setup bindings (#4608)
fix #4599
2021-09-16 13:47:11 -04:00
ygj6
fcd5422b4a
fix(compile-sfc): add symbol judge in prop type checks. (#4594)
fix #4592
2021-09-16 13:45:55 -04:00
Evan You
06c5bf53ab fix(compiler-sfc): properly reuse hoisted asset imports
fix #4581
2021-09-16 13:33:02 -04:00
lidlanca
fc968d607b
fix(compiler-core): v-on inline async function expression handler (#4569)
fix #4568
2021-09-16 12:36:04 -04:00
Evan You
141a5e188c fix(suspense): fix suspense slot inside deoptimized slot call
fix #4556
2021-09-16 12:14:33 -04:00
Evan You
93949ed20a types: relax OptionHTMLAttributes.value type requirement
fix #4574
2021-09-16 11:58:22 -04:00
Wouter Kettlitz
8370118c13
types: extend CSSProperties with PropertiesHyphen (#4553)
fix #4552
2021-09-16 11:46:41 -04:00
ygj6
f29d061124
fix(compiler): fix template ref codegen for setup-maybe-ref binding types (#4549)
fix #4546
2021-09-16 11:33:16 -04:00
ygj6
14fcced281
fix(runtime-core): avoid script setup bindings overwriting reserved ctx properties (#4570) 2021-09-16 11:16:07 -04:00
Evan You
a31303f835 build: generate more treeshaking friendly code 2021-09-16 10:56:34 -04:00
Evan You
a6e5f82d8e fix(compiler-sfc): properly analyze destructured bindings with dynamic keys
fix #4540
2021-09-09 12:28:59 -04:00
Evan You
781d2d4d58 release: v3.2.11 2021-09-08 18:58:13 -04:00
Evan You
aa8908a854 fix(hmr): handle possible duplicate component definitions with same id
fixes regression in vitepress
2021-09-08 18:36:21 -04:00
Evan You
96b531bfa3 release: v3.2.10 2021-09-07 16:20:07 -04:00
Evan You
70c4eee065 chore: remove unused api-extractor.json 2021-09-07 16:16:38 -04:00
Evan You
d534515836 fix(runtime-dom): style patching shoud always preserve v-show display property
close #4424
2021-09-07 12:25:00 -04:00
Roy Eden
b8653d390a
fix(compiler): condense whitespaces in static class attributes (#4432)
fix #4251
2021-09-07 12:01:17 -04:00
Herrington Darkholme
5d262e08d5
fix(compiler-core): pick last char when dynamic directive doesn't close (#4507) 2021-09-07 11:36:37 -04:00
Herrington Darkholme
1c4f0f0afd
chore: fix typo in jsdoc (#4526) [ci skip] 2021-09-07 11:31:27 -04:00
n2ptune
2361ca4fc2
chore(reactivity): fix typo in dep (#4534) [ci skip] 2021-09-07 11:31:12 -04:00
Evan You
1045590d4b fix(compiler-core): avoid runtime dependency on @babel/types
fix #4531
2021-09-07 09:54:49 -04:00
Evan You
9527887426 chore(sfc-playground): remove unused font 2021-09-07 00:29:40 -04:00
Evan You
a5f1e679e7 chore(sfc-playground): dark mode 2021-09-07 00:29:18 -04:00
Evan You
d80d40a9c1 chore(sfc-playground): use standalone version of @vue/repl 2021-09-06 18:02:35 -04:00
fishDog
4178d5d7d9
fix(type): fix prop type infer (#4530)
fix #4525
2021-09-06 15:24:15 -04:00
Evan You
642710eded release: v3.2.9 2021-09-05 18:24:01 -04:00
Husam Ibrahim
4645a42b79
types(runtime-core): fix for multiple possible prop types including Date (#4518)
fix #4517
2021-09-05 18:16:44 -04:00
webfansplz
fac9a2926d
fix(compile-sfc): support Date prop type with defineProps (#4519) 2021-09-05 18:13:12 -04:00
edison
14d65181f1
fix(compiler-sfc): support using declared interface in normal script with defineProps() (#4522)
fix #4423
2021-09-05 18:10:15 -04:00
edison
5594643d7b
fix(compiler-sfc): fix script setup ref assignment codegen edge case (#4520)
fix #4514
2021-09-05 18:02:50 -04:00
webfansplz
e6fe751b20
fix(compile-sfc): generate setup prop type format error (#4506)
fix #4505
2021-09-05 17:36:46 -04:00