Commit Graph

3586 Commits

Author SHA1 Message Date
Evan You
5aed733ab6 test: add test case for #12778 2022-11-09 17:35:45 +08:00
k-furusho
f7db7f361b
fix(types): fix spreading VNodeData in tsx (#12789)
fix #12778
2022-11-09 04:34:55 -05:00
webfansplz
0b3cf7dda9
fix(types): stricter type condition for EventHandlers (#12840)
fix #12832
2022-11-09 04:25:28 -05:00
webfansplz
a5afc4d0a4
chore: fix typo (#12863) 2022-11-09 09:07:36 +01:00
Jinjiang
6d9aac8bd3
chore: fix some broken links to v2 docs (#12839) 2022-10-19 12:45:59 +08:00
Jinjiang
a7a71ad990
Update the dev to main in the PR template (#12834) 2022-10-16 20:13:22 +08:00
Evan You
259c7060da chore: fix changelog rendering [ci skip] 2022-10-15 17:39:04 +08:00
Evan You
df281b0e4c release: v2.7.13 2022-10-14 11:41:56 +08:00
Evan You
800207c473 fix(effectScope): calling off() of a detached scope should not break currentScope
fix #12825
2022-10-14 10:51:07 +08:00
不见月
5960f05c69 fix(watch): avoid traversing objects that are marked non-reactive (#12806) 2022-10-12 21:43:46 +08:00
Blake Newman
8e262618cd fix(types): style attribute svg (#12800)
Set style attribute on svg to use `StyleValue`
2022-10-12 21:43:42 +08:00
Evan You
4cad410071 release: v2.7.12 2022-10-12 21:41:36 +08:00
Evan You
e80cd09fff Revert "fix(setup): setup hook should be called before beforeCreate"
This reverts commit e1342df784.

reopen #12802
close #12821
close #12822
2022-10-12 21:22:26 +08:00
Evan You
c61395d3f1 release: v2.7.11 2022-10-11 19:13:06 +08:00
Evan You
8880b55d52 perf: improve unsub perf for deps with massive amount of subs
close #12696
2022-10-11 19:02:47 +08:00
Evan You
738f4b3c57 fix(build): enforce LF line ending in built files
fix #12819
2022-10-11 17:51:46 +08:00
Evan You
cc14d4452c chore: bump build deps 2022-10-11 17:39:59 +08:00
Evan You
e1342df784 fix(setup): setup hook should be called before beforeCreate
fix #12802

Note this commit moves the initialization of injections and props to
before the invocation of beforeCreate. This should not cause breakage
because props and inject normalization has always been done before
beforeCreate, so code that attempts to modifiy props/inject options
inside beforeCreate should have never worked.
2022-10-11 16:29:30 +08:00
Evan You
0d6d972b32 fix(compiler-sfc): export parseComponent for compat with fork-ts-checker-webpack-plugin
fix #12719
2022-10-11 14:58:24 +08:00
fukang wang
bc5b92adde
fix(types): fix error with options watch (#12779)
fix #12780
2022-10-11 02:43:33 -04:00
Evan You
fb13930096 fix(sfc): prune returned bindings for non-TS as well
In Vue 3, pruning is only done for TS to produce valid code and
tree-shaking is done by inlining the template for production.
In Vue 2 we do not inline the template in production, so return binding
pruning is needed in all cases.

fix #12765
2022-10-11 14:10:48 +08:00
Shiluo34
87f69aa26f
fix(types): support Ref and function types in tsx ref attribute (#12759)
fix #12758
2022-10-11 01:36:50 -04:00
Xiersa
5d26f815c6
fix(reactivity): check skip first before checking ref when creating observer (#12813)
fix #12812
2022-10-11 01:26:20 -04:00
Evan You
4a0d88e46e fix(reactivity): use WeakMap for proxy/raw checks, compat with non-extensible objects
fix #12799
close #12798
2022-10-11 12:26:32 +08:00
ZHAO Jinxiang
27eed829cc
fix(types): vue 3 directive type compatibility (#12792) 2022-10-10 23:51:05 -04:00
Evan You
2f335b2f9d fix(sfc): remove sfc scoped deep syntax deprecation warnings 2022-10-11 11:41:31 +08:00
Evan You
60d268c426 chore: cache bust svg [ci skip] 2022-09-01 14:31:31 +08:00
Evan You
d189b4beaa chore: special sponsor [ci skip] 2022-09-01 14:30:09 +08:00
Evan You
ee57d9fd1d release: v2.7.10 2022-08-23 09:29:42 +08:00
不见月
e0b26c483a
fix: fix parent of multi-nested HOC $el not updating (#12757)
fix #12589
2022-08-22 21:22:45 -04:00
Evan You
46ca7bcddc fix(compiler-sfc): avoid deindent when lang is jsx/tsx
fix #12755
2022-08-23 09:18:36 +08:00
Nathan Shively-Sanders
810f6d12ed
fix(types): Add missing type parameter constraints (#12754) 2022-08-22 10:28:39 +08:00
Evan You
15618888cb release: v2.7.9 2022-08-19 12:27:12 +08:00
Evan You
8521f9d3f6 fix(types): fix missing error for accessing undefined instance properties
fix #12718
2022-08-19 12:22:51 +08:00
Evan You
7161176cd0 fix: fix effect scope tracking for manually created instances
fix #12705
2022-08-18 18:14:50 +08:00
Alexander Lichter
165a14a6c6
fix(ssr): fix on-component directives rendering (#12661)
fix #10733
2022-08-18 04:22:55 -04:00
不见月
bba6b3d6b4
feat(types): enhance type for onErrorCaptured (#12735) 2022-08-18 04:20:27 -04:00
GU Yiling
9eb8ea5b63
chore: fix some legacy doc urls in warnings and readme (#12725) [ci skip] 2022-08-18 04:12:20 -04:00
JuniorTour
2263948c24
fix: directives shorthand normalize error (#12744)
fix #12743
2022-08-18 04:11:47 -04:00
林烁壕
5221d4d3b6
fix(compiler-sfc): rewriteDefault for class with decorators (#12747) 2022-08-18 04:01:00 -04:00
gu
89a6b5e865
feat(types): support mixins inference for new Vue() (#12737)
close #12730
2022-08-18 03:56:37 -04:00
Evan You
b4bf4c52ad fix(types): allow attaching unknown options to defined component
fix #12742
2022-08-18 15:32:12 +08:00
Evan You
80d1baf920 feat(types): export DefineComponent
close #12748
2022-08-18 15:23:47 +08:00
Evan You
f0057b101e fix(watch): avoid pre watcher firing on unmount
fix #12703
2022-08-15 19:06:38 +08:00
Evan You
bd89ce53a9 fix: ensure render watcher of manually created instance is correctly tracked in owner scope
fix #12701
2022-08-15 15:37:13 +08:00
Evan You
4b37b568c7 fix(types): fix options suggestions when using defineComponent
functional component overloads should be moved last

fix #12736
2022-08-15 09:53:12 +08:00
Jonas
5c742eb2e0
fix(compiler-sfc): allow full hostnames in asset url base (#12732)
fix #12731
2022-08-14 21:37:08 -04:00
jf-paradis
00458cd38d
fix(types): Make SetupBindings optional on ExtendedVue and CombinedVueInstance (#12727)
fix #12726
fix #12717
2022-08-08 20:50:53 -04:00
Evan You
1d8b892fcd release: v2.7.8 2022-07-22 11:24:39 +08:00
Evan You
2af751b6ef fix(reactivity): fix shallowReactive nested ref setting edge cases
ref #12688
2022-07-22 11:20:40 +08:00