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
Evan You
642710eded
release: v3.2.9
2021-09-05 18:24:01 -04:00
Evan You
3ad9dc4880
release: v3.2.8
2021-09-02 14:46:30 -04:00
dependabot[bot]
305883a12f
build(deps-dev): bump typescript from 4.3.5 to 4.4.2 ( #4482 )
...
* build(deps-dev): bump typescript from 4.3.5 to 4.4.2
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps-dev): bump typescript from 4.3.5 to 4.4.2
* test: fix nodeOps types
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
Co-authored-by: Evan You <yyx990803@gmail.com>
2021-09-02 09:53:57 -04:00
Evan You
b079996040
release: v3.2.7
2021-09-01 18:05:16 -04:00
Evan You
72d2b26e96
release: v3.2.6
2021-08-24 12:54:30 -04:00
Evan You
a137d73e91
release: v3.2.5
2021-08-24 11:54:22 -04:00
Evan You
ceace3a8cc
release: v3.2.4
2021-08-17 12:26:50 -04:00
Evan You
03abc2573c
release: v3.2.3
2021-08-16 18:25:32 -04:00
webfansplz
0627765b36
chore(types): remove unnecessary type assertions ( #4336 )
2021-08-16 18:19:44 -04:00
skirtle
620a69b871
fix(runtime-dom): consistently remove boolean attributes for falsy values ( #4348 )
2021-08-16 18:18:36 -04:00
Evan You
77223df2d2
types(runtime-dom): fix jsx type for IDE v-model inference
...
fix #4321
2021-08-16 17:13:37 -04:00
Amour1688
516d464830
types(runtime-dom): export type `StyleValue` ( #3718 )
2021-08-16 16:52:34 -04:00
zdw
84d4357f6f
fix(types): fix tsx ref component instance type ( #2486 )
2021-08-16 16:51:41 -04:00
鱼
5b3f1e8424
fix(runtime-core): patchChildren first in patchElement ( #4313 )
2021-08-16 15:46:27 -04:00
Evan You
7ffa225aa3
release: v3.2.2
2021-08-11 11:40:25 -04:00
edison
e7b0a9d3cf
fix(runtime-dom): patch `textContent` on svg properly ( #4301 )
...
fix #4296
2021-08-11 10:53:54 -04:00
Shinigami
6e5801f8a8
fix(types): allow symbol in JSX ReservedProps.key ( #4306 )
2021-08-11 10:42:46 -04:00
Evan You
2749c15170
release: v3.2.1
2021-08-09 16:29:53 -04:00
Evan You
5a7a43cc3d
release: v3.2.0
2021-08-09 15:51:53 -04:00
Evan You
4781965cc2
release: v3.2.0-beta.8
2021-08-06 23:12:27 -04:00
Evan You
c421fb91b2
feat(runtime-dom): support async component in defineCustomElement
...
close #4261
2021-08-06 19:15:55 -04:00
hfutsora
bc7dd93f92
fix(runtime-dom): fix shadowRoot instanceof check in unsupported browsers ( #4238 )
2021-08-02 09:41:41 -04:00
Evan You
b357009a82
release: v3.2.0-beta.7
2021-07-29 13:21:30 -04:00
Evan You
204e194d2b
release: v3.2.0-beta.6
2021-07-27 18:56:02 -04:00
Evan You
561e210157
fix(inject): should auto unwrap injected refs
...
fix #4196
2021-07-27 17:52:37 -04:00
Evan You
4b595a3ea1
release: v3.2.0-beta.5
2021-07-23 16:10:22 -04:00
Evan You
ac74e1dd33
fix(v-model): avoid resetting value of in-focus & lazy input
...
fix #4182
2021-07-23 15:44:56 -04:00
Evan You
bff4ea74c5
fix(hmr): fix custom elements hmr edge cases
2021-07-22 18:54:26 -04:00
Evan You
5b76843b69
feat(runtime-dom): support passing initial props to custom element constructor
2021-07-22 18:19:58 -04:00
Evan You
7a7e1d8e9f
feat(runtime-dom): hmr for custom elements
2021-07-22 17:48:15 -04:00
Evan You
a7fa4ac28a
feat(runtime-dom): support specifying shadow dom styles in defineCustomElement
2021-07-22 16:33:32 -04:00
Evan You
fe58bae412
release: v3.2.0-beta.4
2021-07-21 17:40:25 -04:00
Evan You
ff0c810300
fix(runtime-dom): defer setting value
...
fix #2325 , fix #4024
2021-07-21 16:38:01 -04:00
Evan You
9d5dd2da8c
release: v3.2.0-beta.3
2021-07-20 17:47:03 -04:00
Evan You
1034546a4c
release: v3.2.0-beta.2
2021-07-19 19:36:55 -04:00
Evan You
47f488350c
chore: run updated prettier
2021-07-19 18:24:18 -04:00
Evan You
3056e9b3dc
fix(v-model): properly detect input type=number
...
fix #3813
2021-07-19 17:46:04 -04:00
Evan You
d4c67dd253
release: v3.2.0-beta.1
2021-07-16 14:44:06 -04:00
Evan You
49dc2dd1e4
fix(sfc/style-vars): properly re-apply style vars on component root elements change
...
Now uses MutationObserver to ensure it works even for HOCs
fix #3894
2021-07-16 14:30:49 -04:00
Evan You
de32cfa43e
fix: ensure customElements API ssr compatibility
...
fix #4129
2021-07-16 14:30:49 -04:00
Evan You
1c7d737cc8
feat: support v-bind .prop & .attr modifiers
...
Also allows render function usage like the following:
```js
h({
'.prop': 1, // force set as property
'^attr': 'foo' // force set as attribute
})
```
2021-07-16 14:30:49 -04:00
Evan You
00f0b3c465
feat: custom element reflection, casting and edge cases
2021-07-16 14:30:49 -04:00
Evan You
8610e1c9e2
feat(runtime-dom): defineCustomElement
2021-07-16 14:30:49 -04:00
Evan You
31abdc8ada
release: v3.1.5
2021-07-16 12:38:01 -04:00
HcySunYang
3756270272
fix(runtime-dom): capture errors when setting value for IDL ( #3578 )
...
fix #3576
2021-07-15 16:32:25 -04:00
Evan You
7013e8f578
fix(runtime-dom): remove class attribute on nullish values
...
close #3173
2021-07-15 13:45:43 -04:00
Evan You
c0db807844
refactor: simplify static content insertion
2021-07-15 13:16:19 -04:00
Evan You
2937530bef
fix(v-model): handle mutations of v-model bound array/sets
...
fix #4096
2021-07-15 12:14:19 -04:00
edison
6a0c7cd905
fix(sfc): fix style variables injection on static vnode ( #3847 )
...
fix #3841
2021-07-14 18:08:12 -04:00
Evan You
348c3b01e5
release: v3.1.4
2021-07-02 08:37:50 -04:00
Evan You
fc7b640041
release: v3.1.3
2021-07-01 19:28:06 -04:00
Evan You
ba89ca9eca
fix(runtime-dom): fix static node content caching edge cases
...
reverts fded1e8
fix #4023 , #4031 , #4037
2021-07-01 19:19:53 -04:00
Johnson Chu
8ed3ed6c27
feat(types/ide): support find definition for jsx tags, events ( #3570 )
2021-07-01 13:49:16 -04:00
Evan You
6b6d566861
release: v3.1.2
2021-06-22 14:24:50 -04:00
Evan You
4de5d24aa7
perf: improve static content insertion perf
...
Especially on multiple insertions of the same static node.
fix #3090
2021-06-21 14:38:29 -04:00
Evan You
ade9bd9daa
release: v3.1.1
2021-06-07 16:26:54 -04:00
Evan You
ac15df46c5
release: v3.1.0
2021-06-07 12:38:42 -04:00
Evan You
71f7c25fbe
release: v3.1.0-beta.7
2021-06-02 16:12:54 -04:00
HcySunYang
ecd97ee6e4
fix(runtime-dom/v-model): only set selectedIndex when the value changes ( #3845 )
2021-05-29 20:42:13 -04:00
Evan You
aa96a0e88a
release: v3.1.0-beta.6
2021-05-28 16:58:54 -04:00
Evan You
6fbf0dd315
chore: use variable instead of literal
2021-05-28 15:56:07 -04:00
GU Yiling
e3f5dcb99b
fix(runtime-dom): should remove attribute when binding `null` to `value` ( #3564 )
2021-05-28 15:48:22 -04:00
Evan You
071986a2c6
fix(transition): fix higher order transition components with merged listeners
...
fix #3227
2021-05-28 15:42:08 -04:00
Evan You
f0eb1978b2
release: v3.1.0-beta.5
2021-05-26 16:06:51 -04:00