Commit Graph

5341 Commits

Author SHA1 Message Date
王二狗 c16f8a94c7
chore: fix typo. (#13948)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (push) Has been cancelled Details
2025-10-04 09:46:30 +08:00
daiwei 5a8aa0b2ba release: v3.5.22
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (push) Has been cancelled Details
2025-09-25 09:05:13 +08:00
Tobias Messner 1be5ddfe87
fix(transition-group): run `forceReflow` on the correct document (fix #13849) (#13853)
close #13849
2025-09-25 08:42:52 +08:00
renovate[bot] 9612b95220
chore(deps): update all non-major dependencies (#13883)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-24 21:34:31 +08:00
Tony Wang 5953c9ff90
fix(compiler-core): identifiers in switch-case should not be inferred as references (#13923) 2025-09-24 21:33:48 +08:00
edison 565741a9b2
refactor(compiler): add separate transform for vbind shorthand (#13438)
close #13169
close #13170
close #11321
close #12298
close #12828

use tests from #13170 and #12298 and #12828
2025-09-24 21:23:07 +08:00
Matthias Hryniszak 47e628df1c
feat(custom-element): allow specifying additional options for `shadowRoot` in custom elements (#12965)
close #12964
2025-09-24 21:14:54 +08:00
edison 6b68f72673
Revert "fix(hmr): prevent __VUE_HMR_RUNTIME__ from being overwritten by vue runtime in 3rd-party libraries" (#13925)
This reverts commit 1392734ae5.
2025-09-24 18:02:05 +08:00
Massimiliano Torromeo 8bb8fb2362
fix(types): more precise types for Events and added missing definitions (#9675) 2025-09-24 17:56:28 +08:00
Alex Snezhko c4a88cdd0d
fix(custom-element): set prop runs pending mutations before disconnect (#13897)
close #13315
2025-09-24 17:42:11 +08:00
edison e388f1a09f
fix(compiler-sfc): enhance inferRuntimeType to support TSMappedType with indexed access (#13848)
close #13847
2025-09-24 17:29:38 +08:00
Arthur Darkstone fda47ac702
chore(types): improve type safety in watch functions and instanceWatch (#13918) 2025-09-24 17:21:41 +08:00
linzhe 5e1e791880
fix(custom-element): properly mount multiple Teleports in custom element component w/ shadowRoot false (#13900)
close #13899
2025-09-24 17:15:36 +08:00
Arman Tang 95c1975604
fix(compiler-dom): nodes with v-once shouldn't be stringified (#13878) 2025-09-24 17:13:44 +08:00
czhlin 4b7170625d
fix(types): widen directive arg type from string to any (#13758)
closes #13757
2025-09-24 17:12:25 +08:00
Daniel Roe 9c279517b9
fix(compiler-sfc): ensure css custom properties do not start with a digit (#13870) 2025-09-24 17:11:36 +08:00
edison aba7feda17
fix(reactivity): respect readonly during ref unwrapping (#13905)
close #13903
2025-09-24 17:10:49 +08:00
edison ba7f7f90f6
fix(compiler-sfc): add support for @vue-ignore in runtime type resolution (#13906) 2025-09-24 17:10:20 +08:00
edison 5358bca4a8
fix(custom-element): use PatchFlags.BAIL for slot when props are present (#13907)
close #13904
2025-09-24 17:08:25 +08:00
linzhe 836b82976f
fix(compiler-ssr): ensure v-show has a higher priority in SSR (#12171)
close #12162
2025-09-24 17:06:03 +08:00
山吹色御守 8620a616eb
fix(types): set dom stub type to `never` instead of `{}` (#13915)
re-fix #11564
2025-09-24 17:04:51 +08:00
yangdan8 2078f8b756
fix(reactivity): update iterator to check for completion instead of value presence (#13761) 2025-09-24 17:04:15 +08:00
edison abd563822a
fix(compiler-sfc): ensure props bindings register before compiling template (#13922)
close #13920
2025-09-24 17:03:47 +08:00
daiwei 8c1f61d050 chore: format 2025-09-15 10:18:59 +08:00
codelo e5a6fe42ea
chore(docs): add missing commas 2025-09-15 10:08:36 +08:00
edison 75220c7995
fix(runtime-core): simplify block-tracking disabling in h() (#13841) 2025-09-03 09:13:09 +08:00
daiwei 4b6cb1f52a release: v3.5.21 2025-09-02 17:59:45 +08:00
yangxiuxiu 5d75a170c8
fix(Suspence): handle Suspense + KeepAlive HMR updating edge case (#13076)
close #13075
2025-09-02 17:44:13 +08:00
Alex Snezhko 55922ff316
fix(compiler-sfc): check lang before attempt to compile script (#13508)
close #8368
2025-09-02 17:39:29 +08:00
山吹色御守 1e8b65aa49
perf: improve regexp performance with non-capturing groups (#13567) 2025-09-02 17:30:02 +08:00
skirtle f2699a5cb3
fix(watch): use maximum depth for duplicates (#13434) 2025-09-02 17:29:08 +08:00
edison 99d54b28b4
fix(compiler-core): force dynamic slots when slot referencing scope vars (#9427)
close #9380
2025-09-02 17:24:56 +08:00
Red Huang 15fc75f403
fix(runtime-core): use separate emits caches for components and mixins (#11661) 2025-09-02 17:15:46 +08:00
Yang Mingshan 4810f1489f
chore(types): compatible with TS 5.8 (#12973) 2025-09-02 17:13:08 +08:00
edison 26bce3dc6c
chore: update side effect annotations to use standardized format (#13839) 2025-09-02 17:12:19 +08:00
Andrei L 842a392ae5
types(jsx): add undefined to optional properties (#12771)
close #6068
2025-09-02 17:11:18 +08:00
edison 1392734ae5
fix(hmr): prevent __VUE_HMR_RUNTIME__ from being overwritten by vue runtime in 3rd-party libraries (#13817)
close vitejs/vite-plugin-vue#644
2025-09-02 17:10:30 +08:00
edison 8696e346b4
fix(compiler-sfc): support `${configDir}` in paths for TypeScript 5.5+ (#13491)
close #13484
2025-09-02 17:09:44 +08:00
edison 93ba107672
fix(templateRef): prevent unnecessary set ref on dynamic ref change or component unmount (#12642)
close #12639
2025-09-02 17:08:53 +08:00
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
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