Commit Graph

2151 Commits

Author SHA1 Message Date
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
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
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
远方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
Evan You 461946175d
release: v3.4.27 2024-05-06 16:59:48 -07:00
Stanislav Lashmanov 83661264a4
fix(compat): include legacy scoped slots (#10868)
close #8869
2024-05-07 07:05:55 +08:00
Evan You f2c1412e46
fix(hydration): handle edge case of style mismatch without style attribute
ref #10786
2024-05-06 15:38:16 -07:00
skirtle c0c9432b64
test(watch): watching a reactive array (#10848) 2024-05-04 04:26:49 +08:00
Evan You 241790937c
release: v3.4.26 2024-04-29 16:36: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
skirtle e8fd6446d1
fix(runtime-core): attrs should be readonly in functional components (#10767) 2024-04-29 14:37:11 +08:00
skirtle 2d56816aa8
refactor: simplify traverse() for deep watchers (#10795) 2024-04-29 14:29:55 +08:00
skirtle d00632b1de
refactor: remove optional chaining (#10792) 2024-04-29 14:04:05 +08:00
edison accf8396ae
fix(Transition): re-fix #10620 (#10832)
revert #10632
re-fix #10620
close #10827
2024-04-29 13:50:49 +08:00
edison 9c2de6244c
fix(runtime-core): ensure slot compiler marker writable (#10825)
close #10818
2024-04-29 11:47:40 +08:00
Evan You 47453f102e
types: match CompatVue app.use type to standard version
close #5760
2024-04-29 10:58:19 +08:00
Evan You 574c3e63bb
release: v3.4.25 2024-04-24 18:37:52 +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
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 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
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
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 b4b856b3f0
release: v3.4.22 2024-04-15 23:59:36 +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
edison 2ec06fd6c8
fix(hydration): properly handle optimized mode during hydrate node (#10638)
close #10607
2024-04-15 21:23:30 +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