Commit Graph

2316 Commits

Author SHA1 Message Date
Evan You
e76ed4c269 refactor(hmr): simplify hmr force update check 2020-06-12 14:53:48 -04:00
Carlos Rodrigues
8f2a7489b7
fix(hmr): force full update on nested child components (#1312) 2020-06-12 14:31:56 -04:00
Evan You
4492b88938 fix: always treat spellcheck and draggable as attributes
fix #1350
2020-06-12 12:40:54 -04:00
Evan You
8084156f4d fix(runtime-core): mount children before setting element props
fix #1318, close #1320
2020-06-12 12:14:39 -04:00
underfin
aac9b03c11
fix(runtime-core): should pass instance to patchProp on mount for event error handling (#1337)
fix #1336
2020-06-12 11:59:55 -04:00
Aneryu
90c3532946
fix(runtime-dom): compatibility for cases where event.timeStamp is 0 (#1328)
close #1325
2020-06-12 11:00:37 -04:00
Albert Liu
47c4ffbdbe
refactor(types): improve typing (#1317) 2020-06-12 10:46:44 -04:00
Cédric Exbrayat
cab769f174
fix(types): add RawSlots in h signature (#1293) 2020-06-12 10:38:56 -04:00
Cr
b015892de6
workflow: cross platform vscode jest debugging (#414)
remove no longer needed proxy script
2020-06-12 10:34:31 -04:00
CodinCat
c7cd386194
test(e2e): enhance and fix test of svg example (#560) 2020-06-12 10:32:27 -04:00
underfin
c463a71bb3
fix(ssr): fix unintended error on Teleport hydration mismatch (#1271)
fix #1235
2020-06-12 10:01:56 -04:00
Evan You
d863ce721f refactor: improve base getter readability 2020-06-12 09:25:40 -04:00
Yang Mingshan
80e1693e1f
fix(reactivity): replaced ref in reactive object should be tracked (#1058) 2020-06-12 09:20:43 -04:00
tangjinzhou
d437a0145d
fix(runtime-core): default value for function type prop (#1349)
fix #1348
2020-06-12 09:06:28 -04:00
Carlos Rodrigues
4c4f39b6ea
types(props): fix typo on prototype (#1334) 2020-06-11 17:34:21 -04:00
蜗牛老湿
f3eac11058
chore(reactivity): use ReactiveFlags instead of __v_ properties (#1313) 2020-06-11 17:32:44 -04:00
underfin
d4e9b19932
perf: only patch string style when value has changed (#1310)
fix #1309
2020-06-11 17:25:39 -04:00
ysj16
1f2926a33c
perf: optimize LRU access in keep-alive (#1316) 2020-06-11 17:24:50 -04:00
underfin
0b93440146
chore: better warning when remounting a mounted app (#1297) 2020-06-11 17:20:38 -04:00
Evan You
ad4841a892 chore: ignore unreachable files from coverage 2020-06-11 17:14:11 -04:00
蜗牛老湿
426803046f
test(reactivity): 100% reactivity coverage (#1299) 2020-06-11 16:55:56 -04:00
Evan You
3fafc3b3ac
types(runtime-core): improve types for transition hook (#1009)
* types(runtime-core): improve types for transition hook

fix #1000

* Update packages/runtime-core/src/components/BaseTransition.ts

Co-Authored-By: Carlos Rodrigues <david-181@hotmail.com>

* fix: run ci

Co-authored-by: Carlos Rodrigues <david-181@hotmail.com>
2020-06-11 16:39:18 -04:00
underfin
419b86d190
feat(types): support typing directive value via generic argument (#1007)
close #998
2020-06-11 16:37:14 -04:00
Evan You
e29f0b3fc2 feat(compiler): better warning for invalid expressions in function/browser mode
fix #1266
2020-06-11 16:31:51 -04:00
Evan You
10bb34bb86 fix(reactivity): fix toRaw for objects prototype inherting reactive
fix #1246
2020-06-11 15:12:57 -04:00
Evan You
f3623e4d1e fix(compiler-core): fix prod whitespace/comment removal
fix #1256
2020-06-11 11:45:10 -04:00
dependabot-preview[bot]
b942a310a8 build(deps-dev): bump @microsoft/api-extractor from 7.8.10 to 7.8.11
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.8.10 to 7.8.11.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.8.10...@microsoft/api-extractor_v7.8.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 08:48:31 +00:00
Evan You
80c868aefe workflow: setup eslint for prohibited syntax and globals
fix #1285
2020-06-10 16:54:23 -04:00
Evan You
e4dc03a8b1 feat(types): adjust type exports for manual render function and tooling usage
- v-model and v-show directives are now exposed as public
- compiler-used runtime helpers are now exposed for TS tooling, but marked as @private

close #1329
2020-06-10 14:57:21 -04:00
Evan You
9b5d13e598 fix: bail stringification for slots
fix #1281, close #1286
2020-06-10 14:31:59 -04:00
蜗牛老湿
fbaf52ae9f
fix(compiler-dom): add tfoot,caption,col element on bail stringification (#1333) 2020-06-10 14:24:51 -04:00
Evan You
4c542d5033 chore: adjust yarn warning [ci skip] 2020-06-09 17:39:48 -04:00
limichange
bccae1632f
workflow: alert user working on repo if not using yarn (#1237) 2020-06-09 17:36:45 -04:00
Carlos Rodrigues
958b6c80cf
fix(compiler-core): allow multiline expression on v-model and v-on (#1234) 2020-06-09 17:24:48 -04:00
Carlos Rodrigues
c97d1bae56
fix(reactivity): shallowReactive collection to not-readonly (#1212) 2020-06-09 17:20:30 -04:00
Evan You
3f80183f1f test: test for table stringification bail 2020-06-09 17:10:07 -04:00
Evan You
a938b61edc fix(compiler-dom): bail stringification on table elements
close #1230, close #1268
2020-06-09 17:02:27 -04:00
Zardddddd60
64ec8bfb54
fix(compiler-core): bail static stringfication even threshold is met (#1298)
fix #1128
2020-06-09 16:26:03 -04:00
Evan You
215c106297 test: test for mixin/extends props merging 2020-06-09 16:20:33 -04:00
Evan You
2417a0cb30 fix(runtime-core): respect props from mixins and extends
fix #1236, close #1250
2020-06-09 11:27:40 -04:00
Evan You
dc986addd9 fix(build): retain main vue package side effect for compiler registration
fix #1263
2020-06-09 10:38:56 -04:00
doly mood
d3c436ae2e
feat(types): mixins/extends support in TypeScript (#626) 2020-06-09 10:37:00 -04:00
Carlos Rodrigues
97dedebd80
feat(types): update to Typescript 3.9 (#1106) 2020-06-09 10:17:42 -04:00
dependabot-preview[bot]
6cd97f0ef2
build(deps): bump postcss from 7.0.30 to 7.0.32 (#1288)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.30 to 7.0.32.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.30...7.0.32)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-09 10:01:04 -04:00
dependabot-preview[bot]
6157ab05c5
build(deps): bump @babel/parser from 7.9.6 to 7.10.2 (#1274)
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.9.6 to 7.10.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.2/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-06-09 10:00:52 -04:00
dependabot-preview[bot]
34f47c60e7
build(deps): bump @babel/types from 7.9.6 to 7.10.2 (#1272)
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.9.6 to 7.10.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.2/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-06-09 10:00:28 -04:00
dependabot-preview[bot]
e6add3ee49 build(deps-dev): bump @rollup/plugin-json from 4.0.3 to 4.1.0
Bumps [@rollup/plugin-json](https://github.com/rollup/plugins) from 4.0.3 to 4.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/json-v4.0.3...json-v4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 08:44:20 +00:00
dependabot-preview[bot]
d67ab3d705 build(deps-dev): bump @rollup/plugin-replace from 2.3.2 to 2.3.3
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.3.2...replace-v2.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 08:41:42 +00:00
dependabot-preview[bot]
0eb8207637 build(deps-dev): bump rollup from 2.13.1 to 2.15.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.13.1 to 2.15.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.13.1...v2.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 08:39:08 +00:00
Alexandre Bonaventure Geissmann
4a5021e763
fix(runtime-core): use array destructuring instead of object for edge compat (#1302)
fix #1294
2020-06-05 10:57:44 -04:00