Commit Graph

2966 Commits

Author SHA1 Message Date
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]
fe8f8f88a2
build(deps-dev): bump @microsoft/api-extractor from 7.10.6 to 7.11.0 (#2519) 2020-10-29 15:09:36 +00:00
dependabot-preview[bot]
00c62c1b5c
build(deps-dev): bump execa from 4.0.3 to 4.1.0 (#2517) 2020-10-29 15:07:30 +00: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
Eduardo San Martin Morote
314ab2c7c5
fix(compiler): stringify values on v-text (#2432)
fix #2430
2020-10-19 18:12:09 -04:00
被雨水过滤的空气
edd49dcab4
fix(runtime-core): avoid mutating EMPTY_ARR when setting dev root (#2419)
also freeze EMPTY_ARR in dev

fix #2413
2020-10-19 18:08:54 -04:00
neverland
e894caf731
types(tsx): svg xmlns attribute typing (#2344) 2020-10-19 17:40:21 -04:00
Evan You
0e5a3c47a7 fix(reactivity): track length on for in iteration on Array
fix #2427
2020-10-19 17:37:35 -04:00
Carlos Rodrigues
d9ad45ad6c
types(defineComponent): fix optional Boolean prop types (#2401)
fix #2338
2020-10-19 17:25:55 -04:00
Eduardo San Martin Morote
8e5cdc0d0e
ci: add size check on push (#2392) 2020-10-19 17:19:49 -04:00
ᴜɴвʏтᴇ
052a621762
feat(compile-core): handle falsy dynamic args for v-on and v-bind (#2393)
fix #2388
2020-10-19 17:15:53 -04:00
dependabot-preview[bot]
7390487c7d
build(deps): bump @babel/types from 7.12.0 to 7.12.1 (#2396)
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.12.0 to 7.12.1.
- [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.12.1/packages/babel-types)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 17:11:59 -04:00
dependabot-preview[bot]
5232b80e16
build(deps): bump @babel/parser from 7.12.0 to 7.12.3 (#2409)
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.12.0 to 7.12.3.
- [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.12.3/packages/babel-parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 17:11:45 -04:00
龙腾道
ba881f9190
fix(runtime-core): avoid object prototype keys in property access cache (#2416) 2020-10-19 17:11:28 -04:00
dependabot-preview[bot]
7e6e903111
build(deps-dev): bump jest from 26.5.3 to 26.6.0 (#2434) 2020-10-19 12:05:12 +00:00
dependabot-preview[bot]
2d5784c0b3
build(deps-dev): bump lint-staged from 10.4.1 to 10.4.2 (#2410) 2020-10-17 21:59:26 +00:00
dependabot-preview[bot]
0c6e1ed6c1
build(deps-dev): bump @types/node from 14.11.8 to 14.11.10 (#2407) 2020-10-17 21:56:25 +00:00
dependabot-preview[bot]
ba49fd8db8
build(deps-dev): bump rollup from 2.31.0 to 2.32.0 (#2408) 2020-10-17 21:56:17 +00:00
dependabot-preview[bot]
c9e8be09ca
build(deps-dev): bump rollup from 2.30.0 to 2.31.0 (#2397) 2020-10-16 14:58:02 +00:00
dependabot-preview[bot]
f1086245a7
build(deps-dev): bump lint-staged from 10.4.0 to 10.4.1 (#2395) 2020-10-16 14:54:54 +00:00