Commit Graph

3564 Commits

Author SHA1 Message Date
Evan You
66b94dc5e1 chore: use alias instead of module field
...before we figure out what is the ideal behavior when adding exports field
2021-03-30 19:51:55 -04:00
Evan You
58e2376c4d refactor(ssr): adjust ssr scope id logic for client-compiled render functions 2021-03-30 19:30:05 -04:00
Evan You
5e54081d5b fix(ssr): fix scopeId inheritance across mixed parent chain
fix #3513
2021-03-30 18:39:42 -04:00
Evan You
6cab91dfe8 workflow(sfc-playground): clear errors in edge cases 2021-03-30 12:49:50 -04:00
Evan You
b6298dbd01 workflow(sfc-playground): warn on <style module> usage 2021-03-30 12:39:08 -04:00
Evan You
c771b1dc80 workflow(sfc-playground): add ssr compile output 2021-03-30 12:36:59 -04:00
edison
2e50acfbb8
perf(runtime-core): optimize the performance of getTypeIndex (#3206) 2021-03-30 10:53:14 -04:00
Evan You
c8df6185fe chore: bump vite 2021-03-29 21:44:12 -04:00
Evan You
b39208cf06 perf(compiler-sfc): skip srcset transform if all candidates are external 2021-03-29 19:15:57 -04:00
HcySunYang
33ba0e3229
fix(runtime-dom): fix event listeners call in firefox <= 53 (#3501)
fix #3485
2021-03-29 19:15:12 -04:00
Jonas Kruckenberg
42b68c773d
fix(compiler-sfc): fix missing whitespace issue in srcsets (#3132)
fix #3069
2021-03-29 18:28:22 -04:00
Calvin Liang
0fe567abfc
fix(compiler-core): properly transform replaced nodes (#2927) 2021-03-29 18:08:10 -04:00
HcySunYang
5db2b141dc
fix(types): add a type-only differentiator to assist Mixin's type infer (#3481)
fix #3468
2021-03-29 18:07:36 -04:00
liaoliao666
c61e767422
fix(reactivity): should not trigger when setting value to same proxy (#2904) 2021-03-29 17:52:57 -04:00
Kael
4f26835dac
fix(types/tsx): make JSX.Element extend VNode (#3171) 2021-03-29 17:38:25 -04:00
dependabot-preview[bot]
d09045282c build(deps): bump @babel/types from 7.13.12 to 7.13.13
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.13.12 to 7.13.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.13/packages/babel-types)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 20:41:27 +00:00
Evan You
bb8cdcad9f fix(compiler-sfc): support proper type arguments for defineEmit helper
fix #2874
2021-03-29 16:38:07 -04:00
Evan You
2793bc0918 chore(sfc-playground): use type defineEmit 2021-03-29 16:36:40 -04:00
Evan You
f5827fdf78 fix(compiler-sfc): do not resolve assets from setup bindings
when not using script setup

fix #3270, fix #3275
2021-03-29 16:11:38 -04:00
Evan You
4d9f9fdf9d workflow(sfc-playground): make warnings dismissable 2021-03-29 16:11:38 -04:00
Evan You
7ab519cc96 workflow(sfc-playground): pass along analyzed bindings when compiling template 2021-03-29 16:11:38 -04:00
Evan You
4d2853ef57 workflow(sfc-playground): display analyzed bindings in js output 2021-03-29 16:11:38 -04:00
HcySunYang
555b016dcb
fix(compiler-core): allow PascalCase dynamic component tag usage (#3508)
fix #3507
2021-03-29 15:18:25 -04:00
HcySunYang
3736496006
fix(runtime-core): avoid unmount teleport's children multiple times (#3499)
fix #3497
2021-03-29 15:15:08 -04:00
Evan You
117a61bc17 chore(sfc-playground): fix clipboard usage 2021-03-29 10:54:32 -04:00
Evan You
24a90abeda chore(sfc-playground): logo, responsive 2021-03-29 10:33:19 -04:00
dependabot-preview[bot]
4a24a6b0a2 build(deps-dev): bump @rollup/plugin-replace from 2.4.1 to 2.4.2
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.4.1...replace-v2.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 06:55:45 +00:00
Evan You
3aaa53748b workflow(sfc-playground): tweaks and commit links 2021-03-29 02:07:04 -04:00
Evan You
69b4727204 fix(compiler-sfc): fix function scope variable declaration marking 2021-03-29 00:32:46 -04:00
Evan You
bb937e9033 workflow(sfc-playground): attach filename 2021-03-29 00:32:28 -04:00
Evan You
ce5e0b67a9 workflow(sfc-playground): fix download 2021-03-28 23:48:01 -04:00
Evan You
9613969ffc workflow(sfc-playground): share and download buttons 2021-03-28 23:36:36 -04:00
Evan You
aa8bf1b7a3 workflow(sfc-playground): improve module rewrite 2021-03-28 21:55:22 -04:00
Evan You
3ac661b896 chore: force refresh playground editor on startup 2021-03-28 18:50:12 -04:00
Evan You
d1bf35c8b8 workflow(sfc-playground): support multiple files 2021-03-28 18:41:33 -04:00
Evan You
2e3984fd5b chore: default code for sfc playground 2021-03-28 02:24:25 -04:00
Evan You
94e6461808 chore: add sfc playground to coverage exclude list 2021-03-28 02:20:11 -04:00
Evan You
16e8f45199 workflow(sfc-playground): fix newline 2021-03-28 02:17:55 -04:00
Evan You
950a950ae9 workflow: tweak sfc playground build script 2021-03-28 02:08:27 -04:00
Evan You
75c25fe985 workflow: add sfc playground build script [ci skip] 2021-03-28 01:40:56 -04:00
Evan You
f76ddc5ac3 workflow: sfc playground 2021-03-28 01:35:45 -04:00
Evan You
2424768808 build: make compiler-sfc global build work 2021-03-27 12:33:52 -04:00
Evan You
67039b3434 release: v3.0.9 2021-03-27 11:30:12 -04:00
Richard Cooke
4549e65bae
fix(runtime-core): remove dev-only props property from setup context for consistency (#3492) 2021-03-27 11:23:10 -04:00
Johnson Chu
e752bddb33
fix(compiler-core): fix slot source location (#3494) 2021-03-27 11:20:39 -04:00
Evan You
2121c32e22 fix(runtime-core): fix kebab-case prop required warning
fix #3495
ref #3363
2021-03-27 11:16:39 -04:00
Evan You
37c17091fd fix: ensure backwards compat for pre-compiled sfc components
fix #3493
2021-03-27 10:53:45 -04:00
Evan You
9ff70be2b3 release: v3.0.8 2021-03-26 17:35:44 -04:00
Evan You
60d777d228 fix(runtime-core): fix erraneous emits warnings w/ mixins
fix #2651
2021-03-26 16:29:40 -04:00
Evan You
d5824b97c5 fix(runtime-core): should not track deps in pre flush watcher callbacks
fix #2728
2021-03-26 15:52:49 -04:00