]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
4 years agorefactor(reactivity): remove `keyIsSymbol` (#2262)
edison [Tue, 13 Oct 2020 20:17:52 +0000 (04:17 +0800)] 
refactor(reactivity): remove `keyIsSymbol` (#2262)

4 years agorefactor(runtime-core): simplify deep watch traverse (#2212)
Pick [Tue, 13 Oct 2020 20:06:36 +0000 (04:06 +0800)] 
refactor(runtime-core): simplify deep watch traverse (#2212)

4 years agotest(compiler-core): more test cases for baseParse (#2211)
meteorlxy [Tue, 13 Oct 2020 20:03:33 +0000 (04:03 +0800)] 
test(compiler-core): more test cases for baseParse (#2211)

4 years agobuild(deps): bump postcss from 7.0.34 to 7.0.35 (#2273)
dependabot-preview[bot] [Tue, 13 Oct 2020 20:02:43 +0000 (16:02 -0400)] 
build(deps): bump postcss from 7.0.34 to 7.0.35 (#2273)

Bumps [postcss](https://github.com/postcss/postcss) from 7.0.34 to 7.0.35.
- [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.34...7.0.35)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years agorefactor(runtime-core): refactor watch typing (#2191)
Pick [Tue, 13 Oct 2020 19:45:17 +0000 (03:45 +0800)] 
refactor(runtime-core): refactor watch typing (#2191)

4 years agofix(sfc/style-vars): should attach css vars while `subtree` changed (#2178)
underfin [Tue, 13 Oct 2020 19:37:45 +0000 (03:37 +0800)] 
fix(sfc/style-vars): should attach css vars while `subtree` changed (#2178)

* fix(cssVars): should attach css vars while `subtree` changed

fix #2177

* fix: fix test

4 years agochore: add magic number comment (#2198) [ci skip]
izayl [Tue, 13 Oct 2020 19:33:16 +0000 (03:33 +0800)] 
chore: add magic number comment (#2198) [ci skip]

4 years agofix(reactivity): use resetTracking instead of enableTracking (#2174)
Yang Mingshan [Tue, 13 Oct 2020 19:32:46 +0000 (03:32 +0800)] 
fix(reactivity): use resetTracking instead of enableTracking (#2174)

4 years agochore(test): test cases description mistake (#2167)
ruige24601 [Tue, 13 Oct 2020 19:32:10 +0000 (14:32 -0500)] 
chore(test): test cases description mistake (#2167)

4 years agochore: heading for npm readme (#2158) [ci skip]
Ben Sheedy [Tue, 13 Oct 2020 19:30:56 +0000 (20:30 +0100)] 
chore: heading for npm readme (#2158) [ci skip]

4 years agotest(runtime-core): show warn when create with invalid type (#2128)
edison [Tue, 13 Oct 2020 19:27:21 +0000 (03:27 +0800)] 
test(runtime-core): show warn when create with invalid type (#2128)

4 years agofix(compiler-core): fix v-if key injection with v-on object syntax (#2368)
ᴜɴвʏтᴇ [Tue, 13 Oct 2020 16:04:52 +0000 (00:04 +0800)] 
fix(compiler-core): fix v-if key injection with v-on object syntax (#2368)

fix #2366

4 years agofeat: custom formatters
Evan You [Tue, 13 Oct 2020 15:50:09 +0000 (11:50 -0400)] 
feat: custom formatters

4 years agobuild(deps-dev): bump jest from 26.5.2 to 26.5.3 (#2365)
dependabot-preview[bot] [Mon, 12 Oct 2020 12:38:40 +0000 (12:38 +0000)] 
build(deps-dev): bump jest from 26.5.2 to 26.5.3 (#2365)

4 years agofix(teleport): proper children traversal when teleport is block root
Evan You [Sat, 10 Oct 2020 19:40:31 +0000 (15:40 -0400)] 
fix(teleport): proper children traversal when teleport is block root

fix #2324

4 years agobuild(deps-dev): bump eslint from 7.10.0 to 7.11.0 (#2351)
dependabot-preview[bot] [Sat, 10 Oct 2020 19:01:46 +0000 (19:01 +0000)] 
build(deps-dev): bump eslint from 7.10.0 to 7.11.0 (#2351)

4 years agobuild(deps-dev): bump @types/node from 14.11.5 to 14.11.8 (#2346)
dependabot-preview[bot] [Fri, 9 Oct 2020 14:49:30 +0000 (14:49 +0000)] 
build(deps-dev): bump @types/node from 14.11.5 to 14.11.8 (#2346)

4 years agofix(teleport): should only force remove teleport when not disabled
Evan You [Fri, 9 Oct 2020 13:08:59 +0000 (09:08 -0400)] 
fix(teleport): should only force remove teleport when not disabled

fix #2323

4 years agofix(v-model): ensure initial value is set after other attributes
Evan You [Thu, 8 Oct 2020 20:41:45 +0000 (16:41 -0400)] 
fix(v-model): ensure initial value is set after other attributes

fix #2325

4 years agobuild(deps-dev): bump sass from 1.26.11 to 1.27.0 (#2334)
dependabot-preview[bot] [Thu, 8 Oct 2020 11:27:09 +0000 (11:27 +0000)] 
build(deps-dev): bump sass from 1.26.11 to 1.27.0 (#2334)

4 years agofix(v-model): avoid clearing IME compose state on updates (#2304)
ᴜɴвʏтᴇ [Thu, 8 Oct 2020 02:34:53 +0000 (10:34 +0800)] 
fix(v-model): avoid clearing IME compose state on updates (#2304)

fix #2302

4 years agofix(runtime-core): fix directive merging on component root
Evan You [Thu, 8 Oct 2020 02:02:32 +0000 (22:02 -0400)] 
fix(runtime-core): fix directive merging on component root

fix #2298

4 years agofix(runtime-core): fix provide function data access in extends/mixins
Evan You [Thu, 8 Oct 2020 01:47:01 +0000 (21:47 -0400)] 
fix(runtime-core): fix provide function data access in extends/mixins

fix #2300

4 years agochore: add missing feature flag to jest config
Evan You [Thu, 8 Oct 2020 01:46:25 +0000 (21:46 -0400)] 
chore: add missing feature flag to jest config

4 years agofix(compiler-core): allow spaces between if-else branches (#2305)
ᴜɴвʏтᴇ [Thu, 8 Oct 2020 00:57:17 +0000 (08:57 +0800)] 
fix(compiler-core): allow spaces between if-else branches (#2305)

fix #2299

4 years agofix(runtime-core/template-refs): do not reset refs object before updates
Evan You [Wed, 7 Oct 2020 21:49:03 +0000 (17:49 -0400)] 
fix(runtime-core/template-refs): do not reset refs object before updates

fix #2283

4 years agofix(runtime-core): error handling for created/beforeCreate hooks
Evan You [Wed, 7 Oct 2020 20:58:19 +0000 (16:58 -0400)] 
fix(runtime-core): error handling for created/beforeCreate hooks

fix #2268

4 years agofix(runtime-dom): v-model should support number modifier with select tag (#2308)
edison [Wed, 7 Oct 2020 19:06:41 +0000 (03:06 +0800)] 
fix(runtime-dom): v-model should support number modifier with select tag (#2308)

close #2252

4 years agobuild(deps-dev): bump @types/node from 14.11.2 to 14.11.5 (#2319)
dependabot-preview[bot] [Wed, 7 Oct 2020 03:12:21 +0000 (03:12 +0000)] 
build(deps-dev): bump @types/node from 14.11.2 to 14.11.5 (#2319)

4 years agobuild(deps-dev): bump @microsoft/api-extractor from 7.10.1 to 7.10.4 (#2320)
dependabot-preview[bot] [Wed, 7 Oct 2020 03:05:18 +0000 (03:05 +0000)] 
build(deps-dev): bump @microsoft/api-extractor from 7.10.1 to 7.10.4 (#2320)

4 years agobuild(deps-dev): bump jest from 26.5.0 to 26.5.2 (#2318)
dependabot-preview[bot] [Wed, 7 Oct 2020 03:01:56 +0000 (03:01 +0000)] 
build(deps-dev): bump jest from 26.5.0 to 26.5.2 (#2318)

4 years agobuild(deps-dev): bump @typescript-eslint/parser from 4.3.0 to 4.4.0 (#2317)
dependabot-preview[bot] [Wed, 7 Oct 2020 02:59:59 +0000 (02:59 +0000)] 
build(deps-dev): bump @typescript-eslint/parser from 4.3.0 to 4.4.0 (#2317)

4 years agotest(compiler-core): add test case for v-on event case conversion
Evan You [Tue, 6 Oct 2020 22:31:04 +0000 (18:31 -0400)] 
test(compiler-core): add test case for v-on event case conversion

4 years agofix(runtime-core): use consistent camelCase event casing for render functions (#2278)
shadowings-zy [Tue, 6 Oct 2020 22:28:56 +0000 (06:28 +0800)] 
fix(runtime-core): use consistent camelCase event casing for render functions (#2278)

close #2249

4 years agofix(reactivity): should not trigger watch on computed ref when value is unchanged
Evan You [Tue, 6 Oct 2020 22:16:20 +0000 (18:16 -0400)] 
fix(reactivity): should not trigger watch on computed ref when value is unchanged

fix #2231

4 years agofix(runtime-core): fix SSR memoery leak due to props normalization cache
Evan You [Tue, 6 Oct 2020 19:31:29 +0000 (15:31 -0400)] 
fix(runtime-core): fix SSR memoery leak due to props normalization cache

fix #2225

The previous props/emits normlaization was caching normalized result per
app instance, but during SSR there is a new app instance created for
every request.

The fix now de-opts props/emits normlaization caching when there are
props/emits declared in global mixins - which is a very rare use case.

4 years agoperf: do not enable hmr in non-browser envs
Evan You [Tue, 6 Oct 2020 15:35:51 +0000 (11:35 -0400)] 
perf: do not enable hmr in non-browser envs

4 years agofix(runtime-core): ensure this context for $nextTick callback
Evan You [Mon, 5 Oct 2020 22:18:38 +0000 (18:18 -0400)] 
fix(runtime-core): ensure this context for $nextTick callback

fix #2282

4 years agofix(compiler-core): consistently remove comment nodes for pre tags in production
Evan You [Mon, 5 Oct 2020 21:53:17 +0000 (17:53 -0400)] 
fix(compiler-core): consistently remove comment nodes for pre tags in production

close #2217

4 years agofix(runtime-core): make errorCaptured return value handling consistent with Vue 2...
ᴜɴвʏтᴇ [Mon, 5 Oct 2020 21:37:26 +0000 (05:37 +0800)] 
fix(runtime-core): make errorCaptured return value handling consistent with Vue 2 (#2289)

fix #2267

4 years agofix(reactivity): should add allowRecurse to the effect (#2213)
HcySunYang [Mon, 5 Oct 2020 20:36:02 +0000 (04:36 +0800)] 
fix(reactivity): should add allowRecurse to the effect (#2213)

So that the scheduler also respects effect's allowRecurse option.

fix #2200

4 years agofix(runtime-core): vnode.el is null in watcher after rerendering (#2295)
Philipp Rudloff [Mon, 5 Oct 2020 20:05:43 +0000 (22:05 +0200)] 
fix(runtime-core): vnode.el is null in watcher after rerendering (#2295)

fix #2170

4 years agochore(readme): update eslint-plugin-vue status [ci skip]
Evan You [Mon, 5 Oct 2020 16:02:01 +0000 (12:02 -0400)] 
chore(readme): update eslint-plugin-vue status [ci skip]

4 years agochore: add github sponsors to funding.yml [ci skip]
Evan You [Mon, 5 Oct 2020 16:00:41 +0000 (12:00 -0400)] 
chore: add github sponsors to funding.yml [ci skip]

4 years agofix(compiler-core): make v-once work with v-if/else-if/else (#2182)
HcySunYang [Mon, 5 Oct 2020 15:58:37 +0000 (23:58 +0800)] 
fix(compiler-core): make v-once work with v-if/else-if/else (#2182)

Partial fix for #2035

4 years agobuild(deps-dev): bump jest from 26.4.2 to 26.5.0 (#2301)
dependabot-preview[bot] [Mon, 5 Oct 2020 11:51:18 +0000 (11:51 +0000)] 
build(deps-dev): bump jest from 26.4.2 to 26.5.0 (#2301)

4 years agobuild(deps-dev): bump @microsoft/api-extractor from 7.9.22 to 7.10.1 (#2285)
dependabot-preview[bot] [Thu, 1 Oct 2020 04:38:49 +0000 (04:38 +0000)] 
build(deps-dev): bump @microsoft/api-extractor from 7.9.22 to 7.10.1 (#2285)

4 years agobuild(deps-dev): bump ts-jest from 26.4.0 to 26.4.1 (#2276)
dependabot-preview[bot] [Tue, 29 Sep 2020 23:59:07 +0000 (23:59 +0000)] 
build(deps-dev): bump ts-jest from 26.4.0 to 26.4.1 (#2276)

4 years agobuild(deps-dev): bump @typescript-eslint/parser from 4.1.1 to 4.3.0 (#2275)
dependabot-preview[bot] [Tue, 29 Sep 2020 23:57:02 +0000 (23:57 +0000)] 
build(deps-dev): bump @typescript-eslint/parser from 4.1.1 to 4.3.0 (#2275)

4 years agobuild(deps-dev): bump @types/puppeteer from 2.1.4 to 2.1.5 (#2274)
dependabot-preview[bot] [Tue, 29 Sep 2020 23:56:11 +0000 (23:56 +0000)] 
build(deps-dev): bump @types/puppeteer from 2.1.4 to 2.1.5 (#2274)

4 years agotypes: fix Typescript 4.1 compile error (#2219)
Nathan Shively-Sanders [Mon, 28 Sep 2020 16:39:14 +0000 (09:39 -0700)] 
types: fix Typescript 4.1 compile error (#2219)

close #2218

4 years agobuild(deps-dev): bump eslint from 7.9.0 to 7.10.0 (#2257)
dependabot-preview[bot] [Mon, 28 Sep 2020 12:01:17 +0000 (12:01 +0000)] 
build(deps-dev): bump eslint from 7.9.0 to 7.10.0 (#2257)

4 years agobuild(deps-dev): bump rollup-plugin-typescript2 from 0.27.2 to 0.27.3 (#2241)
dependabot-preview[bot] [Fri, 25 Sep 2020 21:32:57 +0000 (21:32 +0000)] 
build(deps-dev): bump rollup-plugin-typescript2 from 0.27.2 to 0.27.3 (#2241)

4 years agobuild(deps-dev): bump rollup from 2.28.1 to 2.28.2 (#2229)
dependabot-preview[bot] [Fri, 25 Sep 2020 03:57:24 +0000 (03:57 +0000)] 
build(deps-dev): bump rollup from 2.28.1 to 2.28.2 (#2229)

4 years agochore(compiler-core): fix typo in tests (#2209)
meteorlxy [Wed, 23 Sep 2020 10:25:52 +0000 (18:25 +0800)] 
chore(compiler-core): fix typo in tests (#2209)

4 years agobuild(deps-dev): bump @types/puppeteer from 2.1.3 to 2.1.4 (#2206)
dependabot-preview[bot] [Wed, 23 Sep 2020 01:14:13 +0000 (01:14 +0000)] 
build(deps-dev): bump @types/puppeteer from 2.1.3 to 2.1.4 (#2206)

4 years agobuild(deps-dev): bump @microsoft/api-extractor from 7.9.19 to 7.9.22 (#2207)
dependabot-preview[bot] [Wed, 23 Sep 2020 01:12:22 +0000 (01:12 +0000)] 
build(deps-dev): bump @microsoft/api-extractor from 7.9.19 to 7.9.22 (#2207)

4 years agobuild(deps-dev): bump @types/node from 14.11.1 to 14.11.2 (#2203)
dependabot-preview[bot] [Wed, 23 Sep 2020 01:03:29 +0000 (01:03 +0000)] 
build(deps-dev): bump @types/node from 14.11.1 to 14.11.2 (#2203)

4 years agofix(runtime-core): fix duplicated unmount traversal in optimized mode
Evan You [Tue, 22 Sep 2020 15:38:03 +0000 (11:38 -0400)] 
fix(runtime-core): fix duplicated unmount traversal in optimized mode

fix #2169

4 years agofix(types): fix using tuple type as EmitsOptions (#2160)
wonderful-panda [Tue, 22 Sep 2020 14:05:37 +0000 (23:05 +0900)] 
fix(types): fix using tuple type as EmitsOptions (#2160)

fix #2159

4 years agofix(types): avoid DefineComponent defaulting to any
Evan You [Tue, 22 Sep 2020 14:02:19 +0000 (10:02 -0400)] 
fix(types): avoid DefineComponent defaulting to any

fix #2192

4 years agobuild(deps-dev): bump @microsoft/api-extractor from 7.9.18 to 7.9.19 (#2189)
dependabot-preview[bot] [Mon, 21 Sep 2020 11:53:19 +0000 (11:53 +0000)] 
build(deps-dev): bump @microsoft/api-extractor from 7.9.18 to 7.9.19 (#2189)

4 years agobuild(deps-dev): bump @rollup/plugin-commonjs from 15.0.0 to 15.1.0 (#2188)
dependabot-preview[bot] [Mon, 21 Sep 2020 11:51:41 +0000 (11:51 +0000)] 
build(deps-dev): bump @rollup/plugin-commonjs from 15.0.0 to 15.1.0 (#2188)

4 years agobuild(deps-dev): bump rollup from 2.27.1 to 2.28.1 (#2187)
dependabot-preview[bot] [Mon, 21 Sep 2020 11:49:29 +0000 (11:49 +0000)] 
build(deps-dev): bump rollup from 2.27.1 to 2.28.1 (#2187)

4 years agobuild(deps-dev): bump ts-jest from 26.3.0 to 26.4.0 (#2186)
dependabot-preview[bot] [Mon, 21 Sep 2020 11:46:22 +0000 (11:46 +0000)] 
build(deps-dev): bump ts-jest from 26.3.0 to 26.4.0 (#2186)

4 years agobuild(deps-dev): bump @microsoft/api-extractor from 7.9.15 to 7.9.18 (#2162)
dependabot-preview[bot] [Sat, 19 Sep 2020 04:45:48 +0000 (04:45 +0000)] 
build(deps-dev): bump @microsoft/api-extractor from 7.9.15 to 7.9.18 (#2162)

4 years agobuild(deps-dev): bump typescript from 4.0.2 to 4.0.3 (#2161)
dependabot-preview[bot] [Sat, 19 Sep 2020 04:43:56 +0000 (04:43 +0000)] 
build(deps-dev): bump typescript from 4.0.2 to 4.0.3 (#2161)

4 years agorelease: v3.0.0 v3.0.0
Evan You [Fri, 18 Sep 2020 15:28:05 +0000 (11:28 -0400)] 
release: v3.0.0

4 years agochore: changelog edits [ci skip]
Evan You [Fri, 18 Sep 2020 05:42:51 +0000 (01:42 -0400)] 
chore: changelog edits [ci skip]

4 years agorelease: v3.0.0-rc.13 v3.0.0-rc.13
Evan You [Fri, 18 Sep 2020 05:39:30 +0000 (01:39 -0400)] 
release: v3.0.0-rc.13

4 years agochore: add note for vetur [ci skip]
Evan You [Fri, 18 Sep 2020 05:29:34 +0000 (01:29 -0400)] 
chore: add note for vetur [ci skip]

4 years agochore: update readme [ci skip]
Evan You [Fri, 18 Sep 2020 05:25:53 +0000 (01:25 -0400)] 
chore: update readme [ci skip]

4 years agobuild(deps): bump postcss from 7.0.32 to 7.0.34 (#2148)
dependabot-preview[bot] [Fri, 18 Sep 2020 05:23:17 +0000 (01:23 -0400)] 
build(deps): bump postcss from 7.0.32 to 7.0.34 (#2148)

Bumps [postcss](https://github.com/postcss/postcss) from 7.0.32 to 7.0.34.
- [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.32...7.0.34)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years agobuild(deps-dev): bump @types/node from 14.10.2 to 14.11.1 (#2151)
dependabot-preview[bot] [Fri, 18 Sep 2020 05:23:03 +0000 (01:23 -0400)] 
build(deps-dev): bump @types/node from 14.10.2 to 14.11.1 (#2151)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.10.2 to 14.11.1.
- [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>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years agochore: fix changelog typo (#2152) [ci skip]
ChangJoo Park(박창주) [Fri, 18 Sep 2020 05:22:45 +0000 (14:22 +0900)] 
chore: fix changelog typo (#2152) [ci skip]

4 years agobuild(deps-dev): bump lint-staged from 10.3.0 to 10.4.0 (#2150)
dependabot-preview[bot] [Fri, 18 Sep 2020 05:17:40 +0000 (05:17 +0000)] 
build(deps-dev): bump lint-staged from 10.3.0 to 10.4.0 (#2150)

4 years agobuild(deps-dev): bump rollup from 2.26.11 to 2.27.1 (#2149)
dependabot-preview[bot] [Fri, 18 Sep 2020 05:15:23 +0000 (05:15 +0000)] 
build(deps-dev): bump rollup from 2.26.11 to 2.27.1 (#2149)

4 years agobuild(deps-dev): bump @types/jest from 26.0.13 to 26.0.14 (#2147)
dependabot-preview[bot] [Fri, 18 Sep 2020 05:08:23 +0000 (05:08 +0000)] 
build(deps-dev): bump @types/jest from 26.0.13 to 26.0.14 (#2147)

4 years agobuild(deps-dev): bump sass from 1.26.10 to 1.26.11 (#2146)
dependabot-preview[bot] [Fri, 18 Sep 2020 05:04:29 +0000 (05:04 +0000)] 
build(deps-dev): bump sass from 1.26.10 to 1.26.11 (#2146)

4 years agofix(reactivity): avoid length mutating array methods causing infinite updates (#2138)
ᴜɴвʏтᴇ [Fri, 18 Sep 2020 05:01:36 +0000 (13:01 +0800)] 
fix(reactivity): avoid length mutating array methods causing infinite updates (#2138)

fix #2137

Co-authored-by: Evan You <yyx990803@gmail.com>
4 years agofix(hmr): make hmr working with class components (#2144)
Katashin [Fri, 18 Sep 2020 04:14:59 +0000 (12:14 +0800)] 
fix(hmr): make hmr working with class components (#2144)

4 years agofix(types): component instance inference without props (#2145)
Anthony Fu [Fri, 18 Sep 2020 04:13:47 +0000 (12:13 +0800)] 
fix(types): component instance inference without props (#2145)

4 years agofeat(watch): support dot-delimited path in watch option
Evan You [Fri, 18 Sep 2020 04:00:39 +0000 (00:00 -0400)] 
feat(watch): support dot-delimited path in watch option

4 years agofix(suspense): should discard unmount effects of invalidated pending branch
Evan You [Fri, 18 Sep 2020 03:49:06 +0000 (23:49 -0400)] 
fix(suspense): should discard unmount effects of invalidated pending branch

4 years agorefactor: watch APIs default to trigger pre-flush
Evan You [Fri, 18 Sep 2020 03:17:21 +0000 (23:17 -0400)] 
refactor: watch APIs default to trigger pre-flush

BREAKING CHANGE: watch APIs now default to use `flush: 'pre'` instead of
`flush: 'post'`.

  - This change affects `watch`, `watchEffect`, the `watch` component
    option, and `this.$watch`.

  - As pointed out by @skirtles-code in
    [this comment](https://github.com/vuejs/vue-next/issues/1706#issuecomment-666258948),
    Vue 2's watch behavior is pre-flush, and the ecosystem has many uses
    of watch that assumes the pre-flush behavior. Defaulting to post-flush
    can result in unnecessary re-renders without the users being aware of
    it.

  - With this change, watchers need to specify `{ flush: 'post' }` via
    options to trigger callback after Vue render updates. Note that
    specifying `{ flush: 'post' }` will also defer `watchEffect`'s
    initial run to wait for the component's initial render.

4 years agofeat(runtime-core): support using inject() inside props default functions
Evan You [Thu, 17 Sep 2020 19:59:01 +0000 (15:59 -0400)] 
feat(runtime-core): support using inject() inside props default functions

4 years agorelease: v3.0.0-rc.12 v3.0.0-rc.12
Evan You [Wed, 16 Sep 2020 17:50:13 +0000 (13:50 -0400)] 
release: v3.0.0-rc.12

4 years agochore: do not log warned error during tests
Evan You [Wed, 16 Sep 2020 17:37:12 +0000 (13:37 -0400)] 
chore: do not log warned error during tests

4 years agofix(runtime-core): should still do full traverse of stable fragment children in dev...
Evan You [Wed, 16 Sep 2020 17:01:53 +0000 (13:01 -0400)] 
fix(runtime-core): should still do full traverse of stable fragment children in dev + hmr

4 years agofix(runtime-core): ensure root stable fragments inherit elements for moving
Evan You [Wed, 16 Sep 2020 16:18:03 +0000 (12:18 -0400)] 
fix(runtime-core): ensure root stable fragments inherit elements for moving

fix #2134

4 years agofix(runtime-core/async-component): fix error component when there are no error handlers
Evan You [Wed, 16 Sep 2020 15:10:16 +0000 (11:10 -0400)] 
fix(runtime-core/async-component): fix error component when there are no error handlers

fix #2129

4 years agoworkflow: temporarily disable no-unused-vars eslint rule for arguments
Evan You [Wed, 16 Sep 2020 14:53:02 +0000 (10:53 -0400)] 
workflow: temporarily disable no-unused-vars eslint rule for arguments

4 years agofix(reactivity): effect shoud only recursively self trigger with explicit options
Evan You [Wed, 16 Sep 2020 14:52:31 +0000 (10:52 -0400)] 
fix(reactivity): effect shoud only recursively self trigger with explicit options

fix #2125

4 years agofix(types/tsx): optional props from Mixin/Extends are treated as required (#2048)
wonderful-panda [Wed, 16 Sep 2020 14:09:35 +0000 (23:09 +0900)] 
fix(types/tsx): optional props from Mixin/Extends are treated as required (#2048)

4 years agochore: typos in suspense events (#2131)
Cédric Exbrayat [Wed, 16 Sep 2020 13:30:47 +0000 (15:30 +0200)] 
chore: typos in suspense events (#2131)

Removes the mention of the recede event that has been replaced.

4 years agotypes(defineComponent): fix missing exported types (#2124)
Carlos Rodrigues [Wed, 16 Sep 2020 13:29:42 +0000 (14:29 +0100)] 
types(defineComponent): fix missing exported types (#2124)

4 years agofeat(compiler-sfc): `additionalData` support for css preprocessors (#2126)
underfin [Wed, 16 Sep 2020 13:28:31 +0000 (21:28 +0800)] 
feat(compiler-sfc): `additionalData` support for css preprocessors (#2126)

close https://github.com/vitejs/vite/issues/520

4 years agobuild(deps-dev): bump @types/node from 14.10.1 to 14.10.2 (#2122)
dependabot-preview[bot] [Wed, 16 Sep 2020 00:21:34 +0000 (00:21 +0000)] 
build(deps-dev): bump @types/node from 14.10.1 to 14.10.2 (#2122)

4 years agorelease: v3.0.0-rc.11 v3.0.0-rc.11
Evan You [Tue, 15 Sep 2020 17:15:42 +0000 (13:15 -0400)] 
release: v3.0.0-rc.11

4 years agochore: bump deps
Evan You [Tue, 15 Sep 2020 17:04:28 +0000 (13:04 -0400)] 
chore: bump deps