ygj6
eab76046e3
fix(compiler-sfc): allow type annotation for defineEmits variable ( #5394 )
...
fix #5393
2022-10-26 05:12:55 -04:00
nandi95
506a42a9a5
types(runtime-core): added `ComponentCustomProperties` type to `globalProperties` ( #5389 )
2022-10-26 05:00:47 -04:00
edison
83f7e6f8a6
fix(compiler-sfc): support using extends interface with defineProps() ( #4512 )
...
fix #4498
2022-10-26 04:44:30 -04:00
webfansplz
183e4e6152
refactor(types): use template literal types insteads of any ( #4166 )
2022-10-26 04:31:09 -04:00
HeYunfei
e816812f10
fix(types): should unwrap tuple correctly ( #3820 )
...
fix #3819
2022-10-26 04:27:42 -04:00
Evan You
09bb3e996e
fix(compiler-ssr): fix invalid codegen when v-slot name is explicit empty attr ( #3326 )
...
squashed from fix by @tjk
2022-10-26 16:18:19 +08:00
Evan You
d9de6caecd
refactor: move toNumber call out of loop
2022-10-26 15:17:25 +08:00
Carlos Rodrigues
8e792d93a8
types(h): Support passing `props` to `Component` when using `h` ( #3219 )
2022-10-26 03:07:44 -04:00
引证
cbc3e67c37
types(shared): Improve LooseRequired<T> ( #6244 )
2022-10-26 03:01:37 -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
Thorsten Lünborg
54b6ba32ca
fix(runtime-core): ensure props definition objects are not mutated during props normalization ( close : #6915 ) ( #6916 )
2022-10-22 11:20:02 +02:00
bcq028
e6224f4256
fix(reactivity): enable trigger when use str to set length of arr ( #6810 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-10-21 09:25:06 +02:00
Thorsten Lünborg
e5fc7dcc02
fix(types): ensure createBlock() helper accepts Teleport and Supsense types ( fix : #2855 ) ( #5458 )
...
Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
2022-10-20 21:45:51 +02:00
Thorsten Lünborg
bc167b5c6c
fix(runtime-core): watching multiple values - handle `undefined` as initial values ( fix : #5032 ) ( #5033 )
2022-10-20 21:45:05 +02:00
Evan You
9617dd4b2a
release: v3.2.41
2022-10-14 18:41:15 +08:00
白雾三语
9ae796d156
fix(runtime-core): fix v-for ref reactivity behavior difference between prod and dev ( #6714 )
...
fix #6697
2022-10-14 05:23:01 -04:00
似水微寒
82a73da351
fix(runtime-core): ensure that errors in slot function execution do not affect block tracking ( #5670 )
...
fix #5657
2022-10-14 04:08:32 -04: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
a71f9ac41a
fix(effectScope): calling off() of a detached scope should not break currentScope
2022-10-14 10:53:23 +08:00
Evan You
35dc2bbe7d
build: enforce LF line break for built files
2022-10-11 17:54:22 +08:00
世新
82e3f2dc30
chore: symbols as helperNameMap index type ( #6622 )
2022-10-06 05:26:16 +08:00
Evan You
c454aa5cd0
chore: more pr tips in contribution guide [ci skip]
2022-10-05 15:48:57 +08:00
三咲智子
45782df349
chore: add cache for prettier and eslint ( #6813 )
2022-10-04 14:27:54 +08:00
Eduardo San Martin Morote
35a113eda4
fix(devtools): use cleanupBuffer instead of modifying _buffer ( #6812 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-10-03 11:29:34 +02:00
edison
824174915f
types: creating Teleport with h and RawSlots #2613 ( #2614 )
2022-10-03 16:40:37 +08:00
webfansplz
a9e3fa4e21
refactor(types): improve of type assertion ( #4177 )
...
Co-authored-by: webfansplz <>
2022-10-03 16:37:54 +08:00
pengbo
3a13074292
chore: eslint rules overrides ( #6729 )
...
Co-authored-by: pengbo43 <pengbo43@jd.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-10-03 15:37:57 +08:00
Anthony Fu
534593cfa8
chore: format
2022-10-03 15:30:43 +08:00
Evan You
24f4c479d6
fix(devtools): avoid memory leak caused by devtools event buffer
...
fix #6591
2022-09-28 18:19:19 +08:00
Evan You
551f606d98
release: v3.2.40
2022-09-28 11:40:24 +08:00
Evan You
96cd924e44
fix(compat): list cjs dependencies for compat build
...
Previously the cjs build implicitly relies on hoisted versions of the
deps, causing it to resolve to newer versions of estree-walker when
present.
fix #6602
2022-09-28 11:05:09 +08:00
Evan You
f402d416b8
refactor(compiler-core): extract props merging helper
2022-09-28 10:59:13 +08:00
Dunqing
f9d43b99f8
fix(compilre-core): dynamic v-on and static v-on should be merged ( #6747 )
...
fix #6742
2022-09-27 22:46:55 -04:00
Evan You
cae1aa82cc
chore: use stricter slots type in createSlots
2022-09-28 10:38:27 +08:00
Alex
05c7b0d180
ci: GitHub workflows security hardening ( #6743 )
2022-09-27 22:36:47 -04:00
Shigma
3cc8e024e6
test(slots): ensure createSlots helper work with ssr slots ( #6660 )
2022-09-27 22:36:11 -04:00
Evan You
8963c5508c
fix(ssr): fix dynamic slot regression in ssr
...
fix #6651
2022-09-28 10:25:01 +08:00
Evan You
9698dd3cf1
fix(ssr): fix hydration mismatch when entire multi-root template is stringified
...
fix #6637
2022-09-28 09:33:17 +08:00
Evan You
03820193a8
fix(ssr): fix pre tag windows newline hydration mismatch
...
fix #6410
2022-09-28 08:45:32 +08:00
Evan You
121eb32fb0
fix(ssr): respect case when rendering dynamic attrs on svg
...
fix #6755
2022-09-27 17:40:22 +08:00
Travis
6958ec1b37
fix(compiler-sfc): fix expression check for v-on with object literal value ( #6652 )
...
fix #6650
fix #6674
2022-09-27 05:30:10 -04:00
某时橙
6c6fe2c0cd
fix(compiler-dom): remove v-bind boolean attribute with literal false value when stringifying ( #6635 )
...
fix #6617
2022-09-27 17:18:49 +08:00
Anthony Fu
57ffc3e546
fix(ssr): avoid ast.helpers duplication ( #6664 )
2022-09-27 05:06:24 -04: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
fc5bdb36ed
fix(runtime-core): avoid hoisted vnodes retaining detached DOM nodes
...
fix #6591
2022-09-27 16:20:52 +08:00
Evan You
ab8bfac0a1
chore: remove no longer used cloneNode implementation in nodeOps
2022-09-27 16:17:14 +08:00
Evan You
aa70188c41
fix(runtime-core): remove prod-only hoisted clone behavior for manual DOM manipulation compat
...
fix #6727
fix #6739
2022-09-27 15:24:46 +08:00
Evan You
c0d8db81a6
fix(runtime-core): unset removed props first in full diff mode
...
fix #6571
2022-09-27 10:24:13 +08:00
Thorsten Lünborg
c71a08e6fd
fix(runtime-core): Lifecycle hooks should support callbacks shared by reference ( #6687 )
...
fix #6686
2022-09-26 22:18:22 -04:00
Kid
96ba71d0cf
chore: fix typos ( #6708 )
2022-09-24 15:13:39 +08:00