Commit Graph

5994 Commits

Author SHA1 Message Date
renovate[bot] b0d899d68a
chore(deps): update build (#11447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 09:24:03 +08:00
renovate[bot] d40bbcb140
chore(deps): update test (#11417)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 09:11:08 +08:00
wzc520pyfm c8395f27bd
chore(docs): update the minimum requeird version of node and pnpm (#11443) [ci skip] 2024-07-29 09:10:52 +08:00
renovate[bot] 62e5aa4517
fix(deps): update compiler (#11416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 09:06:40 +08:00
renovate[bot] 6a6daff7ab
chore(deps): update all non-major dependencies (#11415)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 09:06:19 +08:00
renovate[bot] fe527741d8
chore(deps): update autofix-ci/action digest to ff86a55 (#11414)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 09:06:00 +08:00
Evan You 9111252042
release: v3.4.34 2024-07-24 23:30:30 +08:00
Evan You b5cad0e91c
refactor: use hasChanged for useModel comparisons 2024-07-24 23:26:13 +08:00
Tycho a18f1ecf05
fix(defineModel): correct update with multiple changes in same tick (#11430)
close #11429
2024-07-24 23:25:22 +08:00
Evan You 422ef34e48
release: v3.4.33 2024-07-19 17:24:34 +08:00
edison 1b81d14bfd
refactor(runtime-core): remove attrsProxy and slotsProxy from instance (#11390) 2024-07-19 17:02:14 +08:00
Tycho 5df67e3675
fix(runtime-dom): handle undefined values in v-html (#11403) 2024-07-19 16:52:03 +08:00
Hongkun Peng c7f5c70eba
chore(build): fix build error on Windows (#11389) 2024-07-19 16:48:13 +08:00
Evan You fd5c001ec7
release: v3.4.32 2024-07-17 17:07:05 +08:00
yangxiuxiu f1bb0aef08
fix(runtime-core): do not emit when defineModel ref is set with same value (#11162)
close #11125
2024-07-17 16:46:10 +08:00
linzhe 3e9e32ee0a
fix(runtime-dom): properly handle innerHTML unmount into new children (#11159)
close #9135
2024-07-17 16:37:14 +08:00
Zhaolin Liang b287aeec3e
fix(compiler-sfc): correctly resolve type annotation for declared function (#11279)
close #11266
2024-07-17 15:06:14 +08:00
Evan You 3dc5a1ad98
test: test case for #11286 2024-07-17 14:29:54 +08:00
Evan You c10e40a217
fix(hydration): fix tracking of reactive style objects in production
close #11372
2024-07-17 12:14:25 +08:00
Tycho a509e30f05
fix(reactivity): ensure `unref` correctly resolves type for `ShallowRef` (#11360)
close #11356
2024-07-17 10:09:57 +08:00
Evan You 3ee7b4c7b1
fix(runtime-core): avoid recursive warning
close #8074
2024-07-16 18:05:44 +08:00
Evan You 8655ced480
fix(teleport): skip teleported nodes when locating patch anchor
close #9071
close #9134
close #9313

Tests reused from #9313
2024-07-16 17:17:25 +08:00
LiuSeen 50ddafe91b
fix(reactivity): shallowReactive map "unwraps" the nested refs (#8503)
fix #8501
fix #11249
2024-07-16 15:07:06 +08:00
Linghao Su 2d854414fa
test(runtime-core): test effectscope instance null (#8397) 2024-07-16 11:40:53 +08:00
Evan You c0b9bd125c
chore: format 2024-07-16 11:09:34 +08:00
Evan You f44c3b37d4
fix(hydration): handle consectuvie text nodes during hydration
close #7285
close #7301
2024-07-16 11:09:00 +08:00
fang-ng4 ae52a371e5
test: edge case for decodeHtmlBrowser (#11339)
Co-authored-by: unknown <fangliang@qq.com>
2024-07-15 22:36:48 +08:00
Vlad fc205bf4de
perf(server-render): avoid unnecessary checks in `createBuffer` (#11364) 2024-07-15 22:31:27 +08:00
renovate[bot] 89e2d258dc
chore(deps): update dependency rollup to ^4.18.1 (#11358)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 21:56:55 +08:00
skirtle b0aa234e5e
fix(runtime-core): use separate prop caches for components and mixins (#11350)
Co-authored-by: Red Huang <gcaaa31928@gmail.com>

close #7998
2024-07-15 21:56:37 +08:00
_Kerman c8b9794575
fix(hmr): hmr reload should work with async component (#11248) 2024-07-15 21:54:53 +08:00
btea 1676f079b6
chore: fix @babel/types version in pnpm catalog (#11349) 2024-07-15 16:31:27 +08:00
Evan You c4025015db
chore: remove codspeed plugin 2024-07-15 16:29:57 +08:00
Evan You 36b1fefeac
chore: remove terser dep 2024-07-15 16:29:41 +08:00
Evan You 789675f65d
fix(build): use consistent minify options from previous terser config 2024-07-15 16:29:41 +08:00
renovate[bot] f1aae57dfe
chore(deps): update all non-major dependencies (#11357)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 16:22:03 +08:00
Evan You d343a0dc01
fix(v-once): properly unmount v-once cached trees
close #5154
close #8809
2024-07-13 21:38:32 +08:00
Evan You 3107b57e2e
refactor: isVNode -> isVOnce 2024-07-13 21:07:45 +08:00
Evan You 2815531fd5
refactor: memoIndex -> cacheIndex 2024-07-13 21:05:06 +08:00
Evan You aef807746a
refactor(compiler): move patchFlag text generation to codegen phase 2024-07-13 19:40:04 +08:00
Evan You f05b3ae0f8
chore: improve comments 2024-07-13 15:40:09 +08:00
skirtle 7fb6eb882b
fix(v-model): component v-model modifiers trim and number when cases don't match (#9609)
close #4848
close #4850 (based on commits from #4850)

Co-authored-by: zhaozhongyu <zhaozhongyu@xunlei.com>
Co-authored-by: Evan You <evan@vuejs.org>
2024-07-13 14:57:37 +08:00
Vlad 05779a70bd
perf(server-renderer): optimize `unrollBuffer` by avoiding promises (#11340) 2024-07-12 22:39:21 +08:00
Evan You d76dd9c58d
fix(runtime-core): force diff slot fallback content and provided content
fix #7256
fix #9200
fix #9308

close #7266
close #9213
2024-07-12 18:26:11 +08:00
Evan You 685e3f381c
fix(runtime-core): more edge case fix for manually rendered compiled slot
close #11336
2024-07-12 17:29:42 +08:00
Evan You 314ce82e47
test: test case for 3d34f406a / #10870 2024-07-12 01:25:08 +08:00
Evan You ee0248accf
fix(runtime-core): errors during component patch should be caught by error handlers 2024-07-12 01:24:17 +08:00
Evan You 3d34f406ac
fix(runtime-core): bail manually rendered compiler slot fragments in all cases
Previously this bail was only applied on updates but not on initial mount,
and leads to different patch code paths between mount and update in edge
cases.

close #10870
2024-07-12 00:34:23 +08:00
白雾三语 23cd61423c
chore(repl): avoid duplicate formatter mounts (#10472)
close #10466
2024-07-11 17:30:41 +08:00
Evan You de174e1aa7
fix(defineModel): force local update when setter results in same emitted value
fix #10279
fix #10301
2024-07-11 17:00:39 +08:00