Commit Graph

5804 Commits

Author SHA1 Message Date
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] 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
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
edison c950b4c0c4
chore(deps): manually update puppeteer + @vitest/eslint-plugin (#12706) 2025-01-14 10:09:08 +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] 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
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
edison ef6986fbc3
refactor(compiler-vapor): move operation with constant values out of renderEffect (#12547) 2024-12-16 14:30:38 +08:00
edison bd130019d1
refactor(vapor): import v-o withModifiers or withKeys on demand (#12539) 2024-12-16 14:28:56 +08:00
edison e79a6df093
fix(vapor/defineProps): register type bindings before compile template + props destructure work with vapor (#12545) 2024-12-16 14:18:27 +08:00
renovate[bot] d07cdead2c
chore(deps): update all non-major dependencies (#12557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-16 10:48:44 +08:00
LiquidAssContainer 11c053a542
fix(typos): fix comments referencing transformElement.ts (#12551)[ci-skip] 2024-12-16 10:43:01 +08:00
Evan You 6c0e8a8f24
wip(vapor): handle slot fallback when content changes 2024-12-14 22:17:16 +08:00
Evan You 4318129b96
wip(vapor): createIf 2024-12-14 20:37:43 +08:00
Evan You bcb9209c4c
wip(vapor): optimize unmounted children removal 2024-12-14 16:28:05 +08:00
Evan You 76e8d2c4d0
wip(vapor): init feature flags + set devtools when creating vapor app 2024-12-14 16:25:35 +08:00
Evan You c07734debf
wip(vapor): further tweak single root attr fallthrough behavior 2024-12-13 20:23:20 +08:00
Evan You f9a6e8cd58
wip(vapor): handle class / style merging behavior 2024-12-13 18:00:58 +08:00
Evan You 4160b6d567
test(vapor): fix templateRef compiler tests 2024-12-13 09:39:29 +08:00
Evan You 023f72f049
test(vapor): useTemplateRef tests 2024-12-13 09:37:49 +08:00
Evan You 0d1df25f23
wip(vapor): templateRef adjustments 2024-12-12 22:34:35 +08:00
Evan You e38805354d
chore: fix setStyle and tests 2024-12-12 22:02:30 +08:00
Evan You c4b853d997
chore: remove no longer needed file 2024-12-12 21:02:45 +08:00
Evan You 4505727412
wip: refactor vapor vBind codegen 2024-12-12 18:17:29 +08:00
Evan You dfe06f8f4e
wip: cache setProp prev value on element, simplify codegen
Also separate `setClass`/`setClassIncremental` and `setStyle`/
`setStyleIncremental`
2024-12-12 13:18:04 +08:00
Evan You e41858cde4
chore: todos 2024-12-11 14:33:16 +08:00
Evan You 64e007eabe
chore: Merge branch 'main' into vapor 2024-12-11 14:27:54 +08:00
edison 1bb9a0f8c7
refactor: drop recordPropMetadata + merge renderEffect (#301) 2024-12-11 14:02:34 +08:00
Evan You 23fe7f991f
chore: make type check pass 2024-12-11 11:50:17 +08:00
Evan You 92526b06de
chore: fix dts build 2024-12-11 08:55:19 +08:00
Evan You dbdc0aa9dd
chore: make compile type consistent 2024-12-10 21:45:50 +08:00