Commit Graph

811 Commits

Author SHA1 Message Date
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
山吹色御守 1e8b65aa49
perf: improve regexp performance with non-capturing groups (#13567) 2025-09-02 17:30:02 +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
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 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
linzhe 911e67045e
fix(compiler-core): adjacent v-else should cause a compiler error (#13699)
close #13698
2025-07-25 08:30:05 +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 00695a5b41
fix(compiler-core): avoid cached text vnodes retaining detached DOM nodes (#13662)
close #13661
2025-07-23 08:36:15 +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
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
Alex Snezhko 55dad625ac
fix(compiler-core): prevent comments from blocking static node hoisting (#13345)
close #13344
2025-06-05 10:23:00 +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
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
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 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
linzhe 466b30f404
fix(compat): correct deprecation message for v-bind.sync usage (#13137)
close #13133
2025-04-02 11:12:29 +08:00
LiquidAssContainer 11c053a542
fix(typos): fix comments referencing transformElement.ts (#12551)[ci-skip] 2024-12-16 10:43:01 +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
山吹色御守 cde2c0671b
fix(compiler): clone loc to `ifNode` (#12131)
fix vuejs/language-tools#4911
2024-10-11 11:07:07 +08:00
edison 62242886d7
fix(compile-core): fix v-model with newlines edge case (#11960)
close #8306
2024-09-20 16:45:47 +08:00
Evan You 3c4bf76276
fix(compiler-dom): should ignore leading newline in <textarea> per spec 2024-09-13 21:24:59 +08:00
edison 706d4ac1d0
fix(compiler-core): fix handling of delimiterOpen in VPre (#11915)
close #11913
2024-09-13 16:46:01 +08:00
btea fe2ab1bbac
chore: remove unused variable (#11842) 2024-09-07 18:30:58 +08:00
山吹色御守 3f13203564
feat(compiler-core): parse modifiers as expression to provide location data (#11819) 2024-09-05 21:00:16 +08:00
Evan You 40193696b3
chore(build): use /*@__PURE__*/ annotation consistently 2024-09-04 20:24:33 +08:00
Evan You ac9e7e8bfa
test: adjust coverage config, use v8 coverage 2024-08-29 10:41:29 +08:00
Evan You e9e08155bf
fix(build): revert entities to 4.5 to avoid runtime resolution errors
close #11603
2024-08-15 10:16:32 +08:00
Evan You 5861229475
fix(compiler-core): use ast-based check for function expressions when possible
close #11615
2024-08-15 09:58:30 +08:00
Evan You 741d8a0710
chore: Merge branch 'main' into minor 2024-08-08 23:06:53 +08:00
Kevin Deng 三咲智子 928af5fe2f
refactor(types): enable `isolatedDeclarations` (#11178) 2024-08-08 23:05:21 +08:00
山吹色御守 236fb7abeb
fix(compiler-core): use `isProp.arg.loc` instead of `isProp.loc` (#11547) 2024-08-08 17:13:24 +08:00
Evan You eaf5455d77
chore: Merge branch 'main' into minor 2024-08-07 18:25:58 +08:00
Evan You ea190f24e4
chore(deps): upgrade to entities 5.0
close #11507
2024-08-05 14:14:52 +08:00
Evan You 67bb820904
fix(compiler-core): properly handle for loop variable declarations in expression transforms
ref https://github.com/vuejs/core/pull/11467#issuecomment-2263069794
2024-08-05 14:07:44 +08:00
Evan You 077a1aeb3c
fix(compiler-core): fix expression transform for try...catch block params
close #11465
close #11467
2024-08-05 13:46:51 +08:00
Evan You f15ba2c2e2
chore: Merge branch 'main' into minor 2024-07-17 17:32:31 +08:00
Evan You d343a0dc01
fix(v-once): properly unmount v-once cached trees
close #5154
close #8809
2024-07-13 21:38:32 +08:00
Evan You 3107b57e2e
refactor: isVNode -> isVOnce 2024-07-13 21:07:45 +08:00
Evan You aef807746a
refactor(compiler): move patchFlag text generation to codegen phase 2024-07-13 19:40:04 +08:00
Tycho 746352a14d
fix(compiler-core): handle inline comments with undefined bindings (#11217)
close #11216
2024-06-28 09:48:23 +08:00
Evan You 7d06ca3a83
chore: Merge branch 'main' into minor 2024-06-22 21:05:15 +08:00
_Kerman e102670bde
fix(compiler-core): should not remove slot node with `v-else` (#11150) 2024-06-22 17:08:39 +08:00
Simon He 914f064429
refactor(compat/compiler-core): improve conditional branching (#11185) 2024-06-22 17:05:35 +08:00
Evan You 26356264d2
chore: Merge branch 'main' into minor 2024-06-14 12:32:28 +02:00
Vadim Kruglov 29425df1ac
fix(compiler-core): fix :key shorthand on v-for (#10942)
close #10882
close #10939
2024-06-04 20:18:24 +08:00