Commit Graph

2105 Commits

Author SHA1 Message Date
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
dependabot-preview[bot]
75d6a1cc04 build(deps-dev): bump serve from 11.3.1 to 11.3.2
Bumps [serve](https://github.com/zeit/serve) from 11.3.1 to 11.3.2.
- [Release notes](https://github.com/zeit/serve/releases)
- [Commits](https://github.com/zeit/serve/compare/11.3.1...11.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 08:13:52 +00:00
dependabot-preview[bot]
ed35240f3e build(deps-dev): bump rollup from 2.12.1 to 2.13.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.12.1 to 2.13.1.
- [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.12.1...v2.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 08:28:39 +00:00
dependabot-preview[bot]
4faa28996b build(deps-dev): bump rollup from 2.11.2 to 2.12.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.11.2 to 2.12.1.
- [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.11.2...v2.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-03 08:30:30 +00:00
dependabot-preview[bot]
db41c45798 build(deps-dev): bump @microsoft/api-extractor from 7.8.8 to 7.8.10
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.8.8 to 7.8.10.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.8.8...@microsoft/api-extractor_v7.8.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 09:05:45 +00:00
Evan You
2408a65662 fix(hmr): force full update in child component on slot update 2020-05-29 10:50:01 -04:00
Evan You
5ddd9d2417 fix(compiler-sfc): asset url transform should ignore direct hash urls 2020-05-29 10:20:57 -04:00
dependabot-preview[bot]
8b9ee5798e build(deps-dev): bump @microsoft/api-extractor from 7.8.7 to 7.8.8
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.8.7 to 7.8.8.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.8.7...@microsoft/api-extractor_v7.8.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 09:03:08 +00:00
dependabot-preview[bot]
27dbd65a6c build(deps-dev): bump rollup from 2.10.9 to 2.11.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.10.9 to 2.11.2.
- [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.10.9...v2.11.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 09:00:17 +00:00
dependabot-preview[bot]
c104a68e0a build(deps-dev): bump @microsoft/api-extractor from 7.8.5 to 7.8.7
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.8.5 to 7.8.7.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.8.5...@microsoft/api-extractor_v7.8.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-27 08:40:28 +00:00
Evan You
5f15d9aa4b fix(compiler-ssr): should escape template string interpolation chars in generated code 2020-05-26 14:38:24 -04:00
dependabot-preview[bot]
181541045b build(deps-dev): bump rollup from 2.10.5 to 2.10.9
Bumps [rollup](https://github.com/rollup/rollup) from 2.10.5 to 2.10.9.
- [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.10.5...v2.10.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 08:47:11 +00:00