Commit Graph

5182 Commits

Author SHA1 Message Date
XiaoDong bc04592ca9
test(runtime-vapor): add unit test for config.performance (#234)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-06-18 00:22:56 +08:00
Doctor Wu 80acfa5030
test(runtime-vapor): add directive test case (#231) 2024-06-16 23:08:18 +08:00
三咲智子 Kevin Deng cf8be999df
Merge remote-tracking branch 'upstream/minor' 2024-06-16 17:01:49 +08:00
XiaoDong 3ac951b5b5
feat(runtime-vapor): implement app.config.performance (#230)
* feat(runtime-capor): add app.config.performance

* refactor: move formatComponentName to component.ts

* refactor: update import in warning.ts

* fix

* refactor

* fix order

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-06-16 16:50:36 +08:00
Doctor Wu ad3d8fa6b4
test(runtime-vapor): fix type (#229) 2024-06-16 16:50:24 +08:00
三咲智子 Kevin Deng a1797f8861
fix(runtime-vapor): infer component name from registry 2024-06-16 14:22:12 +08:00
Evan You 524e660e35
chore: Merge branch 'main' into minor 2024-06-14 18:15:20 +02:00
Evan You e5ca13a3af
release: v3.4.29 2024-06-14 18:02:36 +02:00
Doctor Wu 8296e19855
fix(reactivity): avoid infinite loop when render access a side effect computed (#11135)
close #11121
2024-06-14 23:51:19 +08:00
Evan You a23e99bedf
fix(compiler-sfc): support @vue-ignore comment on more type sources 2024-06-14 17:46:50 +02:00
Evan You a476692ed2
fix(compiler-sfc): fix parsing of mts, d.mts, and mtsx files 2024-06-14 16:47:24 +02:00
Evan You 4ec387b100
fix(compiler-sfc): fix missing scope for extends error message 2024-06-14 16:46:26 +02:00
Evan You 11cc12b915
fix(build): fix accidental inclusion of runtime-core in server-renderer cjs build
close #11137
2024-06-14 16:13:18 +02:00
Evan You bda5ff1d3f
chore: fix missing type import 2024-06-14 16:04:04 +02:00
Evan You 7c8b12620a
fix(custom-element): support same direct setup function signature in defineCustomElement
close #11116
2024-06-14 15:19:42 +02:00
Evan You 1224caf1ba
chore: format 2024-06-14 12:38:07 +02:00
Evan You 26356264d2
chore: Merge branch 'main' into minor 2024-06-14 12:32:28 +02:00
Evan You 3e89a0da21
release: v3.4.28 2024-06-14 11:30:16 +02:00
Zhaolin Liang 495263a9cb
fix(compiler-sfc): support type resolve for keyof for intersection & union types (#11132)
close #11129
2024-06-14 17:10:46 +08:00
Tycho b557d3fb8a
fix(runtime-core): avoid traversing static children for vnodes w/ PatchFlags.BAIL (#11115)
close #10547
2024-06-14 17:10:13 +08:00
Evan You 04729ba216
fix(compat): only warn ATTR_FALSE_VALUE when enabled
close #11126
2024-06-14 11:03:04 +02:00
Tycho 8cf357ec04
chore(perf): replace startsWith with === (#11124) 2024-06-14 16:09:39 +08:00
Micha Huhn 70773d0098
docs: fix typo (#11105) 2024-06-11 14:19:52 +08:00
Rizumu Ayaka c9241da4fa
feat(runtime-vapor): slot props (#227) 2024-06-10 23:19:39 +08:00
Evan You df686abb4f
fix(ssr): directive binding.instance should respect exposed during ssr
close #7499
close #7502
2024-06-10 17:46:59 +08:00
Evan You 9daf90e29f
refactor(runtime-core): extract getComponentPublicInstance helper 2024-06-10 17:37:32 +08:00
Xu Wei 188f3ae533
fix(runtime-dom): support Symbol for input value bindings (#10608)
close #10597
2024-06-10 17:01:56 +08:00
dopamine 612bbf0507
fix(types): improve `app.provide` type checking (#10603)
close #10602
2024-06-10 16:09:46 +08:00
Tycho aae2d78875
fix(types/apiWatch): correct type inference for reactive array (#11036)
close #9416
2024-06-10 16:07:25 +08:00
n0099 ec424f6cd9
fix(npm): explicitly add `@vue/reactivity` as dependency of `@vue/runtime-dom` (#10468) 2024-06-10 15:29:37 +08:00
Tycho 80e402975b
refactor(shared): improve handling of out-of-range start and end values in generateCodeFrame (#10883)
related: #10854
2024-06-10 15:28:00 +08:00
cyrilluce bdeac377c7
fix(compile-sfc): Support project reference with folder, (#10908)
close #10907
2024-06-10 15:25:47 +08:00
Zhaolin Liang 2594b1df57
fix(compiler-sfc): support as keyword with template literal types (#11100)
close #10962
2024-06-10 15:19:39 +08:00
renovate[bot] 953e09670a
chore(deps): update build (#11098)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 15:16:08 +08:00
renovate[bot] 2438b75ed6
fix(deps): update compiler to ^7.24.7 (#11101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 15:06:09 +08:00
No Two 2c78f8921d
chore: improve compileTemplate warn message (#11085) 2024-06-07 17:30:35 +08: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
Tycho 293cf4e131
fix(compiler-sfc): improve type resolving for the keyof operator (#10921)
close #10920 
close #11002
2024-06-07 16:27:43 +08:00
Rodrigo Pimentel 5afc76c229
fix(hydration): log hydration error even when using async components (#9403)
close #9369
2024-06-07 15:45:16 +08:00
edison aa156ed5c4
fix(runtime-core): do not fire mount/activated hooks if unmounted before mounted (#9370)
close #8898
close #9264
close #9617
2024-06-07 13:48:50 +08:00
tomasvn 32262a9af5
chore: use PropertyKey type (#11056)
close #8559
2024-06-06 18:23:21 +08:00
Peixin Liu a88295dc07
fix(custom-elements): compatibility of createElement in older versions of Chrome (#9615)
close #9614
2024-06-06 18:21:28 +08:00
Tycho d04417da41
test(effect): verify cleanupEffect clears multiple dependencies (#9503)
close #5541
2024-06-06 17:52:01 +08:00
chenfan 71c2c0af74
test(reactivity): should not observe well-known symbol keyed properties in has operation (#9174) 2024-06-06 17:41:15 +08:00
Evan You 8d606c44ec
chore: format 2024-06-05 23:41:40 +08:00
Noel De Martin 635a59b96f
fix(types): support generic argument in setup context expose method (#8507) 2024-06-05 23:36:52 +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
Evan You 96e4738334
fix(types): respect props with default on instance type when using __typeProps 2024-06-05 14:19:31 +08:00
三咲智子 Kevin Deng b023b9b845
test(compiler-vapor): add scopeId test 2024-06-05 04:36:07 +08:00
三咲智子 Kevin Deng 598b55f1e8
test(runtime-vapor): finish expose and inject tests 2024-06-05 04:35:13 +08:00