]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
edison [Tue, 10 May 2022 01:40:19 +0000 (09:40 +0800)]
chore(runtime-core): use `getGlobalThis` when installing HMR API (#3217)
edison [Tue, 10 May 2022 01:37:59 +0000 (09:37 +0800)]
types(compiler-sfc): export SFCParseResult type (#2923)
close #2921
tarunama [Tue, 10 May 2022 01:37:00 +0000 (10:37 +0900)]
chore(server renderer): readable warn message (#2890)
Damon Muma [Tue, 10 May 2022 01:30:50 +0000 (21:30 -0400)]
chore: update reference to transformExpressions (#2682) [ci skip]
小刘(liulinboyi) [Tue, 10 May 2022 01:20:18 +0000 (09:20 +0800)]
fix(compiler-sfc): remove the jsx from the babelParserPlugins when not match the case of adding jsx (#5846)
fix #5845
ygj6 [Tue, 10 May 2022 01:16:28 +0000 (09:16 +0800)]
fix(compiler-sfc): automatically infer component name from filename when using script setup (#4997)
close #4993
Evan You [Tue, 10 May 2022 00:39:27 +0000 (08:39 +0800)]
fix(compiler-sfc): fix object default values for reactive props destructure
Evan You [Sat, 7 May 2022 02:37:07 +0000 (10:37 +0800)]
types(reactivity-transform): improve type readability for reactive variables
qinxiaosen_ccc [Fri, 6 May 2022 10:44:28 +0000 (18:44 +0800)]
chore: remove outdated type comment (#5103)
zhangenming [Fri, 6 May 2022 10:42:22 +0000 (18:42 +0800)]
refactor(reactivity): make some expression simpler (#5131)
Zclhlmgqzc [Fri, 6 May 2022 09:44:05 +0000 (17:44 +0800)]
fix(types): preserve and expose original options on defineComponent return type (#5416)
fix #3796
Carlos Rodrigues [Fri, 6 May 2022 09:07:49 +0000 (10:07 +0100)]
fix(types): keep the original type when unwrapping `markRaw` (#3791)
Evan You [Fri, 6 May 2022 08:49:15 +0000 (16:49 +0800)]
fix(runtime-core): ensure consistent behavior between dev/prod on invalid v-for range
close #5867
Evan You [Tue, 3 May 2022 00:46:24 +0000 (08:46 +0800)]
chore: update sponsor img link [ci skip]
Evan You [Sat, 16 Apr 2022 03:26:00 +0000 (11:26 +0800)]
refactor: use Event constructor
close #5723
Since we no longer support IE11, it is safe to use Event() constructor
Evan You [Fri, 15 Apr 2022 10:08:44 +0000 (18:08 +0800)]
fix(watch): fix flush: pre watchers triggered synchronously in setup
fix #5721
Evan You [Fri, 15 Apr 2022 08:43:17 +0000 (16:43 +0800)]
fix(reactivity): ensure computed is invalidated before other effects
fix #5720
Evan You [Thu, 14 Apr 2022 10:14:37 +0000 (18:14 +0800)]
release: v3.2.33
Evan You [Thu, 14 Apr 2022 10:06:52 +0000 (18:06 +0800)]
fix(transition): handle transition for v-if branches with comment
fix #5675
edison [Thu, 14 Apr 2022 09:10:41 +0000 (17:10 +0800)]
fix(transition): fix broken leave transition on dev root fragment (#5268)
Thorsten Lünborg [Thu, 14 Apr 2022 03:47:24 +0000 (05:47 +0200)]
fix(runtime-core): ensure custom events are not emitted anymore after unmount. (#5679)
close #5674
木杉 [Thu, 14 Apr 2022 02:10:26 +0000 (10:10 +0800)]
fix(compiler-sfc): handle type modifier in import specifiers (#5498)
Anthony Catel [Thu, 14 Apr 2022 02:03:17 +0000 (04:03 +0200)]
fix(ssr): avoid rendering reserved internal keys in output (#5564)
fix #5563
Evan You [Thu, 14 Apr 2022 02:00:44 +0000 (10:00 +0800)]
fix(runtime-core): fix use of non-existent-in-prod internal property in defineProperty trap
fix #5710
edison [Thu, 14 Apr 2022 00:06:58 +0000 (08:06 +0800)]
fix(reactivity-transform): should not rewrite catch param (#5711)
fix #5709
Cédric Exbrayat [Thu, 14 Apr 2022 00:06:07 +0000 (02:06 +0200)]
test(vue-compat): remove test.only (#5715)
Thorsten Lünborg [Wed, 13 Apr 2022 10:20:39 +0000 (12:20 +0200)]
fix(runtime-dom): properly handle style properties with undefined values (#5348)
fix #5322
edison [Wed, 13 Apr 2022 09:58:29 +0000 (17:58 +0800)]
fix(custom-elements): work with async component + slots (#4657)
close #4639
Thorsten Lünborg [Wed, 13 Apr 2022 09:53:07 +0000 (11:53 +0200)]
fix(compat): copy additional properties for functions bound via globalProperties (#4873)
close #4403
宋铄运 (Alan Song) [Wed, 13 Apr 2022 09:39:02 +0000 (17:39 +0800)]
build: improve treeshakeability (#5682)
Thorsten Lünborg [Wed, 13 Apr 2022 09:36:43 +0000 (11:36 +0200)]
dx(suspense): warn when using async setup when not inside a Suspense boundary (#5565)
close #3649
zhoulixiang [Wed, 13 Apr 2022 09:30:22 +0000 (17:30 +0800)]
chore: remove superfluous code (#5683)
zscumt123 [Wed, 13 Apr 2022 09:25:11 +0000 (17:25 +0800)]
fix(runtime-dom): catch more cases of DOM property setting error (#5552)
close #5545
Haoqun Jiang [Wed, 13 Apr 2022 09:23:45 +0000 (17:23 +0800)]
chore(@vue/shared): add `"sideEffects": false` (#5480)
Code_xxmyyds [Wed, 13 Apr 2022 09:21:38 +0000 (17:21 +0800)]
chore(reactivity): use warn (#5548)
木杉 [Wed, 13 Apr 2022 09:16:33 +0000 (17:16 +0800)]
fix(runtime-dom): patch translate as an attr (#5485)
close #5462
Evan You [Wed, 13 Apr 2022 09:00:31 +0000 (17:00 +0800)]
fix(reactivity): fix ref tracking of self-stopping effects
close #5707
Evan You [Tue, 12 Apr 2022 08:07:43 +0000 (16:07 +0800)]
release: v3.2.32
Evan You [Tue, 12 Apr 2022 07:56:57 +0000 (15:56 +0800)]
chore: trim non-public properties on EffectScope type
Thorsten Lünborg [Tue, 12 Apr 2022 07:54:03 +0000 (09:54 +0200)]
fix(runtime-core): ensure custom directive instance properly exposes properties on closed instances. (#5022)
fix #5018
Wei [Tue, 12 Apr 2022 07:51:05 +0000 (15:51 +0800)]
fix(reactivity): fix currentScope loss when running detached effect scope (#5575)
lidlanca [Tue, 12 Apr 2022 07:28:40 +0000 (03:28 -0400)]
fix(runtime-core/template-ref): named ref in v-for regression fix (#5118)
close #5116
close #5447
close #5525
Evan You [Tue, 12 Apr 2022 07:22:11 +0000 (15:22 +0800)]
refactor: remove use of Object.assign
TS already transpiles spread to Object.assign with target:es2016
Yuchao [Tue, 12 Apr 2022 07:14:23 +0000 (17:14 +1000)]
fix(runtime-core): Avoid mutating original options object in createApp (#4840)
fix #4398
Evan You [Tue, 12 Apr 2022 07:06:46 +0000 (15:06 +0800)]
fix(transition): ensure flattened transition group children inherit parent keys
close #4718
close #5360
close #5392
Evan You [Tue, 12 Apr 2022 06:47:15 +0000 (14:47 +0800)]
chore: remove debugger
iwusong [Tue, 12 Apr 2022 06:42:00 +0000 (14:42 +0800)]
fix(runtime-core): fix event listener as dynamicProp is added erroneously to props (#5517)
fix #5520
Evan You [Tue, 12 Apr 2022 06:29:49 +0000 (14:29 +0800)]
chore: bump vite & esbuild
Evan You [Thu, 31 Mar 2022 00:15:59 +0000 (08:15 +0800)]
chore: remove no longer present V_FOR_REF compat entry
close vuejs/v3-migration-guide#10
Guillaume Chau [Wed, 9 Mar 2022 13:30:24 +0000 (14:30 +0100)]
fix(devtools): perf: use high-resolution time
kuanglingxi [Mon, 14 Feb 2022 11:34:44 +0000 (19:34 +0800)]
docs(contributing): change node version (#5382)
* docs(contributing): keep documentation and engines in sync [ci skip]
kuanglingxi [Mon, 14 Feb 2022 11:34:02 +0000 (19:34 +0800)]
docs(contributing): change node version (#5382)
* docs(contributing): keep documentation and engines in sync [ci skip]
lidlanca [Mon, 14 Feb 2022 01:40:12 +0000 (20:40 -0500)]
fix(runtime-core): allow spying on proxy methods regression (#5417)
fix #5415 (regression by #4216)
Evan You [Sat, 12 Feb 2022 08:45:46 +0000 (16:45 +0800)]
chore: update contributor graph link in readme [ci skip]
Evan You [Sat, 12 Feb 2022 08:43:55 +0000 (16:43 +0800)]
chore: remove patreon from funding.yml [ci skip]
Evan You [Sat, 12 Feb 2022 08:41:52 +0000 (16:41 +0800)]
release: v3.2.31
Cédric Exbrayat [Sat, 12 Feb 2022 08:35:05 +0000 (09:35 +0100)]
fix(runtime-core): allow spying on proxy methods (#4216)
Since Jest v26.6.1, the mock method changed (see this commit https://github.com/facebook/jest/commit/
30e802036291f4c9c9fd4feef6faba485df54dd2 ) to rely on `Object.defineProperty` in some cases.
This breaks spying on proxy's methods, because even if Jest is properly calling `Object.defineProperty`, the cached value in the `get` section of the proxy is never updated, and the spy is in fact never used.
This is easily reproducible as vue-next already uses a version of jest with these changes.
This is blocking projects (like vue-test-utils-next and vue-cli) to update to recent Jest versions.
This commit adds a `defineProperty` method to the proxy handler, that properly updates the defined value in the cache.
Evan You [Sat, 12 Feb 2022 08:18:54 +0000 (16:18 +0800)]
fix(compiler-ssr): no need to inject resolveDirective calls for setup custom directives
Anthony Fu [Sat, 12 Feb 2022 08:24:19 +0000 (16:24 +0800)]
fix(ssr): always hydrate children for HMR (#5406)
fix #5405
Evan You [Mon, 7 Feb 2022 06:14:53 +0000 (14:14 +0800)]
release: v3.2.30
Evan You [Mon, 7 Feb 2022 05:26:12 +0000 (13:26 +0800)]
workflow: remove next tag in release script
Evan You [Mon, 7 Feb 2022 05:20:01 +0000 (13:20 +0800)]
chore: readme [ci skip]
Evan You [Mon, 7 Feb 2022 05:13:26 +0000 (13:13 +0800)]
chore: remove v3.vuejs.org references
Evan You [Mon, 7 Feb 2022 04:16:22 +0000 (12:16 +0800)]
chore: remove next references [ci skip]
Evan You [Sun, 6 Feb 2022 09:58:11 +0000 (17:58 +0800)]
chore: update sponsor image link [ci skip]
Evan You [Sun, 6 Feb 2022 09:08:51 +0000 (17:08 +0800)]
chore: add link to sponsor svgs [ci skip]
Evan You [Sun, 6 Feb 2022 09:02:10 +0000 (17:02 +0800)]
chore: sponsors & backers [ci skip]
Evan You [Fri, 4 Feb 2022 00:58:28 +0000 (08:58 +0800)]
feat(ssr): support custom directive getSSRProps in optimized compilation
close #5304
Evan You [Sun, 30 Jan 2022 10:52:23 +0000 (18:52 +0800)]
refactor: remove isTracking() method
Evan You [Sun, 30 Jan 2022 10:50:28 +0000 (18:50 +0800)]
chore: check string first in toDisplayString
Evan You [Fri, 28 Jan 2022 13:02:09 +0000 (21:02 +0800)]
chore: simplify effectScope
Evan You [Fri, 28 Jan 2022 10:35:09 +0000 (18:35 +0800)]
perf(reactivity): optimize effect/effectScope active state tracking
Evan You [Sun, 23 Jan 2022 14:02:23 +0000 (22:02 +0800)]
release: v3.2.29
Evan You [Sun, 23 Jan 2022 13:37:54 +0000 (21:37 +0800)]
fix(runtime-dom): fix static content re-insertion
fix #5308
The regression was introduced in
ed9eb62 . In the cached code path,
we attempt re-insertion by cloning cached nodes. However if the static
fragment was removed as component root, it loses the nodes between
start and end because each node was removed individually. Therefore
the cached path can only be taken if the fragment has a single node, or
it was removed as part of a parent tree so the sibling information is
still available.
Thorsten Lünborg [Sun, 23 Jan 2022 13:08:27 +0000 (14:08 +0100)]
fix(reactivity): ensure readonly refs can be replaced with new refs in reactive objects (#5310)
fix #5307
Evan You [Sun, 23 Jan 2022 13:03:37 +0000 (21:03 +0800)]
test: add missing edge case for css v-bind
Evan You [Sun, 23 Jan 2022 12:58:43 +0000 (20:58 +0800)]
fix(compiler-sfc): fix css v-bind inside other css functions
fix #5302, close #5306
Evan You [Fri, 21 Jan 2022 08:15:13 +0000 (16:15 +0800)]
release: v3.2.28
Evan You [Fri, 21 Jan 2022 08:12:25 +0000 (16:12 +0800)]
build: fix build script
edison [Fri, 21 Jan 2022 07:53:51 +0000 (15:53 +0800)]
fix(compiler-sfc): support complex expression in CSS v-bind() (#5114)
fix #5109
btea [Fri, 21 Jan 2022 07:36:48 +0000 (01:36 -0600)]
refactor: includes instead of indexOf (#5117)
HcySunYang [Fri, 21 Jan 2022 07:33:30 +0000 (15:33 +0800)]
fix(types): calling readonly() with ref() should return Readonly<Ref<T>> (#5212)
Thorsten Lünborg [Fri, 21 Jan 2022 07:33:18 +0000 (08:33 +0100)]
fix(reactivity): mutating a readonly ref nested in a reactive object should fail. (#5048)
fix: #5042
Soha Jin [Fri, 21 Jan 2022 07:02:02 +0000 (15:02 +0800)]
fix(compat): convertLegacyVModelProps should merge model option in mixins (#5251)
Yugang Cao [Fri, 21 Jan 2022 06:56:20 +0000 (14:56 +0800)]
chore: type improvements (#5264)
edison [Fri, 21 Jan 2022 06:54:46 +0000 (14:54 +0800)]
fix(compiler-core): handle v-memo in template v-for (#5291)
fix #5288
Evan You [Fri, 21 Jan 2022 06:29:45 +0000 (14:29 +0800)]
chore: comment dom tag config usage [ci skip]
Thorsten Lünborg [Fri, 21 Jan 2022 06:21:42 +0000 (07:21 +0100)]
fix(compat): ensure fallthrough *Native events are not dropped during props update (#5228)
Yugang Cao [Fri, 21 Jan 2022 06:18:34 +0000 (14:18 +0800)]
chore: fix typo (#5261) [ci skip]
Bruno Perel [Fri, 21 Jan 2022 06:16:19 +0000 (07:16 +0100)]
chore: fix typo (#5282) [ci skip]
Stanislav Lashmanov [Fri, 21 Jan 2022 06:15:35 +0000 (09:15 +0300)]
fix(compat): simulate Vue 2.6.14 version in compat build (#5293)
Some Vue plugins that are actually compatible with the `vue-compat` won't work because of the version check. Right now `vue-compat` returns 3x version for the legacy method of checking Vue version via `Vue.version`. This PR instends to simulate Vue 2 version in those instances and instead return a 2x-compatible version: `2.6.14-compat:3.x.x`.
Thorsten Lünborg [Fri, 21 Jan 2022 06:13:29 +0000 (07:13 +0100)]
fix(runtime-core): ensure mergeProps skips undefined event handlers (#5299)
fix #5296
Evan You [Fri, 21 Jan 2022 04:31:54 +0000 (12:31 +0800)]
fix(ssr): only cache computed getters during render phase
fix #5300
Evan You [Fri, 21 Jan 2022 01:41:54 +0000 (09:41 +0800)]
perf(reactivity): optimize effect run condition
Evan You [Fri, 21 Jan 2022 00:47:48 +0000 (08:47 +0800)]
fix(compiler-sfc/reactivity-transform): fix edge case where normal script has ref macros but script setup does not
Evan You [Thu, 20 Jan 2022 23:48:41 +0000 (07:48 +0800)]
fix(reactivity-transform): apply transform for labelled variable declarations
ref https://github.com/vuejs/core/issues/5298#issuecomment-
1017970061
Evan You [Thu, 20 Jan 2022 23:40:35 +0000 (07:40 +0800)]
fix(reactivity-transform): apply transform on exported variable declarations
fix #5298
Evan You [Tue, 18 Jan 2022 08:43:59 +0000 (16:43 +0800)]
chore: update repo references
Evan You [Tue, 18 Jan 2022 01:22:03 +0000 (09:22 +0800)]
fix(reactivity): differentiate shallow/deep proxies of same target when nested in reactive
fix #5271
Evan You [Tue, 18 Jan 2022 01:17:22 +0000 (09:17 +0800)]
feat(reactivity): add isShallow api