Commit Graph

2832 Commits

Author SHA1 Message Date
Evan You
8ba3a7de40 wip: fix dts tests 2020-11-13 00:12:04 -05:00
Evan You
6fc8d5d0ba wip: type inference for useOptions 2020-11-13 00:01:44 -05:00
Evan You
001f8ce993 wip: defineContext -> useOptions 2020-11-12 22:51:40 -05:00
Evan You
292a657861 wip: fix runtimeConstant marking 2020-11-12 22:44:18 -05:00
Evan You
0ca9137188 wip: tests for defineContext() 2020-11-12 18:11:25 -05:00
Evan You
128621d6a0 wip: further optimize bindings 2020-11-12 16:11:14 -05:00
Evan You
6a9b56ca60 wip: defineContext() 2020-11-12 14:10:39 -05:00
Evan You
dc098c7f81 wip: defineContext 2020-11-11 19:40:27 -05:00
Evan You
2a4fc32d15 wip: remove unnecessary inlinePropsIdentifier option 2020-11-11 10:36:59 -05:00
Evan You
4e8ef55237 wip: optimize binding access to known imported components 2020-11-10 18:06:38 -05:00
Evan You
4977526a2b wip: correctly resolve component in setup inline mode 2020-11-10 17:36:06 -05:00
Evan You
3019508e75 wip: fix binding type fallback 2020-11-10 17:31:09 -05:00
Evan You
886ed7681d feat(compiler-sfc): compileScript inline render function mode 2020-11-10 16:28:34 -05:00
Evan You
3f99e239e0 feat(compiler-sfc): support kebab-case components in <script setup> sfc template 2020-11-09 17:22:58 -05:00
Evan You
8cf0a40d5b chore: update warning and error messages 2020-11-09 17:00:58 -05:00
Evan You
3cca6bc3a8 chore: fix snapshots 2020-10-30 17:12:15 -04:00
Evan You
6e3abc8605 fix(compiler-sfc): fix script setup ts helpers 2020-10-30 16:56:12 -04:00
Evan You
8485cd4843 fix: handle case of ref declaration without initial value 2020-10-30 15:29:38 -04:00
Evan You
ed2eb81317 refactor(compiler-sfc): always parse explicit script setup signature 2020-10-30 12:03:14 -04:00
Evan You
941b645d58 refactor(compiler-sfc): improve compileScript error messages 2020-10-30 11:52:46 -04:00
Evan You
556560fae3 feat(compiler-sfc): new script setup implementation
- now exposes all top level bindings to template
- support `ref:` syntax sugar
2020-10-29 15:03:39 -04:00
dependabot-preview[bot]
0935c0501b
build(deps-dev): bump @types/node from 14.14.2 to 14.14.6 (#2512) 2020-10-28 19:43:12 +00:00
dependabot-preview[bot]
b6d3bb5cf1
build(deps-dev): bump ts-jest from 26.4.2 to 26.4.3 (#2505) 2020-10-28 09:59:15 +00:00
dependabot-preview[bot]
b927d1d37d
build(deps-dev): bump @rollup/plugin-replace from 2.3.3 to 2.3.4 (#2504) 2020-10-28 09:58:25 +00:00
dependabot-preview[bot]
4339c68742
build(deps-dev): bump @typescript-eslint/parser from 4.5.0 to 4.6.0 (#2502) 2020-10-28 09:56:22 +00:00
dependabot-preview[bot]
44e816e18f
build(deps-dev): bump @microsoft/api-extractor from 7.10.4 to 7.10.6 (#2501) 2020-10-28 09:52:52 +00:00
dependabot-preview[bot]
485a5eb7d6
build(deps-dev): bump typescript from 4.0.3 to 4.0.5 (#2500) 2020-10-28 09:51:45 +00:00
dependabot-preview[bot]
417e3688c6
build(deps-dev): bump lint-staged from 10.4.2 to 10.5.0 (#2499) 2020-10-28 09:50:21 +00:00
dependabot-preview[bot]
ccf49d9f3b
build(deps-dev): bump eslint from 7.12.0 to 7.12.1 (#2498) 2020-10-28 09:49:23 +00:00
Evan You
8e20375372 fix(types): ensure correct type for toRef and toRefs on existing refs 2020-10-27 18:50:34 -04:00
Evan You
9c23ddf9c5 fix(hmr): fix updates for imported but not yet rendered components 2020-10-26 17:52:27 -04:00
dependabot-preview[bot]
6b424c258f
build(deps-dev): bump eslint from 7.11.0 to 7.12.0 (#2481) 2020-10-25 05:00:09 +00:00
dependabot-preview[bot]
fd102181a2
build(deps-dev): bump jest from 26.6.0 to 26.6.1 (#2475) 2020-10-24 16:24:40 +00:00
dependabot-preview[bot]
ea5f92ae05
build(deps-dev): bump ts-jest from 26.4.1 to 26.4.2 (#2476) 2020-10-23 19:52:38 +00:00
Evan You
118502a4b8 chore: comments [ci skip] 2020-10-23 14:37:09 -04:00
Evan You
51e43e0799 fix(runtime-core): components with static props and slots should not be force updated 2020-10-22 17:50:05 -04:00
dependabot-preview[bot]
cd7834aa50
build(deps-dev): bump rollup from 2.32.0 to 2.32.1 (#2465) 2020-10-22 21:13:55 +00:00
dependabot-preview[bot]
6e76fafa92
build(deps-dev): bump @types/node from 14.14.0 to 14.14.2 (#2466) 2020-10-22 21:13:23 +00:00
dependabot-preview[bot]
f4621ff5ee
build(deps-dev): bump @types/node from 14.11.10 to 14.14.0 (#2453) 2020-10-21 06:34:05 +00:00
dependabot-preview[bot]
dec8f82e2d
build(deps-dev): bump @types/jest from 26.0.14 to 26.0.15 (#2452) 2020-10-21 06:33:24 +00:00
dependabot-preview[bot]
434de69a06
build(deps-dev): bump @typescript-eslint/parser from 4.4.1 to 4.5.0 (#2451) 2020-10-21 06:31:09 +00:00
Evan You
f2d03a59c6 release: v3.0.2 2020-10-20 16:24:12 -04:00
Carlos Rodrigues
1f2a652a9d
fix(types): h support for resolveComponent (#2402)
close #2357
2020-10-20 15:56:29 -04:00
HcySunYang
fff62e2ee8
fix(runtime-core): non-stable Fragment should always unmount its children (#2445)
fix #2444
2020-10-20 14:59:55 -04:00
Evan You
0227b4a697 fix(suspense): fix suspense nested child updates in template mode
fix #2214
2020-10-20 12:28:02 -04:00
Hunter
128ec460ec
fix(v-model): built in modifiers support on component (#2348)
close #2326
2020-10-20 09:59:27 -04:00
Evan You
4bbb2b2ee6 fix(runtime-core): fix component .once listener logic 2020-10-20 09:50:18 -04:00
Hunter
6d2a1cb64d
fix(compiler-core): fix multiline member expression check (#2436)
fix #2426
2020-10-20 09:31:08 -04:00
ShaoDamao
288c764e52
chore(runtime-core): fix typo (#2442)
Co-authored-by: shaoziwei <ziwei.shao@cloudchef.io>
2020-10-20 08:51:05 +02:00
Hunter
111d04f119
fix(runtime-core): prevent self-injection (#2424)
fix #2400
2020-10-19 20:45:48 -04:00