Commit Graph

224 Commits

Author SHA1 Message Date
edison 37300fc261
fix(v-once): setting hasOnce to current block only when in v-once (#12374)
close #12371
2024-11-14 14:53:55 +08:00
edison cb34b28a4a
fix(runtime-core): avoid rendering plain object as VNode (#12038)
close #12035
close vitejs/vite-plugin-vue#353
2024-09-26 17:08:48 +08:00
Kevin Deng 三咲智子 928af5fe2f
refactor(types): enable `isolatedDeclarations` (#11178) 2024-08-08 23:05:21 +08:00
Evan You f15ba2c2e2
chore: Merge branch 'main' into minor 2024-07-17 17:32:31 +08:00
Evan You 8655ced480
fix(teleport): skip teleported nodes when locating patch anchor
close #9071
close #9134
close #9313

Tests reused from #9313
2024-07-16 17:17:25 +08:00
_Kerman c8b9794575
fix(hmr): hmr reload should work with async component (#11248) 2024-07-15 21:54:53 +08:00
Evan You d343a0dc01
fix(v-once): properly unmount v-once cached trees
close #5154
close #8809
2024-07-13 21:38:32 +08:00
Evan You 2815531fd5
refactor: memoIndex -> cacheIndex 2024-07-13 21:05:06 +08:00
Evan You f05b3ae0f8
chore: improve comments 2024-07-13 15:40:09 +08:00
Evan You 26356264d2
chore: Merge branch 'main' into minor 2024-06-14 12:32:28 +02:00
edison edf263847e
fix(runtime-core): fix stale v-memo after v-if toggle (#6606)
close #6593
2024-06-07 17:29:28 +08:00
tomasvn 32262a9af5
chore: use PropertyKey type (#11056)
close #8559
2024-06-06 18:23:21 +08:00
auvred b310ec389d
fix(runtime-core): fix missed updates when passing text vnode to `<component :is>` (#8304)
close #8298
2024-06-05 23:08:46 +08:00
edison 671cf297a5
fix(transition): ensure Transition enterHooks are updated after clone (#11066)
close #11061
2024-06-04 22:07:42 +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
edison 638a79f64a
fix(runtime-core): properly handle inherit transition during clone VNode (#10809)
close #3716
close #10497
close #4091
2024-04-29 14:39:14 +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 6af733d68e perf: optimize component props/slots internal object checks 2024-04-12 14:41:03 +08:00
pengbo e977c598db
chore: replace -1 to PatchFlags.HOISTED (#10146) 2024-01-18 10:48:27 +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
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 e15dc05655 chore: remove typeof NULL_DYNAMIC_COMPONENT for type compat with test-utils 2023-11-10 15:26:19 +08:00
Ha Pam 341b5416b2
chore: typo and grammar (#8568) [ci skip]
Co-authored-by: Han <phamvanhan@gmail.com>
2023-11-10 13:42:26 +08:00
Evan You 364f319d21 fix(hydration): force hydration for v-bind with .prop modifier
ref #7490
2023-11-10 13:13:07 +08:00
Eduardo San Martin Morote 405f34587a
fix(warn): avoid warning on empty children with Suspense (#3962) 2023-11-06 17:48:40 +08:00
Evan You 37a14a5dae Revert "fix(types): propagate type parameter constraints for TypeScript 4.8 (#6351)"
This reverts commit 516fabb725.
2023-07-12 11:38:59 +08:00
丶远方 3decc57d0c
chore: remove unnecessary type assertions (#8386) 2023-07-10 18:18:53 +08:00
Daniel Rosenwasser 516fabb725
fix(types): propagate type parameter constraints for TypeScript 4.8 (#6351)
* fix(types): propagate type parameter constraints for TypeScript 4.8

* fix: add more constraints

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-07-09 13:04:08 +08:00
丶远方 1b1242f4d1
fix(runtime-core): handle template ref with number values (#8233)
close #8230
2023-05-05 16:00:01 +08:00
Evan You 34ad609bd7 refactor(runtime-core): use Symbol.for for runtime Symbols 2023-02-21 17:42:06 +08:00
白雾三语 c6e5bda27d
fix(customElement): customElement can emit event (#7296)
close https://github.com/vuejs/core/issues/7293
2022-12-23 22:32:21 +01:00
花果山大圣 4798a9f704
refactor: more concise bitwise operations for flag removal (#7092) 2022-11-10 20:15:37 -05:00
被雨水过滤的空气(Rairn) a54bff2c9c
fix(hmr/keep-alive): fix error in reload component (#7049)
fix #7042
2022-11-10 05:01:31 -05:00
Evan You 11214eedd2 fix(teleport/css-v-bind): fix css v-bind in teleport in child component slot 2022-11-10 15:08:25 +08:00
Thorsten Lünborg e5fc7dcc02
fix(types): ensure createBlock() helper accepts Teleport and Supsense types (fix: #2855) (#5458)
Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
2022-10-20 21:45:51 +02:00
Evan You fc5bdb36ed fix(runtime-core): avoid hoisted vnodes retaining detached DOM nodes
fix #6591
2022-09-27 16:20:52 +08:00
Evan You 5381abc057 fix(types): support TypeScript 4.8
fix #6554
2022-08-31 14:03:08 +08:00
Carlos Rodrigues 0c7fd13ea6
fix(types): fix typescript error when spreading `$props`(#5968) 2022-05-20 12:59:29 -04:00
Evan You ba17792b72 fix(runtime-core): fix missed updates when passing vnode to <component :is>
fix #4903
2022-05-12 17:52:17 +08:00
Yugang Cao e603fd258c
chore: fix typo (#5261) [ci skip] 2022-01-21 01:18:34 -05:00
Thorsten Lünborg c35ec47d73
fix(runtime-core): ensure mergeProps skips undefined event handlers (#5299)
fix #5296
2022-01-21 01:13:29 -05:00
Evan You 1928c9b537 refactor: move template ref setter into dedicated file 2021-12-11 10:09:21 +08:00
Evan You 41c18effea feat: support ref in v-for, remove compat deprecation warnings 2021-12-10 23:49:01 +08:00
edison b4eb7e3866
fix(runtime-core): improve dedupe listeners when attr fallthrough (#4912)
fix #4859
2021-11-14 22:20:38 -05:00
HcySunYang ebd0baca98
fix(types): improve the type of createElementBlock (#4406)
fix #4391
2021-08-23 18:28:52 -04:00
Hazlank 6db15a27cf
refactor: merge bitwise flag checks (#4324) 2021-08-16 15:13:04 -04:00
AlexandraCaragata d045055b47
fix(core): typing of key in VNodeProps (#4242)
close #4240
2021-08-06 11:11:26 -04:00
Evan You 2bdee50a59 fix(runtime-core): fix v-bind class/style merging regression
fix #4155
2021-07-20 13:58:43 -04:00
Evan You 47f488350c chore: run updated prettier 2021-07-19 18:24:18 -04:00
Evan You 2a310df753 fix(runtime-core): fix default shapeFlag for fragments 2021-07-16 14:30:49 -04:00