Commit Graph

484 Commits

Author SHA1 Message Date
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