Commit Graph

2271 Commits

Author SHA1 Message Date
Evan You
dbf627f136 wip(runtime): support multi-element static vnode in renderer 2020-05-15 15:12:26 -04:00
Evan You
cb9444807e wip(compiler): improve node stringification to support adjacent nodes 2020-05-15 12:58:44 -04:00
Evan You
c2f3ee4dc0 chore: use jsdoc comments in ast 2020-05-15 11:00:07 -04:00
dependabot-preview[bot]
e56d33edb1 build(deps-dev): bump rollup from 2.10.0 to 2.10.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.10.0 to 2.10.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.0...v2.10.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-15 08:32:22 +00:00
dependabot-preview[bot]
89dc3d4701 build(deps-dev): bump @types/jest from 25.2.1 to 25.2.2
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.1 to 25.2.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-05-14 08:31:21 +00:00
dependabot-preview[bot]
a569067940 build(deps-dev): bump rollup-plugin-typescript2 from 0.27.0 to 0.27.1
Bumps [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2) from 0.27.0 to 0.27.1.
- [Release notes](https://github.com/ezolenko/rollup-plugin-typescript2/releases)
- [Commits](https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.27.0...0.27.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 08:43:04 +00:00
dependabot-preview[bot]
8159ae8b0d build(deps-dev): bump rollup from 2.9.1 to 2.10.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.9.1 to 2.10.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.9.1...v2.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 08:40:17 +00:00
dependabot-preview[bot]
74ed7d1d6b build(deps-dev): bump @types/puppeteer from 2.0.1 to 2.1.0
Bumps [@types/puppeteer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/puppeteer) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/puppeteer)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 08:34:37 +00:00
Evan You
3c88299f6a release: v3.0.0-beta.12 2020-05-11 15:52:37 -04:00
Evan You
2bc6a8c1cf fix(hmr): static child traversal should only affect elements 2020-05-11 15:46:30 -04:00
Evan You
aa1672a8bd test: fix hmr test id 2020-05-11 15:44:13 -04:00
Evan You
7887c54dfe release: v3.0.0-beta.11 2020-05-11 14:25:36 -04:00
Evan You
1b946c85df fix(hmr): always force full child component props update in HMR mode 2020-05-11 14:17:35 -04:00
Evan You
5b8883a846 fix(runtime-core): should not take unmount children fast path for v-for fragments
fix #1153
2020-05-11 13:53:28 -04:00
underfin
697de07e63
fix(transition): should reset enter class after appear (#1152) 2020-05-11 12:30:10 -04:00
Evan You
9d111f534a test(transition): refactor DOM transition test 2020-05-11 11:52:08 -04:00
Evan You
66c5a556dc fix(hmr): ensure static nodes inherit DOM element in hmr mode
fix #1156
2020-05-11 11:34:42 -04:00
Evan You
a165d8293d feat(runtime-core): expose isVNode 2020-05-11 11:09:36 -04:00
Aurelius333
8e692c1ca0
chore: fix broken link in CHANGELOG.md (#1142) [ci skip] 2020-05-11 10:49:18 -04:00
dependabot-preview[bot]
903e8222be build(deps-dev): bump ts-jest from 25.4.0 to 25.5.1
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 25.4.0 to 25.5.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/v25.4.0...v25.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 09:00:20 +00:00
dependabot-preview[bot]
eed9d77473 build(deps-dev): bump rollup from 2.8.2 to 2.9.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.8.2 to 2.9.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.8.2...v2.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 08:59:45 +00:00
dependabot-preview[bot]
30f570e808 build(deps-dev): bump conventional-changelog-cli from 2.0.31 to 2.0.34
Bumps [conventional-changelog-cli](https://github.com/conventional-changelog/conventional-changelog) from 2.0.31 to 2.0.34.
- [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases)
- [Commits](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-cli@2.0.31...conventional-changelog-cli@2.0.34)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 08:57:20 +00:00
Sebastian Krüger
b725b63e5f
chore: update CHANGELOG.md (#1141) [ci skip] 2020-05-07 11:58:51 -04:00
Evan You
13acb9134e release: v3.0.0-beta.10 2020-05-07 11:21:18 -04:00
underfin
66dd1aaecd
test(Transition): test transition (#1140) 2020-05-07 11:10:28 -04:00
Evan You
d10835aee7 fix(compiler-sfc): template with alt lang should be parsed as raw text
fix #1120
2020-05-07 11:08:17 -04:00
Evan You
e58beecc97 refactor(compiler/types): convert compiler options documentation to jsdoc
BREAKING CHANGE: `getTextMode` compiler option signature has changed from

  ```ts
  (tag: string, ns: string, parent: ElementNode | undefined) => TextModes
  ```

  to

  ```ts
  (node: ElementNode, parent: ElementNode | undefined) => TextModes
  ```
2020-05-07 11:01:36 -04:00
Evan You
304ab8c99b fix(compiler-dom): bail static stringfication on non-attr bindings
fix #1128
2020-05-07 10:32:54 -04:00
Evan You
2f69167e88 perf(compiler-sfc): only add character mapping if not whitespace 2020-05-07 10:32:54 -04:00
Evan You
675330ba54 fix(compiler): warn against v-bind with empty attribute value
ref: https://github.com/vuejs/vue-next/issues/1128#issuecomment-624647434
2020-05-07 10:32:54 -04:00
dependabot-preview[bot]
6c2402a787 build(deps-dev): bump @microsoft/api-extractor from 7.7.13 to 7.8.0
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.7.13 to 7.8.0.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.13...@microsoft/api-extractor_v7.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-07 08:28:55 +00:00
dependabot-preview[bot]
e8d5dead1a build(deps-dev): bump rollup from 2.8.0 to 2.8.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.8.0 to 2.8.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.8.0...v2.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-07 08:26:37 +00:00
Evan You
698c8d35d5 feat(compiler-sfc): improve sfc source map generation 2020-05-07 01:37:34 -04:00
龙腾道
e08f6f0ede
fix(reactivity): use correct thisArg for collection method callbacks (#1132) 2020-05-06 13:41:34 -04:00
dependabot-preview[bot]
4df180607d
build(deps): bump postcss from 7.0.28 to 7.0.29 (#1124)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.28 to 7.0.29.
- [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.28...7.0.29)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-06 12:02:00 -04:00
Evan You
8df6bc0132 refactor: reuse parseStringStyle across compiler and runtime 2020-05-06 11:22:49 -04:00
t-zzzzzzzzz
2d9f136077
fix(runtime-dom/style): normalize string when merging styles (#1127) 2020-05-06 11:14:07 -04:00
Eduardo San Martin Morote
4d9b651d82
ci: add changelog link in releases (#1123) 2020-05-06 11:07:46 -04:00
susiwen8
df4150dc4c
chore: LegacyOptions doesn't need to be exported (#1134) 2020-05-06 11:07:11 -04:00
Evan You
d66211849c fix(compiler-sfc): should not transform external asset url with
includeAbsolute: true
2020-05-06 09:41:31 -04:00
龙腾道
037fa07113
fix(reactivity): fix __proto__ access on proxy objects (#1133) 2020-05-06 09:08:44 -04:00
dependabot-preview[bot]
da7bdb7f9c build(deps-dev): bump rollup from 2.7.6 to 2.8.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.7.6 to 2.8.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.7.6...v2.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-06 08:29:35 +00:00
Evan You
c5dcfe16f6 perf(compiler-sfc): improve asset url trasnform efficiency 2020-05-05 16:07:15 -04:00
Evan You
40166a8637 feat(types): re-expose trasnformVNodeArgs 2020-05-05 10:45:33 -04:00
Evan You
c32ed52b97 release: v3.0.0-beta.9 2020-05-04 17:14:42 -04:00
Evan You
f05aeea7ae fix(transitionGroup): fix transition children resolving condition 2020-05-04 17:09:19 -04:00
Evan You
6a0be882d4 feat(compiler-sfc): support transforming absolute asset urls
BREAKING CHANGE: `@vue/compiler-sfc`'s `transformAssetUrlsBase` option
has been removed. It is merged into `trasnformAssetUrls` which now also
accepts the format of

  ```ts
  {
    base?: string
    includeAbsolute?: string
    tags?: { [name: string]: string[] }
  }
  ```
2020-05-04 16:45:19 -04:00
Evan You
f9a3766fd6 fix(compiler): bail strigification on runtime constant expressions 2020-05-04 15:15:26 -04:00
Evan You
3c3fe88c64 release: v3.0.0-beta.8 2020-05-04 10:49:23 -04:00
underfin
26a50ce67f
fix(transitionGroup): inner children should skip comment node (#1105) 2020-05-04 10:41:48 -04:00