]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
3 years agofix(runtime-core): fix missed updates when passing vnode to <component :is>
Evan You [Thu, 12 May 2022 09:52:15 +0000 (17:52 +0800)] 
fix(runtime-core): fix missed updates when passing vnode to <component :is>

fix #4903

3 years agofix(compiler-core): normalize v-bind:style with array literal value
Evan You [Thu, 12 May 2022 08:31:16 +0000 (16:31 +0800)] 
fix(compiler-core): normalize v-bind:style with array literal value

fix #5106

3 years agofix(transition): handle edge case of cancel leave before next frame
Evan You [Thu, 12 May 2022 07:39:34 +0000 (15:39 +0800)] 
fix(transition): handle edge case of cancel leave before next frame

fix #4462

3 years agofix(ssr): fix hydration error for slot outlet inside transition
Evan You [Thu, 12 May 2022 07:06:32 +0000 (15:06 +0800)] 
fix(ssr): fix hydration error for slot outlet inside transition

fix #3989

3 years agofix(keep-alive): fix unmounting late-included components
Evan You [Thu, 12 May 2022 03:52:54 +0000 (11:52 +0800)] 
fix(keep-alive): fix unmounting late-included components

fix #3648
based on #3650

3 years agofix(keep-alive): invoke initial activated hook for async components
Evan You [Thu, 12 May 2022 03:29:26 +0000 (11:29 +0800)] 
fix(keep-alive): invoke initial activated hook for async components

revert #5459
fix #5095
fix #5651

3 years agochore: remove dbeugger [ci skip]
Evan You [Thu, 12 May 2022 02:38:40 +0000 (10:38 +0800)] 
chore: remove dbeugger [ci skip]

