Commit Graph

4757 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng 66cea4b325
revert: "refactor: remove update function from compiler"
Bad for performance, so revert it temporarily

This reverts commit be65b98a33.
2024-02-12 22:01:42 +08:00
三咲智子 Kevin Deng bf5f7c389b
refactor(compiler): move `expressionPlugins` to shared options 2024-02-10 21:50:00 +08:00
三咲智子 Kevin Deng 0c8153eca8
fix(compiler): add `vaporRuntimeModuleName` option 2024-02-10 21:43:09 +08:00
FireBushtree 3d10925c53
feat(runtime-vapor): support patch style (#126)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-10 21:31:44 +08:00
三咲智子 Kevin Deng b5e12eaca7
refactor(sfc-playground): upgrade `@vue/repl` 2024-02-10 17:29:06 +08:00
三咲智子 Kevin Deng 184d72e747
feat(runtime-vapor): implement vModelRadio
Fully supported v-model for native elements.
2024-02-10 16:15:23 +08:00
三咲智子 Kevin Deng f7080efa5d
feat(compiler-vapor): support <style scoped> 2024-02-10 16:04:09 +08:00
三咲智子 Kevin Deng 3550765147
refactor: add isVaporReservedProp 2024-02-10 14:41:51 +08:00
三咲智子 Kevin Deng afa7ee2fb1
feat(compiler-sfc): add vapor option to script 2024-02-10 14:25:33 +08:00
三咲智子 Kevin Deng b640bb70fc
feat(compiler-sfc): respect vapor attr 2024-02-10 14:04:54 +08:00
ubugeeei 52311fa7ae
feat(runtime-vapor): component attrs (#124) 2024-02-10 13:07:13 +08:00
三咲智子 Kevin Deng ab1121e512
Merge remote-tracking branch 'upstream/main' 2024-02-10 13:05:19 +08:00
三咲智子 Kevin Deng 5019aac6ca
fix: vapor major version 2024-02-10 01:23:48 +08:00
三咲智子 Kevin Deng 9bc333e239
fix(vue-vapor): exports types 2024-02-09 21:09:31 +08:00
三咲智子 Kevin Deng 6cd9298adc
fix(vue): publish vapor entry 2024-02-09 20:56:22 +08:00
Evan You 64f431aab0 release: v3.4.18 2024-02-09 10:31:29 +08:00
zhoulixiang c224897dd4
fix(runtime-dom): ensure v-show respects display value set via v-bind (#10297)
close #10151
2024-02-09 10:17:35 +08:00
Evan You 77a804b1d0 fix(dx): warn against reserved keys as prop name
close #10281
2024-02-09 08:47:06 +08:00
Evan You dfb271a293 release: v3.4.17 2024-02-09 08:38:19 +08:00
Evan You 2cd5b05c3b revert: fix(runtime-dom): ensure v-show respects display value set via v-bind (#10161)
This reverts commit 9b19f09121.

close #10294
reopen #10151
2024-02-09 08:30:51 +08:00
三咲智子 Kevin Deng edaa3a0649
refactor(compiler-vapor): re-organize 2024-02-09 02:40:01 +08:00
三咲智子 Kevin Deng e050646079
fix(compiler-vapor): generate assignment for v-model 2024-02-09 00:09:05 +08:00
三咲智子 Kevin Deng d16359c45b
feat(runtime-vapor): add no side effects annotation 2024-02-08 23:22:03 +08:00
三咲智子 Kevin Deng 985d4c7422
refactor: return only one node from children helper 2024-02-08 23:03:42 +08:00
三咲智子 Kevin Deng c70661c8a3
refactor(compiler-vapor): don't convert event name 2024-02-08 21:56:57 +08:00
三咲智子 Kevin Deng 126796edb9
fix(compiler-vapor): add newline after effect body 2024-02-08 21:56:30 +08:00
三咲智子 Kevin Deng 697102f796
feat(compiler-vapor): resolve dynamic expression 2024-02-08 21:56:30 +08:00
三咲智子 Kevin Deng 6e80e34e6b
perf(compiler-vapor): register as operations if no dynamic expressions 2024-02-08 20:50:34 +08:00
三咲智子 Kevin Deng 0cdc9f20c6
refactor(compiler): export isLiteralWhitelisted 2024-02-08 20:35:11 +08:00
三咲智子 Kevin Deng 35b78920c4
feat(compiler-vapor): add getKey function for v-for 2024-02-08 20:31:56 +08:00
三咲智子 Kevin Deng 8fb01504da
refactor(compiler-vapor): remove ir expression 2024-02-08 20:30:51 +08:00
三咲智子 Kevin Deng 55a956e87d
chore: remove unused imports 2024-02-08 17:34:43 +08:00
Evan You 1339330850 release: v3.4.16 2024-02-08 11:45:34 +08:00
Evan You 2b0a706dc7 chore: move X_V_BIND_INVALID_SAME_NAME_ARGUMENT to preserve error code order 2024-02-08 11:36:51 +08:00
Artyom Tuchkov 2312184bc3
fix(reactivity): skip non-extensible objects when using `markRaw` (#10289)
close #10288
2024-02-08 10:57:57 +08:00
三咲智子 Kevin Deng 6001fe8976
refactor(compiler-vapor): simplify generate prop modifier 2024-02-08 03:49:52 +08:00
三咲智子 Kevin Deng ce570751c6
refactor(compiler-vapor): remove vnode-related, adjust key override 2024-02-08 03:49:06 +08:00
三咲智子 Kevin Deng 3957dabb8c
fix(compiler-vapor): handle same-name shorthand edge case for in-DOM templates
fix https://github.com/vuejs/core/issues/10280
2024-02-08 03:24:50 +08:00
三咲智子 Kevin Deng 5e52ac9ab4
Merge remote-tracking branch 'upstream/main' 2024-02-07 22:02:23 +08:00
Rizumu Ayaka ccdc634c24
fix(runtime-vapor): v-for move list items are not always effective (#121) 2024-02-07 22:01:22 +08:00
Rizumu Ayaka a15f609044
test(runtime-vapor): refactor duplicate compoent test code (#120)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-07 21:03:46 +08:00
三咲智子 Kevin Deng 75c8ff5cb7
fix(runtime-vapor): update old value even if no beforeUpdate hook 2024-02-07 20:38:26 +08:00
三咲智子 Kevin Deng 4be349ebc4
feat(runtime-vapor): implement vModelCheckbox & vModelDynamic 2024-02-07 20:14:50 +08:00
三咲智子 Kevin Deng f4f467811a
fix(runtime-vapor): only update oldValue in beforeUpdate hook 2024-02-07 19:47:56 +08:00
三咲智子 Kevin Deng 94272c6163
fix(runtime-vapor): retrieve prop value from element 2024-02-07 19:24:06 +08:00
三咲智子 Kevin Deng b7e6e1eceb
fix(compiler-vapor): hoist template with inline option 2024-02-07 17:56:32 +08:00
三咲智子 Kevin Deng 99da2e5abe
refactor(compiler-vapor): remove runtime fragment
returns array directly
2024-02-07 17:29:04 +08:00
三咲智子 Kevin Deng 823e47ca62
refactor(compiler-vapor): simplify register template 2024-02-07 16:45:06 +08:00
yangxiuxiu 75e02b5099
fix(runtime-core): support for nested calls to runWithContext (#10261)
close #10260
2024-02-07 13:33:44 +08:00
Evan You eb1b9116d7 revert: perf(templateRef): avoid double render when using template ref on v-for
This reverts commit de4d2e2143.

reopen #9908
close #10210, close #10234
2024-02-07 13:25:18 +08:00