Evan You
7d5743223f
chore: use fresh containers for app mount tests
2024-08-08 14:42:16 +08:00
Evan You
775103af37
feat(custom-element): useHost() helper
2024-08-08 12:35:00 +08:00
Cédric Exbrayat
5753a10fc5
chore: fix wrong test name for useShadowRoot ( #11550 )
2024-08-07 21:29:56 +08:00
Evan You
eaf5455d77
chore: Merge branch 'main' into minor
2024-08-07 18:25:58 +08:00
Evan You
978ff3c1db
fix(custom-element): fix custom-element double render on immediate prop change
...
fix #9885
close #11335
2024-08-07 17:44:11 +08:00
Evan You
197afc2c1f
chore: fix useShadowRoot warning method name
2024-08-07 17:21:36 +08:00
Evan You
6758c3cd04
feat(custom-element): support configurable app instance in defineCustomElement
...
Support configuring via `configureApp` option:
```js
defineCustomElement({
// ...
}, {
configureApp(app) {
// ...
}
})
```
close #4356
close #4635
2024-08-07 16:08:06 +08:00
linzhe
fdc2a31dbd
fix(runtime-dom): apply css vars before mount ( #11538 )
...
fix #11533
2024-08-07 11:51:44 +08:00
Kevin Deng 三咲智子
8a99f903db
style: format html&markdown files ( #11531 )
2024-08-07 10:57:18 +08:00
Evan You
63689ed776
fix(custom-element): reflect prop default value on custom element
...
close #9006
close #10537
2024-08-07 02:51:29 +08:00
Evan You
bcb9a70290
types: custom element interface should be internal
2024-08-07 02:33:20 +08:00
Evan You
37ccb9b9a0
fix(custom-element): delay mounting of custom elements with async parent
...
close #8127
close #9341
close #9351
the fix is based on #9351 with reused tests
2024-08-07 02:18:54 +08:00
白雾三语
03a9ea2b88
feat(custom-element): support css `:host` selector by applying css vars on host element ( #8830 )
...
close #8826
2024-08-06 23:33:57 +08:00
vue-bot
1cbbb04008
release: v3.4.36
2024-08-06 14:00:05 +00:00
edison
917c0631cc
chore: fix typo ( #11522 )
2024-08-06 18:20:40 +08:00
三咲智子 Kevin Deng
d23095e866
Merge tag 'v3.5.0-alpha.5'
2024-08-06 17:39:59 +08:00
Evan You
bb4a02a70c
feat(custom-element): support nonce option for injected style tags
...
close #6530
2024-08-06 15:41:54 +08:00
Evan You
60a88a2b12
feat(custom-element): support passing custom-element-specific options via 2nd argument of defineCustomElement
2024-08-06 15:37:28 +08:00
Evan You
56c76a8b05
feat(custom-element): inject child components styles to custom element shadow root ( #11517 )
...
close #4662
close #7941
close #7942
2024-08-05 20:49:28 +08:00
Evan You
b74687c0bb
refactor: isCE -> ce
2024-08-05 16:33:48 +08:00
Evan You
6e541db29f
chore: warn style injection in shadowRoot: false mode
2024-08-05 16:33:05 +08:00
Andy Li
e94b01bd8a
fix(types/custome-element): `defineCustomElement` props inference with array emits ( #11384 )
...
close #11353
2024-08-05 11:14:36 +08:00
郝晨光
af838c1b5e
feat(custom-element): support for expose on customElement ( #6256 )
...
close #5540
2024-08-03 14:48:21 +08:00
Evan You
5a1a89bd61
feat(custom-element): useShadowRoot() helper
...
close #6113
close #8195
2024-08-03 14:19:19 +08:00
Evan You
e181bff6dc
feat(custom-element): support emit with options
...
In a custom element created via `defineCustomElement`, if the first
event argument is an object, it will be used as the options object
for the emitted CustomEvent. The entire argument list is still exposed
via the CustomEvent's `detail` property.
```js
emit('event', { bubbles: true })
```
close #7605
2024-08-03 13:46:58 +08:00
Evan You
7f2c505f92
fix(custom-element): ignore scoped id
2024-08-03 13:40:57 +08:00
Evan You
37d2ce5d8e
feat(custom-element): support shadowRoot: false in defineCustomElement()
...
close #4314
close #4404
2024-08-03 13:14:22 +08:00
Haoqun Jiang
6d4eb94853
feat(runtime-dom): Trusted Types compatibility ( #10844 )
2024-08-02 12:46:12 +08:00
Evan You
f6babf3236
release: v3.5.0-alpha.5
2024-07-31 16:57:19 +08:00
Evan You
0b8ba6320e
release: v3.4.35
2024-07-31 16:42:04 +08:00
三咲智子 Kevin Deng
f0405f1528
Merge tag 'v3.5.0-alpha.4'
2024-07-29 13:59:31 +08:00
Evan You
4ffd9db703
release: v3.5.0-alpha.4
2024-07-24 23:41:40 +08:00
Evan You
9111252042
release: v3.4.34
2024-07-24 23:30:30 +08:00
三咲智子 Kevin Deng
a8248cf152
Merge remote-tracking branch 'upstream/minor'
2024-07-19 18:52:32 +08:00
Evan You
ee11f43623
release: v3.5.0-alpha.3
2024-07-19 18:14:31 +08:00
Evan You
66579ea544
chore: Merge branch 'main' into minor
2024-07-19 18:07:42 +08:00
Evan You
422ef34e48
release: v3.4.33
2024-07-19 17:24:34 +08:00
Tycho
5df67e3675
fix(runtime-dom): handle undefined values in v-html ( #11403 )
2024-07-19 16:52:03 +08:00
Evan You
f15ba2c2e2
chore: Merge branch 'main' into minor
2024-07-17 17:32:31 +08:00
Evan You
fd5c001ec7
release: v3.4.32
2024-07-17 17:07:05 +08:00
linzhe
3e9e32ee0a
fix(runtime-dom): properly handle innerHTML unmount into new children ( #11159 )
...
close #9135
2024-07-17 16:37:14 +08:00
Evan You
f2acd51340
release: v3.4.31
2024-06-28 10:14:29 +08:00
三咲智子 Kevin Deng
4be49b2620
Merge remote-tracking branch 'upstream/minor'
2024-06-22 23:39:45 +08:00
Evan You
7d06ca3a83
chore: Merge branch 'main' into minor
2024-06-22 21:05:15 +08:00
Evan You
582cd2e9bc
release: v3.4.30
2024-06-22 20:59:53 +08:00
Thorsten Lünborg
a2e35d682d
fix(runtime-dom): ensure only symbols are explicitly stringified during attribute patching ( #11182 )
...
close #11177
2024-06-22 17:04:41 +08:00
Tycho
8ae4c293ad
fix(runtime-dom): prevent setting state as attribute for custom elements ( #11165 )
...
close #11163
2024-06-22 16:42:12 +08:00
三咲智子 Kevin Deng
cf8be999df
Merge remote-tracking branch 'upstream/minor'
2024-06-16 17:01:49 +08:00
Evan You
524e660e35
chore: Merge branch 'main' into minor
2024-06-14 18:15:20 +02:00
Evan You
e5ca13a3af
release: v3.4.29
2024-06-14 18:02:36 +02:00
Evan You
bda5ff1d3f
chore: fix missing type import
2024-06-14 16:04:04 +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
Evan You
3e89a0da21
release: v3.4.28
2024-06-14 11:30:16 +02:00
Evan You
04729ba216
fix(compat): only warn ATTR_FALSE_VALUE when enabled
...
close #11126
2024-06-14 11:03:04 +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
n0099
ec424f6cd9
fix(npm): explicitly add `@vue/reactivity` as dependency of `@vue/runtime-dom` ( #10468 )
2024-06-10 15:29:37 +08:00
tomasvn
32262a9af5
chore: use PropertyKey type ( #11056 )
...
close #8559
2024-06-06 18:23:21 +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
f1cc478819
chore: format
2024-05-31 23:26:16 +08:00
Evan You
537a571f8c
fix(runtime-dom): also set attribute for form element state
...
close #6007
close #6012
2024-05-31 23:22:42 +08:00
远方os
a52a02f43f
fix(v-model): fix the lazy modifier is not reset by other modifications ( #8547 )
...
close #8546
close #6564
close #6773
2024-05-31 21:05:41 +08:00
三咲智子 Kevin Deng
334e72eeee
Merge remote-tracking branch 'upstream/minor'
2024-05-30 21:41:53 +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
fd18ce70b1
fix: correct the type of `<details>`'s `onToggle` event handler ( #10938 )
...
Fixes #10928
2024-05-20 19:42:34 +08:00
三咲智子 Kevin Deng
7cd70505d5
Merge remote-tracking branch 'upstream/minor'
2024-05-11 22:11:30 +08:00
Evan You
461946175d
release: v3.4.27
2024-05-06 16:59:48 -07:00
btea
481b1b6f38
refactor(types): use explicit modifiers type ( #10856 )
2024-05-07 06:23:04 +08:00
Evan You
b295cdf4e9
release: v3.5.0-alpha.2
2024-05-03 17:03:13 -07: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
三咲智子 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
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
三咲智子 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
958286e3f0
release: v3.4.24
2024-04-22 23:29:58 +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
三咲智子 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
46c2b63981
release: v3.4.23
2024-04-16 22:55:56 +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
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
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
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
三咲智子 Kevin Deng
b4da5a8da6
feat(runtime-vapor): support v-bind for event
2024-03-14 14:25:54 +08:00
三咲智子 Kevin Deng
b4aa5f98d7
Merge remote-tracking branch 'upstream/main'
2024-03-14 14:17:25 +08:00
chirokas
dec8a5294b
types: fix `scroll` event type; add support for `scrollend` ( #10443 )
2024-03-06 17:23:50 +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
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
三咲智子 Kevin Deng
65909f6e60
Merge remote-tracking branch 'upstream/main'
2024-02-27 18:48:24 +08:00