Commit Graph

3173 Commits

Author SHA1 Message Date
Cédric Exbrayat 3b3a9a1f52
fix: add display name for suspense component (#3312) 2021-03-23 10:17:15 +01:00
dependabot-preview[bot] 0600eb4ede build(deps-dev): bump @typescript-eslint/parser from 4.18.0 to 4.19.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.18.0 to 4.19.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/v4.19.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 08:28:11 +00:00
dependabot-preview[bot] 7258648c23 build(deps-dev): bump semver from 7.3.4 to 7.3.5
Bumps [semver](https://github.com/npm/node-semver) from 7.3.4 to 7.3.5.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.4...v7.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 08:25:59 +00:00
HcySunYang 67a0290c0a
fix(transition): toggling branches with in-out mode should be transitioned correctly (#3109)
fix #3104
2021-03-22 16:56:24 -04:00
Evan You b2e00f011a test(ssr): test render function Transition usage in SSR 2021-03-22 16:51:51 -04:00
HcySunYang e8e9b00f81
fix(KeepAlive): adapt keepalive for ssr (#3259)
fix #3255
2021-03-22 16:49:07 -04:00
HcySunYang 602b58ebd1
fix(compiler-core): fix the detection of forwarded slots with v-if or v-for (#3353)
fix #3347
2021-03-22 16:34:46 -04:00
HcySunYang 6cb94752b0
fix(compiler-sfc): scope Id should not be attached to @keyframe breakpoint rules (#3308)
fix #3304
2021-03-19 10:32:30 -04:00
dependabot-preview[bot] 9717756a28 build(deps-dev): bump ts-jest from 26.5.3 to 26.5.4
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.5.3 to 26.5.4.
- [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.5.3...v26.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-18 06:22:21 +00:00
dependabot-preview[bot] 26fa4e0980 build(deps-dev): bump @types/jest from 26.0.20 to 26.0.21
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.20 to 26.0.21.
- [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>
2021-03-18 06:21:54 +00:00
dependabot-preview[bot] c070b05531 build(deps-dev): bump @types/node from 14.14.34 to 14.14.35
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.34 to 14.14.35.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-16 06:18:18 +00:00
dependabot-preview[bot] e8dd823bf0 build(deps-dev): bump @typescript-eslint/parser from 4.17.0 to 4.18.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.17.0 to 4.18.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/v4.18.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-16 06:16:43 +00:00
dependabot-preview[bot] a26cd9ca7f build(deps-dev): bump @types/node from 14.14.33 to 14.14.34
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.33 to 14.14.34.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-15 06:48:39 +00:00
dependabot-preview[bot] 12a964f018 build(deps-dev): bump eslint from 7.21.0 to 7.22.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.22.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.21.0...v7.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-15 06:47:49 +00:00
dependabot-preview[bot] 1fb6fbc8b8 build(deps-dev): bump @types/node from 14.14.32 to 14.14.33
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.32 to 14.14.33.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-10 06:12:59 +00:00
dependabot-preview[bot] dc186f4577 build(deps-dev): bump @typescript-eslint/parser from 4.16.1 to 4.17.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.16.1 to 4.17.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/v4.17.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-09 06:14:56 +00:00
dependabot-preview[bot] 11c3e046e5 build(deps-dev): bump @types/node from 14.14.31 to 14.14.32
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.31 to 14.14.32.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 06:49:05 +00:00
Evan You 540e26f49c chore: only set slotted flag on sfc descriptor if style is scoped 2021-03-05 18:28:12 -05:00
Evan You ff4d4ec249 chore: fix all test cases 2021-03-05 18:28:12 -05:00
Evan You 68416e988f chore: fix types 2021-03-05 18:28:12 -05:00
Evan You 02cbbb718c perf: support only attaching slot scope ids when necessary
This is done by adding the `slotted: false` option to:

- compiler-dom
- compiler-ssr
- compiler-sfc (forwarded to template compiler)

At runtime, only slotted component will render slot fragments with
slot scope Ids. For SSR, only slotted component will add slot scope Ids
to rendered slot content. This should improve both runtime performance
and reduce SSR rendered markup size.

Note: requires SFC tooling (e.g. `vue-loader` and `vite`) to pass on
the `slotted` option from the SFC descriptoer to the `compileTemplate`
call.
2021-03-05 18:28:12 -05:00
Evan You f74b16ccfe fix(compiler): properly bail stringfication for nested slot elements 2021-03-05 18:28:12 -05:00
Evan You aea88c3280 refactor: fix implementation of SFC :slotted id handling
fix #2892
2021-03-05 18:28:12 -05:00
dependabot-preview[bot] cc975c1292
build(deps-dev): bump typescript from 4.2.2 to 4.2.3 (#3366) 2021-03-05 06:18:18 +00:00
dependabot-preview[bot] cf625dcf9d
build(deps-dev): bump @microsoft/api-extractor from 7.13.1 to 7.13.2 (#3356) 2021-03-04 06:16:59 +00:00
dependabot-preview[bot] 0bc2782dd0
build(deps-dev): bump ts-jest from 26.5.2 to 26.5.3 (#3355) 2021-03-04 06:13:47 +00:00
Evan You 425b5c62e8 build(deps): bump typescript 2021-03-03 11:29:20 -05:00
Cédric Exbrayat 57e1aa815b
chore: fix ownKeys signature (#3313) 2021-03-03 11:26:49 -05:00
Evan You 3e4c3ac66d build(deps): bump @babel/parser and @babel/types 2021-03-03 11:25:13 -05:00
dependabot[bot] 9fd66d8edc
build(deps-dev): bump pug from 2.0.4 to 3.0.1 (#3344)
Bumps [pug](https://github.com/pugjs/pug) from 2.0.4 to 3.0.1.
- [Release notes](https://github.com/pugjs/pug/releases)
- [Commits](https://github.com/pugjs/pug/compare/pug@2.0.4...pug@3.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 11:19:33 -05:00
dependabot-preview[bot] 2a7f2570db
build(deps): bump postcss from 8.1.10 to 8.2.6 (#3221)
Bumps [postcss](https://github.com/postcss/postcss) from 8.1.10 to 8.2.6.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.1.10...8.2.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-03 11:18:39 -05:00
dependabot-preview[bot] fbf2d68bbc
build(deps-dev): bump @typescript-eslint/parser from 4.15.2 to 4.16.1 (#3335) 2021-03-02 06:18:42 +00:00
Evan You 69304cf166 refactor: adjust logic branches 2021-03-01 15:45:55 -05:00
HcySunYang 7562e72c2b
fix(runtime-core): fix async component ref handling (#3191)
fix #3188
2021-03-01 15:00:32 -05:00
Evan You 3f9906a2f8 test(types): test for tsx style validation 2021-03-01 12:31:40 -05:00
Evan You 75fdcd85ce chore: rename test to match src filename 2021-03-01 12:30:04 -05:00
Kadir Yazıcı 13c9d2ca82
fix(types): allow style to be an array in JSX (#2947) 2021-03-01 12:29:13 -05:00
HcySunYang 8ffcde2836
fix(runtime-dom): support mounting app to svg container (#2929)
fix #2926
2021-03-01 11:51:32 -05:00
Evan You 1a955e2278 release: v3.0.7 2021-03-01 10:59:29 -05:00
Evan You 290e494292 chore: bail early on release test run 2021-03-01 10:55:39 -05:00
Evan You 24b35237a0 test: improve e2e test stability 2021-03-01 10:49:23 -05:00
Evan You 34f354b2a0 fix(deps): pin Rollup to 2.38
Rollup 2.39 changes cjs re-exports code generation which breaks named
exports static analysis of cjs-module-lexer / Node esm mode.

close #3332
2021-03-01 10:20:44 -05:00
dependabot-preview[bot] 58c46d77ea
build(deps-dev): bump rollup from 2.39.1 to 2.40.0 (#3329) 2021-03-01 08:23:41 +00:00
dependabot-preview[bot] 81f29672db
build(deps-dev): bump eslint from 7.20.0 to 7.21.0 (#3330) 2021-03-01 08:23:34 +00:00
Evan You 1dedc19e1f fix(compiler-sfc): handle more edge cases in default rewrite 2021-02-26 11:05:20 -05:00
lidlanca 012dc5a303
fix(compiler-ssr) ensure that ssrHelpers are unique after merge from parent context (#3269)
fix #3268
2021-02-25 18:25:39 -05:00
zhufengzhufeng 9cd988342c
perf(reactivity): only call Set.add if doesn't already have value (#3307) 2021-02-25 14:57:35 -05:00
HcySunYang 5ad4036e29
fix(v-show): v-show takes higher priority than style attribute (#3230)
fix #2757
2021-02-25 10:26:54 -05:00
HcySunYang 45fae9d308
fix(scheduler): ensure updates are always inserted in ascending id order (#3184)
fix #2768, fix #2829
2021-02-25 09:37:25 -05:00
Evan You 75964aba03 test: test case for #3300, #3301 2021-02-25 09:07:49 -05:00