Commit Graph

7272 Commits

Author SHA1 Message Date
Evan You aa28e9c496
refactor: reuse htmlNesting from compiler-dom 2025-01-31 22:32:05 +08:00
Evan You e5af194486
wip(vapor): simplified builtin directive v-show 2025-01-31 22:29:51 +08:00
Evan You 9f1025d854
wip(vapor): createDynamicComponent 2025-01-31 17:04:56 +08:00
Evan You cad7f0e583
wip(vapor): improve v-for codegen + minor optimization 2025-01-31 13:14:16 +08:00
Evan You 2b0731a43d
test(vapor): add test cases for v-for destructure with rest and default value 2025-01-31 11:24:00 +08:00
Evan You a13db00c59
chore: mark test as todo 2025-01-30 22:45:41 +08:00
Evan You 34a0ad7499
wip(vapor): optimize v-for getItem 2025-01-30 22:36:41 +08:00
Evan You c89e01efbf
wip(vapor): support default values in v-for destructure 2025-01-30 21:51:48 +08:00
Evan You 95cf749f8b
wip(vapor): support rest elements in v-for destructure 2025-01-30 21:15:25 +08:00
Evan You 5d88c53cd3
wip(compiler-vapor): support expressions in idMap 2025-01-30 20:45:44 +08:00
Evan You 1ff6b136db
refactor: remove prefixIdentifier and mode usage in compiler-vapor
vapor compilation always assume module mode + prefixIdentifier: true
2025-01-30 20:10:40 +08:00
Evan You fca1aef896
wip: v-for destructure expression rewrite (part 1) 2025-01-30 20:06:41 +08:00
Evan You e49c5a17da
test(vapor): enable more test cases 2025-01-30 10:12:36 +08:00
Evan You 6979952613
refactor(reactivity): improve shallowRef treeshaking 2025-01-29 21:35:13 +08:00
Evan You 181d3403f7
wip(vapor): v-for 2025-01-29 19:07:40 +08:00
Evan You e6ba91cfac
perf: avoid now() overhead during dev measure calls 2025-01-29 15:53:20 +08:00
Evan You 1e9062c075
refactor(reactivity): avoid setting up debug flags on falsy onTrigger value 2025-01-29 15:45:54 +08:00
Evan You 674151c9b9
chore: Merge branch 'minor' into vapor 2025-01-29 15:37:54 +08:00
edison 568e824200
fix(runtime-vapor): properly mount component only with template in production mode (#12727)
Co-authored-by: Evan You <evan@vuejs.org>
2025-01-29 12:30:00 +08:00
edison 733d6fc13d
test: update test cases (#12678) 2025-01-29 12:13:42 +08:00
edison 7b222990ae
test(runtime-vapor): port tests from rendererComponent.spec.ts (#12677) 2025-01-29 12:12:52 +08:00
edison 139448556d
refactor(runtime-core): useModel work with vapor mode (#12666) 2025-01-29 12:12:44 +08:00
Evan You 8008509aac
refactor: fix type errors 2025-01-29 12:08:32 +08:00
edison fd2917c8b6
fix(runtime-vapor): properly handle dynamic slot work with v-if (#12660) 2025-01-29 10:21:30 +08:00
edison b6d539997b
fix(runtime-vapor): properly normalize emits options if emits is an array (#12614) 2025-01-28 17:04:48 +08:00
edison 0b7f508432
refactor(runtime-vapor): cache event handlers on element (#12610) 2025-01-28 17:03:42 +08:00
daiwei edc79e7052 Merge branch 'main' into minor 2025-01-24 09:23:17 +08:00
Tycho 29216853d4
chore(compiler-sfc): remove unused variable (#12750) 2025-01-21 09:28:04 +08:00
renovate[bot] 0f12fb7ea9
fix(deps): update dependency postcss to ^8.5.1 (#12747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 09:43:23 +08:00
renovate[bot] 08e153c48c
chore(deps): update lint (#12746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 09:43:06 +08:00
renovate[bot] f2263229ff
chore(deps): update dependency puppeteer to ~24.1.0 (#12745)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 09:42:48 +08:00
renovate[bot] 50b7aa17e9
chore(deps): update all non-major dependencies (#12742)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 08:41:00 +08:00
renovate[bot] 26162b4999
chore(deps): update build (#12743)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 08:31:16 +08:00
renovate[bot] c48a00d85e
chore(deps): update test to v3 (major) (#12744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 08:31:00 +08:00
edison 82da43d167
fix(test): use LaunchOptions instead of PuppeteerLaunchOptions (#12734)
ref puppeteer/puppeteer#13426
2025-01-17 09:26:12 +08:00
Johnson Chu 9d651e2774
refactor(reactivity): ports alien-signals 1.0.0 (#12570) 2025-01-15 11:19:27 +08:00
renovate[bot] 2e6ec39811
chore(deps): update test (major) (#12692)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 10:15:44 +08:00
edison c950b4c0c4
chore(deps): manually update puppeteer + @vitest/eslint-plugin (#12706) 2025-01-14 10:09:08 +08:00
renovate[bot] f399dd3588
chore(deps): update autofix-ci/action digest to 551dded (#12696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 08:33:14 +08:00
renovate[bot] 2d6bcc4537
chore(deps): update all non-major dependencies (#12685)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-12 09:57:53 +08:00
renovate[bot] 4170dec5a1
chore(deps): update dawidd6/action-download-artifact action to v7 (#12690)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-12 09:39:39 +08:00
renovate[bot] 18555fa7b2
chore(deps): update build (#12686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-12 09:39:06 +08:00
renovate[bot] 23d2f453d1
chore(deps): update dependency minimatch to v10 (#12691)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-12 09:38:25 +08:00
renovate[bot] fbdd084acc
chore(deps): update lint (#12689)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-12 09:38:06 +08:00
renovate[bot] db57d21c17
fix(deps): update dependency @vue/repl to ^4.4.3 (#12688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-12 09:37:55 +08:00
Evan You 22dcbf3e20
fix(reactivity): ensure multiple effectScope on() and off() calls maintains correct active scope
close #12631
close #12632

This is a combination of changes from both 8dec243 and #12641
2025-01-08 18:07:44 +08:00
edison 679cbdf480
fix(reactivity): ensure multiple effectScope `on()` and `off()` calls maintains correct active scope (#12641) 2025-01-08 18:03:40 +08:00
edison 20cd429766
fix(compiler-vapor): once modifier work with component event (#12606) 2025-01-08 15:19:08 +08:00
edison 58b49749c7
refactor(compiler-vapor): cache multiple access to the same expression (#12568) 2025-01-08 15:05:48 +08:00
edison 757b3df56e
refactor(compiler-vapor): cache inline handlers passed to component (#12563) 2025-01-08 14:35:09 +08:00