Evan You
0ad8e8d94f
fix(shallowReactive): should track value if already reactive when set in shallowReactive
2023-12-06 15:45:15 +08:00
Evan You
d30f6fd25f
test: fix tests
2023-12-06 15:21:00 +08:00
Evan You
08382f0080
fix(props): should not unwrap props that are raw refs
...
close #12930
2023-12-06 15:10:49 +08:00
Evan You
947993f7e8
chore: bump vitest to 1.0
2023-12-06 15:08:23 +08:00
Evan You
223a9e9f2e
chore: bust sponsor cache [ci skip]
2023-11-07 15:32:23 +08:00
Evan You
81598ea2f3
release: v2.7.15
2023-10-23 15:55:40 +08:00
Evan You
af9a10f3c1
chore: update snapshots
2023-10-23 15:15:18 +08:00
xdm
c22363425a
fix(patch): clone insert hooks to avoid being mutated during iteration ( #12905 )
2023-10-23 15:11:13 +08:00
Liu Bo
51fef2ca69
fix(compiler-sfc): add semicolon after defineProps
statement ( #12879 )
2023-10-23 15:09:23 +08:00
webfansplz
b8c8b3fc7a
fix(compiler-sfc): Resolve object expression parsing errors in v-on
( #12862 )
2023-10-23 15:08:58 +08:00
webfansplz
d27c128b7c
fix(compiler-sfc): fix macro usage in multi-variable declaration ( #12873 )
2023-10-23 15:08:34 +08:00
webfansplz
bb59751dd4
fix(compiler-sfc): Optimize the value of emitIdentifier ( #12851 )
2023-10-23 15:08:17 +08:00
webfansplz
099401e227
fix(types/sfc): improve the type inference using withDefaults
( #12872 )
2023-10-23 15:06:28 +08:00
xonx
67c1d26cb0
fix(types): correct serverPrefetch this type ( #13068 )
...
close #12488
2023-10-23 14:58:47 +08:00
Red Huang
74ca5a13ba
fix(lifecycle): scope might changed when call hook ( #13070 )
2023-10-22 10:52:10 +08:00
Evan You
1399ee6aa0
test: pin esbuild to 0.16 for karma-esbuild compat
2023-10-22 10:46:45 +08:00
Evan You
78ef6271d2
test: upgrade vitest + fix ssr tests for Node 18+
2023-10-22 10:32:47 +08:00
Evan You
6149048ce9
chore: update node version task name
2023-10-22 09:47:16 +08:00
Evan You
18cc5479f6
chore: bump required node and pnpm versions for maintenance
2023-10-22 09:40:18 +08:00
mikoloism
49b6bd4264
refactor(shared): update genStaticKeys
( #13010 )
2023-04-27 11:43:19 +02:00
rj1
a9ca2d8519
chore: typos ( #12949 )
2023-02-04 19:16:38 +01:00
星宿君
d52fbff7a7
chore: fix typo in utils.ts ( #12927 ) [skip ci]
2023-01-12 15:47:00 +01:00
Vadim
0e8511a8be
chore: fix typo in apiAsyncComponent.ts ( #12912 )
2022-12-27 22:38:05 +01:00
Ihor Sychevskyi
34c6192f4a
chore: update links (http=https) ( #12911 )
2022-12-27 10:19:37 +01:00
Caichong
2e57061766
chore: comment typos ( #12878 )
...
Co-authored-by: 方恒 <fangheng@shwpg.com>
2022-12-14 09:43:02 +01:00
董雨航
ca11dc6a86
chore: fix typo ( #12894 )
2022-12-06 15:35:28 +01:00
Evan You
9dd006b481
release: v2.7.14
2022-11-09 20:39:52 +08:00
Evan You
29b5f58803
fix(reactivity): avoid using WeakMap for IE compatibility
...
Using a WeakMap polyfill isn't ideal because the reason we tried to use
WeakMap was to work with non-extensible objects. However, WeakMap
polyfill for non-extensible objects are non-weak and could lead to
memory leaks.
The trade-off is that we remove support for `readonly()` on
non-extensible objects, which seems reasonable.
close #12837
2022-11-09 20:33:11 +08:00
Evan You
d1899caf68
fix(provide/inject): do not mutate original provide options during merge
...
fix #12854
2022-11-09 20:04:55 +08:00
a161803398
5e3d4e90cd
fix(compiler-sfc): fix template usage check edge case for v-slot destructured default value ( #12842 )
...
fix #12841
2022-11-09 04:52:35 -05:00
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