Commit Graph

2050 Commits

Author SHA1 Message Date
linzhe 00978f7d14
fix(Teleport): hydrate disabled Teleport with undefined target (#11235)
close #11230
2025-09-02 17:08:15 +08:00
edison ef20b86b36
fix(hmr): prevent update unmounting component during HMR reload (#13815)
close vitejs/vite-plugin-vue#599
2025-09-02 17:07:36 +08:00
edison 8f6b505051
fix(runtime-core): disable tracking block in h function (#8213)
close #6913
2025-09-02 16:59:57 +08:00
Zhong 952886e299
chore(compat): rename legacyresolveScopedSlots to legacyResolveScopedSlots
The changes correct the casing of a function name from legacyresolveScopedSlots to legacyResolveScopedSlots in both its definition and usage. No logic, control flow, or public API behavior is altered; only the symbol's casing is updated for consistency.
2025-08-23 21:30:50 +08:00
Alex Snezhko 4a2953f57b
fix(runtime-core): avoid setting direct ref of useTemplateRef in dev (#13449)
close 12852
2025-08-21 08:46:10 +08:00
edison a8713159ee
fix(suspense): don't immediately resolve suspense on last dep unmount (#13456)
close #13453
2025-08-20 22:11:16 +08:00
skirtle d7283f3b7f
fix(runtime-core): improve consistency of `PublicInstanceProxyHandlers.has` (#13507) 2025-08-20 21:05:26 +08:00
edison 3190b179b0
fix(Transition): handle KeepAlive + transition leaving edge case (#13152)
close #13153
2025-08-20 20:56:08 +08:00
edison 7f60ef83e7
fix(compiler-core): prevent cached array children from retaining detached dom nodes (#13691)
fix element-plus/element-plus#21408
Re-fix #13211
2025-08-20 20:51:04 +08:00
edison 6e5143d963
fix(hmr): prevent updating unmounting component during HMR rerender (#13775)
close #13771
close #13772
2025-08-20 20:49:59 +08:00
awaken1ng c875019d49
fix(devtools): clear performance measures (#13701)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (push) Has been cancelled Details
canary release / canary (push) Has been cancelled Details
canary minor release / canary (push) Has been cancelled Details
Lock Closed Issues / action (push) Has been cancelled Details
Auto close issues with "can't reproduce" label / close-issues (push) Has been cancelled Details
close #13700
2025-07-25 08:48:57 +08:00
zhangenming 31f798581c
chore(runtime-core): use NO instead of ()=>false (#13695) 2025-07-25 08:45:38 +08:00
Alex Snezhko 7343f7c95f
dx(runtime-core): fix warning message for useSlots, useAttrs invocation with missing instance (#13647)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
2025-07-23 08:42:50 +08:00
linzhe 7f2994393d
fix(runtime-core): ensure correct anchor el for unresolved async components (#13560)
close #13559
2025-07-23 08:42:10 +08:00
linzhe 90573b06bf
fix(custom-element): ensure exposed methods are accessible from custom elements by making them enumerable (#13634)
close #13632
2025-07-23 08:40:40 +08:00
edison c5f7db1154
fix(slots): refine internal key checking to support slot names starting with an underscore (#13612)
close #13611
2025-07-23 08:40:20 +08:00
edison a9269c642b
fix(hydration): prevent lazy hydration for updated components (#13511)
close #13510
2025-07-23 08:36:47 +08:00
Wick a0bd1f518e
refactor: migrate to getCurrentInstance API (#12958)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
2025-07-08 14:30:43 +08:00
GU Yiling c85f1b5a13
fix(css-vars): nullish v-bind in style should not lead to unexpected inheritance (#12461)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
close #12434
close #12439
close #7474
close #7475
2025-07-03 16:20:28 +08:00
edison 919c44744b
fix(slots): make cache indexes marker non-enumerable (#13469)
close #13468
2025-06-18 20:53:48 +08:00
Mark Florian cb14b860f1
fix(compat): allow v-model built in modifiers on component (#12654)
close #12652
2025-06-18 20:53:25 +08:00
inottn 47ddf98602
fix(runtime-core): unset old ref during patching when new ref is absent (#12900)
fix #12898
2025-06-05 10:19:48 +08:00
edison 73055d8d95
fix(custom-element): prevent injecting child styles if shadowRoot is false (#12769)
close #12630
2025-06-05 10:02:26 +08:00
skirtle e53a4ffbe0
chore(hydration): reuse existing variable (#13412)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (push) Has been cancelled Details
canary release / canary (push) Has been cancelled Details
canary minor release / canary (push) Has been cancelled Details
2025-05-30 14:43:23 +08:00
Tycho 5179d328d9
fix(types): exclude `undefined` from inferred prop types with default values (#13007)
close #13006
2025-05-22 08:03:33 +08:00
Tycho f44feed6fa
fix(types): avoid merging component instance into `$props` in `ComponentInstance` (#12870)
close #12751
2025-05-20 08:44:35 +08:00
edison 35aeae7fa3
fix(hydration): handle transition appear hydration edge case (#13339)
close #13335
2025-05-20 08:28:43 +08:00
edison d15dce3142
fix(teleport): handle deferred teleport updates before and after mount (#13350)
close #13349
2025-05-20 08:27:54 +08:00
edison 772b0087cb
fix(suspense): handle edge case in patching list nodes within Suspense (#13306)
close #13305
2025-05-16 08:32:55 +08:00
edison 80055fddfb
fix(hydration): skip lazy hydration for patched components (#13283)
close #13255
2025-05-16 08:22:01 +08:00
Adrian Cerbaro b9910755a5
fix(custom-element): allow injecting values ​​from app context in nested elements (#13219)
close #13212)
2025-05-16 08:07:32 +08:00
edison 1f98a9c493
fix(hmr): avoid hydration for hmr root reload (#12450)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (push) Has been cancelled Details
close vitejs/vite-plugin-vue#146
close vitejs/vite-plugin-vue#477
2025-05-13 22:23:23 +08:00
tonicli 626450590d
fix(runtime-core): inherit comment nodes during block patch in production build (#10748)
close #10747
close #12650
2025-05-13 22:18:28 +08:00
yangxiuxiu 343c891224
fix(transition): fix KeepAlive with transition out-in mode behavior in production (#12468)
close #12465
2025-05-13 22:16:45 +08:00
edison 9c4dbbc518
fix(hmr): avoid hydration for hmr updating (#12262)
close #7706
close #8170
2025-05-13 22:15:50 +08:00
Tycho 3f27c58ffb
fix(runtime-core): respect immutability for readonly reactive arrays in `v-for` (#13091)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (push) Has been cancelled Details
close #13087
2025-05-02 02:55:24 -07:00
yangxiuxiu 9196222ae1
fix(slots): properly warn if slot invoked in setup (#12195)
close #12194
2025-05-02 02:53:14 -07:00
edison 2206cd235a
fix(ssr): properly init slots during ssr rendering (#12441)
close #12438
2025-05-02 02:48:03 -07:00
edison 5e37dd0095
fix(hmr/teleport): adjust static children traversal for HMR in dev mode (#12819)
close #12816
2025-05-02 02:18:01 -07:00
dopamine 016c472bd2
fix(runtime-core): stop tracking deps in setRef during unmount (#13210) 2025-05-01 02:56:42 -07:00
edison 5d166f3796
fix(compiler-core): remove slot cache from parent renderCache during unmounting (#13215)
* fix(compiler-core): remove slot cache from parent renderCache during unmounting

* chore: update
2025-05-01 02:55:36 -07:00
dopamine b3ecee3da8
fix(runtime-core): update __vnode of static nodes when patching along the optimized path (#13223)
* fix(runtime-core):  update __vnode of static nodes when patching along the optimized path

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-01 02:54:40 -07:00
Tycho f6f64befb8
types: enhance plugin type inference for better IDE support (#13063)
* types: enhance plugin type inference for better JSDoc and IDE support

* test: clean up

* chore: tweaks
2025-03-19 11:44:32 +08:00
Buer Yang 10e54dcc86
fix(types): the directive's modifiers should be optional (#12605)
* fix(types): the directive's modifiers should be optional

* fix: test

---------

Co-authored-by: edison <daiwei521@126.com>
2025-03-19 11:38:59 +08:00
edison fdbd026583
fix(customFormatter): properly accessing ref value during debugger (#12948) 2025-03-14 08:19:06 +08:00
Shinigami 636a8619f0
feat(types): add type TemplateRef (#12645)
* feat(types): add type TemplateRef

* chore: simplify

Co-authored-by: jh-leong <jh.leong@outlook.com>

---------

Co-authored-by: jh-leong <jh.leong@outlook.com>
2025-03-14 08:17:49 +08:00
edison d6a6ec13ce
fix(runtime-core): prevent unmounted vnode from being inserted during transition leave (#12862)
close #12860
2025-02-12 15:30:08 +08:00
Liu Bo 06310e82f5
fix(types): allow return any for Options API lifecycle hooks (#5914)
Co-authored-by: edison <daiwei521@126.com>
2024-11-19 20:29:08 +08:00
edison 983eb50a17
fix(templateRef): set ref on cached async component which wrapped in KeepAlive (#12290)
close #4999
close #5004
2024-11-15 22:32:22 +08:00
edison da7ad5e3d2
fix(ssr): avoid updating subtree of async component if it is resolved (#12363)
close #12362
2024-11-15 22:11:21 +08:00