Commit Graph

839 Commits

Author SHA1 Message Date
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
Evan You 89de26cdcd release: v3.4.20 2024-02-26 10:07:13 +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 9a365fe00d refactor: use more descriptive name for v-show original display key 2024-02-25 21:50:47 +08:00
三咲智子 Kevin Deng 5819dc9001
Merge remote-tracking branch 'upstream/main' 2024-02-25 21:07:09 +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
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 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
zhoulixiang e50963903d
fix(runtime-dom): should not trigger transition when v-show value is falsy (#10311) 2024-02-13 12:56:52 +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
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 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
三咲智子 Kevin Deng 5e52ac9ab4
Merge remote-tracking branch 'upstream/main' 2024-02-07 22:02:23 +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
三咲智子 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
Doctor Wu f31d782e46
fix(runtime-dom): fix option selected update failed (#10200)
close #10194
close #10267
2024-02-06 16:58:51 +08:00
三咲智子 Kevin Deng 736db791a4
Merge remote-tracking branch 'upstream/main' 2024-01-19 16:29:21 +08:00
Evan You ee4cd78a06 release: v3.4.15 2024-01-18 21:34:34 +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 07922dacc7 release: v3.4.14 2024-01-15 23:41:12 +08:00
三咲智子 Kevin Deng af9f892afa
Merge remote-tracking branch 'upstream/main' 2024-01-14 23:33:08 +08:00
Evan You 3a642fb95c release: v3.4.13 2024-01-13 16:03:45 +08:00
Evan You ffd0473e0f release: v3.4.12 2024-01-13 10:41:29 +08:00
Evan You fd337dddd1 release: v3.4.11 2024-01-12 22:15:16 +08:00
Evan You bb6b7a297e release: v3.4.10 2024-01-11 23:04:20 +08:00
Evan You 9636357c89 release: v3.4.9 2024-01-11 18:49:05 +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
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 8d656ce88d release: v3.4.8 2024-01-11 01:03:51 +08:00
Evan You a3725a729c release: v3.4.7 2024-01-09 18:15:03 +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
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
Evan You ceb215e45d test: update vShow tests to workaround jsdom regression 2024-01-08 15:03:10 +08:00
三咲智子 Kevin Deng c9fe3f12e7
Merge tag 'v3.4.5' 2024-01-04 17:43:25 +08:00
Evan You 0275dd329d release: v3.4.5 2024-01-04 17:21:24 +08:00
三咲智子 Kevin Deng e971b0699b
Merge remote-tracking branch 'upstream/main' 2024-01-04 16:25:58 +08:00
Daniel Roe e790e1bdd7
build: add production/development export conditions (#9977) 2024-01-04 11:24:17 +08:00
Evan You f70f7ca9ae release: v3.4.4 2024-01-03 18:40:28 +08:00
三咲智子 Kevin Deng 3d3d08d0f1
Merge remote-tracking branch 'upstream/minor' 2023-12-31 18:51:34 +08:00
Evan You 8f85b6da44 release: v3.4.3 2023-12-30 21:34:23 +08:00
Evan You b010cb9939 release: v3.4.2 2023-12-30 19:41:35 +08:00
Evan You f787337b47 release: v3.4.1 2023-12-30 09:02:48 +08:00
Rizumu Ayaka a82d070890
Merge remote-tracking branch 'upstream/minor' 2023-12-29 21:03:21 +08:00
Evan You d702b66482 release: v3.4.0 2023-12-29 10:50:32 +08:00
Evan You ef90a99208 release: v3.4.0-rc.3 2023-12-27 10:15:44 +08:00
三咲智子 Kevin Deng 116c3f37ae
Merge remote-tracking branch 'upstream/minor' 2023-12-26 23:47:18 +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 947aacf5ea release: v3.4.0-rc.2 2023-12-26 15:52:53 +08:00
Evan You 9cbb27745d release: v3.4.0-rc.1 2023-12-25 16:42:12 +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 048dffd7ee release: v3.4.0-beta.4 2023-12-19 18:23:57 +08:00
Evan You 95f6fffea2 chore: Merge branch 'main' into minor 2023-12-19 18:16:16 +08:00
Evan You 7c49a9c4d8 release: v3.3.13 2023-12-19 18:12:48 +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
三咲智子 Kevin Deng 597eae423b
Merge remote-tracking branch 'upstream/minor' 2023-12-16 16:12:55 +08:00
Evan You 317b783a53 release: v3.4.0-beta.3 2023-12-16 14:41:29 +08:00
Evan You 9f64d2b681 chore: Merge branch 'main' into minor 2023-12-16 14:37:21 +08:00
Evan You 4e7967f016 release: v3.3.12 2023-12-16 14:23:40 +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 c51ab4c765 release: v3.4.0-beta.2 2023-12-14 10:28:34 +08:00
Evan You e00b160435 release: v3.4.0-beta.1 2023-12-13 18:52:16 +08:00
Mehmet fd0b6ba016
feat(types): export AriaAttributes type (#8909) 2023-12-11 22:05:48 +08:00
Evan You 982a145d38 chore: Merge branch 'main' into minor 2023-12-11 22:03:28 +08:00
renovate[bot] 0550062172
chore(deps): update all non-major dependencies (#9799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 10:48:44 +08:00
丶远方 0d61b429ec
fix(types): add `xmlns:xlink` to `SVGAttributes` (#9300)
close #9299
2023-12-08 22:16:25 +08:00
Fabian Gündel d42b6ba3f5
feat: MathML support (#7836)
close #7820
2023-12-08 18:25:01 +08:00
Evan You 19b590fa3a release: v3.3.11 2023-12-08 14:13:52 +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
三咲智子 Kevin Deng c695fdc1de
Merge remote-tracking branch 'upstream/minor' 2023-12-06 18:50:31 +08:00
sunjiang0018 af909b7d45
chore: fix typo (#9752) [ci skip] 2023-12-05 12:05:53 +08:00
Evan You c0d396b785 release: v3.4.0-alpha.4 2023-12-04 23:24:43 +08:00
Evan You e12b10ac3e chore: Merge branch 'main' into minor 2023-12-04 23:17:41 +08:00
Evan You d5a88ef9d7 release: v3.3.10 2023-12-04 21:42:18 +08:00
Carlos Rodrigues 43c3cfdec5
fix(types): improve return type withKeys and withModifiers (#9734) 2023-12-04 07:59:01 +08:00
Evan You da4a4fb5e8 perf(runtime-dom): cache modifier wrapper functions
close #8882
2023-11-30 19:00:00 +08:00
Evan You 6fcec3b2c7 chore: fix width/height check condition 2023-11-30 18:34:06 +08:00
Evan You 9845f1d2a1 chore: optimize widht/height element check 2023-11-30 17:59:27 +08:00
Evan You 38aaa8c886 perf: optimize on* prop check 2023-11-30 17:52:51 +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
三咲智子 Kevin Deng 377723d8b2
Merge remote-tracking branch 'upstream/minor' 2023-11-29 21:10:26 +08:00
Evan You 7d89887f71 release: v3.4.0-alpha.3 2023-11-28 08:26:01 +08:00
Evan You ebaeb2e0aa release: v3.4.0-alpha.2 2023-11-27 17:26:22 +08:00
三咲智子 Kevin Deng bdbd524d59
Merge remote-tracking branch 'upstream/main' 2023-11-25 17:04:03 +08:00
Evan You 069f838691 release: v3.3.9 2023-11-25 16:11:31 +08:00
三咲智子 Kevin Deng d21fd83a6d
Merge remote-tracking branch 'upstream/main' 2023-11-23 23:44:07 +08:00
Evan You 1ea775633d chore: Merge branch 'main' into minor 2023-11-21 09:48:26 +08:00
Evan You 8fddb19c3a workflow: use workspace deps 2023-11-21 09:22:12 +08:00
三咲智子 Kevin Deng 717aad275d
Merge remote-tracking branch 'upstream/main' 2023-11-20 18:28:52 +08:00
renovate[bot] 16a6438236
chore(deps): update lint (#9627)
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>
2023-11-18 10:33:24 +08:00
三咲智子 Kevin Deng 135f5eb8e7
feat: init runtime vapor 2023-11-17 03:01:53 +08:00
Evan You 5d077c8754 fix(types): revert class type restrictions
reverts #8012 due to breakage in downstream types
2023-11-13 15:23:16 +08:00
Evan You 2424013059 fix(types): widen ClassValue type 2023-11-10 15:36:30 +08:00
Basil Gor 46e33744c8
fix(types): more precise types for class bindings (#8012) 2023-11-10 15:15:54 +08:00
Evan You 5a41231352 chore: fix formatting + remove duplicated property in jsx type 2023-11-10 15:01:05 +08:00
bqy_fe 58e2a94871
fix(types): update jsx type definitions (#8607) 2023-11-10 14:30:45 +08:00
Yuchao 17aa92b79b
fix(types): allow falsy value types in `StyleValue` (#7954)
close #7955
2023-11-10 14:23:54 +08:00
Rudy 5d932a8e6d
fix(types): defineCustomElement using defineComponent return type with emits (#7937)
close #7782
2023-11-10 13:52:54 +08:00
白雾三语 40f4b77bb5
fix(v-model): avoid overwriting number input with same value (#7004)
close #7003
2023-11-09 15:14:38 +08:00
Evan You bc5846939c release: v3.3.8 2023-11-06 18:54:26 +08:00
Kaine 72fdafa0cf
types(runtime-dom): update aria-relevant type (#9043) 2023-10-30 15:15:17 +08:00
Evan You 3c828f3cfb release: v3.4.0-alpha.1 2023-10-28 11:33:46 +09:00
丶远方 f32ec17131
chore: remove unnecessary imports from vitest (#8562) 2023-10-26 16:34:14 +08:00
Evan You 1789c1caac release: v3.3.7 2023-10-25 07:35:08 +08:00
Evan You a09ed44446 release: v3.3.6 2023-10-20 21:04:11 +08:00