Commit Graph

5957 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng 8a2a2ac168
ci: publish to npm 2024-02-10 12:53:27 +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
三咲智子 Kevin Deng 62072841fb
chore: release vapor package 2024-02-09 20:51:11 +08:00
三咲智子 Kevin Deng aaf3d00f45
chore(playground): enable template.vapor option 2024-02-09 20:16:45 +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 5d48844670 test: fix unexpected warning check when asserting same message for both conditions 2024-02-09 09:08:09 +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 1a8fb86c75
ci: show diffed size report on push event 2024-02-09 00:56:15 +08:00
三咲智子 Kevin Deng 5533350c75
chore(playground): use terser for minify 2024-02-09 00:09:21 +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
Doctor Wu 9b19f09121
fix(runtime-dom): ensure v-show respects display value set via v-bind (#10161)
close #10151
2024-02-07 12:54:21 +08:00
Evan You cb87b6213d fix(compiler-core): handle same-name shorthand edge case for in-DOM templates
Also add error for invalid arguments for same-name shorthand.

close #10280
2024-02-07 12:15:39 +08:00
三咲智子 Kevin Deng 68b0caf495
fix(compiler-vapor): convert to display string for each text 2024-02-07 04:40:49 +08:00
三咲智子 Kevin Deng 14813cec1e
refactor(compiler-vapor): combine interpolation & text 2024-02-07 04:29:53 +08:00
三咲智子 Kevin Deng 38865c7ca1
refactor: simplify event handler 2024-02-07 01:37:07 +08:00
三咲智子 Kevin Deng ef12b99d0c
refactor(compiler-vapor): code fragment with falsy value 2024-02-06 20:56:22 +08:00