Evan You
524e660e35
chore: Merge branch 'main' into minor
2024-06-14 18:15:20 +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
26356264d2
chore: Merge branch 'main' into minor
2024-06-14 12:32:28 +02:00
Xu Wei
188f3ae533
fix(runtime-dom): support Symbol for input value bindings ( #10608 )
...
close #10597
2024-06-10 17:01:56 +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
Evan You
1d8727ec97
chore: Merge branch 'main' into minor
2024-05-30 11:21:12 +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
linzhe
87c5443044
fix(compiler-core): should set `<math>` tag as block to retain MathML namespace after patching ( #10891 )
...
Co-authored-by: linzhe141 <linzhe141@qq.com>
2024-05-28 14:26:29 +08:00
白雾三语
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
btea
481b1b6f38
refactor(types): use explicit modifiers type ( #10856 )
2024-05-07 06:23:04 +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
Evan You
f26d56601c
chore: improve event value validation message
2024-04-15 23:39:59 +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
白雾三语
67722ba23b
fix(runtime-dom): fix css v-bind for suspensed components ( #8523 )
...
close #8520
2024-04-15 20:23:28 +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
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
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
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
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
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
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
2ffb956efe
perf(v-model): optimize v-model multiple select w/ large lists
...
close #10014
2024-01-18 19:55:15 +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
Evan You
ceb215e45d
test: update vShow tests to workaround jsdom regression
2024-01-08 15:03:10 +08:00
三咲智子 Kevin Deng
bfe6b459d3
style: update format & lint config ( #9162 )
...
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
Evan You
5ec937723a
chore: Merge branch 'main' into minor
2023-12-24 22:50:06 +08:00
丶远方
1b522cae07
chore(test): replace deprecated `SpyInstance` import with the latest `MockInstance` ( #9889 )
2023-12-22 21:55:43 +08:00
Evan You
95f6fffea2
chore: Merge branch 'main' into minor
2023-12-19 18:16:16 +08:00
Thorsten Lünborg
04d2c05054
fix(runtime-dom): cache event handlers by key/modifiers ( #9851 )
...
close #9849
2023-12-16 21:54:37 +08:00
Evan You
9f64d2b681
chore: Merge branch 'main' into minor
2023-12-16 14:37:21 +08:00
丶远方
0a387dfb1d
fix(sfc/cssVars): fix loss of CSS v-bind variables when setting inline style with string value ( #9824 )
...
close #9821
2023-12-15 09:56:01 +08:00
Evan You
982a145d38
chore: Merge branch 'main' into minor
2023-12-11 22:03:28 +08:00
Fabian Gündel
d42b6ba3f5
feat: MathML support ( #7836 )
...
close #7820
2023-12-08 18:25:01 +08:00
Evan You
5b002869c5
fix(runtime-dom): fix width and height prop check condition
...
close #9762
2023-12-07 10:09:26 +08:00
zhoulixiang
bfc1838f31
fix(runtime-dom): set width/height with units as attribute ( #8781 )
...
Technically, width / height on `<img>`, `<video>` etc must be integers and cannot contain units. When set as a DOM property, the DOM force converts strings with units to 0. However, this is such a common mistake that most browsers nowadays supports such usage, and it makes sense for Vue to at least let it be set as an attribute.
2023-11-30 17:27:23 +08:00
白雾三语
40f4b77bb5
fix(v-model): avoid overwriting number input with same value ( #7004 )
...
close #7003
2023-11-09 15:14:38 +08:00
丶远方
f32ec17131
chore: remove unnecessary imports from vitest ( #8562 )
2023-10-26 16:34:14 +08:00
白雾三语
8f0472c9ab
fix(runtime-core): fix error when using cssvars with disabled teleport ( #7341 )
...
close #7342
2023-10-20 16:34:11 +08:00
丶远方
2ffe3d5b3e
refactor: use symbol for private properties ( #8681 )
2023-08-22 16:57:15 +08:00
zqran
736cf154cc
chore(test): replace deprecated `initEvent` ( #8490 )
2023-07-11 17:38:32 +08:00
Lioness100
6277cb994a
chore: fix typo ( #7693 )
2023-06-10 17:17:41 +08:00
丶远方
b01fc7ea84
chore: remove unnecessary imports ( #8262 )
2023-05-19 07:54:12 +08:00
linghaoSu
4495373d28
fix(runtime-dom): check attribute value when setting option value ( #8246 )
...
fix #8227
2023-05-08 15:26:14 +08:00
丶远方
3294e50b0b
chore: update tests to use expect.toBeInstanceOf ( #8154 )
2023-05-08 14:34:24 +08:00
Evan You
e077e6f5f3
workflow: disable threads during tests
2023-02-02 22:08:37 +08:00
Evan You
c1cbb747b5
chore: fix types
2023-02-02 15:27:29 +08:00
三咲智子 Kevin Deng
734b06a124
test: fix await patch prop case ( #7600 )
2023-02-01 08:59:50 +01:00
Evan You
4ee0dad0fe
wip(vitest-migration): runtime-dom tests passing + use environmentMatchGlobs
2023-01-26 21:35:50 +08:00