Commit Graph

163 Commits

Author SHA1 Message Date
Evan You b1260e0dd6
Merge remote-tracking branch 'upstream/main' 2024-11-11 17:05:52 +08:00
edison f6d9926236
fix(compiler-dom): avoid stringify option with null value (#12096)
close #12093
2024-10-11 10:41:55 +08:00
三咲智子 Kevin Deng 594cb1412d
Merge remote-tracking branch 'upstream/main' 2024-09-17 10:33:35 +08:00
edison 85c138ced1
fix(compile-dom): should be able to stringify mathML (#11891) 2024-09-16 10:58:23 +08:00
Evan You 3c4bf76276
fix(compiler-dom): should ignore leading newline in <textarea> per spec 2024-09-13 21:24:59 +08:00
Evan You 1d99d61c1b
fix(compiler-dom): fix stringify static edge for partially eligible chunks in cached parent
close #11879
close #11890
2024-09-13 20:08:40 +08:00
Evan You b1430f250d
refactor: remove rarely used argument in makeMap + optimize perf 2024-09-07 15:40:17 +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
三咲智子 Kevin Deng 2ef97fec30
refactor: isolatedDeclarations for vapor 2024-08-09 17:00:27 +08:00
三咲智子 Kevin Deng 4468a2bea8
Merge tag 'v3.5.0-beta.1' 2024-08-09 00:55:35 +08:00
Kevin Deng 三咲智子 928af5fe2f
refactor(types): enable `isolatedDeclarations` (#11178) 2024-08-08 23:05:21 +08:00
三咲智子 Kevin Deng cf8be999df
Merge remote-tracking branch 'upstream/minor' 2024-06-16 17:01:49 +08:00
Evan You cd0ea0d479
fix(compiler-core): change node hoisting to caching per instance (#11067)
close #5256
close #9219
close #10959
2024-06-04 20:09:54 +08:00
三咲智子 Kevin Deng 334e72eeee
Merge remote-tracking branch 'upstream/minor' 2024-05-30 21:41:53 +08:00
Evan You 1d8727ec97
chore: Merge branch 'main' into minor 2024-05-30 11:21:12 +08:00
skirtle 0e3d6178b0
fix(compiler-dom): restrict createStaticVNode usage with option elements (#10846)
close #6568
close #7434
2024-05-02 00:03:17 +08:00
三咲智子 Kevin Deng fb58e65d3d
Merge remote-tracking branch 'upstream/minor' 2024-04-29 17:50:30 +09:00
Kevin Deng 三咲智子 a084df1515
dx(compiler-dom): warn on invalid html nesting (#10734) 2024-04-22 15:03:39 +08:00
Rizumu Ayaka a82d070890
Merge remote-tracking branch 'upstream/minor' 2023-12-29 21:03:21 +08:00
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
三咲智子 Kevin Deng 597eae423b
Merge remote-tracking branch 'upstream/minor' 2023-12-16 16:12:55 +08:00
Fabian Gündel d42b6ba3f5
feat: MathML support (#7836)
close #7820
2023-12-08 18:25:01 +08:00
白雾三语 28caf8f566
feat: v-on modifiers support native options and keyboards (#28)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-12-03 03:49:44 +08:00
三咲智子 Kevin Deng 0d9f0867d7
refactor(compiler-vapor): errors 2023-12-01 08:05:43 +08:00
ZHAO Jin-Xiang fff7b864f4
feat: use enum to replace const enum (#9261)
close #1228
2023-11-29 12:24:50 +08:00
Evan You e48cbf02be refactor: restore SourceLocation.source
this is used extensively in @vue/language-tools and does not have
noticeable impact on performance
2023-11-25 19:22:39 +08:00
Evan You 5fc695be26 wip: support reusing template ast from sfc descriptor 2023-11-25 16:18:29 +08:00
Evan You 40f72d5e50 feat(compiler-core): support specifying root namespace when parsing 2023-11-25 16:18:29 +08:00
Evan You 1912af04e3 wip: entities parsing in browser 2023-11-25 16:18:29 +08:00
Evan You a60ad9180d refactor: swap to new template parser
- get rid of SourceLocation.source for memory efficiency
- move source location generation logic transform phase into the parser
  itself so that SourceLocation.source is no longer needed
  - move v-for expression parsing into the parser itself
  - added nameLoc on AttributeNode for use in transformElement

Tests are not passing yet.
2023-11-25 16:18:29 +08:00
Evan You 66c0ed0a3c perf: optimize away isBuiltInType 2023-11-25 16:18:29 +08:00
Evan You 81e941da5b wip: getting ready for textmode handling 2023-11-25 16:18:29 +08:00
Evan You 1ea775633d chore: Merge branch 'main' into minor 2023-11-21 09:48:26 +08:00
renovate[bot] 16a6438236
chore(deps): update lint (#9627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-18 10:33:24 +08:00
Evan You 2859b653c9 fix(v-model): unnecessary value binding error should apply to dynamic instead of static binding
close #3596
2023-11-15 08:51:50 +08:00
花果山大圣 f7e80ee4a0
feat(compiler-core): export error message (#8729) 2023-10-27 23:28:40 +09:00
丶远方 3decc57d0c
chore: remove unnecessary type assertions (#8386) 2023-07-10 18:18:53 +08:00
Evan You c454b9d7f4 fix(compiler-dom): do not throw in production on side effect tags
close #8287
close #8292
2023-05-12 10:25:37 +01:00
Evan You bbd8301a13 feat(deprecation): deprecate v-is directive 2023-04-21 15:30:26 +08:00
Evan You 5f0394a5ab feat(deprecation): deprecate @vnode hooks in favor of vue: prefix 2023-04-21 15:20:12 +08:00
白雾三语 5261085113
fix(compiler-dom): handle newlines when evaluating constants during stringification (#7995)
fix #7994
2023-03-31 16:33:00 +08:00
Evan You 8599242bb4 wip(vitest-migration): compiler-dom tests passing 2023-01-26 16:48:19 +08:00
某时橙 6c6fe2c0cd fix(compiler-dom): remove v-bind boolean attribute with literal false value when stringifying (#6635)
fix #6617
2022-09-27 17:18:49 +08:00
Evan You 6283b2ec41 fix(compiler-dom): properly stringify v-html/v-text with constant value
fix #5439
close #5445
2022-05-13 08:57:43 +08:00
Cédric Exbrayat 9ecee16f89
chore: add no-debugger eslint rule (#5906) 2022-05-12 19:10:00 -04:00
Evan You 425310e8b6 fix(transition/v-show): ensure transition is in persisted mode when used with v-show
fix #4845
close #4852
2022-05-11 19:22:55 +08:00
Damon Muma 0abcb2b80d
chore: update reference to transformExpressions (#2682) [ci skip] 2022-05-09 21:30:50 -04:00
Evan You 29beda7c6f fix(compiler-dom): avoid bailing stringification on setup const bindings 2021-12-06 11:53:02 +08:00
Evan You 87c73e99d6 fix(compiler-sfc): make asset url imports stringifiable 2021-12-06 01:19:06 +08:00