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
Evan You
b295cdf4e9
release: v3.5.0-alpha.2
2024-05-03 17:03:13 -07:00
Evan You
801666fdad
chore: add internal flag to work around ts issue
2024-05-03 16:57:47 -07:00
Evan You
908f70adc0
fix(types): fix app.component() typing with inline defineComponent
...
close #10843
2024-05-03 16:29:23 -07:00
Evan You
eae0ccb8e0
chore: re-export deprecated component options types
2024-05-03 16:22:13 -07:00
skirtle
c0c9432b64
test(watch): watching a reactive array ( #10848 )
2024-05-04 04:26:49 +08:00
三咲智子 Kevin Deng
bfb52502f8
feat(runtime-shared): init
2024-05-01 20:19:25 +09:00
Evan You
c146186396
fix(types): fix compat with generated types that rely on CreateComponentPublicInstance
...
close #10842
2024-04-30 10:09:06 -07:00
Evan You
124c4cac83
fix(types): props in defineOptions type should be optional
...
close #10841
2024-04-30 09:05:41 -07:00
Thorsten Lünborg
582a3a382b
feat(runtime-core): add app.onUnmount() for registering cleanup functions ( #4619 )
...
close #4516
2024-04-29 18:47:56 +08:00
Evan You
801b8dea3b
chore: Merge branch 'main' into minor
2024-04-29 18:46:20 +08:00
三咲智子 Kevin Deng
fb58e65d3d
Merge remote-tracking branch 'upstream/minor'
2024-04-29 17:50:30 +09: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
5590ca3694
release: v3.5.0-alpha.1
2024-04-29 10:49:53 +08:00
Evan You
75c8cf63a1
feat(types): provide internal options for directly using user types in language tools ( #10801 )
2024-04-27 11:48:37 +08:00
Carlos Rodrigues
4cc9ca870c
types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent ( #3399 )
...
close #3367
2024-04-25 16:04:03 +08:00
edison
0e6e3c7eb0
feat(transition): support directly nesting Teleport inside Transition ( #6548 )
...
close #5836
2024-04-25 15:19:53 +08:00
Evan You
0c3a920012
chore: Merge branch 'main' into minor
2024-04-25 10:31:09 +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
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
9fd1284ca4
chore: Merge branch 'main' into minor
2024-04-22 23:32:45 +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
5f0c6e4a05
chore: Merge branch 'main' into minor
2024-04-19 22:09:34 +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
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
bb5c31e614
chore: Merge branch 'main' into minor
2024-04-16 00:05:37 +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
Evan You
2ae908d00c
chore(types): perform strict es2016 lib check when building dts
2024-04-15 15:52:48 +08:00
Evan You
ca84316bfb
perf(ssr): optimize setup context creation for ssr in v8
2024-04-12 16:02:52 +08:00
Evan You
6af733d68e
perf: optimize component props/slots internal object checks
2024-04-12 14:41:03 +08:00
Evan You
4bc9f39f02
perf(ssr): avoid calling markRaw on component instance proxy
...
The previous behavior invokes the definePropery proxy trap on the
instance proxy and has massive overhead. This change improves Vue
ops/sec by 40% in https://github.com/eknkc/ssr-benchmark
2024-04-12 11:49:45 +08:00
Divyansh Singh
0dea7f9a26
fix(runtime-core): show hydration mismatch details for non-rectified mismatches too when __PROD_HYDRATION_MISMATCH_DETAILS__ is set ( #10599 )
2024-04-02 16:36:52 +08:00
Wes Cook
a653a8c125
chore: fix typo ( #10621 )
2024-04-01 16:20:01 +08:00
丶远方
ab59bedae4
fix(runtime-core): fix errorHandler causes an infinite loop during execution ( #9575 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-19 20:47:52 +08:00
Rizumu Ayaka
46761880e9
refactor(baseWatch): rename onEffectCleanup to onWatcherCleanup and getCurrentEffect to getCurrentWatcher for clarity
2024-03-17 22:39:11 +08:00
Rizumu Ayaka
db4040d13a
refactor(scheduler): use bitwise flags for scheduler jobs + move scheduler into reactivity
...
related: https://github.com/vuejs/core/pull/10407
2024-03-17 22:33:36 +08:00
Rizumu Ayaka
174118ae40
Merge remote-tracking branch 'upstream/main'
2024-03-17 22:14:01 +08:00
三咲智子 Kevin Deng
b4aa5f98d7
Merge remote-tracking branch 'upstream/main'
2024-03-14 14:17:25 +08:00
chenfan
d46df6bdb1
perf: add `__NO_SIDE_EFFECTS__` comments ( #9053 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-13 21:48:45 +08:00
三咲智子 Kevin Deng
5a0365d944
Merge remote-tracking branch 'upstream/main'
2024-03-01 21:50:49 +08:00
Evan You
f66a75ea75
release: v3.4.21
2024-02-28 12:12:15 +01:00
edison
bc37258caa
fix(warning): stringify args in warn handler ( #10414 )
...
close #10409
2024-02-28 19:06:18 +08:00
edison
7c97778aec
fix(suspense): ensure nested suspense patching if in fallback state ( #10417 )
...
close #10415
2024-02-28 19:05:22 +08:00
三咲智子 Kevin Deng
65909f6e60
Merge remote-tracking branch 'upstream/main'
2024-02-27 18:48:24 +08:00
jods
70196a40cc
perf(reactivity): optimize array tracking ( #9511 )
...
close #4318
2024-02-26 18:25:52 +08:00
Evan You
55660b0cfc
refactor(scheduler): use bitwise flags for scheduler jobs + optimize queueJob ( #10407 )
...
related: https://github.com/vuejs/core-vapor/pull/138
2024-02-26 10:22:12 +08:00
Evan You
58d827cb71
chore: Merge branch 'main' into minor
2024-02-26 10:13:44 +08:00
Evan You
89de26cdcd
release: v3.4.20
2024-02-26 10:07:13 +08:00
Evan You
6c74fb07a7
chore: rename and export DefineSetupFnComponent
2024-02-25 23:38:39 +08:00
Evan You
9a365fe00d
refactor: use more descriptive name for v-show original display key
2024-02-25 21:50:47 +08:00
Evan You
c6defc8df1
chore: remove unused ts-expect-error
2024-02-25 21:50:35 +08:00
Elodie Hill
edbbb6da12
refactor(transition): remove unused getTransitionKey logic ( #10283 )
2024-02-25 21:14:46 +08:00
Wick
ede2e3f030
test: remove unnecessary code in apiCreateApp tests ( #10388 )
2024-02-25 21:11:04 +08:00
Shean de Montigny-Desautels
eadce5b753
fix(types): better typing for direct setup signature of defineComponent ( #10357 )
...
close #8604
close #8855
2024-02-25 21:10:08 +08:00
三咲智子 Kevin Deng
5819dc9001
Merge remote-tracking branch 'upstream/main'
2024-02-25 21:07:09 +08:00
Wick
76c9c742e9
chore(runtime-core): optimize validateComponentName ( #10378 )
2024-02-25 20:41:08 +08:00
Evan You
b31dd7468b
dx(reactivity): disable recursive computed warning by default
...
Now can be enabled with app.config.warnRecursiveComputed option.
close #10341
2024-02-25 20:38:33 +08:00
edison
0f3da05ea2
fix(suspense): handle suspense switching with nested suspense ( #10184 )
...
close #10098
2024-02-25 20:22:12 +08:00
Evan You
05eb4e0fef
Refactor reactivity system to use version counting and doubly-linked list tracking ( #10397 )
...
Bug fixes
close #10236
close #10069
PRs made stale by this one
close #10290
close #10354
close #10189
close #9480
2024-02-25 16:51:49 +08:00
三咲智子 Kevin Deng
7fd7742639
Merge remote-tracking branch 'upstream/main'
2024-02-14 14:46:29 +08:00
Evan You
272ab9fbdc
release: v3.4.19
2024-02-13 18:08:22 +08:00
Evan You
995d2fdcca
fix(hydration): fix css vars hydration mismatch false positive on non-root nodes
...
close #10317
test case from #10325
2024-02-13 18:00:23 +08:00
OnlyWick
5f7a0a08b2
chore(errorHandling): directly return value in callWithErrorHandling function ( #10315 )
2024-02-13 17:15:18 +08:00
João Carmona
603a1e1f5a
perf(runtime): improve `getType()` GC and speed ( #10327 )
2024-02-13 11:54:59 +08:00
三咲智子 Kevin Deng
ab1121e512
Merge remote-tracking branch 'upstream/main'
2024-02-10 13:05:19 +08:00
Evan You
64f431aab0
release: v3.4.18
2024-02-09 10:31:29 +08:00
Evan You
77a804b1d0
fix(dx): warn against reserved keys as prop name
...
close #10281
2024-02-09 08:47:06 +08:00
Evan You
dfb271a293
release: v3.4.17
2024-02-09 08:38:19 +08:00
Evan You
1339330850
release: v3.4.16
2024-02-08 11:45:34 +08:00
三咲智子 Kevin Deng
5e52ac9ab4
Merge remote-tracking branch 'upstream/main'
2024-02-07 22:02:23 +08:00
yangxiuxiu
75e02b5099
fix(runtime-core): support for nested calls to runWithContext ( #10261 )
...
close #10260
2024-02-07 13:33:44 +08:00
Evan You
eb1b9116d7
revert: perf(templateRef): avoid double render when using template ref on v-for
...
This reverts commit de4d2e2143
.
reopen #9908
close #10210 , close #10234
2024-02-07 13:25:18 +08:00
三咲智子 Kevin Deng
3c3b56ac04
Merge remote-tracking branch 'upstream/main'
2024-02-06 20:24:11 +08:00
yangxiuxiu
f0b5f7ed8d
fix(hydration): fix SFC style v-bind hydration mismatch warnings ( #10250 )
...
close #10215
2024-02-06 17:38:41 +08:00
三咲智子 Kevin Deng
6b20c84896
Merge remote-tracking branch 'upstream/main'
2024-02-06 02:37:28 +08:00
三咲智子 Kevin Deng
53eee72c3a
fix(runtime-core): avoid inlining isShallow ( #10238 )
2024-02-05 11:36:17 +08:00