]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
3 years agochore: split ssr transition group tests
Evan You [Wed, 18 May 2022 01:31:31 +0000 (09:31 +0800)] 
chore: split ssr transition group tests

3 years agofix(ssr): fix hydration error on falsy v-if inside transition/keep-alive
Evan You [Wed, 18 May 2022 01:28:18 +0000 (09:28 +0800)] 
fix(ssr): fix hydration error on falsy v-if inside transition/keep-alive

fix #5352

3 years agofix(compiler-ssr): only inject fallthrough attrs for root transition/keep-alive
Evan You [Wed, 18 May 2022 00:37:24 +0000 (08:37 +0800)] 
fix(compiler-ssr): only inject fallthrough attrs for root transition/keep-alive

3 years agofix(ssr): support client-compiled v-model with dynamic type during ssr (#5787)
Roan Kattouw [Tue, 17 May 2022 09:52:44 +0000 (02:52 -0700)] 
fix(ssr): support client-compiled  v-model with dynamic type during ssr (#5787)

fix #5786

3 years agofix(ssr): inherit scope id on functional component during ssr
Evan You [Tue, 17 May 2022 09:45:53 +0000 (17:45 +0800)] 
fix(ssr): inherit scope id on functional component during ssr

fix #5817

3 years agofix(compiler-core): should generate HYDRATE_EVENTS flag on dynamic component that...
Evan You [Tue, 17 May 2022 08:39:48 +0000 (16:39 +0800)] 
fix(compiler-core): should generate HYDRATE_EVENTS flag on dynamic component that resolves to element

fix #5870

3 years agofix(compiler-ssr): fix component event handlers inheritance in ssr
Evan You [Tue, 17 May 2022 07:50:23 +0000 (15:50 +0800)] 
fix(compiler-ssr): fix component event handlers inheritance in ssr

fix #5664

3 years agochore: bump repl
Evan You [Tue, 17 May 2022 07:06:49 +0000 (15:06 +0800)] 
chore: bump repl

3 years agochore: fix changelog format [ci skip]
Evan You [Tue, 17 May 2022 04:57:09 +0000 (12:57 +0800)] 
chore: fix changelog format [ci skip]

3 years agorelease: v3.2.34-beta.1 v3.2.34-beta.1
Evan You [Tue, 17 May 2022 04:53:51 +0000 (12:53 +0800)] 
release: v3.2.34-beta.1

3 years agoworkflow: fix release script for pnpm 7 [ci skip]
Evan You [Tue, 17 May 2022 04:47:43 +0000 (12:47 +0800)] 
workflow: fix release script for pnpm 7 [ci skip]

3 years agofix(ssr): resolve teleports for stream render APIs
Evan You [Tue, 17 May 2022 04:41:40 +0000 (12:41 +0800)] 
fix(ssr): resolve teleports for stream render APIs

3 years agoworkflow: add prod/dev toggle to sfc playground
Evan You [Tue, 17 May 2022 04:10:29 +0000 (12:10 +0800)] 
workflow: add prod/dev toggle to sfc playground

3 years agofix(ssr): fix ssr render output for fragment in slots
Evan You [Tue, 17 May 2022 03:13:22 +0000 (11:13 +0800)] 
fix(ssr): fix ssr render output for fragment in slots

fix #5859

3 years agobuild: output es2020 (target node 14+) for cjs/server builds
Evan You [Tue, 17 May 2022 02:50:40 +0000 (10:50 +0800)] 
build: output es2020 (target node 14+) for cjs/server builds

3 years agofix(ssr/sfc-css-vars): fix v-bind css vars codegen for SSR
Evan You [Tue, 17 May 2022 01:21:36 +0000 (09:21 +0800)] 
fix(ssr/sfc-css-vars): fix v-bind css vars codegen for SSR

fix #5443
close #5444

3 years agorefactor(runtime-core): extract function `isReservedPrefix` (#3265)
edison [Fri, 13 May 2022 08:52:19 +0000 (16:52 +0800)] 
refactor(runtime-core): extract function `isReservedPrefix` (#3265)

* chore(runtime-core): extract function isReservedKey

* chore: improve code

Co-authored-by: Evan You <yyx990803@gmail.com>
3 years agorefactor(runtime-core): extract type SetRootFn (#3209)
edison [Fri, 13 May 2022 08:48:20 +0000 (16:48 +0800)] 
refactor(runtime-core): extract type SetRootFn (#3209)

3 years agochore: use ast node creation helper (#5255)
阿崔cxr [Fri, 13 May 2022 08:37:50 +0000 (16:37 +0800)] 
chore: use ast node creation helper (#5255)

3 years agofix(types): allow css variables in style binding (#5542)
Package [Fri, 13 May 2022 08:30:30 +0000 (16:30 +0800)] 
fix(types): allow css variables in style binding  (#5542)

3 years agoworkflow: update github actions via dependabot (#5656)
neilnaveen [Fri, 13 May 2022 08:26:30 +0000 (03:26 -0500)] 
workflow: update github actions via dependabot (#5656)

3 years agoworkflow: lint test files (#5727)
Cédric Exbrayat [Fri, 13 May 2022 08:24:21 +0000 (10:24 +0200)] 
workflow: lint test files (#5727)

3 years agofix(types): add `Set<any>` to checkbox binding type for v-model (#5713)
Spencer McWilliams [Fri, 13 May 2022 08:23:33 +0000 (01:23 -0700)] 
fix(types): add `Set<any>` to checkbox binding type for v-model (#5713)

3 years agofix(shared): improve isDate check (#5803)
Vanilla [Fri, 13 May 2022 08:17:31 +0000 (16:17 +0800)] 
fix(shared): improve isDate check (#5803)

3 years agofix(ssr): render teleport inside async component (#5187)
Adam Jedlička [Fri, 13 May 2022 07:57:10 +0000 (09:57 +0200)] 
fix(ssr): render teleport inside async component (#5187)

3 years agochore: fix snapshots
Evan You [Fri, 13 May 2022 07:45:26 +0000 (15:45 +0800)] 
chore: fix snapshots

3 years agorefactor: simplify logic
Evan You [Fri, 13 May 2022 07:40:53 +0000 (15:40 +0800)] 
refactor: simplify logic

3 years agofix(compiler-sfc): add test for #5808
liulinboyi [Wed, 27 Apr 2022 01:33:21 +0000 (09:33 +0800)] 
fix(compiler-sfc): add test for #5808

3 years agofix(compiler-sfc): async transformer doesn't correctly detect need for semicolon...
liulinboyi [Tue, 26 Apr 2022 18:06:24 +0000 (02:06 +0800)] 
fix(compiler-sfc): async transformer doesn't correctly detect need for semicolon in block #5808

3 years agochore: fix snapshot + simplify fix
Evan You [Fri, 13 May 2022 03:04:04 +0000 (11:04 +0800)] 
chore: fix snapshot + simplify fix

3 years agofix(compiler-sfc): <script> after <script setup> the script content not end with...
liulinboyi [Sun, 24 Apr 2022 12:39:18 +0000 (20:39 +0800)] 
fix(compiler-sfc): <script> after <script setup> the script content not end with `\\n`

3 years agofix(reactivity-transform): fix props access codegen for non-identifier prop names...
edison [Fri, 13 May 2022 02:38:46 +0000 (10:38 +0800)] 
fix(reactivity-transform): fix props access codegen for non-identifier prop names (#5436)

fix #5425

3 years agochore: warn when mounting different apps on the same host element (#5573)
zs [Fri, 13 May 2022 01:09:18 +0000 (09:09 +0800)] 
chore: warn when mounting different apps on the same host element (#5573)

3 years agofix(compiler-sfc): fix defineEmits() scope reference check error message (#5404)
Travis [Fri, 13 May 2022 01:08:28 +0000 (09:08 +0800)] 
fix(compiler-sfc): fix defineEmits() scope reference check error message (#5404)

3 years agofix(compiler-dom): properly stringify v-html/v-text with constant value
Evan You [Fri, 13 May 2022 00:57:43 +0000 (08:57 +0800)] 
fix(compiler-dom): properly stringify v-html/v-text with constant value

fix #5439
close #5445

3 years agochore: comments (#5332) [ci skip]
Marcos Dantas [Fri, 13 May 2022 00:23:28 +0000 (21:23 -0300)] 
chore: comments (#5332) [ci skip]

3 years agofix(watch): fix watching multiple sources containing shallowRef (#5381)
edison [Fri, 13 May 2022 00:20:04 +0000 (08:20 +0800)] 
fix(watch): fix watching multiple sources containing shallowRef (#5381)

fix #5371

3 years agofix(sfc-playground): default selected app (#5370)
三咲智子 [Fri, 13 May 2022 00:16:29 +0000 (08:16 +0800)] 
fix(sfc-playground): default selected app (#5370)

3 years agoworkflow: recover version when error occurred (#5493) [ci skip]
Cloyd Lau [Fri, 13 May 2022 00:15:13 +0000 (08:15 +0800)] 
workflow: recover version when error occurred (#5493) [ci skip]

3 years agochore: bump @vue/repl dep
Evan You [Thu, 12 May 2022 23:55:52 +0000 (07:55 +0800)] 
chore: bump @vue/repl dep

close #5825

3 years agofix(v-model): fix case where .trim and .number modifiers are used together (#5842)
小刘(liulinboyi) [Thu, 12 May 2022 23:52:16 +0000 (07:52 +0800)] 
fix(v-model): fix case where .trim and .number modifiers are used together (#5842)

fix #5839

3 years agofix(runtime-core): handle NaN identity check in v-memo (#5852)
huangcheng [Thu, 12 May 2022 23:49:51 +0000 (07:49 +0800)] 
fix(runtime-core): handle NaN identity check in v-memo (#5852)

fix #5853

3 years agofix(runtime-core): clone root vnode before inheriting directives
Evan You [Thu, 12 May 2022 23:29:28 +0000 (07:29 +0800)] 
fix(runtime-core): clone root vnode before inheriting directives

3 years agochore: add no-debugger eslint rule (#5906)
Cédric Exbrayat [Thu, 12 May 2022 23:10:00 +0000 (01:10 +0200)] 
chore: add no-debugger eslint rule (#5906)

3 years agofix(compiler-sfc): fix treeshaking of namespace import when used in template
Evan You [Thu, 12 May 2022 10:56:54 +0000 (18:56 +0800)] 
fix(compiler-sfc): fix treeshaking of namespace import when used in template

fix #5209

3 years agofix(v-model): exclude range from lazy guard logic
Evan You [Thu, 12 May 2022 10:39:17 +0000 (18:39 +0800)] 
fix(v-model): exclude range from lazy guard logic

fix #5875

3 years agofix(compiler-sfc): fix template usage check false positives on types
Evan You [Thu, 12 May 2022 10:23:10 +0000 (18:23 +0800)] 
fix(compiler-sfc): fix template usage check false positives on types

fix #5414

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)