Commit Graph

6280 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng 00c6e6dc73
refactor(compiler-vapor): inline literal value into template 2024-05-29 16:23:32 +08:00
Doctor Wu 107569b922
feat(runtime-vapor): resolve assets of components & directives (#214) 2024-05-29 01:43:47 +08:00
三咲智子 Kevin Deng 4ed4fb633f
fix(vue-vapor): build dts 2024-05-28 21:32:29 +08:00
三咲智子 Kevin Deng c97dee3e3c
refactor(compiler-vapor): remove Object.entries 2024-05-28 21:31:30 +08:00
shellingfordly ca61022e69
fix(playground): import type error (#219)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-28 20:39:18 +08:00
Rizumu Ayaka b5ecb72864
feat: directive lifecycle hooks in `v-for`, `v-if` and component (#123)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-27 02:47:51 +08:00
ubugeeei 969f53f2e7
test(runtime-vapor): api lifecycle hooks (#215)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-27 02:37:06 +08:00
Kevin Deng 三咲智子 1008199647
ci: fix RCE vulnerability in file overwrite
https://github.com/vuejs/core/pull/10985

Special thanks to @RedYetiDev
2024-05-21 08:52:43 +08:00
Doctor Wu 4e13a57d9c
feat(compiler/runtime-vapor): implement v-slots + v-for / v-if (#207)
Co-authored-by: Rizumu Ayaka <rizumu@ayaka.moe>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-21 08:50:10 +08:00
Rizumu Ayaka 2e2f3e2b96
test(vue-vapor): todomvc e2e test (#115) 2024-05-21 08:43:46 +08:00
三咲智子 Kevin Deng d77c7ade77
feat(runtime-vapor): implement app plugin 2024-05-17 20:54:08 +08:00
Jevon b776f92596
feat: v-once for component and v-for (#201)
* feat: v-once with v-for / v-once for component

* refactor

* refactor

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-17 20:44:58 +08:00
三咲智子 Kevin Deng f5f1150d8a
feat(runtime-vapor): add globalProperties 2024-05-17 20:39:10 +08:00
GaoNeng 1b2cb722fe
fix(playground): add `@vue/runtime-shared` dep (#210) 2024-05-14 03:51:49 +08:00
三咲智子 Kevin Deng dc574cc429
chore: update team list 2024-05-13 02:51:05 +08:00
三咲智子 Kevin Deng 4f9052358e
fix: pass warn to `toHandlers` only on dev mode 2024-05-13 02:19:11 +08:00
三咲智子 Kevin Deng e2b51d6e7a
feat(compiler-vapor): resolve directive 2024-05-13 02:15:28 +08:00
三咲智子 Kevin Deng 30f98942db
refactor(compiler-vapor): add placeholder for optional argument 2024-05-13 01:35:35 +08:00
三咲智子 Kevin Deng 72589be6aa
refactor(compiler-vapor): simplify generate code fragment 2024-05-12 19:44:38 +08:00
Rizumu Ayaka 9346f885b0
refactor(runtime-vapor): remove optional chaining syntax (#208) 2024-05-12 19:09:31 +08:00
Lulu b3cb392f5c
feat: support usage of `v-once` with `v-if` (#200)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-12 18:20:14 +08:00
三咲智子 Kevin Deng 75314f2695
fix(compiler-vapor): don't cache `v-once` 2024-05-12 18:15:44 +08:00
三咲智子 Kevin Deng 76595deefb
refactor(compiler-vapor): simplify ast check 2024-05-12 17:58:11 +08:00
Rizumu Ayaka 0c33ace61c
feat(compiler-vapor): implement basic usage of `v-slot` (#203)
Co-authored-by: Doctorwu <doctorwu@moego.pet>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-12 17:57:00 +08:00
三咲智子 Kevin Deng 1c54cae29a
refactor(runtime-vapor): remove default value 2024-05-12 00:01:27 +08:00
三咲智子 Kevin Deng 639c847c0c
refactor(runtime-shared): move `Data` 2024-05-11 23:14:26 +08:00
三咲智子 Kevin Deng 7cd70505d5
Merge remote-tracking branch 'upstream/minor' 2024-05-11 22:11:30 +08:00
Lulu 133d494a01
test(compiler-vapor): slot outlets with props & fallbacks (#199) 2024-05-09 01:04:06 +08:00
Evan You b295cdf4e9
release: v3.5.0-alpha.2 2024-05-03 17:03:13 -07:00
Evan You 801666fdad
chore: add internal flag to work around ts issue 2024-05-03 16:57:47 -07:00
Evan You 908f70adc0
fix(types): fix app.component() typing with inline defineComponent
close #10843
2024-05-03 16:29:23 -07:00
Evan You eae0ccb8e0
chore: re-export deprecated component options types 2024-05-03 16:22:13 -07:00
Cédric Exbrayat 9b82005bf3
test: defineOptions dts tests (#10849) 2024-05-04 04:27:23 +08:00
三咲智子 Kevin Deng b58d6a9ea1
fix(compiler-vapor): empty block 2024-05-04 02:40:04 +09:00
三咲智子 Kevin Deng d376349d09
refactor(runtime-vapor): replace Object.entries with for-in 2024-05-04 02:33:40 +09:00
Rizumu Ayaka 2b0def3ba5
feat(compiler-vapor): slot outlet (#182)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-02 23:26:52 +09:00
三咲智子 Kevin Deng bfb52502f8
feat(runtime-shared): init 2024-05-01 20:19:25 +09:00
三咲智子 Kevin Deng 1ec90db776
refactor(sfc-playground): add vapor name 2024-05-01 12:29:24 +09:00
Doctor Wu 69580515d9
feat: implement setRef update (#191)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-01 03:17:16 +09:00
Rizumu Ayaka 8dea04bd7f
feat(compiler-vapor): component with dynamic arguments (#192)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-01 03:11:32 +09:00
Evan You c146186396
fix(types): fix compat with generated types that rely on CreateComponentPublicInstance
close #10842
2024-04-30 10:09:06 -07:00
Evan You 124c4cac83
fix(types): props in defineOptions type should be optional
close #10841
2024-04-30 09:05:41 -07:00
三咲智子 Kevin Deng 6f7d219654
fix(runtime-vapor): set raw value for dynamic attrs 2024-05-01 00:09:59 +09:00
Doctor Wu 098b6fcf65
fix(compiler-vapor): create dynamic text node (#193) 2024-04-30 22:28:55 +09:00
Thorsten Lünborg 582a3a382b
feat(runtime-core): add app.onUnmount() for registering cleanup functions (#4619)
close #4516
2024-04-29 18:47:56 +08:00
Evan You 801b8dea3b
chore: Merge branch 'main' into minor 2024-04-29 18:46:20 +08:00
Evan You f750c41b51
chore(workflow): link to minor branch changelog for pre-releases [ci skip] 2024-04-29 18:14:02 +08:00
Evan You 96e8e99304
test: fix test case name 2024-04-29 18:12:27 +08:00
三咲智子 Kevin Deng fb58e65d3d
Merge remote-tracking branch 'upstream/minor' 2024-04-29 17:50:30 +09:00
Evan You 241790937c
release: v3.4.26 2024-04-29 16:36:54 +08:00