Commit Graph

873 Commits

Author SHA1 Message Date
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
白雾三语 26ca89e5cf
fix(types): support contenteditable="plaintext-only" (#8796) 2023-10-20 17:35:53 +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
Evan You 5ebb459fc7 release: v3.3.5 2023-10-20 11:50:49 +08:00
renovate[bot] 8b44316118
chore(deps): update all non-major dependencies (#9180)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 15:33:33 +08:00
丶远方 2ffe3d5b3e
refactor: use symbol for private properties (#8681) 2023-08-22 16:57:15 +08:00
丶远方 24d98f0327
perf(custom-element): cancel `MutationObserver` listener when disconnected (#8666) 2023-07-12 11:13:20 +08:00
Anthony Fu 438027cf9e
perf: mark `defineComponent` as side-effects-free (#8512) 2023-07-11 17:52:43 +08:00
zqran 736cf154cc
chore(test): replace deprecated `initEvent` (#8490) 2023-07-11 17:38:32 +08:00
Kid ceb0732e0b
fix(types/jsx): add `inert` attribute and missing `hidden` values (#8090) 2023-07-11 17:30:01 +08:00
JayMe DotDot 364dc53c7c
fix(types): support correct types for style on svg elements (#6322) 2023-07-10 17:59:44 +08:00
Innei 68d6b43f7e
fix(types/jsx): add missing loading attr for img element (#6160) 2023-07-10 17:58:53 +08:00
OrbisK 7121c925c5
types: update `TextareaHTMLAttributes` and `InputHTMLAttributes` (#6294)
* types: update `TextareaHTMLAttributes` and `InputHTMLAttributes`

add `InputTypeHTMLAttribute` (from `@types/react`) to `InputHTMLAttributes['type' ]`

* chore: format

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-07-09 13:05:18 +08:00
Evan You 96c76facb7 fix(transition): handle possible auto value for transition/animation durations
close #8409
2023-06-14 12:12:22 +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
Evan You 0e8bbe873e release: v3.3.4 2023-05-18 16:31:03 +08:00
Evan You fecd5c4044 release: v3.3.3 2023-05-18 13:10:52 +08:00
Evan You a374d7e6ed release: v3.3.2 2023-05-12 13:25:05 +01:00
Evan You 6e1966a92f release: v3.3.1 2023-05-11 09:00:14 +01:00
Evan You 483a4e7e3b release: v3.3.0 2023-05-11 08:44:38 +01:00
Evan You 847658b7a2 release: v3.3.0-beta.5 2023-05-08 16:40:41 +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
ntnyq bf16697e25
chore: fix broken vite plugin url in warning message (#8224) 2023-05-08 14:47:02 +08:00
丶远方 3294e50b0b
chore: update tests to use expect.toBeInstanceOf (#8154) 2023-05-08 14:34:24 +08:00
Evan You cc09cc7e28 release: v3.3.0-beta.4 2023-05-05 17:15:14 +08:00
Evan You 5d4c3c60a8 release: v3.3.0-beta.3 2023-05-01 12:28:29 +08:00
Evan You a778034a3e release: v3.3.0-beta.2 2023-04-25 16:41:04 +08:00
Evan You 1447596bf4 release: v3.3.0-beta.1 2023-04-21 16:26:10 +08:00
Evan You 5cdaac2590 release: v3.3.0-alpha.13 2023-04-20 21:13:34 +08:00
Evan You 72be89423d release: v3.3.0-alpha.12 2023-04-18 22:18:56 +08:00
Evan You 57f0fbe76a release: v3.3.0-alpha.11 2023-04-17 21:17:17 +08:00
Evan You 33adc2a17a release: v3.3.0-alpha.10 2023-04-17 18:15:17 +08:00
Evan You 681ac7c896 release: v3.3.0-alpha.9 2023-04-08 13:33:46 +08:00
Evan You bdf557f6f2 fix(types): retain type parameters order for public types 2023-04-05 22:30:50 +08:00
Evan You 036914c10b release: v3.3.0-alpha.8 2023-04-04 18:23:06 +08:00
Evan You 9a09e47667 release: v3.3.0-alpha.7 2023-04-03 18:19:11 +08:00
三咲智子 Kevin Deng 5a2f5d59cf
feat(types/slots): support slot presence / props type checks via `defineSlots` macro and `slots` option (#7982) 2023-04-03 16:49:16 +08:00
Evan You 8ac0620c1b release: v3.3.0-alpha.6 2023-03-30 18:22:42 +08:00
Evan You 15810c30d7 chore: bump csstype version 2023-03-30 18:06:28 +08:00
Haoqun Jiang ffe679c490
fix(types/jsx): move JSX DOM types back to `@vue/runtime-dom` (#7979) 2023-03-29 20:22:29 +08:00
Evan You 27e1e38641 release: v3.3.0-alpha.5 2023-03-26 16:52:46 +08:00
Evan You d0b7ef3b61
feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958)
- No longer implicitly register global JSX types by default
  - This avoid conflict when using Vue in the same project with React
  - Global registration must now be done by explicitly importing /
    referencing `vue/jsx`, or listing it in `compilerOptions.types`.
- Add `vue/jsx-runtime` to support `jsxImportSource` usage
  - Can enable globally by setting `compilerOptions.jsxImportSource` to `'vue'`
  - Can also opt-in per-file with `/** @jsxImportSource vue */`
2023-03-26 16:40:53 +08:00
Evan You 58e5c51149 build: upgrade to TypeScript 5.x 2023-03-23 17:11:35 +08:00
Evan You 78b86150b8 release: v3.3.0-alpha.4 2023-02-06 14:10:56 +08:00
Evan You 097f6beca2 release: v3.3.0-alpha.3 2023-02-06 10:27:25 +08:00
Evan You 37ec04b984 release: v3.3.0-alpha.2 2023-02-05 16:23:54 +08:00
Evan You 85f4d8ccb9 release: v3.3.0-alpha.1 2023-02-05 11:20:39 +08:00
Evan You eb0c1e7025 build: remove api-extractor 2023-02-03 15:57:00 +08:00
Evan You 124373db50 wip: isolatedModules + use rollup-plugin-esbuild 2023-02-03 04:30:19 +08:00
Evan You e077e6f5f3 workflow: disable threads during tests 2023-02-02 22:08:37 +08:00
Evan You 3a6f5eb0f7 fix(build): ensure BaseTransition functions can be tree-shaken 2023-02-02 21:38:57 +08:00
Evan You c1cbb747b5 chore: fix types 2023-02-02 15:27:29 +08:00
Evan You 45984d559f release: v3.2.47 2023-02-02 13:48:18 +08:00
Evan You 29f8cf8b07 release: v3.2.46 2023-02-02 11:32:04 +08:00
René Koller efe2efd210
fix(compat): fix custom transition classes in compat mode (#7435)
fix #6253
2023-02-01 03:21:50 -05: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
Evan You 8867bb259a wip(vitest-migration): reactivity tests passing 2023-01-26 15:25:55 +08:00
Anthony Fu 4a16b204be chore: run format 2023-01-12 12:58:11 +01:00
yurj26 b7cfa6f539
fix(runtime-dom): style update error when component use shorthand properties (#7425)
* fix(runtime-dom): style update error when component use shorthand properties

* test(runtime-dom): style update with shorthand properties
2023-01-09 15:16:08 +01:00
Yue Yang 1fa3d95730
fix(types): add or update referrerpolicy (#7199) 2023-01-01 11:44:20 +01:00
白雾三语 c6e5bda27d
fix(customElement): customElement can emit event (#7296)
close https://github.com/vuejs/core/issues/7293
2022-12-23 22:32:21 +01:00
Evan You ce363e55a8 chore: fix assertNumber for undefined value 2022-11-14 16:57:44 +08:00
Evan You 7d0c63ff43 fix(custom-elements): use strict number casting
close #4946
close #2598
close #2604

This commit also refactors internal usage of previous loose
implementation of `toNumber` to the stricter version where applicable.
Use of `looseToNumber` is preserved for `v-model.number` modifier to
ensure backwards compatibility and consistency with Vue 2 behavior.
2022-11-14 16:20:12 +08:00
Evan You 6f663d47e5 release: v3.2.45 2022-11-11 17:35:27 +08:00
Evan You 24964dab25 test: test case for #6966 2022-11-11 17:06:50 +08:00
ysy945 67890daad1
fix(custom-elements): custom element should re-instantiate when inserted again (#6966)
fix #6934
2022-11-11 04:06:21 -05:00
Thorsten Lünborg 55382aed58
fix(custom-elements): define declared properties in constructor (#5328) 2022-11-11 02:46:01 -05:00
Evan You 89f37ceb62 fix(custom-elements): fix number type props casting check
fix #5793
adapted from #5794
2022-11-11 15:20:28 +08:00
Evan You afe889999c fix(custom-elements): properties set pre-upgrade should not show up in $attrs 2022-11-11 14:42:42 +08:00
Evan You 5e50909100 fix(custom-elements): should not reflect non-decalred properties set before upgrade 2022-11-11 14:14:55 +08:00
Thorsten Lünborg 665f2ae121
fix(custom-elements): fix event emitting for async custom elements (#5601)
fix #5599
2022-11-10 23:33:17 -05:00
Thorsten Lünborg 0b39e46192
fix(custom-elements): also dispatch hyphenated version of emitted events (#5378)
fix #5373
2022-11-10 23:01:10 -05:00
Thorsten Lünborg 192dcb648c
fix(custom-elements): ensure custom elements can inherit provides from ancestors (#5098)
fix #5096
2022-11-10 21:33:17 -05:00
Evan You 11214eedd2 fix(teleport/css-v-bind): fix css v-bind in teleport in child component slot 2022-11-10 15:08:25 +08:00
Evan You 42239cf284 fix(teleport/css-v-bind): fix css v-bind for teleported content
fix #4605
close #4609 (used tests from this PR)
2022-11-10 14:41:45 +08:00
Evan You ec795bfc51 release: v3.2.44 2022-11-10 07:25:22 +08:00
skirtle 9a816dcec0
dx(runtime-dom): warn when a style value ends in a semicolon (#7062) 2022-11-09 08:16:34 -05:00
Evan You 71977ec972 release: v3.2.43 2022-11-09 21:00:57 +08:00
Evan You f023d49a49 release: v3.2.42 2022-11-09 11:36:09 +08:00
Johnson Chu bad3f3ce46
fix(types): stricter type condition for `EventHandlers` (#6855)
fix #6899
2022-11-08 10:37:37 -05:00
Rudy e4de623ea7
fix(types): support inferring injected properties in options api (#6804)
close #3031
close #5931
2022-11-08 01:09:53 -05:00
Thorsten Lünborg f67bb500b6
fix(runtime-dom): ensure customElement handles empty props correctly. (#6182)
fix Scoped attribute in Vue file affects the use of web component #6163,#6895
2022-11-01 09:49:06 +01:00
webfansplz 183e4e6152
refactor(types): use template literal types insteads of any (#4166) 2022-10-26 04:31:09 -04:00
Thorsten Lünborg b0b74a160c
fix(runtime-core): custom-element: ensure number casting of camelCase props. (fix: #5374) (#5377) 2022-10-22 11:20:46 +02:00
Evan You 9617dd4b2a release: v3.2.41 2022-10-14 18:41:15 +08:00
Evan You 5ee40532a6 fix(runtime-dom): fix event timestamp check in iframes
fix #2513
fix #3933
close #5474
2022-10-14 16:00:03 +08:00
Evan You 551f606d98 release: v3.2.40 2022-09-28 11:40:24 +08:00
Evan You b1817fe9ee fix(runtime-dom): fix unnecessary warning when setting coerced dom property value
fix #6616
2022-09-27 16:39:15 +08:00
Evan You ab8bfac0a1 chore: remove no longer used cloneNode implementation in nodeOps 2022-09-27 16:17:14 +08:00
Kid 96ba71d0cf
chore: fix typos (#6708) 2022-09-24 15:13:39 +08:00
Evan You f79c423621 release: v3.2.39 2022-09-08 10:12:39 +08:00
Evan You 6624ead663 release: v3.2.38 2022-08-30 16:02:01 +08:00
Evan You 0739f8909a fix(custom-element): fix event listeners with capital letter event names on custom elements
close https://github.com/vuejs/docs/issues/1708
close https://github.com/vuejs/docs/pull/1890
2022-08-30 14:07:35 +08:00
Evan You bdffc143ef release: v3.2.37 2022-06-06 20:08:19 +08:00
Evan You 160d5df34a release: v3.2.36 2022-05-23 10:04:12 +08:00
zhangenming 3bdc41dff3
perf: improve the performance of getNow (#5944) 2022-05-22 20:36:57 -04:00
edison dddbd96dfe
fix(transition): fix cancel leave regression (#5974)
fix #5973
2022-05-22 20:02:15 -04:00
Evan You a0c577692f release: v3.2.35 2022-05-21 01:16:26 +08:00
Carlos Rodrigues 0c7fd13ea6
fix(types): fix typescript error when spreading `$props`(#5968) 2022-05-20 12:59:29 -04:00
Evan You 3991609087 release: v3.2.34 2022-05-19 12:42:34 +08:00
小刘(liulinboyi) 6ce75c10f1
test(runtime-dom): vModel tests for input range (#5907) 2022-05-18 19:56:46 -04:00
Roan Kattouw c03459b9b6
fix(ssr): support client-compiled v-model with dynamic type during ssr (#5787)
fix #5786
2022-05-17 05:52:44 -04:00
Evan You 7fd761e577 release: v3.2.34-beta.1 2022-05-17 12:53:51 +08:00
Package 9def7aa508
fix(types): allow css variables in style binding (#5542) 2022-05-13 04:30:30 -04:00
Spencer McWilliams e5a90893a6
fix(types): add `Set<any>` to checkbox binding type for v-model (#5713) 2022-05-13 04:23:33 -04:00
小刘(liulinboyi) 71066b5afe
fix(v-model): fix case where .trim and .number modifiers are used together (#5842)
fix #5839
2022-05-12 19:52:16 -04:00
Cédric Exbrayat 9ecee16f89
chore: add no-debugger eslint rule (#5906) 2022-05-12 19:10:00 -04:00
Evan You 8c51c6514f fix(v-model): exclude range from lazy guard logic
fix #5875
2022-05-12 18:39:17 +08:00
Evan You 59cf2958e7 fix(transition): handle edge case of cancel leave before next frame
fix #4462
2022-05-12 15:39:34 +08:00
Simon Legner d4fcfddec6
fix(types): allow indeterminate for checkbox (#3473) 2022-05-11 07:38:13 -04:00
edison cd659fc86f
fix(ssr): should de-optimize on vnode with PatchFlags.BAIL (#4818)
fix #4679
fix #5771
2022-05-10 06:35:34 -04:00
那里好脏不可以 6042ab0f2f
chore: type [ci skip] 2022-05-09 22:51:51 -04:00
Khinenw 181872f744
types(runtime-dom): fix typo in jsx type autosave (#5638) 2022-05-09 22:50:49 -04:00
Julian Hundeloh e58277f6ea
fix(runtime-dom): "el._assign is not a function" in compat mode (#4121) 2022-05-09 21:58:51 -04:00
Evan You 4a3237ad93 refactor: use Event constructor
close #5723

Since we no longer support IE11, it is safe to use Event() constructor
2022-04-16 11:26:00 +08:00
Evan You 56879e6b23 release: v3.2.33 2022-04-14 18:14:37 +08:00
Thorsten Lünborg 85af139863
fix(runtime-dom): properly handle style properties with undefined values (#5348)
fix #5322
2022-04-13 06:20:39 -04:00
edison f4d2c9fc6a
fix(custom-elements): work with async component + slots (#4657)
close #4639
2022-04-13 05:58:29 -04:00
宋铄运 (Alan Song) c6eb3cccce
build: improve treeshakeability (#5682) 2022-04-13 05:39:02 -04:00
zhoulixiang 57ca32b096
chore: remove superfluous code (#5683) 2022-04-13 05:30:22 -04:00
zscumt123 fa1d14c2c8
fix(runtime-dom): catch more cases of DOM property setting error (#5552)
close #5545
2022-04-13 05:25:11 -04:00
木杉 2c09969b13
fix(runtime-dom): patch translate as an attr (#5485)
close #5462
2022-04-13 05:16:33 -04:00
Evan You f4f5e80a19 release: v3.2.32 2022-04-12 16:07:43 +08:00
Yuchao d121a9bc7e
fix(runtime-core): Avoid mutating original options object in createApp (#4840)
fix #4398
2022-04-12 03:14:23 -04:00
Evan You d56dec6b4a release: v3.2.31 2022-02-12 16:41:52 +08:00
Evan You 15adf251ab release: v3.2.30 2022-02-07 14:14:53 +08:00
Evan You 6b6889852f release: v3.2.29 2022-01-23 22:02:23 +08:00
Evan You 9aa5dfd4bb fix(runtime-dom): fix static content re-insertion
fix #5308

The regression was introduced in ed9eb62. In the cached code path,
we attempt re-insertion by cloning cached nodes. However if the static
fragment was removed as component root, it loses the nodes between
start and end because each node was removed individually. Therefore
the cached path can only be taken if the fragment has a single node, or
it was removed as part of a parent tree so the sibling information is
still available.
2022-01-23 21:44:32 +08:00
Evan You 283df0ad68 release: v3.2.28 2022-01-21 16:15:13 +08:00
Thorsten Lünborg c35ec47d73
fix(runtime-core): ensure mergeProps skips undefined event handlers (#5299)
fix #5296
2022-01-21 01:13:29 -05:00
Evan You ae4b0783d7 chore: update repo references 2022-01-18 16:43:59 +08:00
Evan You 3adfc0fe94 release: v3.2.27 2022-01-16 22:08:18 +08:00
Evan You ed9eb62e59 perf: improve memory usage for static vnodes
Use the already mounted nodes as cache instead of separate caching via
template. This reduces memory usage by 30%+ in VitePress.
2022-01-16 21:10:26 +08:00
Evan You 78df8c78c4 fix(types/tsx): allow ref_for type on tsx elements 2022-01-16 15:54:58 +08:00
Evan You ccb6651b12 release: v3.2.26 2021-12-12 15:03:29 +08:00
Evan You 756534bde0 release: v3.2.25 2021-12-12 12:21:13 +08:00
Evan You d955cfacd6 release: v3.2.24 2021-12-06 17:03:10 +08:00
Che Guevara 595a93715b
refactor(types): use `DOMRect` instead of the `Position` type (#5012) 2021-12-05 23:19:47 -05:00
n2ptune 772574febb
chore(custom-element): fix comment typo (#5028) [skip ci] 2021-12-03 10:10:54 +01:00
Evan You b6a8a451b8 release: v3.2.23 2021-11-26 14:33:46 +08:00
Stefan Mayer 1701bf3968
fix(runtime-dom): patchDOMProps should not set _value if element is custom element (#4839)
Co-authored-by: Stefan Mayer <stefan.m.mayer@daimler.com>
2021-11-25 05:30:32 -05:00
Thorsten Lünborg 89b2f924fc
fix(runtime-dom): fix option element value patching edge case (#4959)
fix #4956
2021-11-25 05:05:02 -05:00
Evan You 635d88aa9e release: v3.2.22 2021-11-15 11:45:05 +08:00
Evan You fe853a5a40 release: v3.2.21 2021-11-02 14:35:14 +08:00
Evan You 4b7f76e36a fix(custom-element): fix custom element props access on initial render
ref: #4792
2021-11-02 13:20:31 +08:00
Evan You 3f38d599f5 fix(runtime-dom): fix behavior regression for v-show + style display binding
fix #4768
2021-10-09 19:31:52 -04:00
Evan You 3ca83179d1 fix(custom-element): fix initial attr type casting for programmtically created elements
fix #4772
2021-10-09 18:34:54 -04:00
Evan You 3c500e422f release: v3.2.20 2021-10-08 13:01:51 -04:00
btea c9613ebe09
chore: prettier format (#4715) [ci skip] 2021-10-08 12:00:05 -04:00
Evan You c5c53846ed release: v3.2.19 2021-09-25 14:58:20 -04:00
Evan You 13bfa2edfe release: v3.2.18 2021-09-24 16:05:16 -04:00
Evan You f5076eb4b7 release: v3.2.17 2021-09-24 12:43:11 -04:00
Evan You 87c86e4cc2 refactor: ensure ssr branches are included in esm-bundler build 2021-09-23 15:02:19 -04:00
Evan You 114b856fd1 release: v3.2.16 2021-09-23 10:17:02 -04:00
Evan You 74a84ff546 release: v3.2.15 2021-09-23 09:48:59 -04:00
Evan You df4fcd94d8 release: v3.2.14 2021-09-22 18:36:57 -04:00
Evan You b9deb6e50e release: v3.2.13 2021-09-21 14:22:53 -04:00
Wouter Kettlitz 6171aecdcd
types: allow binding any value to SelectElement (#4575) 2021-09-21 12:34:25 -04:00
Evan You ebe00f66dd release: v3.2.12 2021-09-17 10:55:26 -04:00
Evan You 0cfa2112ce fix(custom-elements): fix number prop casting
fix #4370, close #4393
2021-09-16 19:15:15 -04:00
Evan You 93949ed20a types: relax OptionHTMLAttributes.value type requirement
fix #4574
2021-09-16 11:58:22 -04:00
Wouter Kettlitz 8370118c13
types: extend CSSProperties with PropertiesHyphen (#4553)
fix #4552
2021-09-16 11:46:41 -04:00
Evan You 781d2d4d58 release: v3.2.11 2021-09-08 18:58:13 -04:00
Evan You 96b531bfa3 release: v3.2.10 2021-09-07 16:20:07 -04:00
Evan You d534515836 fix(runtime-dom): style patching shoud always preserve v-show display property
close #4424
2021-09-07 12:25:00 -04:00