Commit Graph

5868 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng 75c8ff5cb7
fix(runtime-vapor): update old value even if no beforeUpdate hook 2024-02-07 20:38:26 +08:00
三咲智子 Kevin Deng 4be349ebc4
feat(runtime-vapor): implement vModelCheckbox & vModelDynamic 2024-02-07 20:14:50 +08:00
三咲智子 Kevin Deng f4f467811a
fix(runtime-vapor): only update oldValue in beforeUpdate hook 2024-02-07 19:47:56 +08:00
三咲智子 Kevin Deng 94272c6163
fix(runtime-vapor): retrieve prop value from element 2024-02-07 19:24:06 +08:00
三咲智子 Kevin Deng b7e6e1eceb
fix(compiler-vapor): hoist template with inline option 2024-02-07 17:56:32 +08:00
三咲智子 Kevin Deng 99da2e5abe
refactor(compiler-vapor): remove runtime fragment
returns array directly
2024-02-07 17:29:04 +08:00
三咲智子 Kevin Deng 823e47ca62
refactor(compiler-vapor): simplify register template 2024-02-07 16:45:06 +08:00
三咲智子 Kevin Deng 68b0caf495
fix(compiler-vapor): convert to display string for each text 2024-02-07 04:40:49 +08:00
三咲智子 Kevin Deng 14813cec1e
refactor(compiler-vapor): combine interpolation & text 2024-02-07 04:29:53 +08:00
三咲智子 Kevin Deng 38865c7ca1
refactor: simplify event handler 2024-02-07 01:37:07 +08:00
三咲智子 Kevin Deng ef12b99d0c
refactor(compiler-vapor): code fragment with falsy value 2024-02-06 20:56:22 +08:00
三咲智子 Kevin Deng 9ffd4b6c75
refactor(compiler-vapor): simplify renderEffect with a single statement 2024-02-06 20:46:12 +08:00
三咲智子 Kevin Deng d10a1a3c08
refactor(compiler-vapor): hoist template generator 2024-02-06 20:34:06 +08:00
三咲智子 Kevin Deng a15c4555b3
fix(template-explorer): correct commit link 2024-02-06 20:28:37 +08:00
ygj6 c4a567b93d
test(compiler-vapor): v-bind="obj" (#119) 2024-02-06 20:26:55 +08:00
三咲智子 Kevin Deng 77743006b8
refactor(runtime-vapor): update selected option 2024-02-06 20:24:59 +08:00
三咲智子 Kevin Deng 3c3b56ac04
Merge remote-tracking branch 'upstream/main' 2024-02-06 20:24:11 +08:00
Johnson Chu 0bced13ee5
fix(reactivity): avoid infinite recursion from side effects in computed getter (#10232)
close #10214
2024-02-06 18:44:09 +08:00
Johnson Chu 6c7e0bd88f
fix(reactivity): handle `MaybeDirty` recurse (#10187)
close #10185
2024-02-06 18:23:56 +08:00
zhoulixiang 91f058a90c
fix(compiler-core): support v-bind shorthand syntax for dynamic slot name (#10218)
close #10213
2024-02-06 17:54:06 +08:00
yangxiuxiu f0b5f7ed8d
fix(hydration): fix SFC style v-bind hydration mismatch warnings (#10250)
close #10215
2024-02-06 17:38:41 +08:00
Doctor Wu f31d782e46
fix(runtime-dom): fix option selected update failed (#10200)
close #10194
close #10267
2024-02-06 16:58:51 +08:00
FireBushtree 7c881f853c
test(runtime-vapor): dom/patchProp.ts special check (#117)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-06 12:35:31 +08:00
三咲智子 Kevin Deng 6b20c84896
Merge remote-tracking branch 'upstream/main' 2024-02-06 02:37:28 +08:00
Rizumu Ayaka ba3ca6a304
feat(compiler-vapor): props merging (#118)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-06 02:35:52 +08:00
Rizumu Ayaka 75b0937d31
feat(compiler-vapor): complex identifier rewriting with vOn (#113)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-05 22:37:09 +08:00
Evan You 759a9518b4 chore(deps): pin rollup to 4.9.2
4.9.3 introduced a regression in https://github.com/rollup/rollup/pull/5313
which changes the `export * from` codegen and breaks Node.js' re-export
detection.
2024-02-05 12:21:23 +08:00
Evan You a012e39b37 chore(deps): pin @rollup/plugin-replace to 5.0.4
5.0.5 introduced a regression that causes replacements in the truthy
branch of ternaries to be skipped: https://github.com/rollup/plugins/issues/1619

This causes the enum replacements to fail and leads to bundle size
regressions.
2024-02-05 12:14:28 +08:00
Evan You d27ee59274 chore(playground): update download template deps 2024-02-05 12:09:08 +08:00
Evan You 2ebafc26a7 chore(playground): bump @vitejs/plugin-vue 2024-02-05 12:07:15 +08:00
renovate[bot] dbc4677161
chore(deps): update build (#10271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:37:25 +08:00
renovate[bot] 3d4e8e9278
chore(deps): update dependency puppeteer to ~21.11.0 (#10272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:37:07 +08:00
三咲智子 Kevin Deng 53eee72c3a
fix(runtime-core): avoid inlining isShallow (#10238) 2024-02-05 11:36:17 +08:00
三咲智子 Kevin Deng 718fc86f45
chore: remove missing reactivity transform file (#10255)
prev: https://github.com/vuejs/core/pull/9321
2024-02-05 11:35:29 +08:00
renovate[bot] 336bb65820
fix(deps): update compiler (#10269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:34:34 +08:00
renovate[bot] b0a669c1af
chore(deps): update all non-major dependencies (#10268)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:34:23 +08:00
ubugeeei e9e7fe414b
feat(runtime-vapor): component props validator (#114) 2024-02-05 03:29:59 +08:00
三咲智子 Kevin Deng 95782883b3
fix(runtime-vapor): special check for setDOMProp 2024-02-05 03:28:32 +08:00
三咲智子 Kevin Deng 2229d3ce20
fix(compiler-vapor): treat attribute as dynamic if has dynamic key prop 2024-02-05 03:28:32 +08:00
三咲智子 Kevin Deng 6d098b6871
feat(compiler-vapor): add source mapping for object key 2024-02-05 03:03:23 +08:00
ygj6 d573a3d2f2
feat: support v-bind="{}" (#106)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-05 02:44:30 +08:00
三咲智子 Kevin Deng 920b36490e
test(runtime-vapor): pass raw props 2024-02-04 22:51:08 +08:00
三咲智子 Kevin Deng ed954bcd33
feat(runtime-vapor): support v-model w/ select tag 2024-02-04 22:49:59 +08:00
ubugeeei cde91e4fb5
feat(runtime-vapor): component emits (#103)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-04 21:18:57 +08:00
ubugeeei ea5f7ec076
test(runtime-vapor): component props (#99)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-04 20:46:08 +08:00
三咲智子 Kevin Deng 8dec243dc1
fix(reactivity): keep previous effect scope 2024-02-03 06:15:51 +08:00
三咲智子 Kevin Deng be65b98a33
refactor: remove update function from compiler 2024-02-03 05:02:07 +08:00
三咲智子 Kevin Deng 5630a583c4
chore: update readme 2024-02-03 04:40:50 +08:00
三咲智子 Kevin Deng 5f2907b071
chore(template-explorer): update title 2024-02-03 04:27:16 +08:00
三咲智子 Kevin Deng e7e3b1c73e
revert: "refactor: id rewrite of vapor v-for"
This reverts commit 31f497b1d1.
2024-02-01 19:12:29 +08:00