Commit Graph

5477 Commits

Author SHA1 Message Date
Blake Newman 887e54c347
fix(types): expose emits as props in functional components (#9234) 2023-12-01 02:37:51 +08:00
三咲智子 Kevin Deng ad27473701
fix(types): fix reactive collection types (#8960)
close #8904
2023-12-01 02:33:09 +08:00
三咲智子 Kevin Deng 281d468020
style: format 2023-12-01 01:28:16 +08:00
Evan You f8b74dcf29 chore: group parser edge case tests 2023-11-30 22:39:55 +08:00
Evan You dd26e98233 chore(playground): use CodeMirror during local dev 2023-11-30 21:44:28 +08:00
Evan You 4d94ebfe75 perf(v-on): constant handlers with modifiers should not be treated as dynamic 2023-11-30 19:26:36 +08:00
Evan You da4a4fb5e8 perf(runtime-dom): cache modifier wrapper functions
close #8882
2023-11-30 19:00:00 +08:00
三咲智子 Kevin Deng 4936d2e11a
fix(compiler-sfc): throw error when failing to load TS during type resolution (#8883) 2023-11-30 18:41:21 +08:00
edison 5199a12f88
fix(cssVars): cssVar names should be double-escaped when generating code for ssr (#8824)
close #7823
2023-11-30 18:35:20 +08:00
Evan You 6fcec3b2c7 chore: fix width/height check condition 2023-11-30 18:34:06 +08:00
edison 7cbcee3d83
fix(compiler-sfc): support resolving components from props (#8785) 2023-11-30 18:03:23 +08:00
Evan You 9845f1d2a1 chore: optimize widht/height element check 2023-11-30 17:59:27 +08:00
Evan You 38aaa8c886 perf: optimize on* prop check 2023-11-30 17:52:51 +08:00
zhoulixiang bfc1838f31
fix(runtime-dom): set width/height with units as attribute (#8781)
Technically, width / height on `<img>`, `<video>` etc must be integers and cannot contain units. When set as a DOM property, the DOM force converts strings with units to 0. However, this is such a common mistake that most browsers nowadays supports such usage, and it makes sense for Vue to at least let it be set as an attribute.
2023-11-30 17:27:23 +08:00
Eduardo San Martin Morote bcca475dbc
feat(compiler-core): support accessing Error as global in template expressions (#7018) 2023-11-30 16:39:40 +08:00
renovate[bot] 741114304f
chore(deps): update dependency puppeteer to ~21.5.2 (#9637)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 16:38:33 +08:00
Evan You 2a507e32f0 feat(compiler-sfc): bump postcss-modules to v6 2023-11-30 16:37:40 +08:00
ZHAO Jin-Xiang 7218ab7496
chore: improve typing for scripts (#9709) 2023-11-30 14:17:51 +08:00
Evan You c46f91fd9e chore: bump @vue/repl 2023-11-30 13:11:27 +08:00
三咲智子 Kevin Deng 6a5dbc5143
refactor(playground): extract vite-hyper-config 2023-11-30 08:09:44 +08:00
三咲智子 Kevin Deng e41429f3ef
refactor(playground): extract logic 2023-11-30 06:19:35 +08:00
三咲智子 Kevin Deng 50e919581b
chore: update todo 2023-11-30 05:43:44 +08:00
Rizumu Ayaka 184feee3ba
test: v-pre (#14)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-11-30 05:31:26 +08:00
ubugeeei 503615a31e
feat(compiler): v-on event modifier (#8) 2023-11-30 05:11:59 +08:00
三咲智子 Kevin Deng 853189c6ac
chore: update todo 2023-11-30 05:00:16 +08:00
三咲智子 Kevin Deng 5e40829bf1
feat(playground): use vite-node 2023-11-30 04:44:28 +08:00
ubugeeei 61f339ce7d
feat: vapor component base (#5)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-11-30 02:11:21 +08:00
三咲智子 Kevin Deng da931ea942
refactor: use enum 2023-11-29 22:09:46 +08:00
三咲智子 Kevin Deng b3fdccec6f
refactor: remove InsertPosition 2023-11-29 21:20:05 +08:00
三咲智子 Kevin Deng 5df8f0e134
Merge remote-tracking branch 'upstream/minor' 2023-11-29 21:16:14 +08:00
ZHAO Jin-Xiang 3071de44bc
fix(compiler-core): fix referencing typo (#9708) 2023-11-29 21:15:44 +08:00
三咲智子 Kevin Deng 377723d8b2
Merge remote-tracking branch 'upstream/minor' 2023-11-29 21:10:26 +08:00
三咲智子 Kevin Deng 55ef2f0c5f
fix(compiler-sfc): vue import 2023-11-29 20:58:10 +08:00
Jeff Yang 0ff307988a
chore: fix typo in compiler-vapor (#10) 2023-11-29 20:54:45 +08:00
edison 509c192ff4
chore: fix typo (#9689) 2023-11-29 12:26:10 +08:00
ZHAO Jin-Xiang fff7b864f4
feat: use enum to replace const enum (#9261)
close #1228
2023-11-29 12:24:50 +08:00
三咲智子 Kevin Deng 0231290900
feat(playground): dev 2023-11-29 03:10:37 +08:00
三咲智子 Kevin Deng 4549e28665
fix: playground 2023-11-29 02:38:01 +08:00
三咲智子 Kevin Deng ab9a2d28d7
feat: build vapor & add @vue/vapor package 2023-11-29 01:26:01 +08:00
Evan You 47ea285be3 fix(parser): properly set initial inXML state based on root ns 2023-11-28 18:37:17 +08:00
Evan You ef97e8b07d fix(parser): should reset inRCDATA state 2023-11-28 18:31:17 +08:00
Rizumu Ayaka 4200d4e2d0
feat: add vapor errors of `v-bind` / `v-on` (#3)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-11-28 18:17:41 +08:00
三咲智子 Kevin Deng 9c9eab750e
chore: update component todo 2023-11-28 13:08:00 +08:00
白雾三语 c1ddb700a8
test: add dynamic root nodes and interpolation (#1)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-11-28 13:06:44 +08:00
Evan You 7d89887f71 release: v3.4.0-alpha.3 2023-11-28 08:26:01 +08:00
Evan You 5afd04cbb8 chore: Merge branch 'main' into minor 2023-11-28 08:14:04 +08:00
renovate[bot] 2cece5ba1b
chore(deps): update dependency @typescript-eslint/parser to ^6.13.0 (#9683)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 08:10:11 +08:00
renovate[bot] 3a65134360
chore(deps): update all non-major dependencies (#9682)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 08:03:07 +08:00
renovate[bot] 31f6ebc4df
fix(deps): update compiler to ^7.23.4 (#9681)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 08:02:38 +08:00
三咲智子 Kevin Deng 9f8ba9821f feat(dx): link errors to docs in prod build (#9165) 2023-11-28 07:39:11 +08:00