Commit Graph

6056 Commits

Author SHA1 Message Date
zhiyuanzmj b96447dd41
chore(compiler-vapor): use compiler-dom instead of compiler-core (#13364) 2025-06-20 08:30:36 +08:00
edison b9dc8658cb
fix(runtime-vapor): properly mount component when using setInsertionState (#13041) 2025-06-20 08:29:50 +08:00
Runyasak Chaengnaimuang 504fa10de3
fix(compiler-vapor): prevent v-for components from being single root (#13149) 2025-06-20 08:17:54 +08:00
zhiyuanzmj ed05053fc1
fix(compiler-vapor): prevent caching UpdateExpression (#13346) 2025-06-20 08:16:47 +08:00
edison a6e4966257
fix(runtime-vapor): dynamic component fallback rendering with insertion state (#13492) 2025-06-20 08:11:40 +08:00
zhiyuanzmj cb925112f5
fix(compiler-vapor): don't generate default slot for whitespace when preserved (#13009) 2025-06-20 08:11:05 +08:00
edison 6f8ea357b2
fix(runtime-vapor): should not fallthrough emit handlers to vdom child (#13500) 2025-06-20 08:08:34 +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
Tycho 7d84010c0f
fix(runtime-vapor): respect immutability for readonly reactive arrays in `v-for` (#13187) 2025-06-18 10:17:22 +08:00
daiwei a0c42ffbbc chore: Merge branch 'minor' into vapor 2025-06-18 09:30:17 +08:00
zhiyuanzmj ff7fa88de1
fix(compiler-vapor): move `next`, `child` and `nthChild` before setInsertionState (#13057) 2025-06-18 09:05:43 +08:00
edison 99a8c6d34b
fix(runtime-vapor): reset insertion state to avoid duplicate block inserts during non-hydration (#13220) 2025-06-18 09:01:59 +08:00
zhiyuanzmj 99482a4ddf
fix(compiler-vapor): prevent caching variables in function expression (#13244) 2025-06-18 08:53:38 +08:00
edison e5a59578e5
fix(runtime-vapor): set ref on dynamic component (#13172) 2025-06-18 08:51:29 +08:00
zhiyuanzmj ffb7ba77c9
fix(runtime-vapor): prevent passing an empty string to classList.add (#12974) 2025-06-18 08:44:50 +08:00
edison 978c47f751
feat(compiler-vapor): resolve implicitly self-referencing component (#13400) 2025-06-18 08:36:25 +08:00
edison 08f9c1d9f6
fix(compiler-vapor): properly locate last if node (#13399) 2025-06-18 08:36:05 +08:00
daiwei 4435a2eca5 chore: use fragment's anchor as insertion point
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
2025-06-13 15:04:50 +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
daiwei f4f038873f wip: refactor tests
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
2025-06-12 15:54:40 +08:00
daiwei 7cfec7fcfb wip: vdom slot interop 2025-06-12 15:16:59 +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
daiwei dcf927ff8c fix(vdomInterop): handle forwarded vapor slots during render VDOM slot
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
2025-05-30 17:12:43 +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 c23d63582e chore: update 2025-05-30 09:40:54 +08:00
daiwei a952b03358 test: add tests
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
2025-05-29 22:13:46 +08:00
daiwei dde7076120 feat(compiler-vapor): add support for forwarded slots 2025-05-29 17:04:49 +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
zhiyuanzmj 122f75824d
test(compiler-vapor): fix v-for test (#13347)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
2025-05-19 11:42: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 77067abd33 chore: merge main into minor
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
size data / upload (push) Has been cancelled Details
2025-05-15 16:27:31 +08:00
zhiyuanzmj 5036f91ca4
test(compiler-vapor): add index test for v-for (#13004)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
2025-05-15 14:43:02 +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
edison d8ae428172 chore: Merge branch 'minor' into vapor
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
2025-05-08 18:14:18 +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
edison ff31f50b87
chore: remove warnRecursiveComputed (#13128) 2025-04-10 23:36:38 -07: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
daiwei 5cf205e355 Merge branch 'main' into minor 2025-04-07 08:42:11 +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
edison f78a9d068d
Merge branch 'minor' into vapor 2025-04-01 21:01:53 +08:00
Johnson Chu 826550cd62
fix(reactivity): queuing effects in an array (#13078) 2025-03-30 23:36:02 -07:00