Commit Graph

5367 Commits

Author SHA1 Message Date
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
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
edison 0b23fd2383
fix(reactivity): should not recompute if computed does not track reactive data (#12341)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
close #12337
2025-05-01 07:02:17 -07:00
edison 8b848cbbd2
fix(TransitionGroup): reset prevChildren to prevent memory leak (#13183)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
size data / upload (push) Waiting to run Details
close #13181
2025-05-01 02:58:07 -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
renovate[bot] c3e3396475
chore(deps): update dependency vite to v5.4.18 [security] (#13229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: edison <daiwei521@126.com>
2025-04-23 08:31:15 +08:00
山吹色御守 8ae11226e8
fix(compiler-sfc): treat the return value of `useTemplateRef` as a definite ref (#13197) 2025-04-14 17:08:06 +08:00
renovate[bot] 1faca599cd
chore(deps): update all non-major dependencies (#13166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 15:11:17 +08:00
linzhe 466b30f404
fix(compat): correct deprecation message for v-bind.sync usage (#13137)
close #13133
2025-04-02 11:12:29 +08:00
Ecco 1499135c22
fix(runtime-dom): always treat autocorrect as attribute (#13001)
close #5705
2025-03-31 14:31:11 +08:00
renovate[bot] 40fd95ffd3
chore(deps): update all non-major dependencies (#13092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-25 08:12:49 +08:00
Eduardo San Martin Morote 7278d35213
docs(tsdoc): remove extra () in link tag (#13086) 2025-03-24 08:20:35 +08: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
renovate[bot] 4fea167b57
fix(deps): update compiler (#13051)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-17 13:27:17 +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
renovate[bot] 4b1931cf89
chore(deps): update all non-major dependencies (#12983)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-04 20:15:44 +08:00
Sunny 604d08760e
test(reactivity): add tests for reactive and non-reactive objects (#12576) 2025-02-20 17:00:31 +08:00
FatRadish 295b5ec19b
fix(reactivity): ensure markRaw objects are not reactive (#12824)
close #12807
2025-02-19 14:25:30 +08:00
edison cbf5821028
chore(deps): fix MappingItem type (#12891) 2025-02-17 15:07:10 +08:00
renovate[bot] 4a1884f8dc
chore(deps): update all non-major dependencies (#12886)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-17 14:50:22 +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
Aaron-zon 99551e387a
chore(compiler-sfc): change `let start` to `const start` (#12849) 2025-02-11 15:18:09 +08:00
Jeff Muizelaar 7ecd2a22c7
test(e2e): Replace deprecated 'clickCount' property with 'count' (#12778)
This fixes double clicks when using WebDriver BiDi.
See https://github.com/puppeteer/puppeteer/issues/13550
2025-01-29 20:22:20 +08:00
Tycho 29216853d4
chore(compiler-sfc): remove unused variable (#12750) 2025-01-21 09:28:04 +08:00
renovate[bot] 0f12fb7ea9
fix(deps): update dependency postcss to ^8.5.1 (#12747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 09:43:23 +08:00
renovate[bot] 50b7aa17e9
chore(deps): update all non-major dependencies (#12742)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 08:41:00 +08:00
edison 82da43d167
fix(test): use LaunchOptions instead of PuppeteerLaunchOptions (#12734)
ref puppeteer/puppeteer#13426
2025-01-17 09:26:12 +08:00
edison c950b4c0c4
chore(deps): manually update puppeteer + @vitest/eslint-plugin (#12706) 2025-01-14 10:09:08 +08:00
renovate[bot] 2d6bcc4537
chore(deps): update all non-major dependencies (#12685)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-12 09:57:53 +08:00
renovate[bot] 23d2f453d1
chore(deps): update dependency minimatch to v10 (#12691)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-12 09:38:25 +08:00
Evan You 22dcbf3e20
fix(reactivity): ensure multiple effectScope on() and off() calls maintains correct active scope
close #12631
close #12632

This is a combination of changes from both 8dec243 and #12641
2025-01-08 18:07:44 +08:00
renovate[bot] d07cdead2c
chore(deps): update all non-major dependencies (#12557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-16 10:48:44 +08:00
LiquidAssContainer 11c053a542
fix(typos): fix comments referencing transformElement.ts (#12551)[ci-skip] 2024-12-16 10:43:01 +08:00
renovate[bot] c86a08b946
chore(deps): update all non-major dependencies (#12492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 09:22:52 +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
renovate[bot] 14f6917c3c
chore(deps): update all non-major dependencies (#12423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 11:30:02 +08:00
renovate[bot] fdaff720d7
fix(deps): update compiler (#12422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 10:31:14 +08:00
Evan You 6eb29d345a
release: v3.5.13 2024-11-15 22:45:28 +08:00
edison 4f8d807822
fix(ssr): handle initial selected state for select with v-model + v-for option (#12399)
close #12395
2024-11-15 22:32:39 +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
Bulat Aikaev 1f75d4e6df
fix(ssr): ensure v-text updates correctly with custom directives in SSR output (#12311)
close #12309
2024-11-15 22:02:50 +08:00
Tadas 4b479db61d
fix(transition): reflow before leave-active class after leave-from (#12288)
re-fix #2593
2024-11-15 21:36:21 +08:00
linzhe a20a4cb36a
fix(hydration): the component vnode's el should be updated when a mismatch occurs. (#12255)
close #12253
2024-11-15 18:18:58 +08:00
Evan You 352bc88c1b
fix(custom-element): avoid triggering mutationObserver when relecting props
close #12214
close #12215
2024-11-15 17:21:49 +08:00
zhangenming d637bd6c01
perf(reactivity): do not track inner key `__v_skip`` (#11690) 2024-11-15 11:00:24 +08:00
edison 2d78539da3
fix(compiler-dom): properly stringify template string style (#12392)
close #12391
2024-11-15 10:56:08 +08:00
Evan You 54812eacaa
test: add test case for transition memory leaks
from https://github.com/vuejs/core/pull/12190
2024-11-15 10:50:26 +08:00
edison 1022eabaa1
fix(types): defineEmits w/ interface declaration (#12343)
close #8457
2024-11-15 10:46:59 +08:00
edison 660132df6c
fix(Transition): fix transition memory leak edge case (#12182)
close #12181
2024-11-15 10:40:26 +08:00
edison 4aeff318bd
chore(deps): update dependency postcss-selector-parser to v7 (#12289) 2024-11-15 10:37:55 +08:00
edison 70b44ca835
chore(reactivity): remove unecessary array copy (#12400) 2024-11-15 10:37:24 +08:00
edison 8bff142f99
fix(teleport): handle deferred teleport update before mounted (#12168)
close #12161
2024-11-14 20:55:18 +08:00
linzhe c4312f9c71
fix(runtime-dom): set css vars on update to handle child forcing reflow in onMount (#11561) 2024-11-14 15:58:28 +08:00
Evan You 2d5c5e25e9
fix(runtime-dom): set css vars before user onMounted hooks
close #11533
2024-11-14 15:50:19 +08:00
linzhe 99009eee0e
fix(compiler-core): handle v-memo + v-for with functional key (#12014)
close #12013
2024-11-14 15:14:29 +08:00
edison 37300fc261
fix(v-once): setting hasOnce to current block only when in v-once (#12374)
close #12371
2024-11-14 14:53:55 +08:00
edison bee2f5ee62
fix(reactivity): release nested effects/scopes on effect scope stop (#12373)
close #12370
2024-11-14 14:24:22 +08:00
Evan You 21932840ea
fix(reactiivty): avoid unnecessary watcher effect removal from inactive scope
close #5783
close #5806
2024-11-14 14:12:41 +08:00
Evan You e9f3e6b546
workflow: bench against bundled dist file to avoid import access overhead
ref https://github.com/vitest-dev/vitest/issues/6903
2024-11-14 08:38:48 +08:00
renovate[bot] b5ff930089
fix(deps): update dependency postcss to ^8.4.48 (#12356)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 10:20:54 +08:00
renovate[bot] 7d0dc7394f
chore(deps): update all non-major dependencies (#12316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 09:25:09 +08:00
renovate[bot] ad247b3323
chore(deps): update all non-major dependencies (#12275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-28 09:17:49 +08:00
renovate[bot] ed01d92571
chore(deps): update all non-major dependencies (#12222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 09:53:31 +08:00
Tycho 657603d7b7
docs: update package name to `@vue/compiler-core` (#12192)[ci skip] 2024-10-17 12:00:03 +08:00
edison 828d4a4439
fix(test): update snapshot (#12169) 2024-10-14 11:24:13 +08:00
btea a038505c65
chore: improve `renderComponentRoot` warn message (#10914) 2024-10-14 10:14:32 +08:00
远方os 4e19a99461
test(shared): improve test coverage (#8456)
Co-authored-by: edison <daiwei521@126.com>
2024-10-14 10:10:27 +08:00
zr 3b5d8d2511
test(defineProps): add intersection type test (#8684)
Co-authored-by: daiwei <daiwei521@126.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-14 10:09:13 +08:00
renovate[bot] be9eed2593
chore(deps): update all non-major dependencies (#12164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 10:06:33 +08:00
skirtle 1755ac0a10
perf(runtime-core): use feature flag for call to resolveMergedOptions (#12163)
Reduce bundle size when using `__VUE_OPTIONS_API__: false`
2024-10-14 08:18:18 +08:00
Evan You 770ea67a9c
release: v3.5.12 2024-10-11 21:12:32 +08:00
skirtle c82b66214b
refactor(reactivity): reduce size of collectionHandlers (#12152) 2024-10-11 21:10:09 +08:00
Tycho ea943afe40
fix(runtime-dom): prevent unnecessary updates in v-model checkbox when value is unchanged (#12146)
close #12144
2024-10-11 21:00:08 +08:00
Evan You d82fa611e8
chore: format 2024-10-11 11:25:48 +08:00
KevinXi d96883cf7d
test(reactivity): test for verifying no unnecessary calls of reactive array identity methods (#11328)
related: #9511
2024-10-11 11:24:03 +08:00