Commit Graph

6173 Commits

Author SHA1 Message Date
GaoNeng d6c5bcf833
feat(runtime-core): implement debug hook (#183) 2024-04-21 20:30:47 +08:00
Doctor Wu d490bf2ed7
feat(runtime-vapor): implement expose (#181)
Co-authored-by: Kevin Deng 三咲智子 <sxzz@sxzz.moe>
2024-04-20 22:17:30 +08:00
三咲智子 Kevin Deng e67e6432f0
refactor: merge createTextNode & setText 2024-04-20 21:48:44 +08:00
三咲智子 Kevin Deng b9b3e021de
feat(compiler-vapor): extract `resolveComponent`
Avoid call `resolveComponent` repeatly for the same component
2024-04-19 20:09:03 +08:00
Jevon 1f28ae15cd
feat(compiler-vapor): v-model for component (#180)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-04-19 19:43:30 +08:00
Jevon 37df043adc
feat(runtime-vapor): runtime for v-on in component (#178)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-04-19 16:49:21 +08:00
三咲智子 Kevin Deng 7cacb655e0
fix(runtime-vapor): flush post jobs after unmount 2024-04-19 16:19:56 +08:00
三咲智子 Kevin Deng af1581be28
fix(compiler-vapor): v-model argument on native element 2024-04-19 01:15:43 +08:00
三咲智子 Kevin Deng 75488653d3
refactor(compiler-vapor): inline `validate-html-nesting` 2024-04-18 23:01:48 +08:00
三咲智子 Kevin Deng 1af1f40247
fix(compiler-vapor): TS error 2024-04-18 14:54:33 +08:00
三咲智子 Kevin Deng 98b701c82c
Merge remote-tracking branch 'upstream/main' 2024-04-18 14:48:04 +08:00
三咲智子 Kevin Deng b8c609f437
Merge remote-tracking branch 'upstream/minor' 2024-04-18 14:43:54 +08:00
Evan You 1ff407676f
fix(compiler-ssr): fix v-html SSR for nullish values
close #10725
2024-04-18 12:49:56 +08:00
Evan You cde7f05787
fix(runtime-core): further fix slots _ctx check
close #10724
2024-04-18 12:27:15 +08:00
yangxiuxiu e51ca61ca0
fix(runtime-core): fix edge case of KeepAlive inside Transition with slot children (#10719)
close #10708
2024-04-18 12:00:06 +08:00
三咲智子 Kevin Deng 761f785b30
feat(compiler-vapor): invalid html nesting 2024-04-18 02:42:59 +08:00
三咲智子 Kevin Deng a68445bdac
test: add template abbreviation 2024-04-18 01:30:56 +08:00
Evan You 70641fc0de
chore: upgrade to pnpm 9 2024-04-17 22:02:56 +08:00
Haoqun Jiang ea494af993
chore: update to ESLint 9 (#10705) 2024-04-17 21:58:35 +08:00
Evan You 46c2b63981
release: v3.4.23 2024-04-16 22:55:56 +08:00
Evan You 6df53d85a2
fix(runtime-core): use same internal object mechanism for slots
close #10709
2024-04-16 22:47:24 +08:00
Evan You 6930e60787
fix(runtime-core): fix regression for $attrs tracking in slots
close #10710
2024-04-16 21:53:47 +08:00
Evan You 97716ae91a
chore: add security hall of fame [ci skip] 2024-04-16 19:49:52 +08:00
Rizumu Ayaka b447aceac5
fix(runtime-vapor): detach effect scope & component instance (#174) 2024-04-16 16:55:44 +08:00
Jevon e640ec6088
fix(compiler-vapor): v-on for component support `$event` argument (#177)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-04-16 16:46:22 +08:00
Evan You bb5c31e614
chore: Merge branch 'main' into minor 2024-04-16 00:05:37 +08:00
Evan You b4b856b3f0
release: v3.4.22 2024-04-15 23:59:36 +08:00
Evan You f26d56601c
chore: improve event value validation message 2024-04-15 23:39:59 +08:00
Wick 9da34d7af8
fix(reactivity): computed should not be detected as true by isProxy (#10401) 2024-04-15 22:55:37 +08:00
Thimo Sietsma 37ba93c213
fix(types): avoid merging object union types when using withDefaults (#10596)
close #10594
2024-04-15 22:50:34 +08:00
edison fc99e4d3f0
fix(Transition): ensure the KeepAlive children unmount w/ out-in mode (#10632)
close #10620
2024-04-15 22:40:38 +08:00
caomingrui 53d15d3f76
fix(runtime-core): handle invalid values in callWithAsyncErrorHandling 2024-04-15 22:37:16 +08:00
Adrien Foulon 7ccd453dd0
fix(runtime-dom): sanitize wrongly passed string value as event handler (#8953)
close #8818
2024-04-15 22:28:34 +08:00
Wick 15ffe8f2c9
fix(runtime-dom): force update v-model number with leading 0 (#10506)
close #10503 
close #10615
2024-04-15 22:02:57 +08:00
Jonas 5a9626708e
fix(ssr): don't render v-if comments in TransitionGroup (#6732)
close #6715
2024-04-15 21:26:19 +08:00
edison 2ec06fd6c8
fix(hydration): properly handle optimized mode during hydrate node (#10638)
close #10607
2024-04-15 21:23:30 +08:00
yangxiuxiu 0cef65cee4
fix(compiler-sfc): fix defineModel coercion for boolean + string union types (#9603)
close #9587 
close #10676
2024-04-15 21:18:59 +08:00
白雾三语 67722ba23b
fix(runtime-dom): fix css v-bind for suspensed components (#8523)
close #8520
2024-04-15 20:23:28 +08:00
Doctor Wu 54a6afa75a
fix(compiler-sfc): fix universal selector scope (#10551)
close #10548
2024-04-15 19:36:13 +08:00
Evan You d58d133b1c
fix(compat): fix $options mutation + adjust private API initialization
close #10626
close #10636
2024-04-15 19:28:37 +08:00
Evan You 04af9504a7
fix(compiler-core): fix v-bind shorthand for component :is
close #10469
close #10471
2024-04-15 17:36:05 +08:00
Evan You 969c5fb30f
fix(reactivity): fix hasOwnProperty key coercion edge cases 2024-04-15 17:18:53 +08:00
edison e5919d4658
fix(compile-sfc): analyze v-bind shorthand usage in template (#10518)
close #10515
2024-04-15 16:32:04 +08:00
Med Talhaouy 6b4b8ec5b1
chore: add download badge (#8550) [ci skip] 2024-04-15 16:21:23 +08:00
Evan You b11dab99d1
chore: more descriptive eslint error messages for restricted syntax 2024-04-15 16:06:33 +08:00
Evan You 2ae908d00c
chore(types): perform strict es2016 lib check when building dts 2024-04-15 15:52:48 +08:00
Evan You 7ae9dbf57d
chore(deps): bump TS to 5.4 2024-04-15 13:36:43 +08:00
Evan You 16174da21d
fix(compiler-core): fix loc.source for end tags with whitespace before >
close #10694
close #10695
2024-04-15 11:50:57 +08:00
Evan You f709238c30
chore: use correct parse in parser tests for whitespace: condense 2024-04-15 11:35:05 +08:00
三咲智子 Kevin Deng 9e0cd20da0
feat(compiler-vapor): support v-on for component 2024-04-15 04:43:37 +08:00