白雾三语
bbb5be299b
fix(custom-element): disconnect MutationObserver in nextTick in case that custom elements are moved ( #10613 )
...
Closes #10610
2024-05-22 00:14:02 +08:00
renovate[bot]
90cbcfefd1
chore(deps): update all non-major dependencies ( #10980 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-20 21:40:41 +08:00
btea
fd18ce70b1
fix: correct the type of `<details>`'s `onToggle` event handler ( #10938 )
...
Fixes #10928
2024-05-20 19:42:34 +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
renovate[bot]
7cef876afa
fix(deps): update compiler to ^7.24.5 ( #10924 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 17:10:34 +08:00
renovate[bot]
7cb3db6faf
chore(deps): update all non-major dependencies ( #10923 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 17:09:13 +08:00
edison
b2b5f57c2c
fix(compile-sfc): register props destructure rest id as setup bindings ( #10888 )
...
close #10885
2024-05-09 07:43:17 +08:00
Evan You
461946175d
release: v3.4.27
2024-05-06 16:59:48 -07:00
Tycho
10d34a5624
fix(compiler-sfc): handle keyof operator ( #10874 )
...
close #10871
2024-05-07 07:16:14 +08: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
btea
481b1b6f38
refactor(types): use explicit modifiers type ( #10856 )
2024-05-07 06:23:04 +08:00
renovate[bot]
8373350ce5
chore(deps): update build ( #10867 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 06:22:14 +08:00
renovate[bot]
bead21a2f6
chore(deps): update all non-major dependencies ( #10866 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 06:14:19 +08:00
skirtle
c0c9432b64
test(watch): watching a reactive array ( #10848 )
2024-05-04 04:26:49 +08:00
skirtle
0e3d6178b0
fix(compiler-dom): restrict createStaticVNode usage with option elements ( #10846 )
...
close #6568
close #7434
2024-05-02 00:03:17 +08:00
Guo
c9c9dff805
refactor(perf): assign value in `if` block ( #10836 )
2024-04-29 18:57:56 +08:00
huangcheng
ca7d421e87
fix(compiler-core): add support for arrow aysnc function with unbracketed ( #5789 )
...
close #5788
2024-04-29 18:55:58 +08:00
Evan You
96e8e99304
test: fix test case name
2024-04-29 18:12:27 +08:00
Evan You
241790937c
release: v3.4.26
2024-04-29 16:36:54 +08:00
Evan You
fefce06b41
fix(compiler-core): fix bail constant for globals
2024-04-29 16:21:25 +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
Evan You
09b4df809e
fix(compiler-core): remove unnecessary constant bail check
...
member expressions and call expressions can only happen when there are identifiers
close #10807
2024-04-29 12:21:38 +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
41df25015f
workflow(sfc-playground): fix file renaming by bumping repl
...
close #10791
2024-04-26 09:26:13 +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
Evan You
4253a57f17
fix(defineModel): align prod mode runtime type generation with defineProps
...
close #10769
2024-04-24 18:21:57 +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
b92c25f53d
fix(compiler-core): properly parse await expressions in edge cases
...
close #10754
2024-04-22 23:21:18 +08:00
Evan You
f12c81efca
fix(compiler-ssr): fix hydration mismatch for conditional slot in transition
...
close #10743
2024-04-22 22:23:09 +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
Vadim Kruglov
da7adefa84
fix(compiler-core): handle template ref bound via v-bind object on v-for ( #10706 )
...
close #10696
2024-04-22 20:46:11 +08:00
Evan You
5cef52a5c2
fix(compiler-sfc): handle readonly operator and ReadonlyArray/Map/Set types
...
close #10726
2024-04-22 15:36:38 +08:00
Vadim Kruglov
65109a70f1
fix(transition): transition is breaking/flickering when enter is canceled ( #10688 )
...
Co-authored-by: Vadim Kruglov <vadim.kruglov@libertexgroup.com>
2024-04-22 15:10:08 +08:00
renovate[bot]
88c9d264ea
chore(deps): update build ( #10761 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 15:09:14 +08:00
renovate[bot]
15df5c1b26
fix(deps): update compiler ( #10760 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 15:04:41 +08:00
renovate[bot]
b0d00958e0
chore(deps): update all non-major dependencies ( #10758 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 14:52:58 +08:00
Evan You
1ff407676f
fix(compiler-ssr): fix v-html SSR for nullish values
...
close #10725
2024-04-18 12:49:56 +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
Evan You
f26d56601c
chore: improve event value validation message
2024-04-15 23:39:59 +08:00
Wick
9da34d7af8
fix(reactivity): computed should not be detected as true by isProxy ( #10401 )
2024-04-15 22:55:37 +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
Adrien Foulon
7ccd453dd0
fix(runtime-dom): sanitize wrongly passed string value as event handler ( #8953 )
...
close #8818
2024-04-15 22:28:34 +08:00
Wick
15ffe8f2c9
fix(runtime-dom): force update v-model number with leading 0 ( #10506 )
...
close #10503
close #10615
2024-04-15 22:02:57 +08:00
Jonas
5a9626708e
fix(ssr): don't render v-if comments in TransitionGroup ( #6732 )
...
close #6715
2024-04-15 21:26:19 +08:00
edison
2ec06fd6c8
fix(hydration): properly handle optimized mode during hydrate node ( #10638 )
...
close #10607
2024-04-15 21:23:30 +08:00
yangxiuxiu
0cef65cee4
fix(compiler-sfc): fix defineModel coercion for boolean + string union types ( #9603 )
...
close #9587
close #10676
2024-04-15 21:18:59 +08:00
白雾三语
67722ba23b
fix(runtime-dom): fix css v-bind for suspensed components ( #8523 )
...
close #8520
2024-04-15 20:23:28 +08:00
Doctor Wu
54a6afa75a
fix(compiler-sfc): fix universal selector scope ( #10551 )
...
close #10548
2024-04-15 19:36:13 +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
04af9504a7
fix(compiler-core): fix v-bind shorthand for component :is
...
close #10469
close #10471
2024-04-15 17:36:05 +08:00
Evan You
969c5fb30f
fix(reactivity): fix hasOwnProperty key coercion edge cases
2024-04-15 17:18:53 +08:00
edison
e5919d4658
fix(compile-sfc): analyze v-bind shorthand usage in template ( #10518 )
...
close #10515
2024-04-15 16:32:04 +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
7ae9dbf57d
chore(deps): bump TS to 5.4
2024-04-15 13:36:43 +08:00
Evan You
16174da21d
fix(compiler-core): fix loc.source for end tags with whitespace before >
...
close #10694
close #10695
2024-04-15 11:50:57 +08:00
Evan You
f709238c30
chore: use correct parse in parser tests for whitespace: condense
2024-04-15 11:35:05 +08:00
edison
140a7681cc
fix(TransitionGroup): avoid set transition hooks for comment nodes and text nodes ( #9421 )
...
close #4621
close #4622
close #5153
close #5168
close #7898
close #9067
2024-04-14 23:16:01 +08:00
Evan You
c4684d3161
chore: amend test case name [ci skip]
2024-04-14 22:49:16 +08:00
Evan You
c3c5dc93fb
fix(reactivity): fix tracking when hasOwnProperty is called with non-string value
...
close #10455
close #10464
2024-04-14 22:46: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
liudaodanOo
34106bc9c7
fix(compiler-sfc): also search for `.tsx` when type import's extension is omitted ( #10637 )
...
Co-authored-by: liuxiaofei <liuxfb@digiwin.com>
Closes #10635
2024-04-09 16:14:11 +08:00
renovate[bot]
d4b767a1a5
chore(deps): update all non-major dependencies ( #10658 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 13:16:33 +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
renovate[bot]
5aaa758867
chore(deps): update all non-major dependencies ( #10627 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 22:51:05 +08:00
renovate[bot]
413cd28ed1
chore(deps): update build ( #10624 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 22:44:34 +08:00
Wes Cook
a653a8c125
chore: fix typo ( #10621 )
2024-04-01 16:20:01 +08:00
yangxiuxiu
db374e54c9
fix(runtime-dom): `v-model` string/number coercion for multiselect options ( #10576 )
...
Co-authored-by: RicardoErii <‘1974364190@qq.com’>
Co-authored-by: yangchangtao <yangchangtao@kuaishou.com>
2024-03-28 22:09:16 +08:00
renovate[bot]
01172fdb77
fix(deps): update compiler ( #10581 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 16:22:58 +08:00
renovate[bot]
cb7195a533
fix(deps): update playground ( #10586 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 15:36:17 +08:00
renovate[bot]
c6e245efe4
chore(deps): update all non-major dependencies ( #10580 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 15:10:49 +08:00
renovate[bot]
6fed247029
chore(deps): update dependency vite to ^5.2.6 ( #10582 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 15:03:29 +08:00
Doctor Wu
660cadc7aa
fix(compiler-sfc): :is() and :where() in compound selectors ( #10522 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
Closes #10511
2024-03-25 14:12:33 +08:00
Haoqun Jiang
caeb8a6881
chore: dedupe dependencies ( #10562 )
2024-03-21 11:12:50 +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
renovate[bot]
ed37dcd108
chore(deps): update build ( #10540 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 19:38:41 +08:00
renovate[bot]
c3dd9378b0
chore(deps): update all non-major dependencies ( #10539 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 15:14:20 +08:00
edison
b49306adff
fix(custom-element): avoid setting attr to null if it is removed ( #9012 )
...
Partially fixes #9006
Fixes #10324
2024-03-16 16:28:03 +08:00
丶远方
cde47bfa97
test: create `EffectScope` using a factory function ( #8844 )
2024-03-15 22:27:32 +08:00
丶远方
384591a2a1
types: make instrumentations' types more succinct ( #8558 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-13 22:57:33 +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
丶远方
9e8ac0c367
chore(playground): save `tsconfig.json` to the root directory; update Node.js version requirement ( #9086 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-12 21:46:26 +08:00
renovate[bot]
a3828239c2
chore(deps): update build ( #10490 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 17:55:46 +08:00
renovate[bot]
de0336a7c3
fix(deps): update compiler ( #10492 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 16:08:51 +08:00
chirokas
dec8a5294b
types: fix `scroll` event type; add support for `scrollend` ( #10443 )
2024-03-06 17:23:50 +08:00
Doctor Wu
e76d7430aa
fix(compiler-sfc): use options module name if options provide runtimeModuleName options ( #10457 )
...
close #10454
2024-03-06 10:45:42 +08:00
Evan You
f66a75ea75
release: v3.4.21
2024-02-28 12:12:15 +01:00
Doctor Wu
b3f8b5a4e7
fix(runtime-dom): avoid unset option's value ( #10416 )
...
close #10412
re-fix #10396
2024-02-28 19:07:12 +08: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
1f6a1102aa
test: clean snapshot
2024-02-28 15:19:24 +08:00
Evan You
89de26cdcd
release: v3.4.20
2024-02-26 10:07:13 +08:00
Evan You
b97ad0ee9a
chore: update e2eUtils puppeteer options
2024-02-26 09:54:12 +08:00
三咲智子 Kevin Deng
a24809fbd2
chore: limit typescript lib to es2016 ( #10164 )
...
* chore: limit typescript lib to es2015
* chore: set target to es2015
* chore: update
2024-02-26 09:37:05 +08:00
renovate[bot]
b92e6ce1ca
chore(deps): update build ( #10321 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:34:09 +08:00
renovate[bot]
bcf16659c8
chore(deps): update compiler ( #10322 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:16:38 +08:00
renovate[bot]
2529b97ebd
chore(deps): update all non-major dependencies ( #10320 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:15:57 +08:00
Evan You
364f8902c8
fix(runtime-dom): fix nested v-show priority regression
...
close #10338
2024-02-26 09:11:05 +08:00
Evan You
6c74fb07a7
chore: rename and export DefineSetupFnComponent
2024-02-25 23:38:39 +08:00
Evan You
e0e02535cd
fix(parser): should not treat uppercase components as special tags
...
close #10395
2024-02-25 23:05:15 +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
Wick
a4098d587b
chore(reactivity): consistent variable naming ( #10350 )
2024-02-25 21:08:06 +08:00
zhoulixiang
e2d323538e
fix(runtime-dom): v-bind style should clear previous css string value ( #10373 )
...
close #10352
2024-02-25 20:53:00 +08:00
Wick
76c9c742e9
chore(runtime-core): optimize validateComponentName ( #10378 )
2024-02-25 20:41:08 +08:00
renovate[bot]
c131ebae45
chore(deps): update playground ( #10356 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-25 20:40:09 +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
Doctor Wu
21e0d6b145
dx(reactivity): add getter into computed side effect warning ( #10386 )
2024-02-25 20:27:33 +08:00
edison
0f3da05ea2
fix(suspense): handle suspense switching with nested suspense ( #10184 )
...
close #10098
2024-02-25 20:22:12 +08:00
Wick
411596c07b
chore(reactivity): replace console.warn() to warn function ( #10394 )
2024-02-25 20:17:30 +08:00
Evan You
ff130c4702
fix(runtime-dom): avoid always resetting nullish option value
...
close #10396
2024-02-25 17:35:19 +08:00
Evan You
6bef15f094
chore: remove unused argument
2024-02-25 17:30:20 +08:00
三咲智子 Kevin Deng
fe5d919b0f
refactor(sfc-playground): upgrade `@vue/repl` ( #10310 )
2024-02-20 21:47:09 +08:00
孟世博
3199189901
chore: standardize the spelling of TypeScript ( #10186 ) [ci skip]
2024-02-20 21:43:45 +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
Evan You
df4a6e1dd8
chore(deps): bump @vue/consolidate
2024-02-13 17:42:31 +08:00
Doctor Wu
f7ba97f975
feat(dx): warn users when computed is self-triggering ( #10299 )
2024-02-13 17:38:26 +08:00
OnlyWick
5f7a0a08b2
chore(errorHandling): directly return value in callWithErrorHandling function ( #10315 )
2024-02-13 17:15:18 +08:00
Evan You
b8be99018c
fix(deps): pin lru-cache to avoid hashing error
...
close #10300
2024-02-13 17:14:26 +08:00
zhoulixiang
e50963903d
fix(runtime-dom): should not trigger transition when v-show value is falsy ( #10311 )
2024-02-13 12:56:52 +08:00
João Carmona
603a1e1f5a
perf(runtime): improve `getType()` GC and speed ( #10327 )
2024-02-13 11:54:59 +08:00
Evan You
64f431aab0
release: v3.4.18
2024-02-09 10:31:29 +08:00
zhoulixiang
c224897dd4
fix(runtime-dom): ensure v-show respects display value set via v-bind ( #10297 )
...
close #10151
2024-02-09 10:17:35 +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
2cd5b05c3b
revert: fix(runtime-dom): ensure v-show respects display value set via v-bind ( #10161 )
...
This reverts commit 9b19f09121
.
close #10294
reopen #10151
2024-02-09 08:30:51 +08:00
Evan You
1339330850
release: v3.4.16
2024-02-08 11:45:34 +08:00
Evan You
2b0a706dc7
chore: move X_V_BIND_INVALID_SAME_NAME_ARGUMENT to preserve error code order
2024-02-08 11:36:51 +08:00
Artyom Tuchkov
2312184bc3
fix(reactivity): skip non-extensible objects when using `markRaw` ( #10289 )
...
close #10288
2024-02-08 10:57:57 +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
Doctor Wu
9b19f09121
fix(runtime-dom): ensure v-show respects display value set via v-bind ( #10161 )
...
close #10151
2024-02-07 12:54:21 +08:00
Evan You
cb87b6213d
fix(compiler-core): handle same-name shorthand edge case for in-DOM templates
...
Also add error for invalid arguments for same-name shorthand.
close #10280
2024-02-07 12:15:39 +08:00
Johnson Chu
0bced13ee5
fix(reactivity): avoid infinite recursion from side effects in computed getter ( #10232 )
...
close #10214
2024-02-06 18:44:09 +08:00
Johnson Chu
6c7e0bd88f
fix(reactivity): handle `MaybeDirty` recurse ( #10187 )
...
close #10185
2024-02-06 18:23:56 +08:00
zhoulixiang
91f058a90c
fix(compiler-core): support v-bind shorthand syntax for dynamic slot name ( #10218 )
...
close #10213
2024-02-06 17:54:06 +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
Doctor Wu
f31d782e46
fix(runtime-dom): fix option selected update failed ( #10200 )
...
close #10194
close #10267
2024-02-06 16:58:51 +08:00
Evan You
d27ee59274
chore(playground): update download template deps
2024-02-05 12:09:08 +08:00
Evan You
2ebafc26a7
chore(playground): bump @vitejs/plugin-vue
2024-02-05 12:07:15 +08:00
renovate[bot]
dbc4677161
chore(deps): update build ( #10271 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:37:25 +08:00
三咲智子 Kevin Deng
53eee72c3a
fix(runtime-core): avoid inlining isShallow ( #10238 )
2024-02-05 11:36:17 +08:00
三咲智子 Kevin Deng
718fc86f45
chore: remove missing reactivity transform file ( #10255 )
...
prev: https://github.com/vuejs/core/pull/9321
2024-02-05 11:35:29 +08:00
renovate[bot]
336bb65820
fix(deps): update compiler ( #10269 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:34:34 +08:00
renovate[bot]
26c79cc8fa
chore(deps): update all non-major dependencies ( #10175 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 09:41:48 +08:00
dependabot[bot]
733f63a0a9
build(deps-dev): bump vite from 5.0.7 to 5.0.12 ( #10162 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.0.7 to 5.0.12.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.0.12/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 09:35:50 +08:00
Evan You
ee4cd78a06
release: v3.4.15
2024-01-18 21:34:34 +08:00
Evan You
de4d2e2143
perf(templateRef): avoid double render when using template ref on v-for
...
close #9908
2024-01-18 21:25:10 +08:00
Evan You
c3087ff2cc
fix: correct url for production error reference links
2024-01-18 20:00:01 +08:00
Evan You
2ffb956efe
perf(v-model): optimize v-model multiple select w/ large lists
...
close #10014
2024-01-18 19:55:15 +08:00
Evan You
75e866bd4e
fix(compiler-sfc): fix type resolution for symlinked node_modules structure w/ pnpm
...
close #10121
2024-01-18 13:52:42 +08:00
inottn
6fa33e67ec
fix(runtime-core): should not warn out-of-render slot fn usage when mounting another app in setup ( #10125 )
...
close #10124
2024-01-18 11:45:11 +08:00
Evan You
81d307a1e9
refactor: use shared isAttrRenderable logic between ssr and hydration
2024-01-18 11:23:59 +08:00
Evan You
492a720fd0
chore: remove unused import
2024-01-18 11:23:50 +08:00
Evan You
d16a2138a3
fix(hydration): fix incorect mismatch warning for option with non-string value and inner text
...
close 10140
2024-01-18 11:20:32 +08:00
pengbo
e977c598db
chore: replace -1 to PatchFlags.HOISTED ( #10146 )
2024-01-18 10:48:27 +08:00
Johnson Chu
c2b274a887
fix(reactivity): re-fix #10114 ( #10123 )
2024-01-18 10:46:57 +08:00
Evan You
07922dacc7
release: v3.4.14
2024-01-15 23:41:12 +08:00
Doctor Wu
20f62afaaf
fix(reactivity): fix regression for computed with mutation ( #10119 )
...
close #10114
2024-01-15 23:38:57 +08:00
renovate[bot]
237cb45319
chore(deps): update lint ( #10112 )
...
* chore(deps): update lint
* [autofix.ci] apply automated fixes
---------
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>
2024-01-15 18:15:47 +08:00
renovate[bot]
a557006f8e
fix(deps): update dependency postcss to ^8.4.33 ( #10110 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-15 18:15:24 +08:00
三咲智子 Kevin Deng
48bf8e4c70
fix(compiler-sfc): enable prefixIdentifiers by default when reparsing on consumed AST ( #10105 )
2024-01-14 09:36:04 +08:00
Evan You
3a642fb95c
release: v3.4.13
2024-01-13 16:03:45 +08:00
Johnson Chu
e45a8d24b4
fix(reactivity): fix dirtyLevel checks for recursive effects ( #10101 )
...
close #10082
2024-01-13 15:53:06 +08:00
Evan You
ffd0473e0f
release: v3.4.12
2024-01-13 10:41:29 +08:00
Evan You
8b1848173b
revert: fix(reactivity): correct dirty assign in render function ( #10091 )
...
This reverts commit 8d04205041
.
close #10098
close #10100
2024-01-13 10:38:25 +08:00
Evan You
fd337dddd1
release: v3.4.11
2024-01-12 22:15:16 +08:00
Evan You
c60479146a
dx(defineModel): warn against reference of setup scope variables in defineModel options
...
close #10093
2024-01-12 22:07:16 +08:00
edison
d35b87725a
fix(runtime-core): filter single root for nested DEV_ROOT_FRAGMENT ( #8593 )
...
close #5203
close #8581
close #10087
2024-01-12 22:07:06 +08:00
Doctorwu
8d04205041
fix(reactivity): correct dirty assign in render function ( #10091 )
...
close #10082
2024-01-12 21:13:17 +08:00
zhoulixiang
08b60f5d0d
fix(hydration): improve mismatch when client valut is null or undefined ( #10086 )
2024-01-12 17:50:26 +08:00
Evan You
bb6b7a297e
release: v3.4.10
2024-01-11 23:04:20 +08:00
Evan You
3907c87ce2
fix(hydration): should not warn on falsy bindings of non-property keys
2024-01-11 21:07:41 +08:00
Evan You
9636357c89
release: v3.4.9
2024-01-11 18:49:05 +08:00
Evan You
dfd9654665
fix(build): avoid accessing __FEATURE_PROD_DEVTOOLS__ flag in root scope
2024-01-11 18:30:23 +08:00
Evan You
bceccf9e21
chore(build): rename __NODE_JS__ build flag to __CJS__
2024-01-11 18:24:21 +08:00
Evan You
8fda856a82
refactor: split out useModel implementation and tests
2024-01-11 18:04:47 +08:00
Evan You
92514db708
build: add node production/development condition in package exports ( #10036 )
...
follow up of #9977
2024-01-11 18:04:32 +08:00
edison
bcda96b525
fix(suspense): avoid double-patching nested suspense when parent suspense is not resolved ( #10055 )
...
close #8678
2024-01-11 17:27:53 +08:00
Evan You
07b19a53a5
test: test case for style binding w/ object value + v-show
...
ref #10074
2024-01-11 17:14:49 +08:00
cyx
cd419aec3c
fix(runtime-dom): unify behavior for v-show + style display binding ( #10075 )
...
close #10074
2024-01-11 17:11:35 +08:00
Evan You
dcc68ef7d4
fix(hydration): do not warn against bindings w/ object values
2024-01-11 16:18:00 +08:00
Evan You
8d656ce88d
release: v3.4.8
2024-01-11 01:03:51 +08:00
Evan You
5af3987291
fix(hydration): fix class and style hydration mismatch message
...
close #10067
2024-01-11 00:49:46 +08:00
Evan You
70ad4caad7
fix(suspense): fix more suspense patch before resolve edge cases
...
close #10017
2024-01-11 00:37:06 +08:00
Evan You
972facee0d
fix(hydration): improve attr hydration mismatch check for boolean attrs
...
close #10057
close #10060
2024-01-10 14:14:47 +08:00
Evan You
a3725a729c
release: v3.4.7
2024-01-09 18:15:03 +08:00
三咲智子 Kevin Deng
438a74aad8
fix(types): fix functional component for `h` ( #9991 )
...
- stricter children/slots type
- fix emits/`EE` type argument of `FunctionalComponent`
2024-01-09 16:45:05 +08:00
Evan You
2fd3905738
revert: "dx(computed): warn incorrect use of getCurrentInstance inside computed"
...
This reverts commit 324e817ef8
.
2024-01-09 16:37:50 +08:00
LiuSeen
03b54962dc
chore(types): use EffectScheduler type for its queue ( #10023 )
2024-01-09 15:27:17 +08:00
zhangenming
64e9c9616d
refactor(runtime-core): use currentRenderingInstance directly
2024-01-09 15:26:07 +08:00
zhangenming
9c54dacd0d
chore: use NOOP. ( #9938 )
2024-01-09 15:24:10 +08:00
Haoqun Jiang
923d560d0b
fix(parser): skip compat mode check for SFC root `<template>` tags ( #10034 )
...
Fixes https://github.com/vitejs/vite-plugin-vue/issues/330
2024-01-09 11:14:00 +08:00
Evan You
7976f7044e
refactor(runtime-core): safer currentInstance reset
2024-01-09 07:22:13 +08:00
Evan You
dc91463eb6
release: v3.4.6
2024-01-08 23:01:54 +08:00
白雾三语
c379bc29ef
fix(types): allow `null` type for textarea value ( #9997 )
...
close #9904
2024-01-08 22:58:27 +08:00
Evan You
7bd4e90506
fix(build): revert "build: add production/development export conditions ( #9977 )"
...
This reverts commit e790e1bdd7
.
close #10012
close #10020
2024-01-08 22:29:08 +08:00
Doctorwu
3bf34b767e
fix(runtime-core): handle fragment with null children ( #10010 )
...
close #10007
2024-01-08 18:48:47 +08:00
Evan You
3c3561e720
fix: fix post watcher fire timing on nested app mounts
...
close #10005
2024-01-08 18:44:28 +08:00
Evan You
d9162dfc2e
fix(scheduler): sort nested postFlushCbs
...
close #10003
2024-01-08 18:20:29 +08:00
Evan You
324e817ef8
dx(computed): warn incorrect use of getCurrentInstance inside computed
...
ref #9974
close #10001
2024-01-08 18:12:40 +08:00
zhoulixiang
2701355e8e
fix(hydration): avoid hydration mismatch warning for styles with different order ( #10011 )
...
close #10000
close #10006
2024-01-08 16:36:27 +08:00
白雾三语
a3fbf2132b
fix(suspense): fix anchor for suspense with transition out-in ( #9999 )
...
close #9996
2024-01-08 15:57:14 +08:00
Evan You
ceb215e45d
test: update vShow tests to workaround jsdom regression
2024-01-08 15:03:10 +08:00
LiuSeen
96fffe6ec3
chore(comments): dep changed from set to map ( #10019 ) [ci skip]
2024-01-08 14:19:07 +08:00
Doctorwu
68e5cc6ac8
chore(runtime-core): remove console comment ( #9989 )
2024-01-07 03:26:38 +08:00
Evan You
0275dd329d
release: v3.4.5
2024-01-04 17:21:24 +08:00
Evan You
b20350ded5
fix(compiler-sfc): fix co-usage of defineModel transform options and props destructure
...
close #9972
2024-01-04 17:07:29 +08:00
Evan You
ae60a91cc2
fix(compiler-sfc): fix sfc template unref rewrite for class instantiation
...
close #6483
close #6491
2024-01-04 15:58:13 +08:00
三咲智子 Kevin Deng
fda51925f4
chore: disallow console statement ( #9986 )
2024-01-04 15:54:48 +08:00
Evan You
0ae651a5f0
chore: remove log
2024-01-04 15:45:35 +08:00
Daniel Roe
e790e1bdd7
build: add production/development export conditions ( #9977 )
2024-01-04 11:24:17 +08:00
edison
7dbdb3edf0
fix(compiler-ssr): fix node clone edge case caused by AST reuse ( #9983 )
...
close #9981
2024-01-04 10:52:09 +08:00
Yang Mingshan
d2d89551bb
fix(watch): cleanup watcher effect from scope when manually stopped ( #9978 )
2024-01-04 10:36:13 +08:00
Evan You
f70f7ca9ae
release: v3.4.4
2024-01-03 18:40:28 +08:00
丶远方
fe03b2f8bf
chore(apiWatch): constraint deep passes boolean ( #9952 )
2024-01-03 18:18:45 +08:00
skirtle
10ccb9bfa0
fix(defineModel): support kebab-case/camelCase mismatches ( #9950 )
2024-01-03 18:18:35 +08:00
Yang Mingshan
f300a4001e
fix(watch): remove instance unmounted short circuit in getter of `watchEffect` ( #9948 )
2024-01-03 18:09:53 +08:00
Evan You
71d3121b72
fix(compiler-sfc): fix scss source map regression
...
close #9970
close #9969
2024-01-03 17:45:57 +08:00
edison
0160264d67
fix(ssr): avoid rendering transition-group slot content as a fragment ( #9961 )
...
close #9933
2024-01-03 17:43:08 +08:00
renovate[bot]
7b8c95a43d
chore(deps): update dependency postcss-selector-parser to ^6.0.15 ( #9960 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 17:35:34 +08:00
renovate[bot]
4331af9093
chore(deps): update all non-major dependencies ( #9959 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 17:35:15 +08:00
Evan You
a9f781a92c
fix(watch): revert watch behavior when watching shallow reactive objects
...
close #9965
2024-01-03 17:25:24 +08:00
yangxiuxiu
06488047c1
fix(runtime-core): correctly assign suspenseId to avoid conflicts with the default id ( #9966 )
...
close #9944
2024-01-03 17:22:06 +08:00
SerKo
a47fb45c50
workflow(sfc-playground): init custom formatter when selecting new version ( #9958 )
...
close #9957
2024-01-03 16:54:47 +08:00
Evan You
d94d8d4bff
fix(compiler-sfc): use compilerOptions when re-parsing consumed AST
...
fixes hydration error for custom elements
2024-01-02 21:38:13 +08:00
Evan You
be7eabda22
chore: bump repl version
2024-01-02 10:54:13 +08:00