Commit Graph

497 Commits

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