]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
2 years agochore: fix snapshot
Evan You [Wed, 26 Oct 2022 09:46:17 +0000 (17:46 +0800)] 
chore: fix snapshot

2 years agofix(types): `$watch` callback parameters type (#6136)
webfansplz [Wed, 26 Oct 2022 09:43:42 +0000 (17:43 +0800)] 
fix(types): `$watch` callback parameters type (#6136)

fix #6135

2 years agofix(compiler-sfc): allow type annotation for defineEmits variable (#5394)
ygj6 [Wed, 26 Oct 2022 09:12:55 +0000 (17:12 +0800)] 
fix(compiler-sfc): allow type annotation for defineEmits variable (#5394)

fix #5393

2 years agotypes(runtime-core): added `ComponentCustomProperties` type to `globalProperties...
nandi95 [Wed, 26 Oct 2022 09:00:47 +0000 (10:00 +0100)] 
types(runtime-core): added `ComponentCustomProperties` type to `globalProperties` (#5389)

2 years agofix(compiler-sfc): support using extends interface with defineProps() (#4512)
edison [Wed, 26 Oct 2022 08:44:30 +0000 (16:44 +0800)] 
fix(compiler-sfc): support using extends interface with defineProps() (#4512)

fix #4498

2 years agorefactor(types): use template literal types insteads of any (#4166)
webfansplz [Wed, 26 Oct 2022 08:31:09 +0000 (16:31 +0800)] 
refactor(types): use template literal types insteads of any (#4166)

2 years agofix(types): should unwrap tuple correctly (#3820)
HeYunfei [Wed, 26 Oct 2022 08:27:42 +0000 (16:27 +0800)] 
fix(types): should unwrap tuple correctly (#3820)

fix #3819

2 years agofix(compiler-ssr): fix invalid codegen when v-slot name is explicit empty attr (...
Evan You [Wed, 26 Oct 2022 08:18:19 +0000 (16:18 +0800)] 
fix(compiler-ssr): fix invalid codegen when v-slot name is explicit empty attr (#3326)

squashed from fix by @tjk

2 years agorefactor: move toNumber call out of loop
Evan You [Wed, 26 Oct 2022 07:17:25 +0000 (15:17 +0800)] 
refactor: move toNumber call out of loop

2 years agotypes(h): Support passing `props` to `Component` when using `h` (#3219)
Carlos Rodrigues [Wed, 26 Oct 2022 07:07:44 +0000 (08:07 +0100)] 
types(h): Support passing `props` to `Component` when using `h` (#3219)

2 years agotypes(shared): Improve LooseRequired<T> (#6244)
引证 [Wed, 26 Oct 2022 07:01:37 +0000 (15:01 +0800)] 
types(shared): Improve LooseRequired<T> (#6244)

2 years agofix(runtime-core): custom-element: ensure number casting of camelCase props. (fix...
Thorsten Lünborg [Sat, 22 Oct 2022 09:20:46 +0000 (11:20 +0200)] 
fix(runtime-core): custom-element: ensure number casting of camelCase props. (fix: #5374) (#5377)

2 years agofix(runtime-core): ensure props definition objects are not mutated during props norma...
Thorsten Lünborg [Sat, 22 Oct 2022 09:20:02 +0000 (11:20 +0200)] 
fix(runtime-core): ensure props definition objects are not mutated during props normalization (close: #6915) (#6916)

2 years agofix(reactivity): enable trigger when use str to set length of arr (#6810)
bcq028 [Fri, 21 Oct 2022 07:25:06 +0000 (15:25 +0800)] 
fix(reactivity): enable trigger when use str to set length of arr (#6810)

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2 years agofix(types): ensure createBlock() helper accepts Teleport and Supsense types (fix...
Thorsten Lünborg [Thu, 20 Oct 2022 19:45:51 +0000 (21:45 +0200)] 
fix(types): ensure createBlock() helper accepts Teleport and Supsense types (fix: #2855) (#5458)

Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
2 years agofix(runtime-core): watching multiple values - handle `undefined` as initial values...
Thorsten Lünborg [Thu, 20 Oct 2022 19:45:05 +0000 (21:45 +0200)] 
fix(runtime-core): watching multiple values - handle `undefined` as initial values (fix: #5032) (#5033)

2 years agorelease: v3.2.41 v3.2.41
Evan You [Fri, 14 Oct 2022 10:41:15 +0000 (18:41 +0800)] 
release: v3.2.41

2 years agofix(runtime-core): fix v-for ref reactivity behavior difference between prod and...
白雾三语 [Fri, 14 Oct 2022 09:23:01 +0000 (17:23 +0800)] 
fix(runtime-core): fix v-for ref reactivity behavior difference between prod and dev (#6714)

fix #6697

2 years agofix(runtime-core): ensure that errors in slot function execution do not affect block...
似水微寒 [Fri, 14 Oct 2022 08:08:32 +0000 (16:08 +0800)] 
fix(runtime-core): ensure that errors in slot function execution do not affect block tracking (#5670)

fix #5657

2 years agofix(runtime-dom): fix event timestamp check in iframes
Evan You [Fri, 14 Oct 2022 08:00:03 +0000 (16:00 +0800)] 
fix(runtime-dom): fix event timestamp check in iframes

fix #2513
fix #3933
close #5474

2 years agofix(effectScope): calling off() of a detached scope should not break currentScope
Evan You [Fri, 14 Oct 2022 02:53:23 +0000 (10:53 +0800)] 
fix(effectScope): calling off() of a detached scope should not break currentScope

2 years agobuild: enforce LF line break for built files
Evan You [Tue, 11 Oct 2022 09:54:22 +0000 (17:54 +0800)] 
build: enforce LF line break for built files

2 years agochore: symbols as helperNameMap index type (#6622)
世新 [Wed, 5 Oct 2022 21:26:16 +0000 (05:26 +0800)] 
chore: symbols as helperNameMap index type (#6622)

2 years agochore: more pr tips in contribution guide [ci skip]
Evan You [Wed, 5 Oct 2022 07:48:37 +0000 (15:48 +0800)] 
chore: more pr tips in contribution guide [ci skip]

2 years agochore: add cache for prettier and eslint (#6813)
三咲智子 [Tue, 4 Oct 2022 06:27:54 +0000 (14:27 +0800)] 
chore: add cache for prettier and eslint (#6813)

2 years agofix(devtools): use cleanupBuffer instead of modifying _buffer (#6812)
Eduardo San Martin Morote [Mon, 3 Oct 2022 09:29:34 +0000 (11:29 +0200)] 
fix(devtools): use cleanupBuffer instead of modifying _buffer (#6812)

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2 years agotypes: creating Teleport with h and RawSlots #2613 (#2614)
edison [Mon, 3 Oct 2022 08:40:37 +0000 (16:40 +0800)] 
types: creating Teleport with h and RawSlots #2613 (#2614)

2 years agorefactor(types): improve of type assertion (#4177)
webfansplz [Mon, 3 Oct 2022 08:37:54 +0000 (16:37 +0800)] 
refactor(types): improve of type assertion (#4177)

Co-authored-by: webfansplz <>
2 years agochore: eslint rules overrides (#6729)
pengbo [Mon, 3 Oct 2022 07:37:57 +0000 (15:37 +0800)] 
chore: eslint rules overrides (#6729)

Co-authored-by: pengbo43 <pengbo43@jd.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2 years agochore: format
Anthony Fu [Mon, 3 Oct 2022 07:30:43 +0000 (15:30 +0800)] 
chore: format

2 years agofix(devtools): avoid memory leak caused by devtools event buffer
Evan You [Wed, 28 Sep 2022 10:19:19 +0000 (18:19 +0800)] 
fix(devtools): avoid memory leak caused by devtools event buffer

fix #6591

2 years agorelease: v3.2.40 v3.2.40
Evan You [Wed, 28 Sep 2022 03:40:24 +0000 (11:40 +0800)] 
release: v3.2.40

2 years agofix(compat): list cjs dependencies for compat build
Evan You [Wed, 28 Sep 2022 03:05:07 +0000 (11:05 +0800)] 
fix(compat): list cjs dependencies for compat build

Previously the cjs build implicitly relies on hoisted versions of the
deps, causing it to resolve to newer versions of estree-walker when
present.

fix #6602

2 years agorefactor(compiler-core): extract props merging helper
Evan You [Wed, 28 Sep 2022 02:59:13 +0000 (10:59 +0800)] 
refactor(compiler-core): extract props merging helper

2 years agofix(compilre-core): dynamic v-on and static v-on should be merged (#6747)
Dunqing [Wed, 28 Sep 2022 02:46:55 +0000 (10:46 +0800)] 
fix(compilre-core): dynamic v-on and static v-on should be merged (#6747)

fix #6742

2 years agochore: use stricter slots type in createSlots
Evan You [Wed, 28 Sep 2022 02:38:19 +0000 (10:38 +0800)] 
chore: use stricter slots type in createSlots

2 years agoci: GitHub workflows security hardening (#6743)
Alex [Wed, 28 Sep 2022 02:36:47 +0000 (05:36 +0300)] 
ci: GitHub workflows security hardening (#6743)

2 years agotest(slots): ensure createSlots helper work with ssr slots (#6660)
Shigma [Wed, 28 Sep 2022 02:36:11 +0000 (10:36 +0800)] 
test(slots): ensure createSlots helper work with ssr slots (#6660)

2 years agofix(ssr): fix dynamic slot regression in ssr
Evan You [Wed, 28 Sep 2022 02:24:57 +0000 (10:24 +0800)] 
fix(ssr): fix dynamic slot regression in ssr

fix #6651

2 years agofix(ssr): fix hydration mismatch when entire multi-root template is stringified
Evan You [Wed, 28 Sep 2022 01:33:17 +0000 (09:33 +0800)] 
fix(ssr): fix hydration mismatch when entire multi-root template is stringified

fix #6637

2 years agofix(ssr): fix pre tag windows newline hydration mismatch
Evan You [Wed, 28 Sep 2022 00:45:32 +0000 (08:45 +0800)] 
fix(ssr): fix pre tag windows newline hydration mismatch

fix #6410

2 years agofix(ssr): respect case when rendering dynamic attrs on svg
Evan You [Tue, 27 Sep 2022 09:40:22 +0000 (17:40 +0800)] 
fix(ssr): respect case when rendering dynamic attrs on svg

fix #6755

2 years agofix(compiler-sfc): fix expression check for v-on with object literal value (#6652)
Travis [Tue, 27 Sep 2022 09:30:10 +0000 (17:30 +0800)] 
fix(compiler-sfc): fix expression check for v-on with object literal value (#6652)

fix #6650
fix #6674

2 years agofix(compiler-dom): remove v-bind boolean attribute with literal false value when...
某时橙 [Tue, 27 Sep 2022 09:18:29 +0000 (17:18 +0800)] 
fix(compiler-dom): remove v-bind boolean attribute with literal false value when stringifying (#6635)

fix #6617

2 years agofix(ssr): avoid ast.helpers duplication (#6664)
Anthony Fu [Tue, 27 Sep 2022 09:06:24 +0000 (17:06 +0800)] 
fix(ssr): avoid ast.helpers duplication (#6664)

2 years agofix(runtime-dom): fix unnecessary warning when setting coerced dom property value
Evan You [Tue, 27 Sep 2022 08:39:15 +0000 (16:39 +0800)] 
fix(runtime-dom): fix unnecessary warning when setting coerced dom property value

fix #6616

2 years agofix(runtime-core): avoid hoisted vnodes retaining detached DOM nodes
Evan You [Tue, 27 Sep 2022 08:20:43 +0000 (16:20 +0800)] 
fix(runtime-core): avoid hoisted vnodes retaining detached DOM nodes

fix #6591

2 years agochore: remove no longer used cloneNode implementation in nodeOps
Evan You [Tue, 27 Sep 2022 07:50:26 +0000 (15:50 +0800)] 
chore: remove no longer used cloneNode implementation in nodeOps

2 years agofix(runtime-core): remove prod-only hoisted clone behavior for manual DOM manipulatio...
Evan You [Tue, 27 Sep 2022 07:24:46 +0000 (15:24 +0800)] 
fix(runtime-core): remove prod-only hoisted clone behavior for manual DOM manipulation compat

fix #6727
fix #6739

2 years agofix(runtime-core): unset removed props first in full diff mode
Evan You [Tue, 27 Sep 2022 02:24:13 +0000 (10:24 +0800)] 
fix(runtime-core): unset removed props first in full diff mode

fix #6571

2 years agofix(runtime-core): Lifecycle hooks should support callbacks shared by reference ...
Thorsten Lünborg [Tue, 27 Sep 2022 02:18:22 +0000 (04:18 +0200)] 
fix(runtime-core): Lifecycle hooks should support callbacks shared by reference (#6687)

fix #6686

2 years agochore: fix typos (#6708)
Kid [Sat, 24 Sep 2022 07:13:39 +0000 (15:13 +0800)] 
chore: fix typos (#6708)

2 years agochore: allow sfc playground in iframes
Evan You [Wed, 21 Sep 2022 09:36:15 +0000 (17:36 +0800)] 
chore: allow sfc playground in iframes

2 years agochore: add headers for sfc playground
Evan You [Tue, 13 Sep 2022 08:27:44 +0000 (16:27 +0800)] 
chore: add headers for sfc playground

2 years agorelease: v3.2.39 v3.2.39
Evan You [Thu, 8 Sep 2022 02:12:39 +0000 (10:12 +0800)] 
release: v3.2.39

2 years agochore: fix sfc playground deps
Evan You [Thu, 8 Sep 2022 02:02:15 +0000 (10:02 +0800)] 
chore: fix sfc playground deps

2 years agofix(runtime-core): avoid double firing when mounting inside a watcher callback
Evan You [Thu, 8 Sep 2022 01:59:51 +0000 (09:59 +0800)] 
fix(runtime-core): avoid double firing when mounting inside a watcher callback

fix #6614

2 years agofix(ssr): reset current instance (#6184)
似水微寒 [Wed, 7 Sep 2022 09:08:52 +0000 (17:08 +0800)] 
fix(ssr): reset current instance (#6184)

fix #6110

2 years agochore: cache bust svg [ci skip]
Evan You [Thu, 1 Sep 2022 06:31:53 +0000 (14:31 +0800)] 
chore: cache bust svg [ci skip]

2 years agochore: special sponsor
Evan You [Thu, 1 Sep 2022 06:29:12 +0000 (14:29 +0800)] 
chore: special sponsor

2 years agochore: upgrade to vite 3
Evan You [Wed, 31 Aug 2022 07:24:31 +0000 (15:24 +0800)] 
chore: upgrade to vite 3

2 years agofix(types): support TypeScript 4.8
Evan You [Wed, 31 Aug 2022 06:02:48 +0000 (14:02 +0800)] 
fix(types): support TypeScript 4.8

fix #6554

2 years agofix(runtime-core): support extends template for runtime compiler (#6250)
edison [Wed, 31 Aug 2022 05:44:21 +0000 (13:44 +0800)] 
fix(runtime-core): support extends template for runtime compiler (#6250)

fix #6249

2 years agorelease: v3.2.38 v3.2.38
Evan You [Tue, 30 Aug 2022 08:02:01 +0000 (16:02 +0800)] 
release: v3.2.38

2 years agofix(slots): ensure different branches of dynamic slots have different keys
Evan You [Tue, 30 Aug 2022 07:55:09 +0000 (15:55 +0800)] 
fix(slots): ensure different branches of dynamic slots have different keys

fix #6202

2 years agofix(hmr): fix HMR for nested non-SFC components (#4077)
Yaroslav Sych [Tue, 30 Aug 2022 06:42:22 +0000 (09:42 +0300)] 
fix(hmr): fix HMR for nested non-SFC components (#4077)

2 years agofix(custom-element): fix event listeners with capital letter event names on custom...
Evan You [Tue, 30 Aug 2022 06:07:35 +0000 (14:07 +0800)] 
fix(custom-element): fix event listeners with capital letter event names on custom elements

close https://github.com/vuejs/docs/issues/1708
close https://github.com/vuejs/docs/pull/1890

2 years agofeat(custom-elements): automatically respect custom elements when compiling in browser
Evan You [Tue, 30 Aug 2022 03:30:52 +0000 (11:30 +0800)] 
feat(custom-elements): automatically respect custom elements when compiling in browser

2 years agofix(runtime-core): only set cache for object keys (#6266)
Daniel Roe [Mon, 29 Aug 2022 03:10:16 +0000 (04:10 +0100)] 
fix(runtime-core): only set cache for object keys (#6266)

2 years agofix(ssr): forward helpers provided by CSS `v-bind` (#6489)
Anthony Fu [Mon, 29 Aug 2022 03:09:21 +0000 (11:09 +0800)] 
fix(ssr): forward helpers provided by CSS `v-bind` (#6489)

fix #6201

2 years agofix(compiler-sfc): rewriteDefault for class with decorators (#6320) 6557/head
林烁壕 [Thu, 18 Aug 2022 08:07:55 +0000 (16:07 +0800)] 
fix(compiler-sfc): rewriteDefault for class with decorators (#6320)

fix #6318

2 years agofix(types): add types field for sub package exports
Evan You [Tue, 16 Aug 2022 23:13:25 +0000 (07:13 +0800)] 
fix(types): add types field for sub package exports

Add types field for vue/server-renderer and vue/compiler-sfc deep imports
which are necessary when using "moduleResolution": "nodenext"

2 years agofix(watch): flush:pre watchers should not fire if state change causes
Evan You [Mon, 15 Aug 2022 11:00:55 +0000 (19:00 +0800)] 
fix(watch): flush:pre watchers should not fire if state change causes
owner component to unmount

fix #2291

2 years agofix(reactivity): fix shallow/readonly edge cases
Evan You [Fri, 22 Jul 2022 03:10:52 +0000 (11:10 +0800)] 
fix(reactivity): fix shallow/readonly edge cases

3 years agofix(types): fix on* props incorrect type for TS 4.7 (#6216)
Carlos Rodrigues [Wed, 6 Jul 2022 08:28:25 +0000 (09:28 +0100)] 
fix(types): fix on* props incorrect type for TS 4.7 (#6216)

fix #6052

3 years agobuild(deps-dev): bump typescript to 4.7.4 (#6215)
Carlos Rodrigues [Wed, 6 Jul 2022 08:27:30 +0000 (09:27 +0100)] 
build(deps-dev): bump typescript to 4.7.4 (#6215)

3 years agofix(compiler-sfc): fix template usage check edge case for v-on statements
Evan You [Mon, 4 Jul 2022 03:49:47 +0000 (11:49 +0800)] 
fix(compiler-sfc): fix template usage check edge case for v-on statements

ref: https://github.com/vuejs/vue/issues/12591

3 years agochore: fix wrong condition in 3ff83694
Evan You [Thu, 30 Jun 2022 02:39:14 +0000 (10:39 +0800)] 
chore: fix wrong condition in 3ff83694

3 years agochore: bump node engine requirement to node 16.11 (#6183)
Thorsten Lünborg [Thu, 30 Jun 2022 03:05:40 +0000 (05:05 +0200)] 
chore: bump node engine requirement to node 16.11 (#6183)

3 years agofix(compiler-sfc): only add decorators-legacy parser plugin when new decorators plugi...
Evan You [Thu, 30 Jun 2022 02:39:14 +0000 (10:39 +0800)] 
fix(compiler-sfc): only add decorators-legacy parser plugin when new decorators plugin is not used

3 years agoworkflow(playground-sfc): bump @vue/repl
Evan You [Sun, 26 Jun 2022 03:03:32 +0000 (11:03 +0800)] 
workflow(playground-sfc): bump @vue/repl

3 years agoperf(ssr): improve isComment check (#6078)
Hitesh Khandelwal [Mon, 13 Jun 2022 03:06:15 +0000 (08:36 +0530)] 
perf(ssr): improve isComment check (#6078)

3 years agochore: add LICENSE file in reactivity-transform (#6072)
Stewart Haines [Mon, 13 Jun 2022 03:00:24 +0000 (13:00 +1000)] 
chore: add LICENSE file in reactivity-transform (#6072)

3 years agochore(sfc-playground): hide versions when click iframe & set color-scheme to dark...
木杉 [Mon, 13 Jun 2022 02:58:27 +0000 (10:58 +0800)] 
chore(sfc-playground): hide versions when click iframe & set color-scheme to dark (#6003)

3 years agorelease: v3.2.37 v3.2.37
Evan You [Mon, 6 Jun 2022 12:08:19 +0000 (20:08 +0800)] 
release: v3.2.37

3 years agofix(compiler-sfc): improve css v-bind parsing
Evan You [Mon, 6 Jun 2022 12:02:08 +0000 (20:02 +0800)] 
fix(compiler-sfc): improve css v-bind parsing

fix #6022

3 years agofix(sfc): avoid auto name inference leading to unwanted recursion
Evan You [Mon, 6 Jun 2022 09:36:47 +0000 (17:36 +0800)] 
fix(sfc): avoid auto name inference leading to unwanted recursion

fix #5965
fix #6027
fix #6029

3 years agofix(runtime-core): hydrate Static vnode (#6015)
liulinboyi [Thu, 26 May 2022 13:03:08 +0000 (21:03 +0800)] 
fix(runtime-core): hydrate Static vnode (#6015)

fix #6008

3 years agofix(ssr): hydration for transition wrapper components with empty slot content (#5995)
小刘(liulinboyi) [Mon, 6 Jun 2022 08:24:40 +0000 (16:24 +0800)] 
fix(ssr): hydration for transition wrapper components with empty slot content (#5995)

fix #5991

3 years agochore: remove stale todo comment [ci skip]
Evan You [Tue, 31 May 2022 09:02:07 +0000 (17:02 +0800)] 
chore: remove stale todo comment [ci skip]

3 years agochore: avoid redundant isRef check
Evan You [Sun, 29 May 2022 23:43:18 +0000 (07:43 +0800)] 
chore: avoid redundant isRef check

3 years agochore: remove duplicated test + add missing prop decl
Evan You [Sat, 28 May 2022 08:17:19 +0000 (16:17 +0800)] 
chore: remove duplicated test + add missing prop decl

3 years agobuild: include ssrUtils in server-renderer browser build
Evan You [Wed, 25 May 2022 05:52:54 +0000 (13:52 +0800)] 
build: include ssrUtils in server-renderer browser build

3 years agochore: adjust sfc playground button color
Evan You [Wed, 25 May 2022 05:48:20 +0000 (13:48 +0800)] 
chore: adjust sfc playground button color

3 years agoworkflow(sfc-playground): copy server-renderer browser build
Evan You [Wed, 25 May 2022 04:57:28 +0000 (12:57 +0800)] 
workflow(sfc-playground): copy server-renderer browser build

3 years agoworkflow: support ssr repros in sfc playground
Evan You [Wed, 25 May 2022 04:50:34 +0000 (12:50 +0800)] 
workflow: support ssr repros in sfc playground

3 years agobuild: distribute esm-browser build for the server renderer
Evan You [Wed, 25 May 2022 03:00:06 +0000 (11:00 +0800)] 
build: distribute esm-browser build for the server renderer

3 years agoworkflow: fix sfc playground persist light mode (#5999)
Phan An [Wed, 25 May 2022 02:11:54 +0000 (04:11 +0200)] 
workflow: fix sfc playground persist light mode (#5999)

3 years agochore(sfc-playground): style improvements (#6000)
Phan An [Tue, 24 May 2022 22:33:57 +0000 (00:33 +0200)] 
chore(sfc-playground): style improvements (#6000)

3 years agofix(ssr): ensure app can be unmounted when created with createSSRApp() (#5992)
Thorsten Lünborg [Tue, 24 May 2022 12:30:40 +0000 (14:30 +0200)] 
fix(ssr): ensure app  can be unmounted when created with createSSRApp() (#5992)

fix #5990