]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
7 months agowip: cache normalized options for dev check
Evan You [Wed, 4 Dec 2024 15:50:59 +0000 (23:50 +0800)] 
wip: cache normalized options for dev check

7 months agowip: fix value casting
Evan You [Wed, 4 Dec 2024 15:47:28 +0000 (23:47 +0800)] 
wip: fix value casting

7 months agowip: use proxy for static props too
Evan You [Wed, 4 Dec 2024 15:02:15 +0000 (23:02 +0800)] 
wip: use proxy for static props too

7 months agochore: vapor playground preview script
Evan You [Wed, 4 Dec 2024 14:25:50 +0000 (22:25 +0800)] 
chore: vapor playground preview script

7 months agowip(vapor): align compiler with new props runtime behavior
Evan You [Wed, 4 Dec 2024 12:55:10 +0000 (20:55 +0800)] 
wip(vapor): align compiler with new props runtime behavior

7 months agochore: notes
Evan You [Wed, 4 Dec 2024 07:24:52 +0000 (15:24 +0800)] 
chore: notes

7 months agowip: make sfc playground work after refactor + support dev mode
Evan You [Wed, 4 Dec 2024 07:07:40 +0000 (15:07 +0800)] 
wip: make sfc playground work after refactor + support dev mode

7 months agorefactor: remove @vue/vapor package
Evan You [Wed, 4 Dec 2024 06:22:26 +0000 (14:22 +0800)] 
refactor: remove @vue/vapor package

7 months agorefactor: remove runtime-shared
Evan You [Wed, 4 Dec 2024 05:50:54 +0000 (13:50 +0800)] 
refactor: remove runtime-shared

7 months agowip(vapor): reuse createApp from core
Evan You [Wed, 4 Dec 2024 03:54:26 +0000 (11:54 +0800)] 
wip(vapor): reuse createApp from core

7 months agowip: vapor warning context integration
Evan You [Wed, 4 Dec 2024 02:53:29 +0000 (10:53 +0800)] 
wip: vapor warning context integration

7 months agochore: playground
Evan You [Tue, 3 Dec 2024 14:55:48 +0000 (22:55 +0800)] 
chore: playground

7 months agowip: emits
Evan You [Tue, 3 Dec 2024 14:49:28 +0000 (22:49 +0800)] 
wip: emits

7 months agorefactor: make core warning and errorHandling vdom/vapor generic
Evan You [Tue, 3 Dec 2024 13:43:18 +0000 (21:43 +0800)] 
refactor: make core warning and errorHandling vdom/vapor generic

7 months agowip: filter emits
Evan You [Tue, 3 Dec 2024 09:20:07 +0000 (17:20 +0800)] 
wip: filter emits

7 months agorefactor: expose scheduler for vapor
Evan You [Tue, 3 Dec 2024 08:58:07 +0000 (16:58 +0800)] 
refactor: expose scheduler for vapor

7 months agorefactor: reuse props logic from core
Evan You [Tue, 3 Dec 2024 08:48:28 +0000 (16:48 +0800)] 
refactor: reuse props logic from core

7 months agowip: attr fallthrough
Evan You [Tue, 3 Dec 2024 05:21:10 +0000 (13:21 +0800)] 
wip: attr fallthrough

7 months agowip: inheritAttrs
Evan You [Mon, 2 Dec 2024 16:30:33 +0000 (00:30 +0800)] 
wip: inheritAttrs

7 months agowip: props casting
Evan You [Mon, 2 Dec 2024 15:51:48 +0000 (23:51 +0800)] 
wip: props casting

7 months agochore: avoid toHandlers not treeshaken
Evan You [Mon, 2 Dec 2024 13:00:52 +0000 (21:00 +0800)] 
chore: avoid toHandlers not treeshaken

7 months agochore: disable modulePreload
Evan You [Mon, 2 Dec 2024 13:00:34 +0000 (21:00 +0800)] 
chore: disable modulePreload

7 months agowip: props handling
Evan You [Mon, 2 Dec 2024 12:35:45 +0000 (20:35 +0800)] 
wip: props handling

7 months agowip: save
Evan You [Mon, 2 Dec 2024 01:36:49 +0000 (09:36 +0800)] 
wip: save

7 months agochore: remove unnecessary config in dev config [ci skip]
Evan You [Sun, 1 Dec 2024 10:21:26 +0000 (18:21 +0800)] 
chore: remove unnecessary config in dev config [ci skip]

7 months agoperf: use class for SetupContext
Evan You [Sun, 1 Dec 2024 09:00:38 +0000 (17:00 +0800)] 
perf: use class for SetupContext

