Commit Graph

7109 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng f6ce3f9d43
Merge tag 'v3.5.13' 2024-11-16 02:48:30 +08:00
三咲智子 Kevin Deng d84510844f
refactor(runtime-vapor): extract fallback component 2024-11-16 02:43:56 +08:00
三咲智子 Kevin Deng 886440d240
test(runtime-vapor): tidy custom directives test 2024-11-16 02:36:38 +08:00
三咲智子 Kevin Deng 30f6eec3c1
refactor(runtime-vapor): re-organize block 2024-11-16 02:24:42 +08:00
Evan You 6eb29d345a
release: v3.5.13 2024-11-15 22:45:28 +08:00
edison 4f8d807822
fix(ssr): handle initial selected state for select with v-model + v-for option (#12399)
close #12395
2024-11-15 22:32:39 +08:00
edison 983eb50a17
fix(templateRef): set ref on cached async component which wrapped in KeepAlive (#12290)
close #4999
close #5004
2024-11-15 22:32:22 +08:00
edison da7ad5e3d2
fix(ssr): avoid updating subtree of async component if it is resolved (#12363)
close #12362
2024-11-15 22:11:21 +08:00
Bulat Aikaev 1f75d4e6df
fix(ssr): ensure v-text updates correctly with custom directives in SSR output (#12311)
close #12309
2024-11-15 22:02:50 +08:00
Tadas 4b479db61d
fix(transition): reflow before leave-active class after leave-from (#12288)
re-fix #2593
2024-11-15 21:36:21 +08:00
linzhe a20a4cb36a
fix(hydration): the component vnode's el should be updated when a mismatch occurs. (#12255)
close #12253
2024-11-15 18:18:58 +08:00
Evan You 352bc88c1b
fix(custom-element): avoid triggering mutationObserver when relecting props
close #12214
close #12215
2024-11-15 17:21:49 +08:00
Evan You 10ab8c0e7b
chore(playground): reset version when opening local playground from reproduction 2024-11-15 17:04:25 +08:00
zhangenming d637bd6c01
perf(reactivity): do not track inner key `__v_skip`` (#11690) 2024-11-15 11:00:24 +08:00
edison 2d78539da3
fix(compiler-dom): properly stringify template string style (#12392)
close #12391
2024-11-15 10:56:08 +08:00
Evan You 54812eacaa
test: add test case for transition memory leaks
from https://github.com/vuejs/core/pull/12190
2024-11-15 10:50:26 +08:00
edison 1022eabaa1
fix(types): defineEmits w/ interface declaration (#12343)
close #8457
2024-11-15 10:46:59 +08:00
edison 660132df6c
fix(Transition): fix transition memory leak edge case (#12182)
close #12181
2024-11-15 10:40:26 +08:00
edison 4aeff318bd
chore(deps): update dependency postcss-selector-parser to v7 (#12289) 2024-11-15 10:37:55 +08:00
edison 70b44ca835
chore(reactivity): remove unecessary array copy (#12400) 2024-11-15 10:37:24 +08:00
三咲智子 Kevin Deng 59975ed36b
feat(runtime-vapor): export createBranch 2024-11-15 04:49:06 +08:00
三咲智子 Kevin Deng 3da5ecfb5f
fix(runtime-vapor): add scope id for fallback component 2024-11-15 04:10:59 +08:00
三咲智子 Kevin Deng c223eb2684
fix(runtime-vapor): switch to fallback when slot is empty 2024-11-15 03:57:46 +08:00
三咲智子 Kevin Deng 7f3ca46523
fix(runtime-vapor): scope id for `v-if` 2024-11-15 01:21:30 +08:00
三咲智子 Kevin Deng faa3e2c0d2
fix(runtime-vapor): `v-if` with inherit attrs 2024-11-15 00:42:54 +08:00
三咲智子 Kevin Deng 7a98f4b565
fix(runtime-vapor): invoke getter for static attrs 2024-11-14 23:59:37 +08:00
Evan You a49858f3ee
build: strip pure comments in minified builds 2024-11-14 23:33:58 +08:00
edison 8bff142f99
fix(teleport): handle deferred teleport update before mounted (#12168)
close #12161
2024-11-14 20:55:18 +08:00
三咲智子 Kevin Deng af75b64b40
feat: scope id for child component 2024-11-14 20:52:23 +08:00
三咲智子 Kevin Deng 247617612a
feat(vapor): merge inherited attrs with current attrs 2024-11-14 20:21:20 +08:00
linzhe c4312f9c71
fix(runtime-dom): set css vars on update to handle child forcing reflow in onMount (#11561) 2024-11-14 15:58:28 +08:00
Evan You 2d5c5e25e9
fix(runtime-dom): set css vars before user onMounted hooks
close #11533
2024-11-14 15:50:19 +08:00
linzhe 99009eee0e
fix(compiler-core): handle v-memo + v-for with functional key (#12014)
close #12013
2024-11-14 15:14:29 +08:00
edison 37300fc261
fix(v-once): setting hasOnce to current block only when in v-once (#12374)
close #12371
2024-11-14 14:53:55 +08:00
edison bee2f5ee62
fix(reactivity): release nested effects/scopes on effect scope stop (#12373)
close #12370
2024-11-14 14:24:22 +08:00
Evan You 21932840ea
fix(reactiivty): avoid unnecessary watcher effect removal from inactive scope
close #5783
close #5806
2024-11-14 14:12:41 +08:00
Evan You e9f3e6b546
workflow: bench against bundled dist file to avoid import access overhead
ref https://github.com/vitest-dev/vitest/issues/6903
2024-11-14 08:38:48 +08:00
Evan You 3656364b06
chore: add well-known funding manifest urls [ci skip] 2024-11-14 00:22:44 +08:00
Kevin Deng 三咲智子 c91586528a
feat(runtime-vapor): fallback component (#232)
* feat(runtime-vapor): fallback component

* fix
2024-11-13 16:53:44 +08:00
三咲智子 Kevin Deng f85ac40f6c
chore(compiler-vapor): fix type error 2024-11-13 16:36:23 +08:00
三咲智子 Kevin Deng 39f85ecc21
fix(runtime-vapor): don't overridden attrs in static template
closes #253
2024-11-13 16:16:21 +08:00
Evan You 506ed4e75f
chore: enable format on save in workspace settings 2024-11-13 15:31:17 +08:00
三咲智子 Kevin Deng 5f92ff8ca2
feat(vapor): dynamic component 2024-11-13 14:56:39 +08:00
Evan You 83430a35f4
workflow: improve bench scripts 2024-11-13 14:13:32 +08:00
三咲智子 Kevin Deng fab9917ae4
fix(runtime-vapor): component self-reference 2024-11-13 11:00:07 +08:00
三咲智子 Kevin Deng 114d501524
feat(compiler-vapor): support implicit prop in template 2024-11-13 10:12:12 +08:00
三咲智子 Kevin Deng 51d9bbe7f0
fix(compiler-vapor): nested component 2024-11-13 09:28:15 +08:00
三咲智子 Kevin Deng 8ea6e4fb22
fix(vue-vapor): remove compiler version 2024-11-13 09:08:03 +08:00
Kevin Deng 三咲智子 c574faa8f3
refactor(runtime-vapor): simplify directive mechanism (#278)
* feat: custom directive v2

* wip

* fix: directive

* fix

* refactor

* refactor: remove ref for el
2024-11-13 08:41:02 +08:00
三咲智子 Kevin Deng eed7d1d4fd
refactor(compiler-vapor): drop browser build 2024-11-13 08:38:38 +08:00