Commit Graph

6464 Commits

Author SHA1 Message Date
Jevon a0bd0e9c5f
feat(compiler-vapor): ref for `v-for` (#167)
Co-authored-by: Rizumu Ayaka <rizumu@ayaka.moe>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-04-13 02:54:34 +08:00
Evan You ca84316bfb perf(ssr): optimize setup context creation for ssr in v8 2024-04-12 16:02:52 +08:00
Evan You 6af733d68e perf: optimize component props/slots internal object checks 2024-04-12 14:41:03 +08:00
Evan You 4bc9f39f02 perf(ssr): avoid calling markRaw on component instance proxy
The previous behavior invokes the definePropery proxy trap on the
instance proxy and has massive overhead. This change improves Vue
ops/sec by 40% in https://github.com/eknkc/ssr-benchmark
2024-04-12 11:49:45 +08:00
liudaodanOo 34106bc9c7
fix(compiler-sfc): also search for `.tsx` when type import's extension is omitted (#10637)
Co-authored-by: liuxiaofei <liuxfb@digiwin.com>

Closes #10635
2024-04-09 16:14:11 +08:00
renovate[bot] c51be5c24d
chore(deps): update dependency puppeteer to ~22.6.3 (#10659)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 13:16:53 +08:00
renovate[bot] d4b767a1a5
chore(deps): update all non-major dependencies (#10658)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 13:16:33 +08:00
三咲智子 Kevin Deng 98bae0c4a9
refactor(compiler-vapor): group directive 2024-04-07 14:00:36 +08:00
Rizumu Ayaka 9a33d79963
feat(runtime-vapor): attach current instance to render slot (#168) 2024-04-06 22:10:45 +08:00
Divyansh Singh 0dea7f9a26
fix(runtime-core): show hydration mismatch details for non-rectified mismatches too when __PROD_HYDRATION_MISMATCH_DETAILS__ is set (#10599) 2024-04-02 16:36:52 +08:00
renovate[bot] 5aaa758867
chore(deps): update all non-major dependencies (#10627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 22:51:05 +08:00
renovate[bot] 413cd28ed1
chore(deps): update build (#10624)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 22:44:34 +08:00
renovate[bot] dd4401da09
chore(deps): update dependency puppeteer to ~22.6.1 (#10625)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 21:54:02 +08:00
renovate[bot] 55f90790ee
chore(deps): update lint (#10628)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 21:53:40 +08:00
Tycho 40dcc924c8
chore: update VSCode debugging for vitest (#9573) 2024-04-01 21:23:09 +08:00
Wes Cook a653a8c125
chore: fix typo (#10621) 2024-04-01 16:20:01 +08:00
ubugeeei db140a1e37
feat(runtime-vapor): setup helpers useAttrs & useSlots (#172) 2024-04-01 03:51:37 +08:00
Jevon 9f8bf4fc82
fix(compiler-core): generate `updateEffect` for nested v-for (#171)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-03-29 21:36:19 +08:00
yangxiuxiu db374e54c9
fix(runtime-dom): `v-model` string/number coercion for multiselect options (#10576)
Co-authored-by: RicardoErii <‘1974364190@qq.com’>
Co-authored-by: yangchangtao <yangchangtao@kuaishou.com>
2024-03-28 22:09:16 +08:00
renovate[bot] 01172fdb77
fix(deps): update compiler (#10581)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 16:22:58 +08:00
renovate[bot] a389004196
chore(deps): update test (#10585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 16:16:50 +08:00
renovate[bot] cb7195a533
fix(deps): update playground (#10586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 15:36:17 +08:00
renovate[bot] c6e245efe4
chore(deps): update all non-major dependencies (#10580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 15:10:49 +08:00
renovate[bot] 6fed247029
chore(deps): update dependency vite to ^5.2.6 (#10582)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 15:03:29 +08:00
renovate[bot] 3665a4f7e5
chore(deps): update lint (#10583)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 15:02:05 +08:00
Doctor Wu 660cadc7aa
fix(compiler-sfc): :is() and :where() in compound selectors (#10522)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>

Closes #10511
2024-03-25 14:12:33 +08:00
ubugeeei ba17fb9910
fix(runtime-vapor): trigger updated hooks across components (#165) 2024-03-24 20:30:14 +08:00
ubugeeei 78f74ce241
feat(runtime-vapor): component slot (#143)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-03-24 20:29:00 +08:00
Doctor Wu bd888b9b1e
feat(runtime-vapor): add app-level error handler (#160)
Co-authored-by: Kevin Deng 三咲智子 <sxzz@sxzz.moe>
2024-03-23 00:38:34 +08:00
ubugeeei 5c9a15140d
feat(runtime-vapor): provide and inject (#158)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-03-22 23:41:16 +08:00
Jevon ed6b1718d2
fix(compiler-vapor): SET_REF operation should be registered last (#159)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-03-22 23:33:55 +08:00
Doctor Wu 9a2c12e3cd
feat(runtime-vapor): implement setupContext (#157) 2024-03-22 23:28:18 +08:00
Haoqun Jiang caeb8a6881
chore: dedupe dependencies (#10562) 2024-03-21 11:12:50 +08:00
丶远方 ab59bedae4
fix(runtime-core): fix errorHandler causes an infinite loop during execution (#9575)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-19 20:47:52 +08:00
Evan You 31ed1f45ab chore: add FUNDING.json 2024-03-19 16:35:37 +08:00
Doctor Wu 38e167ceb8
feat: implement inheritAttrs (#153)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-03-19 00:24:58 +08:00
FireBushtree 6fc5cfbc65
test(runtime-vapor): delegate events (#147) 2024-03-18 22:00:06 +08:00
Rizumu Ayaka 2661cb2474
refactor(reactivity): remove middleware (#156) 2024-03-18 21:57:18 +08:00
三咲智子 Kevin Deng 268a2c4ae6
chore: add vapor team 2024-03-18 20:31:19 +08:00
Rizumu Ayaka 64e83689a0
refactor(runtime-vapor): `renderEffect` based on `ReactiveEffect` + remove `renderWatch` (#155) 2024-03-18 20:13:40 +08:00
renovate[bot] 7bedaef4b1
chore(deps): update dependency @codspeed/vitest-plugin to v3 (#10358)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 20:11:38 +08:00
renovate[bot] ed37dcd108
chore(deps): update build (#10540)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 19:38:41 +08:00
renovate[bot] c3dd9378b0
chore(deps): update all non-major dependencies (#10539)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 15:14:20 +08:00
Rizumu Ayaka 46761880e9
refactor(baseWatch): rename onEffectCleanup to onWatcherCleanup and getCurrentEffect to getCurrentWatcher for clarity 2024-03-17 22:39:11 +08:00
Rizumu Ayaka db4040d13a
refactor(scheduler): use bitwise flags for scheduler jobs + move scheduler into reactivity
related: https://github.com/vuejs/core/pull/10407
2024-03-17 22:33:36 +08:00
Rizumu Ayaka 174118ae40 Merge remote-tracking branch 'upstream/main' 2024-03-17 22:14:01 +08:00
Kevin Deng 三咲智子 463b47e83d
feat: create component & component lifecycle/props/attrs (#151) 2024-03-16 18:54:36 +08:00
edison b49306adff
fix(custom-element): avoid setting attr to null if it is removed (#9012)
Partially fixes #9006
Fixes #10324
2024-03-16 16:28:03 +08:00
三咲智子 Kevin Deng 5d15314c4e
refactor(runtime-vapor): remove created & beforeCreate hooks 2024-03-16 03:32:19 +08:00
丶远方 cde47bfa97
test: create `EffectScope` using a factory function (#8844) 2024-03-15 22:27:32 +08:00