Commit Graph

7430 Commits

Author SHA1 Message Date
Evan You a51dd42dc6
test(vapor): refactor hydration tests to include compilation 2025-03-11 19:06:10 +08:00
Evan You 3a9d6f781c
fix(vapor): properly handle return when compiling vapor component for ssr 2025-03-11 19:05:46 +08:00
Evan You 9ff6177697
chore(vapor): remove no longer needed CREATE_TEXT_NODE IR type 2025-03-11 15:33:21 +08:00
Evan You f6d7b90195
wip(vapor): corresponding runtime behavior for if/for/slot-outlet post compiler change 2025-03-11 15:27:51 +08:00
Evan You 9722574744
wip(vapor): adjust children and block generation order for hydration 2025-03-11 15:09:36 +08:00
Evan You e3a33e6092
wip(vapor): component hydration 2025-03-10 16:18:02 +08:00
renovate[bot] fb0c3ca519
chore(deps): update all non-major dependencies (#13014)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 15:46:47 +08:00
renovate[bot] 87e0cd71c2
chore(deps): update build (#13015)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 15:46:31 +08:00
Evan You a2415de7bf
wip(vapor): text hydration tests 2025-03-09 20:14:03 +08:00
Evan You 97c40a69fb
refactor(vapor): refactor interpolation transform to make it hydration friendly 2025-03-07 20:49:21 +08:00
Evan You bb50640a70
test: fix missed warning assertion 2025-03-07 20:49:21 +08:00
Evan You e9d912a188
wip(vapor): more hydration 2025-03-07 20:49:21 +08:00
Evan You 64270ae1b4
wip(vapor): basic hydration 2025-03-07 20:49:20 +08:00
Cédric Exbrayat 6f85cbaaa4
test(reactivity): enable tests marked as todo (#13003)
PR #12349 marked these tests as todo. They are actually working now.
2025-03-07 16:36:32 +08:00
renovate[bot] 4b1931cf89
chore(deps): update all non-major dependencies (#12983)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-04 20:15:44 +08:00
renovate[bot] 9b708cf5f7
chore(deps): update test (#12984)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-04 08:26:16 +08:00
zhiyuanzmj bce7164bf0
feat(runtime-vapor): support functional component for defineVaporComponent (#12927) 2025-02-28 17:07:55 +08:00
zhiyuanzmj 5452404b71
feat(compiler-vapor): add jsx support for setText and createTextNode (#12893) 2025-02-28 17:06:19 +08:00
zhiyuanzmj a95b5e70e6
feat(runtime-vapor): expose VaporFragment for jsx-vapor (#12890) 2025-02-28 17:03:11 +08:00
edison ad5bb16709
fix(compiler-vapor): properly cache variable used in object property shorthand (#12815) 2025-02-28 17:02:52 +08:00
edison 05d9b429a4
fix(vapor): handle next host node for vapor component (#12820) 2025-02-28 17:02:11 +08:00
edison fb484f4f3c
fix(vapor): handle vapor mode with empty script (#12910) 2025-02-28 16:59:02 +08:00
Johnson Chu b7977d4d75 refactor(reactivity): sync alien-signals 1.0.4 changes (#12791) 2025-02-27 11:07:35 +08:00
zhiyuanzmj e1d26b18ce
ci(pkg-pr-new): add vapor branch (#12944) 2025-02-26 08:05:21 +08:00
edison 8bd9cdb77e
Revert "ci(pkg-pr-new): add 'vapor' branch for pull-request" (#12943)
This reverts commit d18c248691.
2025-02-25 20:39:50 +08:00
zhiyuanzmj d18c248691
ci(pkg-pr-new): add 'vapor' branch for pull-request (#12941) 2025-02-25 15:24:18 +08:00
Johnson Chu 1ac0499b7d
refactor(reactivity): sync alien-signals 1.0.4 changes (#12791) 2025-02-25 15:23:25 +08:00
renovate[bot] 2dd2feab9c
chore(deps): update dependency @types/node to ^22.13.5 (#12932)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 09:37:17 +08:00
renovate[bot] 79d5d6cf4d
chore(deps): update build (#12931)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 09:36:45 +08:00
Sunny 604d08760e
test(reactivity): add tests for reactive and non-reactive objects (#12576) 2025-02-20 17:00:31 +08:00
daiwei 84663ccc2c Merge branch 'main' into minor 2025-02-20 13:50:31 +08:00
btea 5e776ae97e
chore: add `onlyBuiltDependencies` list (#12912) 2025-02-19 20:49:51 +08:00
FatRadish 295b5ec19b
fix(reactivity): ensure markRaw objects are not reactive (#12824)
close #12807
2025-02-19 14:25:30 +08:00
inottn 0c8dd94ef9
fix(ci): use `with` instead of `assert` syntax (#12901) 2025-02-18 08:18:34 +08:00
renovate[bot] efed3ebee6
chore(deps): update pnpm to v10 (#12892)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: edison <daiwei521@126.com>
2025-02-17 16:58:53 +08:00
edison 2785d70382
chore(deps): upgrade node to 22.14.0 (#12895)
to fix Netlify deploy error, see https://github.com/pnpm/pnpm/issues/9029#issuecomment-2650658230
2025-02-17 16:50:47 +08:00
edison cbf5821028
chore(deps): fix MappingItem type (#12891) 2025-02-17 15:07:10 +08:00
renovate[bot] 4a1884f8dc
chore(deps): update all non-major dependencies (#12886)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-17 14:50:22 +08:00
renovate[bot] ce0554fc2c
chore(deps): update test (#12885)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-17 14:42:37 +08:00
renovate[bot] 633327e14d
chore(deps): update build (#12884)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-17 14:27:25 +08:00
renovate[bot] 4f4425e0df
chore(deps): update lint (#12887)
* chore(deps): update lint

* [autofix.ci] apply automated fixes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-17 14:26:56 +08:00
daiwei 61604f6375 Merge remote-tracking branch 'origin/main' into minor 2025-02-13 09:43:47 +08:00
Evan You c6fe9f9417
wip(vapor): new impl + test for vapor custom directive 2025-02-12 17:27:04 +08:00
edison 1b50febfe9
perf(vapor): use nthChild instead of nextn (#12847) 2025-02-12 16:43:26 +08:00
Evan You 10993af9e1
chore: vscode setting 2025-02-12 16:41:53 +08:00
Evan You 8254b5f5ef
test(vapor): test case for dom event handling 2025-02-12 16:41:35 +08:00
Evan You d48706336a
chore: fix mishandled regex const check 2025-02-12 15:49:32 +08:00
Evan You 4121de4960
refactor(vapor): reorg node op helpers + remove children helper 2025-02-12 15:47:14 +08:00
Evan You 242cc15fa6
refactor(vapor): use bitwise flags for v-for runtime optimizations 2025-02-12 15:40:09 +08:00
edison d6a6ec13ce
fix(runtime-core): prevent unmounted vnode from being inserted during transition leave (#12862)
close #12860
2025-02-12 15:30:08 +08:00