Commit Graph

6076 Commits

Author SHA1 Message Date
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
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
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
三咲智子 Kevin Deng 5d15314c4e
refactor(runtime-vapor): remove created & beforeCreate hooks 2024-03-16 03:32:19 +08:00
三咲智子 Kevin Deng d282af9430
refactor(compiler-vapor): check reserved prop on compiler only 2024-03-15 22:26:03 +08:00
三咲智子 Kevin Deng 808d17dbd1
refactor(runtime-vapor): split create component & render 2024-03-14 16:32:22 +08:00
三咲智子 Kevin Deng 7e0f15fa7c
refactor(runtime-vapor): re-organize 2024-03-14 16:02:46 +08:00
三咲智子 Kevin Deng b4da5a8da6
feat(runtime-vapor): support v-bind for event 2024-03-14 14:25:54 +08:00
三咲智子 Kevin Deng b4aa5f98d7
Merge remote-tracking branch 'upstream/main' 2024-03-14 14:17:25 +08:00
Jevon 9412c20531
feat: support v-on="obj" (#149)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-03-14 14:15:45 +08:00
丶远方 384591a2a1
types: make instrumentations' types more succinct (#8558)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-13 22:57:33 +08:00
chenfan d46df6bdb1
perf: add `__NO_SIDE_EFFECTS__` comments (#9053)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-13 21:48:45 +08:00
三咲智子 Kevin Deng a148b87e4b
ci: enable ci for minor branch 2024-03-13 21:47:26 +08:00
丶远方 9e8ac0c367
chore(playground): save `tsconfig.json` to the root directory; update Node.js version requirement (#9086)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-12 21:46:26 +08:00
三咲智子 Kevin Deng 421eba3e01
refactor(compiler-vapor): simplify genExpression 2024-03-12 15:50:23 +08:00
Rizumu Ayaka c79629f0ef
fix(compiler-vapor): member expression with assignment (#146) 2024-03-12 15:46:30 +08:00
renovate[bot] 3648498ae5
chore(deps): update all non-major dependencies (#10450)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 18:05:11 +08:00
renovate[bot] cc1626cd6d
chore(deps): update dependency puppeteer to ~22.4.1 (#10451)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 17:56:34 +08:00
renovate[bot] a3828239c2
chore(deps): update build (#10490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 17:55:46 +08:00
renovate[bot] de0336a7c3
fix(deps): update compiler (#10492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 16:08:51 +08:00
renovate[bot] fcd9f626fe
chore(deps): update lint (#10491)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 16:07:51 +08:00
Evan You 9a936aaec4 feat(reactivity): add failSilently argument for onScopeDispose 2024-03-07 17:54:18 +08:00
Evan You ef2eaef3aa refactor: inline recordEffectScope 2024-03-07 17:53:10 +08:00
三咲智子 Kevin Deng ebd3710d72
refactor(runtime-vapor): don't record metadata for `on` 2024-03-07 17:44:42 +08:00
三咲智子 Kevin Deng 280b8cbdab
refactor: remove getCurrentEffect, add effect flag for on
Use the effect flag to distinguish whether it is in the effect of a v-for block.
2024-03-07 17:41:07 +08:00
三咲智子 Kevin Deng fef2acb204
ci: upgrade setup pnpm 2024-03-06 23:26:14 +08:00
chirokas dec8a5294b
types: fix `scroll` event type; add support for `scrollend` (#10443) 2024-03-06 17:23:50 +08:00
Doctor Wu e76d7430aa
fix(compiler-sfc): use options module name if options provide runtimeModuleName options (#10457)
close #10454
2024-03-06 10:45:42 +08:00
三咲智子 Kevin Deng 03d1d0a956
refactor: delegate set modelValue event 2024-03-06 00:48:34 +08:00
三咲智子 Kevin Deng 11b99ba9ab
fix(runtime-vapor): clean event handler in current effect 2024-03-05 23:43:19 +08:00
Evan You 2cc5615590 feat(reactivity): `onEffectCleanup` API
ref #10173

Instead of exposing `getCurrentEffect`, this version accepts a second
argument to suppress the no-active-effect warning.
2024-03-05 22:53:20 +08:00
三咲智子 Kevin Deng d20cf6d9d2
chore: update todo list 2024-03-05 17:56:06 +08:00
FireBushtree d3ca3f7492
test(runtime-vapor): v-model directive (#142) 2024-03-04 13:52:14 +08:00
三咲智子 Kevin Deng 91997bb3b3
ci: publish with npm provenance 2024-03-03 03:48:05 +08:00
Rizumu Ayaka b925c6290b
perf(runtime-vapor): don't wrap `Array.from` for array in v-for (#141) 2024-03-03 00:40:02 +08:00
三咲智子 Kevin Deng 5a0365d944
Merge remote-tracking branch 'upstream/main' 2024-03-01 21:50:49 +08:00
FireBushtree ccd3f3923f
fix(runtime-vapor): trigger event after `v-model` (#137) 2024-03-01 18:23:49 +08:00
三咲智子 Kevin Deng 5a0bc110d9
refactor(runtime-vapor): record event metadata as array 2024-03-01 18:16:17 +08:00
三咲智子 Kevin Deng 7f861441d7
refactor(runtime-vapor): extract metadata kind 2024-03-01 17:50:54 +08:00
三咲智子 Kevin Deng 4af8e87953
feat: support more source types for v-for
closes #139

Co-authored-by: wangjie36 <826036140@qq.com>
2024-03-01 06:37:53 +08:00
三咲智子 Kevin Deng d51d55843f
refactor(runtime-vapor): tweak createFor 2024-03-01 04:22:17 +08:00
Evan You f66a75ea75 release: v3.4.21 2024-02-28 12:12:15 +01:00