Commit Graph

2237 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng cf8be999df
Merge remote-tracking branch 'upstream/minor' 2024-06-16 17:01:49 +08: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
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
Micha Huhn 70773d0098
docs: fix typo (#11105) 2024-06-11 14:19:52 +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
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
edison edf263847e
fix(runtime-core): fix stale v-memo after v-if toggle (#6606)
close #6593
2024-06-07 17:29:28 +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
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
iwusong be1e9bf03f
test: test for events when component updating (#7896)
test for #5517
2024-06-04 23:04:11 +08:00
edison 671cf297a5
fix(transition): ensure Transition enterHooks are updated after clone (#11066)
close #11061
2024-06-04 22:07:42 +08:00
AlexVagrant ef2e737577
fix(runtime-core): fix Transition for components with root-level v-if (#7678)
close #7649
2024-06-04 22:06:07 +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
Thorsten Lünborg c521f956e1
fix(runtime-core): ensure suspense creates dep component's render effect with correct optimized flag (#7689)
close #7688
2024-05-31 23:57:37 +08:00
Thorsten Lünborg c73847f2be
fix(compat): ensure proper handling of render fuction from SFC using Vue.extend (#7781)
close #7766
2024-05-31 23:49:18 +08:00
Zeke Zhang 36bd9b0a1f
fix(hmr): avoid infinite recursion when reloading hmr components (#6936)
close #6930
2024-05-31 23:41:13 +08:00
三咲智子 Kevin Deng 5a0a2bfa9b
refactor: remove optional chaining 2024-05-30 21:46:51 +08:00
三咲智子 Kevin Deng 334e72eeee
Merge remote-tracking branch 'upstream/minor' 2024-05-30 21:41:53 +08:00
Alex Liu f8994da00f
types: improve readability of built-in type (#9129) 2024-05-30 19:41:38 +08:00
远方os 70f2f283ee
refactor(types/compat): improve the types for $set and $delete (#8719) 2024-05-30 18:27:38 +08:00
bqy_fe 189573dcee
feat(types): export more emit related types (#11017)
Co-authored-by: Evan You <yyx990803@gmail.com>
2024-05-30 11:26:17 +08:00
Evan You 8708a7f1ef
chore: fix lint 2024-05-30 11:25:39 +08:00
Evan You 1d8727ec97
chore: Merge branch 'main' into minor 2024-05-30 11:21:12 +08:00
skirtle a3e8aafbcc
fix(watch): support traversing symbol properties in deep watcher (#10969)
close #402
2024-05-30 11:03:44 +08:00
Yi Yang 15ee43f66a
fix(teleport): do not throw target warning when teleport is disabled (#9818) 2024-05-30 10:51:30 +08:00
Kevin Deng 三咲智子 cdb1d1795d
chore: disallow optional chaining (#10919) 2024-05-29 15:03:20 +08:00
Doctor Wu 107569b922
feat(runtime-vapor): resolve assets of components & directives (#214) 2024-05-29 01:43:47 +08:00
远方os 94b9b37362
test: improve test coverage (#9203)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-05-28 17:36:29 +08:00
远方os 521988d7e1
types(runtime-core): add `OnCleanup` parameter type in `this.$watch` (#9371) 2024-05-28 00:25:07 +08:00
skirtle 7d4e5750ba
dx(runtime-core): log the component object when warning about missing template/render function (#10263) 2024-05-27 18:01:25 +08:00
远方os 82458b2239
refactor: replace `Object.assign` with `extend` (#8988) 2024-05-27 17:08:14 +08:00
远方os ae36b1a664
refactor(runtime-core): prevent users from manually calling lifecycle hook function (#8731) 2024-05-27 17:07:38 +08:00
Evan You 37f9ef8174
chore: run prettier 2024-05-27 17:03:03 +08:00
nandi95 1ffd5a601b
chore(types): added `getSSRProps` type argument (#5691) 2024-05-27 16:56:59 +08:00
edison d1011c07a9
fix(ssr): fix hydration for node with empty text node (#7216) 2024-05-27 16:50:49 +08:00
Haoqun Jiang 530d9ec5f6
chore: correct the comments in KeepAlive.ts (#11005) 2024-05-24 16:43:13 +08:00
edison 07764fe330
fix(KeepAlive): properly cache nested Suspense subtree (#10912)
* fix(KeepAlive): properly cache nested Suspense subtree

* test: add test case

* chore: add comments

* Update KeepAlive.ts
2024-05-24 16:37:38 +08:00
Alexandre Ferrera 9fead52343
fix(compiler-core): change v-for key type to match Object.keys (#10963)
close #8819
2024-05-20 19:33:18 +08:00
Tycho 9b40d0f25d
fix(shared): ensure invokeArrayFns handles undefined arguments (#10869)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>

Close #10863
2024-05-20 19:28:22 +08:00
三咲智子 Kevin Deng 4f9052358e
fix: pass warn to `toHandlers` only on dev mode 2024-05-13 02:19:11 +08:00
三咲智子 Kevin Deng 639c847c0c
refactor(runtime-shared): move `Data` 2024-05-11 23:14:26 +08:00
三咲智子 Kevin Deng 7cd70505d5
Merge remote-tracking branch 'upstream/minor' 2024-05-11 22:11:30 +08:00