Commit Graph

2186 Commits

Author SHA1 Message Date
Evan You
30584bcc61 perf(ssr): avoid unnecessary await ticks when unrolling sync buffers 2020-06-26 11:10:30 -04:00
Stanislav Lashmanov
6bc0e0a31a
feat(ssr): renderToStream (#1197) 2020-06-26 11:09:47 -04:00
Evan You
e0d19a6953 fix(runtime-core): always check props presence in public instance proxy
When the there are props merged from mixins or extends, the component itself
may not have a props property.

fix #1236 where merged props are not exposed in production
2020-06-26 10:19:07 -04:00
Evan You
5453e791ae chore: fix types 2020-06-26 10:07:07 -04:00
edison
178e89305d
chore(reactivity): use consistent naming for ReactiveFlags enum (#1428) 2020-06-26 09:32:09 -04:00
Evan You
e765d81404 fix(runtime-core): fix component name inference in warnings
Should not pollute component definition name property
fix #1418
2020-06-26 09:28:15 -04:00
underfin
1c4e1b6792
fix(runtime-core): should remove no longer present camelCase props (#1413)
fix #1412
2020-06-26 09:16:06 -04:00
Evan You
056cac9185 feat(runtime-core): expose version on app instance
close #1449
2020-06-26 09:03:55 -04:00
Evan You
bf84ac8396 fix(transition): enter/leave hook timing consistency with v2
close #1145
2020-06-25 17:56:36 -04:00
Evan You
9edbc27f45 fix(transition): fix css:false with hooks with no explicit done callback
close #1149
2020-06-25 17:40:49 -04:00
underfin
2ff8dcab0a
fix(BaseTransition): fix BaseTransition delayed leave with mode in-out (#1404)
fix #1400
2020-06-25 17:00:19 -04:00
underfin
299fda46a1
test(TransitionGroup): test for TransitionGroup (#1269) 2020-06-25 16:38:22 -04:00
Evan You
7ae70ea44c fix(transition): fix appear hooks handling 2020-06-25 16:02:28 -04:00
Evan You
acd3156d2c fix(transition): fix dom transition cancel hooks not being called 2020-06-25 15:03:58 -04:00
underfin
b3bdd7046f
test(Transition): more complete transition e2e tests (#1151) 2020-06-25 14:04:23 -04:00
Pick
f54be6a462
refactor(types): simplify UnwrapRef + specify iterable method return type (#1444) 2020-06-25 12:04:14 -04:00
underfin
c43a6e61a0
perf(reactivity): should not track __v_isRef (#1392) 2020-06-25 11:40:49 -04:00
Albert Liu
a60f3b1430
refactor(types): remove unnecessary as any (#1411) 2020-06-25 11:05:39 -04:00
Bener
81849d760b
chore: fix markdown example with overflowing content (#1410) [ci skip] 2020-06-25 11:03:59 -04:00
underfin
d7beea015b
fix(v-show): fix v-show unmount with falsy value (#1403)
fix #1401
2020-06-25 10:58:31 -04:00
dependabot-preview[bot]
3f3b473cc8 build(deps-dev): bump @microsoft/api-extractor from 7.8.14 to 7.8.15
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.8.14 to 7.8.15.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.8.14...@microsoft/api-extractor_v7.8.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-25 12:30:17 +00:00
dependabot-preview[bot]
0b983bcfdc build(deps-dev): bump @types/jest from 26.0.2 to 26.0.3
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.2 to 26.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-25 12:28:36 +00:00
dependabot-preview[bot]
34128939c5 build(deps-dev): bump @microsoft/api-extractor from 7.8.12 to 7.8.14
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.8.12 to 7.8.14.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.8.12...@microsoft/api-extractor_v7.8.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-24 13:46:36 +00:00
dependabot-preview[bot]
77c5fc10db build(deps-dev): bump @types/jest from 26.0.0 to 26.0.2
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.0 to 26.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-24 13:44:28 +00:00
dependabot-preview[bot]
8c72b1febd
build(deps): bump @babel/parser from 7.10.2 to 7.10.3 (#1421)
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.10.2 to 7.10.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.10.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-06-23 21:46:52 -04:00
dependabot-preview[bot]
8ee4e624f1
build(deps): bump @babel/types from 7.10.2 to 7.10.3 (#1419)
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.10.2 to 7.10.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.10.3/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-23 21:46:45 -04:00
underfin
90c285c5c8
fix(compiler-sfc): transformAssetUrl should ignore inline data url (#1431) 2020-06-23 21:46:18 -04:00
Evan You
37a5952c09 build(deps): bump postcss-modules 2020-06-23 11:34:02 -04:00
dependabot-preview[bot]
30216dcc45 build(deps-dev): bump @typescript-eslint/parser from 3.3.0 to 3.4.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.4.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 15:33:18 +00:00
dependabot-preview[bot]
76e903a336 build(deps-dev): bump @rollup/plugin-node-resolve from 8.0.1 to 8.1.0
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v8.0.1...node-resolve-v8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 15:32:40 +00:00
dependabot-preview[bot]
031336a5db build(deps-dev): bump jest from 26.0.1 to 26.1.0
Bumps [jest](https://github.com/facebook/jest) from 26.0.1 to 26.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.0.1...v26.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 15:30:54 +00:00
dependabot-preview[bot]
1a49130b9f build(deps-dev): bump eslint from 7.3.0 to 7.3.1
Bumps [eslint](https://github.com/eslint/eslint) from 7.3.0 to 7.3.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.3.0...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 15:27:58 +00:00
dependabot-preview[bot]
ca137db472 build(deps-dev): bump eslint from 7.2.0 to 7.3.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.2.0 to 7.3.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.2.0...v7.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 09:51:13 +00:00
dependabot-preview[bot]
3df469e156 build(deps-dev): bump ts-jest from 26.1.0 to 26.1.1
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.1.0 to 26.1.1.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.1.0...v26.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 09:50:41 +00:00
dependabot-preview[bot]
42a1afca8c build(deps-dev): bump rollup from 2.17.1 to 2.18.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.17.1 to 2.18.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.17.1...v2.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 09:49:29 +00:00
dependabot-preview[bot]
06569a133c build(deps-dev): bump rollup from 2.17.0 to 2.17.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.17.0 to 2.17.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.17.0...v2.17.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-19 08:34:46 +00:00
dependabot-preview[bot]
ba2a4e1081 build(deps-dev): bump lint-staged from 10.2.10 to 10.2.11
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.10 to 10.2.11.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.10...v10.2.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-19 01:32:41 +00:00
dependabot-preview[bot]
2d02a679dd build(deps-dev): bump rollup from 2.16.1 to 2.17.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.16.1 to 2.17.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.16.1...v2.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-18 08:14:07 +00:00
HcySunYang
8a2cf21b71
perf(compiler-core): treat v-for with constant exp as a stable fragment (#1394) 2020-06-17 16:13:14 -04:00
Pick
8899a90fc4
refactor(types): simplified UnwrapRef (#1390) 2020-06-17 16:06:55 -04:00
57code
04751ff634
test(vue): test mount with a selector (#1391) 2020-06-17 16:01:35 -04:00
Joseph Xia
d57749cbf7
test(compiler-core): add v-if with comments test case (#1389) 2020-06-17 16:01:12 -04:00
hanmingyang
bf5aba8f19
test(compiler-sfc):test isRelativeUrl (#1377) 2020-06-17 15:57:26 -04:00
Evan You
e68209bfdb test: bump jest 2020-06-16 12:11:51 -04:00
Evan You
edcbf99480 build(deps): bump build deps 2020-06-16 12:09:20 -04:00
Evan You
c80d93f15c workflow: eslint ignore unused args that start with _ 2020-06-16 12:00:18 -04:00
Evan You
2961e149c9 fix(types): ensure correct public props interface for defineComponent instance type
fix #1385
2020-06-16 12:00:18 -04:00
dependabot-preview[bot]
8904dec00b build(deps-dev): bump @typescript-eslint/parser from 3.2.0 to 3.3.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.3.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 12:19:57 +00:00
dependabot-preview[bot]
fb836f426b build(deps-dev): bump @microsoft/api-extractor from 7.8.11 to 7.8.12
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.8.11 to 7.8.12.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.8.11...@microsoft/api-extractor_v7.8.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 12:17:55 +00:00
underfin
6c8bfa1018
fix(runtime-core): fix parent el update on nested HOC self-update (#1360)
fix #1357
2020-06-15 16:46:29 -04:00