Commit Graph

4425 Commits

Author SHA1 Message Date
Thorsten Lünborg
1612971471
fix(compat): copy additional properties for functions bound via globalProperties (#4873)
close #4403
2022-04-13 05:53:07 -04:00
宋铄运 (Alan Song)
c6eb3cccce
build: improve treeshakeability (#5682) 2022-04-13 05:39:02 -04:00
Thorsten Lünborg
053c65bc5e
dx(suspense): warn when using async setup when not inside a Suspense boundary (#5565)
close #3649
2022-04-13 05:36:43 -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
Haoqun Jiang
74d239caf7
chore(@vue/shared): add "sideEffects": false (#5480) 2022-04-13 05:23:45 -04:00
Code_xxmyyds
711c826c68
chore(reactivity): use warn (#5548) 2022-04-13 05:21:38 -04:00
木杉
2c09969b13
fix(runtime-dom): patch translate as an attr (#5485)
close #5462
2022-04-13 05:16:33 -04:00
Evan You
154233abdb fix(reactivity): fix ref tracking of self-stopping effects
close #5707
2022-04-13 17:00:31 +08:00
Evan You
f4f5e80a19 release: v3.2.32 2022-04-12 16:07:43 +08:00
Evan You
ea6fc845f2 chore: trim non-public properties on EffectScope type 2022-04-12 15:57:07 +08:00
Thorsten Lünborg
f44087e171
fix(runtime-core): ensure custom directive instance properly exposes properties on closed instances. (#5022)
fix #5018
2022-04-12 03:54:03 -04:00
Wei
0a301d4dab
fix(reactivity): fix currentScope loss when running detached effect scope (#5575) 2022-04-12 03:51:05 -04:00
lidlanca
cee1eafb4d
fix(runtime-core/template-ref): named ref in v-for regression fix (#5118)
close #5116
close #5447
close #5525
2022-04-12 03:28:40 -04:00
Evan You
7efb9dba30 refactor: remove use of Object.assign
TS already transpiles spread to Object.assign with target:es2016
2022-04-12 15:22:11 +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
4311dddfa7 fix(transition): ensure flattened transition group children inherit parent keys
close #4718
close #5360
close #5392
2022-04-12 15:06:46 +08:00
Evan You
68bb8f2529 chore: remove debugger 2022-04-12 14:47:15 +08:00
iwusong
8eceabd14e
fix(runtime-core): fix event listener as dynamicProp is added erroneously to props (#5517)
fix #5520
2022-04-12 02:42:00 -04:00
Evan You
b2b6b6ff62 chore: bump vite & esbuild 2022-04-12 14:29:49 +08:00
Evan You
245230e135 chore: remove no longer present V_FOR_REF compat entry
close vuejs/v3-migration-guide#10
2022-03-31 08:15:59 +08:00
Guillaume Chau
1070f127a7 fix(devtools): perf: use high-resolution time 2022-03-09 14:30:24 +01:00
kuanglingxi
5898629d72
docs(contributing): change node version (#5382)
* docs(contributing): keep documentation and engines in sync [ci skip]
2022-02-14 19:34:44 +08:00
kuanglingxi
29d58f3124
docs(contributing): change node version (#5382)
* docs(contributing): keep documentation and engines in sync [ci skip]
2022-02-14 19:34:02 +08:00
lidlanca
1574edd490
fix(runtime-core): allow spying on proxy methods regression (#5417)
fix #5415 (regression by #4216)
2022-02-13 20:40:12 -05:00
Evan You
cea82cffa3 chore: update contributor graph link in readme [ci skip] 2022-02-12 16:45:46 +08:00
Evan You
54c525f289 chore: remove patreon from funding.yml [ci skip] 2022-02-12 16:43:55 +08:00
Evan You
d56dec6b4a release: v3.2.31 2022-02-12 16:41:52 +08:00
Cédric Exbrayat
8457d8b980
fix(runtime-core): allow spying on proxy methods (#4216)
Since Jest v26.6.1, the mock method changed (see this commit 30e8020362)  to rely on `Object.defineProperty` in some cases.

This breaks spying on proxy's methods, because even if Jest is properly calling `Object.defineProperty`, the cached value in the `get` section of the proxy is never updated, and the spy is in fact never used.
This is easily reproducible as vue-next already uses a version of jest with these changes.

This is blocking projects (like vue-test-utils-next and vue-cli) to update to recent Jest versions.

This commit adds a `defineProperty` method to the proxy handler, that properly updates the defined value in the cache.
2022-02-12 03:35:05 -05:00
Evan You
436c500d2c fix(compiler-ssr): no need to inject resolveDirective calls for setup custom directives 2022-02-12 16:29:24 +08:00
Anthony Fu
0342fae8ad
fix(ssr): always hydrate children for HMR (#5406)
fix #5405
2022-02-12 03:24:19 -05:00
Evan You
15adf251ab release: v3.2.30 2022-02-07 14:14:53 +08:00
Evan You
7c6386c01c workflow: remove next tag in release script 2022-02-07 13:26:12 +08:00
Evan You
334112c2d6 chore: readme [ci skip] 2022-02-07 13:20:01 +08:00
Evan You
ce34d9114e chore: remove v3.vuejs.org references 2022-02-07 13:13:26 +08:00
Evan You
48de8a42b7 chore: remove next references [ci skip] 2022-02-07 12:16:22 +08:00
Evan You
9dd0af44ad chore: update sponsor image link [ci skip] 2022-02-06 17:58:11 +08:00
Evan You
05572d1b10 chore: add link to sponsor svgs [ci skip] 2022-02-06 17:08:51 +08:00
Evan You
d597b26147 chore: sponsors & backers [ci skip] 2022-02-06 17:02:10 +08:00
Evan You
60cf175d88 feat(ssr): support custom directive getSSRProps in optimized compilation
close #5304
2022-02-04 08:58:31 +08:00
Evan You
a51f935b72 refactor: remove isTracking() method 2022-01-30 18:53:43 +08:00
Evan You
bb43704b64 chore: check string first in toDisplayString 2022-01-30 18:50:28 +08:00
Evan You
81a6708739 chore: simplify effectScope 2022-01-28 21:02:09 +08:00
Evan You
2993a24618 perf(reactivity): optimize effect/effectScope active state tracking 2022-01-28 18:35:09 +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
Thorsten Lünborg
4be1037f31
fix(reactivity): ensure readonly refs can be replaced with new refs in reactive objects (#5310)
fix #5307
2022-01-23 08:08:27 -05:00
Evan You
059c63eab7 test: add missing edge case for css v-bind 2022-01-23 21:03:37 +08:00
Evan You
16fa18da6d fix(compiler-sfc): fix css v-bind inside other css functions
fix #5302, close #5306
2022-01-23 20:58:43 +08:00
Evan You
283df0ad68 release: v3.2.28 2022-01-21 16:15:13 +08:00