Commit Graph

5831 Commits

Author SHA1 Message Date
Evan You 816cbcc523
chore: fix runtime vapor exports + size script 2025-02-03 14:22:59 +08:00
Evan You 3d98183e1c
chore: fix dts test 2025-02-03 14:11:42 +08:00
Evan You 724e63c306
chore: sync runtime-vapor version with other packages and tweak package.json 2025-02-03 13:28:20 +08:00
Evan You aa84afc199
wip(vapor): per-file vapor support in sfc playground 2025-02-03 12:22:45 +08:00
Evan You c2a91a8daf
wip(vapor): treat `<script vapor>` as setup 2025-02-03 10:05:07 +08:00
Evan You 4d65b1584f
wip(vapor): match vapor internal flag generated by compiler-sfc with runtime 2025-02-03 10:04:36 +08:00
Evan You 3464620f12
wip(vapor): vapor in vdom interop 2025-02-02 23:15:39 +08:00
Evan You 1f25e0d863
test(vapor): v-model runtime tests 2025-02-02 15:53:04 +08:00
Evan You 0392eb41e0
test(vapor): update vModel compiler tests 2025-02-02 12:27:17 +08:00
Evan You d51403c1d3
wip(vapor): v-show work on components 2025-02-02 12:18:51 +08:00
Evan You 250127c13d
wip(vapor): v-model checkbox, radio, select, dynamic 2025-02-01 22:37:34 +08:00
Evan You 01d6aa0d33
chore(lint): allow DOM globals in runtime-vapor 2025-02-01 21:07:06 +08:00
Evan You 5a62266e13
wip(vapor): v-model text reuse from runtime-dom 2025-02-01 21:06:40 +08:00
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] 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