]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Fri, 15 May 2020 21:55:24 +0000 (17:55 -0400)]
wip: account for text call nodes in stringify chunks
Evan You [Fri, 15 May 2020 21:05:26 +0000 (17:05 -0400)]
wip: fix tests
Evan You [Fri, 15 May 2020 20:30:20 +0000 (16:30 -0400)]
wip(hydration): hydrate multi-element static nodes
Evan You [Fri, 15 May 2020 20:11:53 +0000 (16:11 -0400)]
wip(runtime): test for static vnode handling
Evan You [Fri, 15 May 2020 19:50:42 +0000 (15:50 -0400)]
wip(compiler): tests for new stringification
Evan You [Fri, 15 May 2020 19:12:26 +0000 (15:12 -0400)]
wip(runtime): support multi-element static vnode in renderer
Evan You [Fri, 15 May 2020 16:58:44 +0000 (12:58 -0400)]
wip(compiler): improve node stringification to support adjacent nodes
Evan You [Fri, 15 May 2020 15:00:07 +0000 (11:00 -0400)]
chore: use jsdoc comments in ast
dependabot-preview[bot] [Fri, 15 May 2020 08:28:19 +0000 (08:28 +0000)]
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>
dependabot-preview[bot] [Thu, 14 May 2020 08:26:44 +0000 (08:26 +0000)]
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>
dependabot-preview[bot] [Wed, 13 May 2020 08:37:41 +0000 (08:37 +0000)]
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>
dependabot-preview[bot] [Wed, 13 May 2020 08:36:55 +0000 (08:36 +0000)]
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>
dependabot-preview[bot] [Tue, 12 May 2020 08:29:53 +0000 (08:29 +0000)]
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>
Evan You [Mon, 11 May 2020 19:52:37 +0000 (15:52 -0400)]
release: v3.0.0-beta.12
Evan You [Mon, 11 May 2020 19:46:30 +0000 (15:46 -0400)]
fix(hmr): static child traversal should only affect elements
Evan You [Mon, 11 May 2020 19:44:13 +0000 (15:44 -0400)]
test: fix hmr test id
Evan You [Mon, 11 May 2020 18:25:36 +0000 (14:25 -0400)]
release: v3.0.0-beta.11
Evan You [Mon, 11 May 2020 18:17:35 +0000 (14:17 -0400)]
fix(hmr): always force full child component props update in HMR mode
Evan You [Mon, 11 May 2020 17:53:15 +0000 (13:53 -0400)]
fix(runtime-core): should not take unmount children fast path for v-for fragments
fix #1153
underfin [Mon, 11 May 2020 16:30:10 +0000 (00:30 +0800)]
fix(transition): should reset enter class after appear (#1152)
Evan You [Mon, 11 May 2020 15:52:08 +0000 (11:52 -0400)]
test(transition): refactor DOM transition test
Evan You [Mon, 11 May 2020 15:34:35 +0000 (11:34 -0400)]
fix(hmr): ensure static nodes inherit DOM element in hmr mode
fix #1156
Evan You [Mon, 11 May 2020 15:09:36 +0000 (11:09 -0400)]
feat(runtime-core): expose isVNode
Aurelius333 [Mon, 11 May 2020 14:49:18 +0000 (10:49 -0400)]
chore: fix broken link in CHANGELOG.md (#1142) [ci skip]
dependabot-preview[bot] [Mon, 11 May 2020 08:54:46 +0000 (08:54 +0000)]
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>
dependabot-preview[bot] [Mon, 11 May 2020 08:54:24 +0000 (08:54 +0000)]
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>
dependabot-preview[bot] [Mon, 11 May 2020 08:53:49 +0000 (08:53 +0000)]
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>
Sebastian Krüger [Thu, 7 May 2020 15:58:51 +0000 (17:58 +0200)]
chore: update CHANGELOG.md (#1141) [ci skip]
Evan You [Thu, 7 May 2020 15:21:18 +0000 (11:21 -0400)]
release: v3.0.0-beta.10
underfin [Thu, 7 May 2020 15:10:28 +0000 (23:10 +0800)]
test(Transition): test transition (#1140)
Evan You [Thu, 7 May 2020 15:08:17 +0000 (11:08 -0400)]
fix(compiler-sfc): template with alt lang should be parsed as raw text
fix #1120
Evan You [Thu, 7 May 2020 15:01:36 +0000 (11:01 -0400)]
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
```
Evan You [Thu, 7 May 2020 14:32:13 +0000 (10:32 -0400)]
fix(compiler-dom): bail static stringfication on non-attr bindings
fix #1128
Evan You [Thu, 7 May 2020 13:38:49 +0000 (09:38 -0400)]
perf(compiler-sfc): only add character mapping if not whitespace
Evan You [Thu, 7 May 2020 13:12:56 +0000 (09:12 -0400)]
fix(compiler): warn against v-bind with empty attribute value
ref: https://github.com/vuejs/vue-next/issues/1128#issuecomment-
624647434
dependabot-preview[bot] [Thu, 7 May 2020 08:22:50 +0000 (08:22 +0000)]
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>
dependabot-preview[bot] [Thu, 7 May 2020 08:22:19 +0000 (08:22 +0000)]
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>
Evan You [Thu, 7 May 2020 03:46:33 +0000 (23:46 -0400)]
feat(compiler-sfc): improve sfc source map generation
龙腾道 [Wed, 6 May 2020 17:41:34 +0000 (01:41 +0800)]
fix(reactivity): use correct thisArg for collection method callbacks (#1132)
dependabot-preview[bot] [Wed, 6 May 2020 16:02:00 +0000 (12:02 -0400)]
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>
Evan You [Wed, 6 May 2020 15:22:49 +0000 (11:22 -0400)]
refactor: reuse parseStringStyle across compiler and runtime
t-zzzzzzzzz [Wed, 6 May 2020 15:14:07 +0000 (23:14 +0800)]
fix(runtime-dom/style): normalize string when merging styles (#1127)
Eduardo San Martin Morote [Wed, 6 May 2020 15:07:46 +0000 (17:07 +0200)]
ci: add changelog link in releases (#1123)
susiwen8 [Wed, 6 May 2020 15:07:11 +0000 (23:07 +0800)]
chore: LegacyOptions doesn't need to be exported (#1134)
Evan You [Wed, 6 May 2020 13:40:55 +0000 (09:40 -0400)]
fix(compiler-sfc): should not transform external asset url with
includeAbsolute: true
龙腾道 [Wed, 6 May 2020 13:08:44 +0000 (21:08 +0800)]
fix(reactivity): fix __proto__ access on proxy objects (#1133)
dependabot-preview[bot] [Wed, 6 May 2020 08:26:19 +0000 (08:26 +0000)]
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>
Evan You [Tue, 5 May 2020 20:07:15 +0000 (16:07 -0400)]
perf(compiler-sfc): improve asset url trasnform efficiency
Evan You [Tue, 5 May 2020 14:45:33 +0000 (10:45 -0400)]
feat(types): re-expose trasnformVNodeArgs
Evan You [Mon, 4 May 2020 21:14:42 +0000 (17:14 -0400)]
release: v3.0.0-beta.9
Evan You [Mon, 4 May 2020 21:09:19 +0000 (17:09 -0400)]
fix(transitionGroup): fix transition children resolving condition
Evan You [Mon, 4 May 2020 20:45:19 +0000 (16:45 -0400)]
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[] }
}
```
Evan You [Mon, 4 May 2020 19:15:26 +0000 (15:15 -0400)]
fix(compiler): bail strigification on runtime constant expressions
Evan You [Mon, 4 May 2020 14:49:23 +0000 (10:49 -0400)]
release: v3.0.0-beta.8
underfin [Mon, 4 May 2020 14:41:48 +0000 (22:41 +0800)]
fix(transitionGroup): inner children should skip comment node (#1105)
Evan You [Mon, 4 May 2020 14:38:03 +0000 (10:38 -0400)]
feat(shared): support Map and Set in toDisplayString
close #1067, close #1100
Evan You [Mon, 4 May 2020 14:17:40 +0000 (10:17 -0400)]
chore: ensure warn is dev only
Evan You [Mon, 4 May 2020 13:37:24 +0000 (09:37 -0400)]
refactor(types): use pure type symbol
Claudio Eyzaguirre [Mon, 4 May 2020 13:38:05 +0000 (09:38 -0400)]
chore: fix changelog.md typo (#1098) [ci skip]
Evan You [Mon, 4 May 2020 13:28:05 +0000 (09:28 -0400)]
Merge pull request #1117 from vuejs/dependabot/npm_and_yarn/postcss-7.0.28
build(deps): bump postcss from 7.0.27 to 7.0.28
Evan You [Mon, 4 May 2020 13:27:28 +0000 (09:27 -0400)]
feat(watch): support directly watching reactive object with deep default
Also warn invalid watch sources
close #1110
Evan You [Mon, 4 May 2020 12:52:59 +0000 (08:52 -0400)]
feat(types): re-expose resolve asset utitlies and registerRuntimeCompiler in type definitions
close #1109
Evan You [Mon, 4 May 2020 12:51:01 +0000 (08:51 -0400)]
fix(types/reactivity): fix ref type inference on nested reactive properties with .value
fix #1111
Evan You [Mon, 4 May 2020 12:50:17 +0000 (08:50 -0400)]
fix(reactivity): avoid polluting Object prototype
dependabot-preview[bot] [Mon, 4 May 2020 10:26:22 +0000 (10:26 +0000)]
build(deps): bump postcss from 7.0.27 to 7.0.28
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.27 to 7.0.28.
- [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.27...7.0.28)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 4 May 2020 09:37:53 +0000 (09:37 +0000)]
build(deps-dev): bump jest from 25.5.3 to 25.5.4
Bumps [jest](https://github.com/facebook/jest) from 25.5.3 to 25.5.4.
- [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/v25.5.3...v25.5.4)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Jackliu [Mon, 4 May 2020 08:30:24 +0000 (16:30 +0800)]
chore: typo (#1113)
Evan You [Sun, 3 May 2020 19:32:37 +0000 (15:32 -0400)]
fix(reactivity): check own property for existing proxy of target
fix #1107
XinPing Wang [Sun, 3 May 2020 14:49:23 +0000 (22:49 +0800)]
test: reactive proto
Evan You [Sun, 3 May 2020 17:52:09 +0000 (13:52 -0400)]
fix(hmr): handle cases where instances with same id having different definitions
Evan You [Sat, 2 May 2020 21:08:54 +0000 (17:08 -0400)]
chore: remove commented stale code [ci skip]
Evan You [Sat, 2 May 2020 21:06:16 +0000 (17:06 -0400)]
release: v3.0.0-beta.7
Evan You [Sat, 2 May 2020 20:16:51 +0000 (16:16 -0400)]
refactor(reactivity): use more efficient reactive checks
WeakSets and WeakMaps shows degrading performance as the amount of
observed objects increases. Using hidden keys result in better
performance especially when repeatedly creating large amounts of
reactive proxies.
This also makes it possible to more efficiently declare non-reactive
objects in userland.
Evan You [Sat, 2 May 2020 18:49:28 +0000 (14:49 -0400)]
feat(compiler-sfc): add transformAssetUrlsBase option
Eduardo San Martin Morote [Sat, 2 May 2020 14:26:32 +0000 (16:26 +0200)]
fix(warn): cast symbols to strings (#1103)
Evan You [Sat, 2 May 2020 14:19:40 +0000 (10:19 -0400)]
feat(types): re-expose `withDirectives` as public type
Evan You [Fri, 1 May 2020 22:56:53 +0000 (18:56 -0400)]
release: v3.0.0-beta.6
HiiTea [Fri, 1 May 2020 22:48:44 +0000 (06:48 +0800)]
chore: code comment formatting (#1089) [ci skip]
Evan You [Fri, 1 May 2020 22:47:27 +0000 (18:47 -0400)]
fix(runtime-core): should catch dom prop set TypeErrors
based on #1051
Evan You [Fri, 1 May 2020 22:36:34 +0000 (18:36 -0400)]
fix(compiler-core): hoist pure annotations should apply to all nested calls
Evan You [Fri, 1 May 2020 21:34:11 +0000 (17:34 -0400)]
fix(compiler-core): hoisted vnode calls and scoped id calls should be marked pure
Otherwise they cannot be tree-shaken
Evan You [Fri, 1 May 2020 21:04:36 +0000 (17:04 -0400)]
fix(compiler-ssr): handle comments codegen + refactor ssr codegen transform
Evan You [Fri, 1 May 2020 20:19:46 +0000 (16:19 -0400)]
chore: remove unnecessary path in tsconfig.json
underfin [Fri, 1 May 2020 20:20:16 +0000 (04:20 +0800)]
fix(runtime-core): should call Suspense fallback unmount hook (#1061)
fix #1059
Evan You [Fri, 1 May 2020 20:14:30 +0000 (16:14 -0400)]
fix(types): augment ref unwrap bail types in appropriate packages
Packages can now augment the ref unwrap bail types in their own `d.ts`.
Also updated the build script to auto concat any files in a package's
`types` directory to the final generated `d.ts`.
- `@vue/reactivity` should no longer require `libs: ["DOM"]` in tsconfig
- Properly bail on `VNode` and `ComponentPublicInstance` in runtime-core
Evan You [Fri, 1 May 2020 19:12:07 +0000 (15:12 -0400)]
fix(teleport): teleport should always be tracked as dynamic child for unmount
fix #1088
Evan You [Fri, 1 May 2020 18:55:27 +0000 (14:55 -0400)]
fix(runtime-core): cloned vnodes with extra props should de-opt
Evan You [Fri, 1 May 2020 18:16:55 +0000 (14:16 -0400)]
fix(runtime-core): fix slot fragment bail check
Evan You [Fri, 1 May 2020 17:24:38 +0000 (13:24 -0400)]
perf: instance public proxy should never be observed
Evan You [Fri, 1 May 2020 17:23:59 +0000 (13:23 -0400)]
fix(runtime-core): avoid infinite warning loop for isRef check on component public proxy
fix #1091
Evan You [Fri, 1 May 2020 15:52:40 +0000 (11:52 -0400)]
fix(ssr): fix escape and handling for raw Text, Comment and Static vnodes
Evan You [Fri, 1 May 2020 15:23:01 +0000 (11:23 -0400)]
feat(runtime-core): warn against user properties with reserved prefixes
Evan You [Fri, 1 May 2020 15:06:24 +0000 (11:06 -0400)]
fix(runtime-dom): should not coerce nullish values to empty strings for non-string dom props
fix #1049
close #1092, close #1093, close #1094
Evan You [Fri, 1 May 2020 14:37:40 +0000 (10:37 -0400)]
refactor(types): mark more internal APIs
HiiTea [Fri, 1 May 2020 13:42:58 +0000 (21:42 +0800)]
chore: fix typos (#1090)
dependabot-preview[bot] [Fri, 1 May 2020 13:38:37 +0000 (13:38 +0000)]
build(deps-dev): bump rollup from 2.7.5 to 2.7.6
Bumps [rollup](https://github.com/rollup/rollup) from 2.7.5 to 2.7.6.
- [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.5...v2.7.6)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Fri, 1 May 2020 13:38:06 +0000 (13:38 +0000)]
build(deps-dev): bump jest from 25.5.2 to 25.5.3
Bumps [jest](https://github.com/facebook/jest) from 25.5.2 to 25.5.3.
- [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/v25.5.2...v25.5.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Fri, 1 May 2020 13:19:30 +0000 (09:19 -0400)]
types: fix internal exports from @vue/shared
Evan You [Thu, 30 Apr 2020 21:04:35 +0000 (17:04 -0400)]
refactor(types): mark internal API exports and exclude from d.ts
BREAKING CHANGE: Internal APIs are now excluded from type decalrations.
Evan You [Thu, 30 Apr 2020 20:20:25 +0000 (16:20 -0400)]
release: v3.0.0-beta.5