Commit Graph

5350 Commits

Author SHA1 Message Date
Daniel Roe 35da3c6dcb
fix(compiler-sfc): support global augments with named exports (#13789) 2025-09-02 17:03:16 +08:00
edison 8f6b505051
fix(runtime-core): disable tracking block in h function (#8213)
close #6913
2025-09-02 16:59:57 +08:00
Folee e322436887
fix(custom-element): prevent defineCustomElement from mutating the options object (#13791) 2025-09-02 16:56:33 +08:00
Zhong 24fccb4ee4
types(runtime-dom): improve event types (#13804)
close #13796
2025-08-25 15:25:10 +08:00
daiwei 3aa782df38 release: v3.5.20 2025-08-25 15:08:32 +08:00
edison 1031e8de08
fix(runtime-dom): add name to vShow for prop mismatch check (#13806)
close #13805
re-fix #13744
revert #13777

The implementation in #13777 requires users to configure __FEATURE_PROD_HYDRATION_MISMATCH_DETAILS__, otherwise errors like #13805 will occur.
2025-08-25 14:52:50 +08:00
Zhong 0f916d8c39
types(compiler-sfc): add explicit return type to genModelProps (#13441) 2025-08-23 21:32:53 +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
yangdan8 a48ffdad65
chore(reactivity): optimize size retrieval in createInstrumentations (#13759) 2025-08-21 17:52:55 +08:00
吴杨帆 cde15b07bf
chore: fix typo 2025-08-21 17:39:55 +08:00
daiwei 20b888bd59 release: v3.5.19 2025-08-21 10:29:08 +08:00
equt 0a202d890f
fix(compiler-ssr): disable v-memo transform in ssr vdom fallback branch (#13725)
close #13724
2025-08-21 10:03:16 +08:00
edison d9dd628800
fix(compiler-sfc): improve type inference for generic type aliases types (#12876)
close #12872
2025-08-21 09:48:40 +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
renovate[bot] 10edfb5fc0
chore(deps): update all non-major dependencies (#13733)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-20 22:14:18 +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
Adrian Cerbaro 0562548ab3
fix(compiler-sfc): throw mismatched script langs error before invoking babel (#13194)
Close #13193
2025-08-20 21:05:52 +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
Tycho 1498821ed9
fix(reactivity): warn on nested readonly ref update during unwrapping (#12141) 2025-08-20 20:45:01 +08:00
edison 439e1a543e
fix(hydration): also set vShow name if __FEATURE_PROD_HYDRATION_MISMATCH_DETAILS__ flag is enabled (#13777)
close #13744
2025-08-20 20:41:07 +08:00
alentide 8963b7979a
test(runtime-core): remove incorrect suspense test in vnode spec (#13782) 2025-08-20 20:36:37 +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
linzhe 911e67045e
fix(compiler-core): adjacent v-else should cause a compiler error (#13699)
close #13698
2025-07-25 08:30:05 +08:00
daiwei c486536105 release: v3.5.18
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (push) Has been cancelled Details
2025-07-23 08:57:59 +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
edison 8cfc10a80b
fix(ssr): ensure empty slots render as a comment node in Transition (#13396)
close #13394
2025-07-23 08:42:34 +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
zhiyuanzmj 9b029239ed
fix(compiler-core): identifiers in function parameters should not be inferred as references (#13548) 2025-07-23 08:41:50 +08:00
edison d8e40ef7e1
fix(compiler-sfc): transform empty srcset w/ includeAbsolute: true (#13639)
close vitejs/vite-plugin-vue#631
2025-07-23 08:41:17 +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
edison 00695a5b41
fix(compiler-core): avoid cached text vnodes retaining detached DOM nodes (#13662)
close #13661
2025-07-23 08:36:15 +08:00
山吹色御守 e60edc06f2
chore(test): report correct value of `__EXTEND_POINT__` when subsequent error codes is less than it (#13213)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (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
canary release / canary (push) Has been cancelled Details
canary minor release / canary (push) Has been cancelled Details
2025-07-18 16:24:29 +08:00
山吹色御守 21b685ad9d
fix(compiler-core): avoid self updates of `v-pre` (#12556) 2025-07-18 16:22:56 +08:00
山吹色御守 ce933390ad
fix(compiler-core): recognize empty string as non-identifier (#12553) 2025-07-18 15:58:50 +08:00
山吹色御守 d3af67e878
fix(compiler-core): transform empty `v-bind` dynamic argument content correctly (#12554) 2025-07-18 15:56:01 +08:00
山吹色御守 347ef1d3f5
chore(compiler-sfc): optimize the regular expression for matching `@keyframes` (#13566)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (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
2025-07-09 10:31:20 +08:00
renovate[bot] f97c4d4e6e
chore(deps): update compiler to ^7.28.0 (#13575)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: edison <daiwei521@126.com>
2025-07-09 09:38:17 +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
daiwei 5f8314cb7f release: v3.5.17
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (push) Has been cancelled Details
2025-06-18 21:14:18 +08:00
edison 15520954f9
fix(ssr): handle initial selected state for select with v-model + v-for/v-if option (#13487)
close #13486
2025-06-18 20:54:32 +08:00
Tycho f3479aac96
fix(compiler-sfc): improved type resolution for function type aliases (#13452)
close #13444
2025-06-18 20:54:09 +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
renovate[bot] 9818456f20
fix(deps): update compiler (#13480)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 15:08:15 +08:00
renovate[bot] a6e2032f43
chore(deps): update all non-major dependencies (#13451)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-13 08:26:12 +08:00
linzhe c7d3207cde
chore: export `jsxs` type (#13463) 2025-06-13 08:24:27 +08:00
pengbo cdffaf6b9e
chore(compile-core): removed the optional tag parameter from condenseWhitespace's signature (#13437)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (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
canary release / canary (push) Has been cancelled Details
canary minor release / canary (push) Has been cancelled Details
2025-06-06 08:25:02 +08:00
renovate[bot] e416f84d74
chore(deps): update all non-major dependencies (#13426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-05 10:38:49 +08:00
daiwei 1b98aafa05 chore: update snap 2025-06-05 10:26:52 +08:00
Alex Snezhko 55dad625ac
fix(compiler-core): prevent comments from blocking static node hoisting (#13345)
close #13344
2025-06-05 10:23:00 +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
SerKo e8d8f5f604
fix(reactivity): add `__v_skip` flag to `Dep` to prevent reactive conversion (#12804)
close #12803
2025-06-05 10:19:16 +08:00
edison 5ba1afba09
fix(custom-element): ensure configureApp is applied to async component (#12607)
close #12448
2025-06-05 10:10:52 +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
Arman Tang 4aa7a4aba3
chore(shared): update patch flag name (#12831) 2025-06-05 10:01:51 +08:00
edison 4eb46e443f
fix(compile-sfc): handle mapped types work with omit and pick (#12648)
close #12647
2025-06-05 10:01:22 +08:00
edison 10ebcef8c8
fix(compiler-core): ignore whitespace when matching adjacent v-if (#12321)
close #9173
2025-06-05 09:44:25 +08:00
山吹色御守 f05a8d613b
fix(compiler-core): do not increase newlines in `InEntity` state (#13362) 2025-06-05 09:39:05 +08:00
山吹色御守 762fae4b57
fix(types): typo of `vOnce` and `vSlot` (#13343) 2025-06-05 09:36:47 +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
btea 62f2aa11a2
test(compiler-sfc): direct descendant wildcard rule selector (#13411)
add test case for #13387
2025-05-30 10:35:27 +08:00
daiwei e7381761cc release: v3.5.16 2025-05-29 08:24:16 +08:00
edison 19f23b180b
Revert "fix(compiler-sfc): add scoping tag to trailing universal selector (#1…" (#13406)
This reverts commit 949df80880.
2025-05-29 08:21:19 +08:00
Arpit Jain d9bd436b1a
chore: fix typos
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
2025-05-28 08:26:28 +08:00
edison 42f879fcab
Revert "fix(compiler-sfc): add error handling for defineModel() without varia…" (#13390)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
This reverts commit 00734afef5.
2025-05-27 18:49:34 +08:00
daiwei d5ada3d235 release: v3.5.15
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
2025-05-26 20:38:56 +08:00
edison 2c6c0794a1
chore: fix type check error (#13366)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
2025-05-22 11:38:58 +08:00
yangxiuxiu 93949e6587
fix(compat): should not warn COMPILER_V_BIND_OBJECT_ORDER when using v-bind together with v-for (#12993)
fix #12992
2025-05-22 08:44:34 +08:00
thecodewarrior 949df80880
fix(compiler-sfc): add scoping tag to trailing universal selector (#12918)
close #12906
2025-05-22 08:41:27 +08:00
edison a683c80cf4
fix(custom-element): properly resolve props for sync component defs (#12855)
close #12854
2025-05-22 08:38:27 +08:00
edison 1d41d4de7f
fix(custom-element): ensure proper remount and prevent redundant slot parsing with shadowRoot false (#13201)
close #13199
2025-05-22 08:05:39 +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
renovate[bot] d53daf1f29
chore(deps): update all non-major dependencies (#13353)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-21 09:20:45 +08:00
Runyasak Chaengnaimuang 00734afef5
fix(compiler-sfc): add error handling for defineModel() without variable assignment (#13352)
close #13280
2025-05-21 09:06:05 +08:00
edison 89edc6cdcb
fix(compile-sfc): handle inline template source map in prod build (#12701)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
close #12682
close vitejs/vite-plugin-vue#500
2025-05-20 08:46:01 +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
Tycho c69c4bb59c
fix(watch): update `oldValue` before running `cb` to prevent stale value (#12296)
close #12294
2025-05-20 08:44:13 +08:00
edison 1a664749d4
fix(compat): ensure false value on input retains value attribute (#13216)
close #13205
2025-05-20 08:43:51 +08:00
edison 013749e75e
fix(custom-element): preserve appContext during update (#12455)
close #12453
2025-05-20 08:34:36 +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 163b3651d1
fix(compiler-dom): improve HTML nesting validation to allow any child element within template tag (#13320)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (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 #13318
2025-05-16 09:05:31 +08:00
Teages f7ce5ae666
fix(compiler-sfc): simulate `allowArbitraryExtensions` on resolving type (#13301)
close #13295
2025-05-16 08:38:47 +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
linzhe cf5a5e0edf
fix(compiler-sfc): improve type inference for TSTypeAliasDeclaration with better runtime type detection (#13245)
close #13240
2025-05-16 08:32:13 +08:00
edison d37a2ac59d
fix(compiler-core): ensure mapping is added only if node source is available (#13285)
close #13261
close vitejs/vite-plugin-vue#368
2025-05-16 08:22:37 +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
daiwei d0253a0b7e release: v3.5.14
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
2025-05-15 11:13:02 +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
edison 8e3435779a
fix(compiler-sfc): fix scope handling for props destructure in function parameters and catch clauses
close #12790
2025-05-13 22:17:24 +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