三咲智子 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
三咲智子 Kevin Deng
9ffd4b6c75
refactor(compiler-vapor): simplify renderEffect with a single statement
2024-02-06 20:46:12 +08:00
三咲智子 Kevin Deng
d10a1a3c08
refactor(compiler-vapor): hoist template generator
2024-02-06 20:34:06 +08:00
三咲智子 Kevin Deng
a15c4555b3
fix(template-explorer): correct commit link
2024-02-06 20:28:37 +08:00
ygj6
c4a567b93d
test(compiler-vapor): v-bind="obj" ( #119 )
2024-02-06 20:26:55 +08:00
三咲智子 Kevin Deng
77743006b8
refactor(runtime-vapor): update selected option
2024-02-06 20:24:59 +08:00
三咲智子 Kevin Deng
3c3b56ac04
Merge remote-tracking branch 'upstream/main'
2024-02-06 20:24:11 +08:00
Johnson Chu
0bced13ee5
fix(reactivity): avoid infinite recursion from side effects in computed getter ( #10232 )
...
close #10214
2024-02-06 18:44:09 +08:00
Johnson Chu
6c7e0bd88f
fix(reactivity): handle `MaybeDirty` recurse ( #10187 )
...
close #10185
2024-02-06 18:23:56 +08:00
zhoulixiang
91f058a90c
fix(compiler-core): support v-bind shorthand syntax for dynamic slot name ( #10218 )
...
close #10213
2024-02-06 17:54:06 +08:00
yangxiuxiu
f0b5f7ed8d
fix(hydration): fix SFC style v-bind hydration mismatch warnings ( #10250 )
...
close #10215
2024-02-06 17:38:41 +08:00
Doctor Wu
f31d782e46
fix(runtime-dom): fix option selected update failed ( #10200 )
...
close #10194
close #10267
2024-02-06 16:58:51 +08:00
FireBushtree
7c881f853c
test(runtime-vapor): dom/patchProp.ts special check ( #117 )
...
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-06 12:35:31 +08:00
三咲智子 Kevin Deng
6b20c84896
Merge remote-tracking branch 'upstream/main'
2024-02-06 02:37:28 +08:00
Rizumu Ayaka
ba3ca6a304
feat(compiler-vapor): props merging ( #118 )
...
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-06 02:35:52 +08:00
Rizumu Ayaka
75b0937d31
feat(compiler-vapor): complex identifier rewriting with vOn ( #113 )
...
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-05 22:37:09 +08:00
Evan You
759a9518b4
chore(deps): pin rollup to 4.9.2
...
4.9.3 introduced a regression in https://github.com/rollup/rollup/pull/5313
which changes the `export * from` codegen and breaks Node.js' re-export
detection.
2024-02-05 12:21:23 +08:00
Evan You
a012e39b37
chore(deps): pin @rollup/plugin-replace to 5.0.4
...
5.0.5 introduced a regression that causes replacements in the truthy
branch of ternaries to be skipped: https://github.com/rollup/plugins/issues/1619
This causes the enum replacements to fail and leads to bundle size
regressions.
2024-02-05 12:14:28 +08:00
Evan You
d27ee59274
chore(playground): update download template deps
2024-02-05 12:09:08 +08:00
Evan You
2ebafc26a7
chore(playground): bump @vitejs/plugin-vue
2024-02-05 12:07:15 +08:00