Commit Graph

364 Commits

Author SHA1 Message Date
edison d6e69c552b
Merge branch 'minor' into edison/feat/svgAndMathML 2025-08-28 21:32:55 +08:00
daiwei ecef5332f8 feat: enhance SVG support in dynamic props and attrs handling 2025-08-28 21:32:04 +08:00
edison 248b394e15
fix(compiler-vapor): adjust children generation order for hydration (#13729) 2025-08-20 17:49:12 +08:00
daiwei d0da0226ad fix: use Namespace type for namespace handling 2025-08-03 10:33:39 +08:00
daiwei 4fcc7393f3 chore: tweaks
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details
2025-07-26 16:37:28 +08:00
daiwei e2f84fc075 wip: save 2025-07-26 16:32:03 +08:00
daiwei 0d22bbc96b wip: add tests 2025-07-25 17:09:09 +08:00
daiwei 40b1e1e5de feat(runtime-vapor): support svg and MathML 2025-07-25 16:10:29 +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
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
Evan You 65abd6edbd
release: v3.6.0-alpha.1 2025-07-12 16:00:05 +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
Johnson Chu 1dd74e2ae0
feat(vapor): generate more efficient runtime code for specific interpolation patterns (#13278) 2025-07-09 18:06:13 -07: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 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 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
zhiyuanzmj 2250d415b9
fix(compiler-vapor): remove types for expressions (#13395) 2025-06-20 08:43:15 +08:00
zhiyuanzmj b96447dd41
chore(compiler-vapor): use compiler-dom instead of compiler-core (#13364) 2025-06-20 08:30:36 +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
zhiyuanzmj cb925112f5
fix(compiler-vapor): don't generate default slot for whitespace when preserved (#13009) 2025-06-20 08:11:05 +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 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
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
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
Evan You 2a76b52d7f
wip(vapor): fix children gen for dynamic with anchor insertion 2025-03-11 20:32:07 +08:00
Evan You 9ff6177697
chore(vapor): remove no longer needed CREATE_TEXT_NODE IR type 2025-03-11 15:33:21 +08:00
Evan You 9722574744
wip(vapor): adjust children and block generation order for hydration 2025-03-11 15:09:36 +08:00
Evan You e3a33e6092
wip(vapor): component hydration 2025-03-10 16:18:02 +08:00
Evan You a2415de7bf
wip(vapor): text hydration tests 2025-03-09 20:14:03 +08:00
Evan You 97c40a69fb
refactor(vapor): refactor interpolation transform to make it hydration friendly 2025-03-07 20:49:21 +08:00
zhiyuanzmj 5452404b71
feat(compiler-vapor): add jsx support for setText and createTextNode (#12893) 2025-02-28 17:06:19 +08:00
edison ad5bb16709
fix(compiler-vapor): properly cache variable used in object property shorthand (#12815) 2025-02-28 17:02:52 +08:00
edison 1b50febfe9
perf(vapor): use nthChild instead of nextn (#12847) 2025-02-12 16:43:26 +08:00
Evan You 242cc15fa6
refactor(vapor): use bitwise flags for v-for runtime optimizations 2025-02-12 15:40:09 +08:00
Evan You 63cf2ee3f1
refactor: adjust isConstantNode 2025-02-12 11:57:16 +08:00
Evan You 5d1c6ca5a9
perf(vapor): optimize text bindings and v-text 2025-02-11 18:39:27 +08:00
Evan You a2fa0db998
wip(vapor): improve node traversal codegen 2025-02-11 02:21:59 +08:00
Evan You 528705f667
perf(vapor): v-for remove all fast path 2025-02-10 17:37:24 +08:00
Evan You 263318db46
perf(vapor): generate simpler evenet delegation code when possible 2025-02-10 16:17:25 +08:00
Evan You a2b4289045
refactor(vapor): avoid unnecessary wrapping for event handlers 2025-02-10 15:50:34 +08:00
Evan You 8549a243a5
wip(vapor): custom directives 2025-02-08 21:32:16 +08:00