Commit Graph

6110 Commits

Author SHA1 Message Date
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
edison f70f9d1a6b
test(runtime-vapor): port tests from rendererChildren.spec.ts (#13649)
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-22 15:00:41 +08:00
daiwei 56a7f9dd18 release: v3.6.0-alpha.2
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-18 17:37:08 +08:00
edison 2be828a0c1
fix(runtime-vapor): handle v-model vdom interop error (#13643) 2025-07-18 17:34:50 +08:00
zhiyuanzmj fca74b00a8
fix(runtime-vapor): remove access globalProperties warning (#13609) 2025-07-18 17:15:20 +08:00
zhiyuanzmj b9fb79a1fd
fix(reactivity): allow collect effects in EffectScope (#13657)
close #13656
2025-07-18 17:01:58 +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
Doctor Wu 3cb27d156f
fix(reactivity): remove link check to align with 3.5 (#13654)
close #13620
2025-07-18 15:28:01 +08:00
zhiyuanzmj ad21b1b7e9
fix(runtime-core): use __vapor instead of vapor to identify Vapor components (#13652) 2025-07-18 15:26:05 +08:00
Rizumu Ayaka d1f2915cfe
fix(compiler-vapor): handle empty interpolation (#13592) 2025-07-18 15:24:52 +08:00
zhiyuanzmj a5e106d96e
fix(compiler-vapor): handle special characters in cached variable names (#13626) 2025-07-18 15:03:36 +08:00
Johnson Chu f04c9c342d
fix(compiler-vapor): selectors was not initialized in time when the initial value of createFor source was not empty (#13642) 2025-07-18 15:00:04 +08:00
edison d95fc186c2
fix(runtime-vapor): component emits vdom interop (#13498)
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-16 13:49:52 +08:00
Evan You f4934ac18e
chore: fix incorrect package.json repo link
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-12 16:09:19 +08:00
Evan You 65abd6edbd
release: v3.6.0-alpha.1 2025-07-12 16:00:05 +08:00
Johnson Chu b4d8e7184c
fix(reactivity): add back STOP flag (#13605)
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-10 17:14:59 +08:00
edison c14171e6e5
fix(deps): add estree-walker (#13604)
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-10 10:53:25 +08:00
zhiyuanzmj be7d5a6c34
fix(runtime-vapor): fix error when props are not provided 2025-07-10 10:38:21 +08:00
edison 487d25efac
fix(type): remove internal doc for refs (#13589) 2025-07-09 19:08:13 -07:00
Johnson Chu 7cf9d9857d
perf(vapor): more efficient renderList update algorithm (#13279) 2025-07-09 18:48:39 -07:00
zhiyuanzmj d5adf95dda
feat(runtime-vapor): support functional slot in vdom component (#13576) 2025-07-09 18:46:41 -07:00
zhiyuanzmj 1611bb1446
feat(vapor): add vapor flag for createVaporApp (#13360) 2025-07-09 18:12:22 -07:00
Johnson Chu 1dd74e2ae0
feat(vapor): generate more efficient runtime code for specific interpolation patterns (#13278) 2025-07-09 18:06:13 -07:00
Johnson Chu 5a528aa5cc
refactor(reactivity, runtime-core): improve performance-critical code (#13274) 2025-07-09 17:56:19 -07:00
zhiyuanzmj 1e424c4ec4
feat(runtime-vapor): expose isVaporComponent (#13307) 2025-07-09 17:31:28 -07:00
zhiyuanzmj 38d3f9a83f
feat(runtime-vapor): support HMR for non-compiled setup component (#13102) 2025-07-09 17:30:25 -07: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
edison 6dc07a8922
fix(devtools): allow setting devtools hook after createApp (#13580)
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-09 08:45:09 +08:00
edison a5379e23f5
fix(compiler-vapor): add missing dependency for @babel/parser in package.json (#13581) 2025-07-09 08:44:41 +08:00
edison 94b2ddc6f9
fix(scheduler): improve error handling in job flushing (#13587) 2025-07-09 08:44:24 +08:00
edison 25e075d967
fix(parse): make 'vapor' property optional (#13590) 2025-07-09 08:43:57 +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
daiwei d0cf234f8d Merge branch 'vapor' 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-07-07 08:37:12 +08:00
edison cf20ee6fdf
Revert "feat: Vapor mode (#12359)" (#13578)
This reverts commit bfe5ce309c.
2025-07-07 08:34:02 +08:00
Evan You bfe5ce309c
feat: Vapor mode (#12359) 2025-07-07 08:06:20 +08:00
Johnson Chu 19ae372739
fix(reactivity): avoid unwrapping `.value` when the proxy is a direct wrapper of Ref (#13569) 2025-07-07 08:05:18 +08:00
daiwei 3a3bd842ca fix: format
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
2025-07-04 14:28:15 +08:00
daiwei 926748423d chore: Merge branch 'minor' into vapor 2025-07-04 14:20:10 +08:00
daiwei be178f876c chore: Merge branch '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-07-04 13:52:08 +08:00
edison 68fe37a323
test(runtime-vapor): add vdomInterop tests (#13563)
ci / test (push) Waiting to run Details
ci / continuous-release (push) Waiting to run Details
2025-07-04 11:29:51 +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 bb4ae25793
fix(compiler-vapor): handle variable name substring edge cases (#13520)
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
2025-06-26 15:41:25 +08:00
edison 66f16ee5db
fix(compiler-vapor): properly handle static ref in inline mode (#13257) 2025-06-26 15:35:27 +08:00
edison 280829bf73
fix(runtime-vapor): ensure props are shallow reactive in VDOM component (#13502) 2025-06-26 15:34:47 +08:00
edison 2074d66c90
fix(compiler-sfc): always use defineComponent in SSR mode (#13525) 2025-06-26 14:46:21 +08:00
edison 48a1370405
fix(compiler-vapor): properly cache variable with optional chaining (#13519) 2025-06-26 14:44:39 +08:00
daiwei c86bf7b11f chore: update snap
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
2025-06-20 08:59:51 +08:00
zhiyuanzmj bf7424aa29
fix(compiler-vapor): correct execution order of operations (#13351) 2025-06-20 08:55:50 +08:00
edison 430216a9f5
fix(runtime-vapor): should not warn invalid watch source when directly watching props (#13384) 2025-06-20 08:44:35 +08:00
zhiyuanzmj 2250d415b9
fix(compiler-vapor): remove types for expressions (#13395) 2025-06-20 08:43:15 +08:00
edison 6f6ab1ab3c
fix(runtime-vapor): dynamic component attrs fallthrough (#13466) 2025-06-20 08:40:52 +08:00
edison d65675d902
fix(runtime-vapor): dynamic component work with insertionState (#13142) 2025-06-20 08:38:24 +08:00
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
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