3 years agochore: add explaination about the utility type IfAny<T, Y, N> (#5862) [ci skip]
Dongcai Huang [Thu, 12 May 2022 01:39:06 +0000 (09:39 +0800)] 
chore: add explaination about the utility type IfAny<T, Y, N> (#5862) [ci skip]

3 years agochore: normalize file paths in test filter for windows (#5315)
ygj6 [Thu, 12 May 2022 01:37:12 +0000 (09:37 +0800)] 
chore: normalize file paths in test filter for windows (#5315)

3 years agochore: issues forms (#5145)
patak [Thu, 12 May 2022 01:31:12 +0000 (03:31 +0200)] 
chore: issues forms (#5145)

3 years agochore(compiler): improve readability of compiler-core's test case (#4886)
WangJing [Thu, 12 May 2022 00:47:10 +0000 (08:47 +0800)] 
chore(compiler): improve readability of compiler-core's test case (#4886)

3 years agochore: update branch references
Evan You [Thu, 12 May 2022 00:44:57 +0000 (08:44 +0800)] 
chore: update branch references

3 years agochore(types): delete @ts-ignore or use @ts-expected-error instead (#3669)
HeYunfei [Thu, 12 May 2022 00:40:59 +0000 (08:40 +0800)] 
chore(types): delete @ts-ignore or use @ts-expected-error instead (#3669)

Co-authored-by: heyunfei.i <heyunfei.i@bytedance.com>
3 years agochore(compiler-core): use aliasHelper (#3592)
edison [Thu, 12 May 2022 00:40:05 +0000 (08:40 +0800)] 
chore(compiler-core): use aliasHelper (#3592)

3 years agochore: update ci step name [ci skip]
Evan You [Thu, 12 May 2022 00:38:48 +0000 (08:38 +0800)] 
chore: update ci step name [ci skip]

3 years agoworkflow: upgrade to pnpm 7
Evan You [Thu, 12 May 2022 00:33:08 +0000 (08:33 +0800)] 
workflow: upgrade to pnpm 7

3 years agochore(runtime-code): delete outdated test case (#3036)
Zardddddd60 [Thu, 12 May 2022 00:25:06 +0000 (08:25 +0800)] 
chore(runtime-code): delete outdated test case (#3036)

3 years agofix(runtime-core): fix activated hook when using async component with KeepAlive ...
edison [Thu, 12 May 2022 00:19:11 +0000 (08:19 +0800)] 
fix(runtime-core): fix activated hook when using async component with KeepAlive (#5459)

fix #5095
fix #5651

3 years agofix(types): allow indeterminate for checkbox (#3473)
Simon Legner [Wed, 11 May 2022 11:38:13 +0000 (13:38 +0200)] 
fix(types): allow indeterminate for checkbox (#3473)

3 years agofeat(types): avoid props JSDocs loss by `default` option (#5871)
Johnson Chu [Wed, 11 May 2022 11:37:49 +0000 (19:37 +0800)] 
feat(types): avoid props JSDocs loss by `default` option (#5871)

3 years agofix(transition/v-show): ensure transition is in persisted mode when used with v-show
Evan You [Wed, 11 May 2022 11:22:55 +0000 (19:22 +0800)] 
fix(transition/v-show): ensure transition is in persisted mode when used with v-show

fix #4845
close #4852

3 years agofix(runtime-core): fix directive inheritance on dev root fragment
Evan You [Wed, 11 May 2022 10:02:31 +0000 (18:02 +0800)] 
fix(runtime-core): fix directive inheritance on dev root fragment

fix #5523

3 years agofix(compiler-core): template v-if should never be treated as dev root fragment
Evan You [Wed, 11 May 2022 09:43:17 +0000 (17:43 +0800)] 
fix(compiler-core): template v-if should never be treated as dev root fragment

close #5189

3 years agofix(compiler-sfc): ensure consistent behavior of export default render with script...
Evan You [Wed, 11 May 2022 09:20:32 +0000 (17:20 +0800)] 
fix(compiler-sfc): ensure consistent behavior of export default render with script setup

close #4980

3 years agofix(compiler-sfc): fix skipped srcset transform when using base option
Evan You [Wed, 11 May 2022 08:55:58 +0000 (16:55 +0800)] 
fix(compiler-sfc): fix skipped srcset transform when using base option

Based on implementation from #4835 due to conflicts

fix #4819
close #4834, close #4835

3 years agofix(ssr): should not hoist transformed asset urls in ssr compile
Evan You [Wed, 11 May 2022 04:43:44 +0000 (12:43 +0800)] 
fix(ssr): should not hoist transformed asset urls in ssr compile

fix #3874

3 years agofix(runtime-core): transition hooks can be arrays of functions (#5177)
Kael [Wed, 11 May 2022 01:56:57 +0000 (11:56 +1000)] 
fix(runtime-core): transition hooks can be arrays of functions (#5177)

3 years agofix(ssr): don't warn for missing teleport target if disabled (#5135)
Kael [Wed, 11 May 2022 01:33:08 +0000 (11:33 +1000)] 
fix(ssr): don't warn for missing teleport target if disabled (#5135)

3 years agofix(ssr): should de-optimize on vnode with PatchFlags.BAIL (#4818)
edison [Tue, 10 May 2022 10:35:34 +0000 (18:35 +0800)] 
fix(ssr): should de-optimize on vnode with PatchFlags.BAIL (#4818)

fix #4679
fix #5771

3 years agofix(compiler-sfc): defineProps return binding or rest binding should be considered...
Evan You [Tue, 10 May 2022 09:34:15 +0000 (17:34 +0800)] 
fix(compiler-sfc): defineProps return binding or rest binding should be considered reactive

3 years agochore: bump vite
Evan You [Tue, 10 May 2022 09:15:12 +0000 (17:15 +0800)] 
chore: bump vite

3 years agofix(runtime-core): ensure raw slot function is only normalized once (#5358)
Thorsten Lünborg [Tue, 10 May 2022 08:41:54 +0000 (10:41 +0200)] 
fix(runtime-core): ensure raw slot function is only normalized once (#5358)

fix: #5343

3 years agochore: fix snapshot
Evan You [Tue, 10 May 2022 08:16:26 +0000 (16:16 +0800)] 
chore: fix snapshot

3 years agofix(reactivity): ios10.x compatibility (#4900)
descire [Tue, 10 May 2022 08:10:40 +0000 (16:10 +0800)] 
fix(reactivity): ios10.x compatibility (#4900)

3 years agofix(runtime-core): ensure consistent identity of $forceUpdate and $nextTick instance...
Evan You [Tue, 10 May 2022 06:17:04 +0000 (14:17 +0800)] 
fix(runtime-core): ensure consistent identity of $forceUpdate and $nextTick instance methods

fix #5556

3 years agochore: type [ci skip]
snowingfox [Tue, 10 May 2022 02:52:17 +0000 (10:52 +0800)] 
chore: type [ci skip]

3 years agochore: type [ci skip]
那里好脏不可以 [Tue, 10 May 2022 02:51:51 +0000 (10:51 +0800)] 
chore: type [ci skip]

3 years agotypes(runtime-dom): fix typo in jsx type autosave (#5638)
Khinenw [Tue, 10 May 2022 02:50:49 +0000 (11:50 +0900)] 
types(runtime-dom): fix typo in jsx type autosave (#5638)

3 years agochore: typo (#5732) [ci skip]
Leon Si [Tue, 10 May 2022 02:49:14 +0000 (22:49 -0400)] 
chore: typo (#5732) [ci skip]

3 years agochore: bump typescript deps
Evan You [Tue, 10 May 2022 02:47:45 +0000 (10:47 +0800)] 
chore: bump typescript deps

3 years agoci: run lint during ci
Evan You [Tue, 10 May 2022 02:47:32 +0000 (10:47 +0800)] 
ci: run lint during ci

3 years agoworkflow: update eslint config to allow spread usage
Evan You [Tue, 10 May 2022 02:43:07 +0000 (10:43 +0800)] 
workflow: update eslint config to allow spread usage

3 years agochore: fix eslint error (#5876)
huangcheng [Tue, 10 May 2022 02:43:35 +0000 (10:43 +0800)] 
chore: fix eslint error (#5876)

3 years agofix(shared): missed Symbol judge in looseEqual (#3553)
netcon [Tue, 10 May 2022 02:15:26 +0000 (10:15 +0800)] 
fix(shared): missed Symbol judge in looseEqual (#3553)

3 years agofix(ssr): implement empty read() on node stream
Evan You [Tue, 10 May 2022 02:04:56 +0000 (10:04 +0800)] 
fix(ssr): implement empty read() on node stream

fix #3846
close #3867

3 years agochore: use explicit type import to avoid Rollup warning
Evan You [Tue, 10 May 2022 02:02:41 +0000 (10:02 +0800)] 
chore: use explicit type import to avoid Rollup warning

3 years agofix(runtime-dom): "el._assign is not a function" in compat mode (#4121)
Julian Hundeloh [Tue, 10 May 2022 01:58:51 +0000 (03:58 +0200)] 
fix(runtime-dom): "el._assign is not a function" in compat mode (#4121)

3 years agochore: remove unused import due to merge conflict resolve mistake
Evan You [Tue, 10 May 2022 01:58:28 +0000 (09:58 +0800)] 
chore: remove unused import due to merge conflict resolve mistake

3 years agochore: fix duplicate export
Evan You [Tue, 10 May 2022 01:50:12 +0000 (09:50 +0800)] 
chore: fix duplicate export

3 years agochore(runtime-core): Remove duplicate variable assignments (#3700)
edison [Tue, 10 May 2022 01:42:41 +0000 (09:42 +0800)] 
chore(runtime-core): Remove duplicate variable assignments (#3700)

3 years agochore(runtime-core): use `getGlobalThis` when installing HMR API (#3217)
edison [Tue, 10 May 2022 01:40:19 +0000 (09:40 +0800)] 
chore(runtime-core): use `getGlobalThis` when installing HMR API (#3217)

3 years agotypes(compiler-sfc): export SFCParseResult type (#2923)
edison [Tue, 10 May 2022 01:37:59 +0000 (09:37 +0800)] 
types(compiler-sfc): export SFCParseResult type (#2923)

close #2921

3 years agochore(server renderer): readable warn message (#2890)
tarunama [Tue, 10 May 2022 01:37:00 +0000 (10:37 +0900)] 
chore(server renderer): readable warn message (#2890)

3 years agochore: update reference to transformExpressions (#2682) [ci skip]
Damon Muma [Tue, 10 May 2022 01:30:50 +0000 (21:30 -0400)] 
chore: update reference to transformExpressions (#2682) [ci skip]

3 years agofix(compiler-sfc): remove the jsx from the babelParserPlugins when not match the...
小刘(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

3 years agofix(compiler-sfc): automatically infer component name from filename when using script...
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

3 years agofix(compiler-sfc): fix object default values for reactive props destructure
Evan You [Tue, 10 May 2022 00:39:27 +0000 (08:39 +0800)] 
fix(compiler-sfc): fix object default values for reactive props destructure

3 years agotypes(reactivity-transform): improve type readability for reactive variables
Evan You [Sat, 7 May 2022 02:37:07 +0000 (10:37 +0800)] 
types(reactivity-transform): improve type readability for reactive variables

3 years agochore: remove outdated type comment (#5103)
qinxiaosen_ccc [Fri, 6 May 2022 10:44:28 +0000 (18:44 +0800)] 
chore: remove outdated type comment (#5103)

3 years agorefactor(reactivity): make some expression simpler (#5131)
zhangenming [Fri, 6 May 2022 10:42:22 +0000 (18:42 +0800)] 
refactor(reactivity):  make some expression simpler (#5131)

3 years agofix(types): preserve and expose original options on defineComponent return type ...
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

3 years agofix(types): keep the original type when unwrapping `markRaw` (#3791)
Carlos Rodrigues [Fri, 6 May 2022 09:07:49 +0000 (10:07 +0100)] 
fix(types): keep the original type when unwrapping `markRaw` (#3791)

3 years agofix(runtime-core): ensure consistent behavior between dev/prod on invalid v-for range
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

3 years agochore: update sponsor img link [ci skip]
Evan You [Tue, 3 May 2022 00:46:24 +0000 (08:46 +0800)] 
chore: update sponsor img link [ci skip]

3 years agorefactor: use Event constructor
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

3 years agofix(watch): fix flush: pre watchers triggered synchronously in setup
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

3 years agofix(reactivity): ensure computed is invalidated before other effects
Evan You [Fri, 15 Apr 2022 08:43:17 +0000 (16:43 +0800)] 
fix(reactivity): ensure computed is invalidated before other effects

fix #5720

3 years agorelease: v3.2.33 v3.2.33
Evan You [Thu, 14 Apr 2022 10:14:37 +0000 (18:14 +0800)] 
release: v3.2.33

3 years agofix(transition): handle transition for v-if branches with comment
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

3 years agofix(transition): fix broken leave transition on dev root fragment (#5268)
edison [Thu, 14 Apr 2022 09:10:41 +0000 (17:10 +0800)] 
fix(transition): fix broken leave transition on dev root fragment (#5268)

3 years agofix(runtime-core): ensure custom events are not emitted anymore after unmount. (...
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

3 years agofix(compiler-sfc): handle type modifier in import specifiers (#5498)
木杉 [Thu, 14 Apr 2022 02:10:26 +0000 (10:10 +0800)] 
fix(compiler-sfc): handle type modifier in import specifiers (#5498)

3 years agofix(ssr): avoid rendering reserved internal keys in output (#5564)
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

3 years agofix(runtime-core): fix use of non-existent-in-prod internal property in definePropert...
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

3 years agofix(reactivity-transform): should not rewrite catch param (#5711)
edison [Thu, 14 Apr 2022 00:06:58 +0000 (08:06 +0800)] 
fix(reactivity-transform): should not rewrite catch param (#5711)

fix #5709

3 years agotest(vue-compat): remove test.only (#5715)
Cédric Exbrayat [Thu, 14 Apr 2022 00:06:07 +0000 (02:06 +0200)] 
test(vue-compat): remove test.only (#5715)

3 years agofix(runtime-dom): properly handle style properties with undefined values (#5348)
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

3 years agofix(custom-elements): work with async component + slots (#4657)
edison [Wed, 13 Apr 2022 09:58:29 +0000 (17:58 +0800)] 
fix(custom-elements): work with async component + slots (#4657)

close #4639

3 years agofix(compat): copy additional properties for functions bound via globalProperties...
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

3 years agobuild: improve treeshakeability (#5682)
宋铄运 (Alan Song) [Wed, 13 Apr 2022 09:39:02 +0000 (17:39 +0800)] 
build: improve treeshakeability (#5682)

3 years agodx(suspense): warn when using async setup when not inside a Suspense boundary (#5565)
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

3 years agochore: remove superfluous code (#5683)
zhoulixiang [Wed, 13 Apr 2022 09:30:22 +0000 (17:30 +0800)] 
chore: remove superfluous code (#5683)

3 years agofix(runtime-dom): catch more cases of DOM property setting error (#5552)
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

3 years agochore(@vue/shared): add `"sideEffects": false` (#5480)
Haoqun Jiang [Wed, 13 Apr 2022 09:23:45 +0000 (17:23 +0800)] 
chore(@vue/shared): add `"sideEffects": false` (#5480)

3 years agochore(reactivity): use warn (#5548)
Code_xxmyyds [Wed, 13 Apr 2022 09:21:38 +0000 (17:21 +0800)] 
chore(reactivity): use warn (#5548)

3 years agofix(runtime-dom): patch translate as an attr (#5485)
木杉 [Wed, 13 Apr 2022 09:16:33 +0000 (17:16 +0800)] 
fix(runtime-dom): patch translate as an attr (#5485)

close #5462

3 years agofix(reactivity): fix ref tracking of self-stopping effects
Evan You [Wed, 13 Apr 2022 09:00:31 +0000 (17:00 +0800)] 
fix(reactivity): fix ref tracking of self-stopping effects

close #5707

3 years agorelease: v3.2.32 v3.2.32
Evan You [Tue, 12 Apr 2022 08:07:43 +0000 (16:07 +0800)] 
release: v3.2.32

3 years agochore: trim non-public properties on EffectScope type
Evan You [Tue, 12 Apr 2022 07:56:57 +0000 (15:56 +0800)] 
chore: trim non-public properties on EffectScope type

3 years agofix(runtime-core): ensure custom directive instance properly exposes properties on...
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

3 years agofix(reactivity): fix currentScope loss when running detached effect scope (#5575)
Wei [Tue, 12 Apr 2022 07:51:05 +0000 (15:51 +0800)] 
fix(reactivity): fix currentScope loss when running detached effect scope (#5575)

3 years agofix(runtime-core/template-ref): named ref in v-for regression fix (#5118)
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

3 years agorefactor: remove use of Object.assign
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

3 years agofix(runtime-core): Avoid mutating original options object in createApp (#4840)
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

3 years agofix(transition): ensure flattened transition group children inherit parent keys
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

3 years agochore: remove debugger
Evan You [Tue, 12 Apr 2022 06:47:15 +0000 (14:47 +0800)] 
chore: remove debugger

3 years agofix(runtime-core): fix event listener as dynamicProp is added erroneously to props...
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

3 years agochore: bump vite & esbuild
Evan You [Tue, 12 Apr 2022 06:29:49 +0000 (14:29 +0800)] 
chore: bump vite & esbuild

3 years agochore: remove no longer present V_FOR_REF compat entry
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

3 years agofix(devtools): perf: use high-resolution time
Guillaume Chau [Wed, 9 Mar 2022 13:30:24 +0000 (14:30 +0100)] 
fix(devtools): perf: use high-resolution time