]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
13 months agochore: fix lint
Evan You [Thu, 30 May 2024 03:25:39 +0000 (11:25 +0800)] 
chore: fix lint

13 months agochore: Merge branch 'main' into minor
Evan You [Thu, 30 May 2024 03:21:12 +0000 (11:21 +0800)] 
chore: Merge branch 'main' into minor

13 months agofix(watch): support traversing symbol properties in deep watcher (#10969)
skirtle [Thu, 30 May 2024 03:03:44 +0000 (04:03 +0100)] 
fix(watch): support traversing symbol properties in deep watcher (#10969)

close #402

13 months agoci: omit pr number (#11033)
Kevin Deng 三咲智子 [Thu, 30 May 2024 02:51:55 +0000 (10:51 +0800)] 
ci: omit pr number (#11033)

In the latest version of `maintain-one-comment`, pr number can be set automatically
https://github.com/actions-cool/maintain-one-comment/pull/9

13 months agofix(teleport): do not throw target warning when teleport is disabled (#9818)
Yi Yang [Thu, 30 May 2024 02:51:30 +0000 (10:51 +0800)] 
fix(teleport): do not throw target warning when teleport is disabled (#9818)

13 months agochore: disallow optional chaining (#10919)
Kevin Deng 三咲智子 [Wed, 29 May 2024 07:03:20 +0000 (15:03 +0800)] 
chore: disallow optional chaining (#10919)

13 months agotest: improve test coverage (#9203)
远方os [Tue, 28 May 2024 09:36:29 +0000 (17:36 +0800)] 
test: improve test coverage (#9203)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
13 months agofix(compiler-core): should set `<math>` tag as block to retain MathML namespace after...
linzhe [Tue, 28 May 2024 06:26:29 +0000 (14:26 +0800)] 
fix(compiler-core): should set `<math>` tag as block to retain MathML namespace after patching (#10891)

Co-authored-by: linzhe141 <linzhe141@qq.com>
13 months agotypes(runtime-core): add `OnCleanup` parameter type in `this.$watch` (#9371)
远方os [Mon, 27 May 2024 16:25:07 +0000 (00:25 +0800)] 
types(runtime-core): add `OnCleanup` parameter type in `this.$watch` (#9371)

13 months agochore(deps): update lint (#11025)
renovate[bot] [Mon, 27 May 2024 10:09:17 +0000 (18:09 +0800)] 
chore(deps): update lint (#11025)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
13 months agochore(deps): update build (#11021)
renovate[bot] [Mon, 27 May 2024 10:01:56 +0000 (18:01 +0800)] 
chore(deps): update build (#11021)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
13 months agodx(runtime-core): log the component object when warning about missing template/render...
skirtle [Mon, 27 May 2024 10:01:25 +0000 (11:01 +0100)] 
dx(runtime-core): log the component object when warning about missing template/render function (#10263)

13 months agorefactor(compiler-sfc): defineOptions avoid redundant conditional judgments (#9453)
Simon He [Mon, 27 May 2024 09:59:29 +0000 (17:59 +0800)] 
refactor(compiler-sfc): defineOptions avoid redundant conditional judgments (#9453)

13 months agochore(reactivity): improve readonly/reactive warning message (#9095)
chenfan [Mon, 27 May 2024 09:31:11 +0000 (17:31 +0800)] 
chore(reactivity): improve readonly/reactive warning message (#9095)

13 months agofeat(compiler-core): support `Symbol` global in template expressions (#9069)
4xi-2000 [Mon, 27 May 2024 09:21:54 +0000 (17:21 +0800)] 
feat(compiler-core): support `Symbol` global in template expressions (#9069)

13 months agorefactor: replace `Object.assign` with `extend` (#8988)
远方os [Mon, 27 May 2024 09:08:14 +0000 (17:08 +0800)] 
refactor: replace `Object.assign` with `extend` (#8988)

13 months agorefactor(runtime-core): prevent users from manually calling lifecycle hook function...
远方os [Mon, 27 May 2024 09:07:38 +0000 (17:07 +0800)] 
refactor(runtime-core): prevent users from manually calling lifecycle hook function (#8731)

13 months agorefactor(server-renderer): slotScopeId scopeId uses optional argument syntax (#7891)
白雾三语 [Mon, 27 May 2024 09:06:48 +0000 (17:06 +0800)] 
refactor(server-renderer): slotScopeId scopeId uses optional argument syntax (#7891)

13 months agochore(sfc-playground): add pnpm usage to download template (#7815)
Travis [Mon, 27 May 2024 09:06:04 +0000 (17:06 +0800)] 
chore(sfc-playground): add pnpm usage to download template (#7815)

13 months agofix(compat): correctly transform non-identifier expressions in legacy filter syntax...
Haoqun Jiang [Mon, 27 May 2024 09:04:48 +0000 (17:04 +0800)] 
fix(compat): correctly transform non-identifier expressions in legacy filter syntax (#10896)

close #10852

13 months agochore: run prettier
Evan You [Mon, 27 May 2024 09:03:03 +0000 (17:03 +0800)] 
chore: run prettier

13 months agochore(types): added `getSSRProps` type argument (#5691)
nandi95 [Mon, 27 May 2024 08:56:59 +0000 (09:56 +0100)] 
chore(types): added `getSSRProps` type argument (#5691)

13 months agofix(deps): update compiler (#11024)
renovate[bot] [Mon, 27 May 2024 08:51:43 +0000 (16:51 +0800)] 
fix(deps): update compiler (#11024)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
13 months agofix(ssr): fix hydration for node with empty text node (#7216)
edison [Mon, 27 May 2024 08:50:49 +0000 (16:50 +0800)] 
fix(ssr): fix hydration for node with empty text node (#7216)

13 months agochore(deps): update all non-major dependencies (#11020)
renovate[bot] [Mon, 27 May 2024 08:27:59 +0000 (16:27 +0800)] 
chore(deps): update all non-major dependencies (#11020)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
13 months agofix(compiler-core): make `ForIteratorExpression`'s `returns` property optional (...
Ray [Mon, 27 May 2024 08:15:54 +0000 (16:15 +0800)] 
fix(compiler-core): make `ForIteratorExpression`'s `returns` property optional (#11011)

14 months agochore: correct the comments in KeepAlive.ts (#11005)
Haoqun Jiang [Fri, 24 May 2024 08:43:13 +0000 (16:43 +0800)] 
chore: correct the comments in KeepAlive.ts (#11005)

14 months agofix(KeepAlive): properly cache nested Suspense subtree (#10912)
edison [Fri, 24 May 2024 08:37:38 +0000 (16:37 +0800)] 
fix(KeepAlive): properly cache nested Suspense subtree (#10912)

* fix(KeepAlive): properly cache nested Suspense subtree

* test: add test case

* chore: add comments

* Update KeepAlive.ts

14 months agofix(custom-element): disconnect MutationObserver in nextTick in case that custom...
白雾三语 [Tue, 21 May 2024 16:14:02 +0000 (00:14 +0800)] 
fix(custom-element): disconnect MutationObserver in nextTick in case that custom elements are moved (#10613)

Closes #10610

14 months agochore: dedupe deps
Evan You [Tue, 21 May 2024 08:32:58 +0000 (16:32 +0800)] 
chore: dedupe deps

14 months agoci: fix RCE vulnerability in file overwrite (#10985)
Kevin Deng 三咲智子 [Mon, 20 May 2024 23:05:08 +0000 (07:05 +0800)] 
ci: fix RCE vulnerability in file overwrite (#10985)

Special thanks to @RedYetiDev

14 months agotest: update coverage exclude (#10915)
btea [Mon, 20 May 2024 16:38:15 +0000 (00:38 +0800)] 
test: update coverage exclude (#10915)

14 months agochore(deps): update build (#10981)
renovate[bot] [Mon, 20 May 2024 13:42:35 +0000 (21:42 +0800)] 
chore(deps): update build (#10981)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agochore(deps): update all non-major dependencies (#10980)
renovate[bot] [Mon, 20 May 2024 13:40:41 +0000 (21:40 +0800)] 
chore(deps): update all non-major dependencies (#10980)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agofix: correct the type of `<details>`'s `onToggle` event handler (#10938)
btea [Mon, 20 May 2024 11:42:34 +0000 (19:42 +0800)] 
fix: correct the type of `<details>`'s `onToggle` event handler (#10938)

Fixes #10928

14 months agofix(compiler-core): change v-for key type to match Object.keys (#10963)
Alexandre Ferrera [Mon, 20 May 2024 11:33:18 +0000 (13:33 +0200)] 
fix(compiler-core): change v-for key type to match Object.keys (#10963)

close #8819

14 months agofix(shared): ensure invokeArrayFns handles undefined arguments (#10869)
Tycho [Mon, 20 May 2024 11:28:22 +0000 (19:28 +0800)] 
fix(shared): ensure invokeArrayFns handles undefined arguments (#10869)

Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
Close #10863

14 months agodocs: set propper highlighting for commit convention regex (#10949) [skip ci] 10961/head
OrbisK [Wed, 15 May 2024 10:03:54 +0000 (12:03 +0200)] 
docs: set propper highlighting for commit convention regex (#10949) [skip ci]

14 months agochore(deps): update dependency esbuild to ^0.21.2 (#10925)
renovate[bot] [Mon, 13 May 2024 15:34:53 +0000 (23:34 +0800)] 
chore(deps): update dependency esbuild to ^0.21.2 (#10925)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agochore(deps): update lint (#10926)
renovate[bot] [Mon, 13 May 2024 09:13:46 +0000 (17:13 +0800)] 
chore(deps): update lint (#10926)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agofix(deps): update compiler to ^7.24.5 (#10924)
renovate[bot] [Mon, 13 May 2024 09:10:34 +0000 (17:10 +0800)] 
fix(deps): update compiler to ^7.24.5 (#10924)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agochore(deps): update all non-major dependencies (#10923)
renovate[bot] [Mon, 13 May 2024 09:09:13 +0000 (17:09 +0800)] 
chore(deps): update all non-major dependencies (#10923)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agofix(compile-sfc): register props destructure rest id as setup bindings (#10888)
edison [Wed, 8 May 2024 23:43:17 +0000 (07:43 +0800)] 
fix(compile-sfc): register props destructure rest id as setup bindings (#10888)

close #10885

14 months agorelease: v3.4.27 v3.4.27
Evan You [Mon, 6 May 2024 23:59:48 +0000 (16:59 -0700)] 
release: v3.4.27

14 months agofix(compiler-sfc): handle keyof operator (#10874)
Tycho [Mon, 6 May 2024 23:16:14 +0000 (07:16 +0800)] 
fix(compiler-sfc): handle keyof operator (#10874)

close #10871

14 months agofix(compat): include legacy scoped slots (#10868)
Stanislav Lashmanov [Mon, 6 May 2024 23:05:55 +0000 (03:05 +0400)] 
fix(compat): include legacy scoped slots (#10868)

close #8869

14 months agofix(hydration): handle edge case of style mismatch without style attribute
Evan You [Mon, 6 May 2024 22:38:16 +0000 (15:38 -0700)] 
fix(hydration): handle edge case of style mismatch without style attribute

ref #10786

14 months agorefactor(types): use explicit modifiers type (#10856)
btea [Mon, 6 May 2024 22:23:04 +0000 (06:23 +0800)] 
refactor(types): use explicit modifiers type (#10856)

14 months agochore(deps): update build (#10867)
renovate[bot] [Mon, 6 May 2024 22:22:14 +0000 (06:22 +0800)] 
chore(deps): update build (#10867)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agochore(deps): update all non-major dependencies (#10866)
renovate[bot] [Mon, 6 May 2024 22:14:19 +0000 (06:14 +0800)] 
chore(deps): update all non-major dependencies (#10866)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agorelease: v3.5.0-alpha.2 v3.5.0-alpha.2
Evan You [Sat, 4 May 2024 00:03:13 +0000 (17:03 -0700)] 
release: v3.5.0-alpha.2

14 months agochore: add internal flag to work around ts issue
Evan You [Fri, 3 May 2024 23:57:47 +0000 (16:57 -0700)] 
chore: add internal flag to work around ts issue

14 months agofix(types): fix app.component() typing with inline defineComponent
Evan You [Fri, 3 May 2024 23:29:23 +0000 (16:29 -0700)] 
fix(types): fix app.component() typing with inline defineComponent

close #10843

14 months agochore: re-export deprecated component options types
Evan You [Fri, 3 May 2024 23:22:13 +0000 (16:22 -0700)] 
chore: re-export deprecated component options types

14 months agotest: defineOptions dts tests (#10849)
Cédric Exbrayat [Fri, 3 May 2024 20:27:23 +0000 (22:27 +0200)] 
test: defineOptions dts tests (#10849)

14 months agotest(watch): watching a reactive array (#10848)
skirtle [Fri, 3 May 2024 20:26:49 +0000 (21:26 +0100)] 
test(watch): watching a reactive array (#10848)

14 months agofix(compiler-dom): restrict createStaticVNode usage with option elements (#10846)
skirtle [Wed, 1 May 2024 16:03:17 +0000 (17:03 +0100)] 
fix(compiler-dom): restrict createStaticVNode usage with option elements (#10846)

close #6568
close #7434

14 months agofix(types): fix compat with generated types that rely on CreateComponentPublicInstance
Evan You [Tue, 30 Apr 2024 17:09:06 +0000 (10:09 -0700)] 
fix(types): fix compat with generated types that rely on CreateComponentPublicInstance

close #10842

14 months agofix(types): props in defineOptions type should be optional
Evan You [Tue, 30 Apr 2024 15:26:39 +0000 (08:26 -0700)] 
fix(types): props in defineOptions type should be optional

close #10841

14 months agorefactor(perf): assign value in `if` block (#10836)
Guo [Mon, 29 Apr 2024 10:57:56 +0000 (18:57 +0800)] 
refactor(perf): assign value in `if` block (#10836)

14 months agofix(compiler-core): add support for arrow aysnc function with unbracketed (#5789)
huangcheng [Mon, 29 Apr 2024 10:55:58 +0000 (18:55 +0800)] 
fix(compiler-core): add support for arrow aysnc function with unbracketed (#5789)

close #5788

14 months agofeat(runtime-core): add app.onUnmount() for registering cleanup functions (#4619)
Thorsten Lünborg [Mon, 29 Apr 2024 10:47:56 +0000 (12:47 +0200)] 
feat(runtime-core): add app.onUnmount() for registering cleanup functions (#4619)

close #4516

14 months agochore: Merge branch 'main' into minor
Evan You [Mon, 29 Apr 2024 10:46:20 +0000 (18:46 +0800)] 
chore: Merge branch 'main' into minor

14 months agochore(workflow): link to minor branch changelog for pre-releases [ci skip]
Evan You [Mon, 29 Apr 2024 10:14:02 +0000 (18:14 +0800)] 
chore(workflow): link to minor branch changelog for pre-releases [ci skip]

14 months agotest: fix test case name
Evan You [Mon, 29 Apr 2024 10:12:27 +0000 (18:12 +0800)] 
test: fix test case name

14 months agorelease: v3.4.26 v3.4.26
Evan You [Mon, 29 Apr 2024 08:36:54 +0000 (16:36 +0800)] 
release: v3.4.26

14 months agofix(compiler-core): fix bail constant for globals
Evan You [Mon, 29 Apr 2024 08:21:25 +0000 (16:21 +0800)] 
fix(compiler-core): fix bail constant for globals

14 months agofix(runtime-core): properly handle inherit transition during clone VNode (#10809)
edison [Mon, 29 Apr 2024 06:39:14 +0000 (14:39 +0800)] 
fix(runtime-core): properly handle inherit transition during clone VNode (#10809)

close #3716
close #10497
close #4091

14 months agofix(runtime-core): attrs should be readonly in functional components (#10767)
skirtle [Mon, 29 Apr 2024 06:37:11 +0000 (07:37 +0100)] 
fix(runtime-core): attrs should be readonly in functional components (#10767)

14 months agorefactor: simplify traverse() for deep watchers (#10795)
skirtle [Mon, 29 Apr 2024 06:29:55 +0000 (07:29 +0100)] 
refactor: simplify traverse() for deep watchers (#10795)

14 months agochore(deps): update lint (#10831)
renovate[bot] [Mon, 29 Apr 2024 06:28:27 +0000 (14:28 +0800)] 
chore(deps): update lint (#10831)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agorefactor: remove optional chaining (#10792)
skirtle [Mon, 29 Apr 2024 06:04:05 +0000 (07:04 +0100)] 
refactor: remove optional chaining (#10792)

14 months agochore(deps): update build (#10830)
renovate[bot] [Mon, 29 Apr 2024 06:02:50 +0000 (14:02 +0800)] 
chore(deps): update build (#10830)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agochore(deps): update test (#10829)
renovate[bot] [Mon, 29 Apr 2024 05:59:00 +0000 (13:59 +0800)] 
chore(deps): update test (#10829)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agochore(deps): update all non-major dependencies (#10828)
renovate[bot] [Mon, 29 Apr 2024 05:58:46 +0000 (13:58 +0800)] 
chore(deps): update all non-major dependencies (#10828)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agofix(Transition): re-fix #10620 (#10832)
edison [Mon, 29 Apr 2024 05:50:49 +0000 (13:50 +0800)] 
fix(Transition): re-fix #10620 (#10832)

revert #10632
re-fix #10620
close #10827

14 months agofix(compiler-core): remove unnecessary constant bail check
Evan You [Mon, 29 Apr 2024 04:21:24 +0000 (12:21 +0800)] 
fix(compiler-core): remove unnecessary constant bail check

member expressions and call expressions can only happen when there are identifiers

close #10807

14 months agofix(runtime-core): ensure slot compiler marker writable (#10825)
edison [Mon, 29 Apr 2024 03:47:40 +0000 (11:47 +0800)] 
fix(runtime-core): ensure slot compiler marker writable (#10825)

close #10818

14 months agotypes: match CompatVue app.use type to standard version
Evan You [Mon, 29 Apr 2024 02:58:19 +0000 (10:58 +0800)] 
types: match CompatVue app.use type to standard version

close #5760

14 months agorelease: v3.5.0-alpha.1 v3.5.0-alpha.1
Evan You [Mon, 29 Apr 2024 02:49:53 +0000 (10:49 +0800)] 
release: v3.5.0-alpha.1

14 months agofeat(compiler-sfc): enable reactive props destructure by default
Evan You [Mon, 29 Apr 2024 02:45:48 +0000 (10:45 +0800)] 
feat(compiler-sfc): enable reactive props destructure by default

Also allow prohibiting usage via config.
RFC: https://github.com/vuejs/rfcs/discussions/502

14 months agofeat(types): provide internal options for directly using user types in language tools...
Evan You [Sat, 27 Apr 2024 03:48:37 +0000 (11:48 +0800)] 
feat(types): provide internal options for directly using user types in language tools (#10801)

15 months agoworkflow(sfc-playground): fix file renaming by bumping repl
Evan You [Fri, 26 Apr 2024 01:26:13 +0000 (09:26 +0800)] 
workflow(sfc-playground): fix file renaming by bumping repl

close #10791

15 months agotypes(defineComponent): support for GlobalComponents, typed Directives and respect...
Carlos Rodrigues [Thu, 25 Apr 2024 08:04:03 +0000 (09:04 +0100)] 
types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399)

close #3367

15 months agofeat(transition): support directly nesting Teleport inside Transition (#6548)
edison [Thu, 25 Apr 2024 07:19:53 +0000 (15:19 +0800)] 
feat(transition): support directly nesting Teleport inside Transition (#6548)

close #5836

15 months agochore: Merge branch 'main' into minor
Evan You [Thu, 25 Apr 2024 02:31:09 +0000 (10:31 +0800)] 
chore: Merge branch 'main' into minor

15 months agofix(reactivity): fix call sequence of ontrigger in effect (#10501)
Wick [Thu, 25 Apr 2024 02:30:51 +0000 (10:30 +0800)] 
fix(reactivity): fix call sequence of ontrigger in effect (#10501)

15 months agorelease: v3.4.25 v3.4.25
Evan You [Wed, 24 Apr 2024 10:37:52 +0000 (18:37 +0800)] 
release: v3.4.25

15 months agoci: use single thread for e2e tests on ci
Evan You [Wed, 24 Apr 2024 10:31:45 +0000 (18:31 +0800)] 
ci: use single thread for e2e tests on ci

15 months agofix(runtime-core): use normal object as internal prototype for attrs and slots
Evan You [Wed, 24 Apr 2024 10:28:49 +0000 (18:28 +0800)] 
fix(runtime-core): use normal object as internal prototype for attrs and slots

to allow use of hasOwnProperty()
ref https://github.com/vuejs/core/commit/6df53d85a207986128159d88565e6e7045db2add#r141304923

15 months agofix(defineModel): align prod mode runtime type generation with defineProps
Evan You [Wed, 24 Apr 2024 10:21:57 +0000 (18:21 +0800)] 
fix(defineModel): align prod mode runtime type generation with defineProps

close #10769

15 months agorefactor: should throw errors in computed getters
Evan You [Wed, 24 Apr 2024 09:27:51 +0000 (17:27 +0800)] 
refactor: should throw errors in computed getters

15 months agofix(runtime-core): properly get keepAlive child (#10772)
edison [Wed, 24 Apr 2024 08:32:39 +0000 (16:32 +0800)] 
fix(runtime-core): properly get keepAlive child (#10772)

close #10771

15 months agochore: Merge branch 'main' into minor
Evan You [Mon, 22 Apr 2024 15:32:45 +0000 (23:32 +0800)] 
chore: Merge branch 'main' into minor

15 months agorelease: v3.4.24 v3.4.24
Evan You [Mon, 22 Apr 2024 15:29:58 +0000 (23:29 +0800)] 
release: v3.4.24

15 months agofix(compiler-core): properly parse await expressions in edge cases
Evan You [Mon, 22 Apr 2024 15:21:18 +0000 (23:21 +0800)] 
fix(compiler-core): properly parse await expressions in edge cases

close #10754

15 months agotest: revert to threads
Evan You [Mon, 22 Apr 2024 15:20:38 +0000 (23:20 +0800)] 
test: revert to threads

vmThreads mode swallows console.logs during test debugging

15 months agofix(compiler-ssr): fix hydration mismatch for conditional slot in transition
Evan You [Mon, 22 Apr 2024 14:23:09 +0000 (22:23 +0800)] 
fix(compiler-ssr): fix hydration mismatch for conditional slot in transition

close #10743

15 months agotest: use pool: vmThreads
Evan You [Mon, 22 Apr 2024 13:05:26 +0000 (21:05 +0800)] 
test: use pool: vmThreads

15 months agotest: fix test case broken by b93f264
Evan You [Mon, 22 Apr 2024 13:05:00 +0000 (21:05 +0800)] 
test: fix test case broken by b93f264