Commit Graph

6198 Commits

Author SHA1 Message Date
Jevon cd582949f2
feat(runtime-vapor): `v-show` for component (#188)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-04-27 00:02:34 +08:00
Jevon 464b498f13
fix(compiler-vapor): check global allowed for identifier (#189)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-04-26 23:25:00 +08:00
三咲智子 Kevin Deng 6b03b47462
fix(compiler-vapor): call withDirectives after created 2024-04-26 23:12:06 +08:00
Doctor Wu b7b652eb71
feat(runtime-vapor): template ref on component (#185) 2024-04-25 04:57:45 +08:00
三咲智子 Kevin Deng 7fe4712831
Merge remote-tracking branch 'upstream/main' 2024-04-25 01:59:41 +08:00
Evan You 574c3e63bb
release: v3.4.25 2024-04-24 18:37:52 +08:00
Evan You 8ee69e7eaf
ci: use single thread for e2e tests on ci 2024-04-24 18:31:45 +08:00
Evan You 064e82f585
fix(runtime-core): use normal object as internal prototype for attrs and slots
to allow use of hasOwnProperty()
ref 6df53d85a2 (r141304923)
2024-04-24 18:28:49 +08:00
Evan You 4253a57f17
fix(defineModel): align prod mode runtime type generation with defineProps
close #10769
2024-04-24 18:21:57 +08:00
edison 3724693a25
fix(runtime-core): properly get keepAlive child (#10772)
close #10771
2024-04-24 16:32:39 +08:00
Evan You 958286e3f0
release: v3.4.24 2024-04-22 23:29:58 +08:00
Evan You b92c25f53d
fix(compiler-core): properly parse await expressions in edge cases
close #10754
2024-04-22 23:21:18 +08:00
Evan You 173ec65cd4
test: revert to threads
vmThreads mode swallows console.logs during test debugging
2024-04-22 23:20:38 +08:00
Evan You f12c81efca
fix(compiler-ssr): fix hydration mismatch for conditional slot in transition
close #10743
2024-04-22 22:23:09 +08:00
Evan You c8e87a1c90
test: use pool: vmThreads 2024-04-22 21:05:26 +08:00
Evan You a7cf74277e
test: fix test case broken by b93f264 2024-04-22 21:05:00 +08:00
Evan You b93f264647
fix(runtime-core): props should be readonly via direct template access
close #8216
close #10736
2024-04-22 20:47:45 +08:00
Vadim Kruglov da7adefa84
fix(compiler-core): handle template ref bound via v-bind object on v-for (#10706)
close #10696
2024-04-22 20:46:11 +08:00
Evan You 5cef52a5c2
fix(compiler-sfc): handle readonly operator and ReadonlyArray/Map/Set types
close #10726
2024-04-22 15:36:38 +08:00
Vadim Kruglov 65109a70f1
fix(transition): transition is breaking/flickering when enter is canceled (#10688)
Co-authored-by: Vadim Kruglov <vadim.kruglov@libertexgroup.com>
2024-04-22 15:10:08 +08:00
renovate[bot] 88c9d264ea
chore(deps): update build (#10761)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 15:09:14 +08:00
renovate[bot] 15df5c1b26
fix(deps): update compiler (#10760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 15:04:41 +08:00
renovate[bot] 745775c3cf
chore(deps): update test (#10759)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 15:04:20 +08:00
renovate[bot] b0d00958e0
chore(deps): update all non-major dependencies (#10758)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 14:52:58 +08:00
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
Evan You 6d066dd852
chore: update security.md [ci skip] 2024-04-18 17:49:06 +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