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
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
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
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
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
edison
95d49bf7e7
fix(compiler-sfc): support complex expression in CSS v-bind() ( #5114 )
...
fix #5109
2022-01-21 15:57:30 +08:00
btea
63210fe41a
refactor: includes instead of indexOf ( #5117 )
2022-01-21 02:36:48 -05:00
HcySunYang
c64907d261
fix(types): calling readonly() with ref() should return Readonly<Ref<T>> ( #5212 )
2022-01-21 02:33:30 -05:00
Thorsten Lünborg
171f5e9c60
fix(reactivity): mutating a readonly ref nested in a reactive object should fail. ( #5048 )
...
fix : #5042
2022-01-21 02:33:18 -05:00
Soha Jin
72130ac7b5
fix(compat): convertLegacyVModelProps should merge model option in mixins ( #5251 )
2022-01-21 02:02:02 -05:00
Yugang Cao
92e04a651f
chore: type improvements ( #5264 )
2022-01-21 01:56:20 -05:00
edison
9f55e6fbb1
fix(compiler-core): handle v-memo in template v-for ( #5291 )
...
fix #5288
2022-01-21 01:54:46 -05:00
Evan You
b2bac9fa17
chore: comment dom tag config usage [ci skip]
2022-01-21 14:31:00 +08:00
Thorsten Lünborg
97f6bd942f
fix(compat): ensure fallthrough *Native events are not dropped during props update ( #5228 )
2022-01-21 01:21:42 -05:00
Yugang Cao
e603fd258c
chore: fix typo ( #5261 ) [ci skip]
2022-01-21 01:18:34 -05:00
Bruno Perel
e8022755ae
chore: fix typo ( #5282 ) [ci skip]
2022-01-21 01:16:19 -05:00
Stanislav Lashmanov
d0b9708620
fix(compat): simulate Vue 2.6.14 version in compat build ( #5293 )
...
Some Vue plugins that are actually compatible with the `vue-compat` won't work because of the version check. Right now `vue-compat` returns 3x version for the legacy method of checking Vue version via `Vue.version`. This PR instends to simulate Vue 2 version in those instances and instead return a 2x-compatible version: `2.6.14-compat:3.x.x`.
2022-01-21 01:15:35 -05: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
2f91872e7b
fix(ssr): only cache computed getters during render phase
...
fix #5300
2022-01-21 12:31:54 +08:00
Evan You
25bc6549eb
perf(reactivity): optimize effect run condition
2022-01-21 09:41:58 +08:00
Evan You
4768f26f59
fix(compiler-sfc/reactivity-transform): fix edge case where normal script has ref macros but script setup does not
2022-01-21 08:47:48 +08:00
Evan You
a05b000948
fix(reactivity-transform): apply transform for labelled variable declarations
...
ref https://github.com/vuejs/core/issues/5298#issuecomment-1017970061
2022-01-21 07:48:41 +08:00
Evan You
a81a9922bb
fix(reactivity-transform): apply transform on exported variable declarations
...
fix #5298
2022-01-21 07:40:35 +08:00