7 months agochore: use actual production build for playground build and preview
Evan You [Sun, 1 Dec 2024 09:37:17 +0000 (17:37 +0800)] 
chore: use actual production build for playground build and preview

7 months agochore: revert temporarily commented lines
Evan You [Sun, 1 Dec 2024 09:25:25 +0000 (17:25 +0800)] 
chore: revert temporarily commented lines

7 months agochore: fix test
Evan You [Sun, 1 Dec 2024 09:16:34 +0000 (17:16 +0800)] 
chore: fix test

7 months agoperf(runtime-vapor): optimize `setDOMProp` on static tag + key (#294)
edison [Sun, 1 Dec 2024 09:04:42 +0000 (17:04 +0800)] 
perf(runtime-vapor): optimize `setDOMProp` on static tag + key (#294)

7 months agoperf(vapor): improve component instantiation by using class
Evan You [Sun, 1 Dec 2024 08:41:51 +0000 (16:41 +0800)] 
perf(vapor): improve component instantiation by using class

Mounting 10k components went from ~100ms to ~60ms with this change.

7 months agoperf(runtime-vapor): `setup()` returning object is only needed in __DEV__ (HMR) ...
Rizumu Ayaka [Sat, 30 Nov 2024 10:32:16 +0000 (18:32 +0800)] 
perf(runtime-vapor): `setup()` returning object is only needed in __DEV__ (HMR) (#296)

7 months agoperf(runtime-vapor): use `setAttr` or `setDOMProp` instead of `setDynamicProp` when...
edison [Wed, 27 Nov 2024 08:55:45 +0000 (16:55 +0800)] 
perf(runtime-vapor): use `setAttr` or `setDOMProp` instead of `setDynamicProp` when possible (#291)

Co-authored-by: Doctor Wu <doctorwu@moego.pet>
7 months agorefactor(vapor): drop `v-memo` (#288)
Kevin Deng 三咲智子 [Sun, 17 Nov 2024 20:51:15 +0000 (04:51 +0800)] 
refactor(vapor): drop `v-memo` (#288)

* refactor(runtime-vapor): drop memo

* drop

7 months agofeat(vapor): support more magic vars
三咲智子 Kevin Deng [Fri, 15 Nov 2024 22:58:26 +0000 (06:58 +0800)] 
feat(vapor): support more magic vars

7 months agofix(vapor): destructure in `v-for`
三咲智子 Kevin Deng [Fri, 15 Nov 2024 22:33:38 +0000 (06:33 +0800)] 
fix(vapor): destructure in `v-for`

7 months agofix(compiler-vapor): stringify number prop value
三咲智子 Kevin Deng [Fri, 15 Nov 2024 20:23:21 +0000 (04:23 +0800)] 
fix(compiler-vapor): stringify number prop value

7 months agofix(runtime-vapor): attach scope id only to root sub-element
三咲智子 Kevin Deng [Fri, 15 Nov 2024 20:03:33 +0000 (04:03 +0800)] 
fix(runtime-vapor): attach scope id only to root sub-element

7 months agofix(runtime-vapor): export types from reactivity
三咲智子 Kevin Deng [Fri, 15 Nov 2024 19:51:08 +0000 (03:51 +0800)] 
fix(runtime-vapor): export types from reactivity

7 months agoMerge tag 'v3.5.13'
三咲智子 Kevin Deng [Fri, 15 Nov 2024 18:48:30 +0000 (02:48 +0800)] 
Merge tag 'v3.5.13'

7 months agorefactor(runtime-vapor): extract fallback component
三咲智子 Kevin Deng [Fri, 15 Nov 2024 18:43:56 +0000 (02:43 +0800)] 
refactor(runtime-vapor): extract fallback component

7 months agotest(runtime-vapor): tidy custom directives test
三咲智子 Kevin Deng [Fri, 15 Nov 2024 18:36:38 +0000 (02:36 +0800)] 
test(runtime-vapor): tidy custom directives test

7 months agorefactor(runtime-vapor): re-organize block
三咲智子 Kevin Deng [Fri, 15 Nov 2024 18:24:42 +0000 (02:24 +0800)] 
refactor(runtime-vapor): re-organize block

7 months agorelease: v3.5.13 v3.5.13
Evan You [Fri, 15 Nov 2024 14:45:28 +0000 (22:45 +0800)] 
release: v3.5.13

7 months agofix(ssr): handle initial selected state for select with v-model + v-for option (...
edison [Fri, 15 Nov 2024 14:32:39 +0000 (22:32 +0800)] 
fix(ssr): handle initial selected state for select with v-model + v-for option (#12399)

close #12395

7 months agofix(templateRef): set ref on cached async component which wrapped in KeepAlive (...
edison [Fri, 15 Nov 2024 14:32:22 +0000 (22:32 +0800)] 
fix(templateRef): set ref on cached async component which wrapped in KeepAlive (#12290)

close #4999
close #5004

7 months agofix(ssr): avoid updating subtree of async component if it is resolved (#12363)
edison [Fri, 15 Nov 2024 14:11:21 +0000 (22:11 +0800)] 
fix(ssr): avoid updating subtree of async component if it is resolved (#12363)

close #12362

7 months agofix(ssr): ensure v-text updates correctly with custom directives in SSR output (...
Bulat Aikaev [Fri, 15 Nov 2024 14:02:50 +0000 (09:02 -0500)] 
fix(ssr): ensure v-text updates correctly with custom directives in SSR output (#12311)

close #12309

7 months agofix(transition): reflow before leave-active class after leave-from (#12288)
Tadas [Fri, 15 Nov 2024 13:36:21 +0000 (15:36 +0200)] 
fix(transition): reflow before leave-active class after leave-from (#12288)

re-fix #2593

7 months agofix(hydration): the component vnode's el should be updated when a mismatch occurs...
linzhe [Fri, 15 Nov 2024 10:18:58 +0000 (18:18 +0800)] 
fix(hydration): the component vnode's el should be updated when a mismatch occurs. (#12255)

close #12253

7 months agofix(custom-element): avoid triggering mutationObserver when relecting props
Evan You [Fri, 15 Nov 2024 09:20:59 +0000 (17:20 +0800)] 
fix(custom-element): avoid triggering mutationObserver when relecting props

close #12214
close #12215

7 months agochore(playground): reset version when opening local playground from reproduction
Evan You [Fri, 15 Nov 2024 09:04:11 +0000 (17:04 +0800)] 
chore(playground): reset version when opening local playground from reproduction

7 months agoperf(reactivity): do not track inner key `__v_skip`` (#11690)
zhangenming [Fri, 15 Nov 2024 03:00:24 +0000 (11:00 +0800)] 
perf(reactivity): do not track inner key `__v_skip`` (#11690)

7 months agofix(compiler-dom): properly stringify template string style (#12392)
edison [Fri, 15 Nov 2024 02:56:08 +0000 (10:56 +0800)] 
fix(compiler-dom): properly stringify template string style (#12392)

close #12391

7 months agotest: add test case for transition memory leaks
Evan You [Fri, 15 Nov 2024 02:50:26 +0000 (10:50 +0800)] 
test: add test case for transition memory leaks

from https://github.com/vuejs/core/pull/12190

7 months agofix(types): defineEmits w/ interface declaration (#12343)
edison [Fri, 15 Nov 2024 02:46:59 +0000 (10:46 +0800)] 
fix(types): defineEmits w/ interface declaration (#12343)

close #8457

7 months agofix(Transition): fix transition memory leak edge case (#12182)
edison [Fri, 15 Nov 2024 02:40:26 +0000 (10:40 +0800)] 
fix(Transition): fix transition memory leak edge case (#12182)

close #12181

7 months agochore(deps): update dependency postcss-selector-parser to v7 (#12289)
edison [Fri, 15 Nov 2024 02:37:55 +0000 (10:37 +0800)] 
chore(deps): update dependency postcss-selector-parser to v7 (#12289)

7 months agochore(reactivity): remove unecessary array copy (#12400)
edison [Fri, 15 Nov 2024 02:37:24 +0000 (10:37 +0800)] 
chore(reactivity): remove unecessary array copy (#12400)

7 months agofeat(runtime-vapor): export createBranch
三咲智子 Kevin Deng [Thu, 14 Nov 2024 20:49:06 +0000 (04:49 +0800)] 
feat(runtime-vapor): export createBranch

7 months agofix(runtime-vapor): add scope id for fallback component
三咲智子 Kevin Deng [Thu, 14 Nov 2024 20:10:59 +0000 (04:10 +0800)] 
fix(runtime-vapor): add scope id for fallback component

7 months agofix(runtime-vapor): switch to fallback when slot is empty
三咲智子 Kevin Deng [Thu, 14 Nov 2024 19:47:35 +0000 (03:47 +0800)] 
fix(runtime-vapor): switch to fallback when slot is empty

7 months agofix(runtime-vapor): scope id for `v-if`
三咲智子 Kevin Deng [Thu, 14 Nov 2024 17:21:30 +0000 (01:21 +0800)] 
fix(runtime-vapor): scope id for `v-if`

7 months agofix(runtime-vapor): `v-if` with inherit attrs
三咲智子 Kevin Deng [Thu, 14 Nov 2024 16:42:54 +0000 (00:42 +0800)] 
fix(runtime-vapor): `v-if` with inherit attrs

7 months agofix(runtime-vapor): invoke getter for static attrs
三咲智子 Kevin Deng [Thu, 14 Nov 2024 15:59:37 +0000 (23:59 +0800)] 
fix(runtime-vapor): invoke getter for static attrs

7 months agobuild: strip pure comments in minified builds
Evan You [Thu, 14 Nov 2024 15:33:58 +0000 (23:33 +0800)] 
build: strip pure comments in minified builds

7 months agofix(teleport): handle deferred teleport update before mounted (#12168)
edison [Thu, 14 Nov 2024 12:55:18 +0000 (20:55 +0800)] 
fix(teleport): handle deferred teleport update before mounted (#12168)

close #12161

7 months agofeat: scope id for child component
三咲智子 Kevin Deng [Thu, 14 Nov 2024 12:52:19 +0000 (20:52 +0800)] 
feat: scope id for child component

7 months agofeat(vapor): merge inherited attrs with current attrs
三咲智子 Kevin Deng [Thu, 14 Nov 2024 12:01:10 +0000 (20:01 +0800)] 
feat(vapor): merge inherited attrs with current attrs

7 months agofix(runtime-dom): set css vars on update to handle child forcing reflow in onMount...
linzhe [Thu, 14 Nov 2024 07:58:28 +0000 (15:58 +0800)] 
fix(runtime-dom): set css vars on update to handle child forcing reflow in onMount (#11561)

7 months agofix(runtime-dom): set css vars before user onMounted hooks
Evan You [Thu, 14 Nov 2024 07:49:39 +0000 (15:49 +0800)] 
fix(runtime-dom): set css vars before user onMounted hooks

close #11533

7 months agofix(compiler-core): handle v-memo + v-for with functional key (#12014)
linzhe [Thu, 14 Nov 2024 07:14:29 +0000 (15:14 +0800)] 
fix(compiler-core): handle v-memo + v-for with functional key (#12014)

close #12013

7 months agofix(v-once): setting hasOnce to current block only when in v-once (#12374)
edison [Thu, 14 Nov 2024 06:53:55 +0000 (14:53 +0800)] 
fix(v-once): setting hasOnce to current block only when in v-once (#12374)

close #12371

7 months agofix(reactivity): release nested effects/scopes on effect scope stop (#12373)
edison [Thu, 14 Nov 2024 06:24:22 +0000 (14:24 +0800)] 
fix(reactivity): release nested effects/scopes on effect scope stop (#12373)

close #12370

7 months agofix(reactiivty): avoid unnecessary watcher effect removal from inactive scope
Evan You [Thu, 14 Nov 2024 06:12:41 +0000 (14:12 +0800)] 
fix(reactiivty): avoid unnecessary watcher effect removal from inactive scope

close #5783
close #5806

7 months agoworkflow: bench against bundled dist file to avoid import access overhead
Evan You [Thu, 14 Nov 2024 00:38:48 +0000 (08:38 +0800)] 
workflow: bench against bundled dist file to avoid import access overhead

ref https://github.com/vitest-dev/vitest/issues/6903

7 months agochore: add well-known funding manifest urls [ci skip]
Evan You [Wed, 13 Nov 2024 16:22:38 +0000 (00:22 +0800)] 
chore: add well-known funding manifest urls [ci skip]

7 months agofeat(runtime-vapor): fallback component (#232)
Kevin Deng 三咲智子 [Wed, 13 Nov 2024 08:53:44 +0000 (16:53 +0800)] 
feat(runtime-vapor): fallback component (#232)

* feat(runtime-vapor): fallback component

* fix

7 months agochore(compiler-vapor): fix type error
三咲智子 Kevin Deng [Wed, 13 Nov 2024 08:36:23 +0000 (16:36 +0800)] 
chore(compiler-vapor): fix type error

7 months agofix(runtime-vapor): don't overridden attrs in static template
三咲智子 Kevin Deng [Wed, 13 Nov 2024 07:45:28 +0000 (15:45 +0800)] 
fix(runtime-vapor): don't overridden attrs in static template

closes #253

7 months agochore: enable format on save in workspace settings
Evan You [Wed, 13 Nov 2024 07:31:17 +0000 (15:31 +0800)] 
chore: enable format on save in workspace settings

7 months agofeat(vapor): dynamic component
三咲智子 Kevin Deng [Wed, 13 Nov 2024 06:56:39 +0000 (14:56 +0800)] 
feat(vapor): dynamic component

7 months agoworkflow: improve bench scripts
Evan You [Wed, 13 Nov 2024 06:13:32 +0000 (14:13 +0800)] 
workflow: improve bench scripts

7 months agofix(runtime-vapor): component self-reference
三咲智子 Kevin Deng [Wed, 13 Nov 2024 02:57:22 +0000 (10:57 +0800)] 
fix(runtime-vapor): component self-reference

7 months agofeat(compiler-vapor): support implicit prop in template
三咲智子 Kevin Deng [Wed, 13 Nov 2024 02:12:12 +0000 (10:12 +0800)] 
feat(compiler-vapor): support implicit prop in template

7 months agofix(compiler-vapor): nested component
三咲智子 Kevin Deng [Wed, 13 Nov 2024 01:28:15 +0000 (09:28 +0800)] 
fix(compiler-vapor): nested component

7 months agofix(vue-vapor): remove compiler version
三咲智子 Kevin Deng [Wed, 13 Nov 2024 01:00:50 +0000 (09:00 +0800)] 
fix(vue-vapor): remove compiler version

7 months agorefactor(runtime-vapor): simplify directive mechanism (#278)
Kevin Deng 三咲智子 [Wed, 13 Nov 2024 00:41:02 +0000 (08:41 +0800)] 
refactor(runtime-vapor): simplify directive mechanism (#278)

* feat: custom directive v2

* wip

* fix: directive

* fix

* refactor

* refactor: remove ref for el

7 months agorefactor(compiler-vapor): drop browser build
三咲智子 Kevin Deng [Wed, 13 Nov 2024 00:21:16 +0000 (08:21 +0800)] 
refactor(compiler-vapor): drop browser build

8 months agoMerge remote-tracking branch 'upstream/main'
Evan You [Mon, 11 Nov 2024 09:05:52 +0000 (17:05 +0800)] 
Merge remote-tracking branch 'upstream/main'

8 months agoworkflow(benchmark): warmup run (#287)
Rizumu Ayaka [Mon, 11 Nov 2024 09:01:53 +0000 (17:01 +0800)] 
workflow(benchmark): warmup run (#287)

8 months agoworkflow: fix inaccurate test timer in benchmark (#286)
Rizumu Ayaka [Mon, 11 Nov 2024 09:01:44 +0000 (17:01 +0800)] 
workflow: fix inaccurate test timer in benchmark (#286)

8 months agofix(deps): update dependency postcss to ^8.4.48 (#12356)
renovate[bot] [Mon, 11 Nov 2024 02:20:54 +0000 (10:20 +0800)] 
fix(deps): update dependency postcss to ^8.4.48 (#12356)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
8 months agochore(deps): update build (#12357)
renovate[bot] [Mon, 11 Nov 2024 02:17:49 +0000 (10:17 +0800)] 
chore(deps): update build (#12357)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
8 months agochore: migrate renovate config (#12354)
renovate[bot] [Sun, 10 Nov 2024 19:17:52 +0000 (03:17 +0800)] 
chore: migrate renovate config (#12354)

* chore(config): migrate config .github/renovate.json5

* chore: fix lint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
8 months agochore(deps): update dependency @types/node to v22 (#12320)
renovate[bot] [Mon, 4 Nov 2024 06:38:05 +0000 (14:38 +0800)] 
chore(deps): update dependency @types/node to v22 (#12320)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
8 months agochore(deps): update lint (#12319)
renovate[bot] [Mon, 4 Nov 2024 06:19:14 +0000 (14:19 +0800)] 
chore(deps): update lint (#12319)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
8 months agochore(deps): update all non-major dependencies (#12316)
renovate[bot] [Mon, 4 Nov 2024 01:25:09 +0000 (09:25 +0800)] 
chore(deps): update all non-major dependencies (#12316)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
8 months agochore(deps): update build (#12317)
renovate[bot] [Mon, 4 Nov 2024 01:09:02 +0000 (09:09 +0800)] 
chore(deps): update build (#12317)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
8 months agochore(deps): update pnpm to v9.12.3 (#12278)
renovate[bot] [Mon, 28 Oct 2024 05:44:08 +0000 (13:44 +0800)] 
chore(deps): update pnpm to v9.12.3 (#12278)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>