Evan You
c3c5dc93fb
fix(reactivity): fix tracking when hasOwnProperty is called with non-string value
...
close #10455
close #10464
2024-04-14 22:46:48 +08:00
Evan You
ca84316bfb
perf(ssr): optimize setup context creation for ssr in v8
2024-04-12 16:02:52 +08:00
Evan You
6af733d68e
perf: optimize component props/slots internal object checks
2024-04-12 14:41:03 +08:00
Evan You
4bc9f39f02
perf(ssr): avoid calling markRaw on component instance proxy
...
The previous behavior invokes the definePropery proxy trap on the
instance proxy and has massive overhead. This change improves Vue
ops/sec by 40% in https://github.com/eknkc/ssr-benchmark
2024-04-12 11:49:45 +08:00
liudaodanOo
34106bc9c7
fix(compiler-sfc): also search for `.tsx` when type import's extension is omitted ( #10637 )
...
Co-authored-by: liuxiaofei <liuxfb@digiwin.com>
Closes #10635
2024-04-09 16:14:11 +08:00
renovate[bot]
d4b767a1a5
chore(deps): update all non-major dependencies ( #10658 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 13:16:33 +08:00
Divyansh Singh
0dea7f9a26
fix(runtime-core): show hydration mismatch details for non-rectified mismatches too when __PROD_HYDRATION_MISMATCH_DETAILS__ is set ( #10599 )
2024-04-02 16:36:52 +08:00
renovate[bot]
5aaa758867
chore(deps): update all non-major dependencies ( #10627 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 22:51:05 +08:00
renovate[bot]
413cd28ed1
chore(deps): update build ( #10624 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 22:44:34 +08:00
Wes Cook
a653a8c125
chore: fix typo ( #10621 )
2024-04-01 16:20:01 +08:00
yangxiuxiu
db374e54c9
fix(runtime-dom): `v-model` string/number coercion for multiselect options ( #10576 )
...
Co-authored-by: RicardoErii <‘1974364190@qq.com’>
Co-authored-by: yangchangtao <yangchangtao@kuaishou.com>
2024-03-28 22:09:16 +08:00
renovate[bot]
01172fdb77
fix(deps): update compiler ( #10581 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 16:22:58 +08:00
renovate[bot]
cb7195a533
fix(deps): update playground ( #10586 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 15:36:17 +08:00
renovate[bot]
c6e245efe4
chore(deps): update all non-major dependencies ( #10580 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 15:10:49 +08:00
renovate[bot]
6fed247029
chore(deps): update dependency vite to ^5.2.6 ( #10582 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 15:03:29 +08:00
Doctor Wu
660cadc7aa
fix(compiler-sfc): :is() and :where() in compound selectors ( #10522 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
Closes #10511
2024-03-25 14:12:33 +08:00
Haoqun Jiang
caeb8a6881
chore: dedupe dependencies ( #10562 )
2024-03-21 11:12:50 +08:00
丶远方
ab59bedae4
fix(runtime-core): fix errorHandler causes an infinite loop during execution ( #9575 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-19 20:47:52 +08:00
renovate[bot]
ed37dcd108
chore(deps): update build ( #10540 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 19:38:41 +08:00
renovate[bot]
c3dd9378b0
chore(deps): update all non-major dependencies ( #10539 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 15:14:20 +08:00
edison
b49306adff
fix(custom-element): avoid setting attr to null if it is removed ( #9012 )
...
Partially fixes #9006
Fixes #10324
2024-03-16 16:28:03 +08:00
丶远方
cde47bfa97
test: create `EffectScope` using a factory function ( #8844 )
2024-03-15 22:27:32 +08:00
丶远方
384591a2a1
types: make instrumentations' types more succinct ( #8558 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-13 22:57:33 +08:00
chenfan
d46df6bdb1
perf: add `__NO_SIDE_EFFECTS__` comments ( #9053 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-13 21:48:45 +08:00
丶远方
9e8ac0c367
chore(playground): save `tsconfig.json` to the root directory; update Node.js version requirement ( #9086 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2024-03-12 21:46:26 +08:00
renovate[bot]
a3828239c2
chore(deps): update build ( #10490 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 17:55:46 +08:00
renovate[bot]
de0336a7c3
fix(deps): update compiler ( #10492 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 16:08:51 +08:00
chirokas
dec8a5294b
types: fix `scroll` event type; add support for `scrollend` ( #10443 )
2024-03-06 17:23:50 +08:00
Doctor Wu
e76d7430aa
fix(compiler-sfc): use options module name if options provide runtimeModuleName options ( #10457 )
...
close #10454
2024-03-06 10:45:42 +08:00
Evan You
f66a75ea75
release: v3.4.21
2024-02-28 12:12:15 +01:00
Doctor Wu
b3f8b5a4e7
fix(runtime-dom): avoid unset option's value ( #10416 )
...
close #10412
re-fix #10396
2024-02-28 19:07:12 +08:00
edison
bc37258caa
fix(warning): stringify args in warn handler ( #10414 )
...
close #10409
2024-02-28 19:06:18 +08:00
edison
7c97778aec
fix(suspense): ensure nested suspense patching if in fallback state ( #10417 )
...
close #10415
2024-02-28 19:05:22 +08:00
三咲智子 Kevin Deng
1f6a1102aa
test: clean snapshot
2024-02-28 15:19:24 +08:00
Evan You
89de26cdcd
release: v3.4.20
2024-02-26 10:07:13 +08:00
Evan You
b97ad0ee9a
chore: update e2eUtils puppeteer options
2024-02-26 09:54:12 +08:00
三咲智子 Kevin Deng
a24809fbd2
chore: limit typescript lib to es2016 ( #10164 )
...
* chore: limit typescript lib to es2015
* chore: set target to es2015
* chore: update
2024-02-26 09:37:05 +08:00
renovate[bot]
b92e6ce1ca
chore(deps): update build ( #10321 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:34:09 +08:00
renovate[bot]
bcf16659c8
chore(deps): update compiler ( #10322 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:16:38 +08:00
renovate[bot]
2529b97ebd
chore(deps): update all non-major dependencies ( #10320 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 09:15:57 +08:00
Evan You
364f8902c8
fix(runtime-dom): fix nested v-show priority regression
...
close #10338
2024-02-26 09:11:05 +08:00
Evan You
6c74fb07a7
chore: rename and export DefineSetupFnComponent
2024-02-25 23:38:39 +08:00
Evan You
e0e02535cd
fix(parser): should not treat uppercase components as special tags
...
close #10395
2024-02-25 23:05:15 +08:00
Evan You
9a365fe00d
refactor: use more descriptive name for v-show original display key
2024-02-25 21:50:47 +08:00
Evan You
c6defc8df1
chore: remove unused ts-expect-error
2024-02-25 21:50:35 +08:00
Elodie Hill
edbbb6da12
refactor(transition): remove unused getTransitionKey logic ( #10283 )
2024-02-25 21:14:46 +08:00
Wick
ede2e3f030
test: remove unnecessary code in apiCreateApp tests ( #10388 )
2024-02-25 21:11:04 +08:00
Shean de Montigny-Desautels
eadce5b753
fix(types): better typing for direct setup signature of defineComponent ( #10357 )
...
close #8604
close #8855
2024-02-25 21:10:08 +08:00
Wick
a4098d587b
chore(reactivity): consistent variable naming ( #10350 )
2024-02-25 21:08:06 +08:00
zhoulixiang
e2d323538e
fix(runtime-dom): v-bind style should clear previous css string value ( #10373 )
...
close #10352
2024-02-25 20:53:00 +08:00
Wick
76c9c742e9
chore(runtime-core): optimize validateComponentName ( #10378 )
2024-02-25 20:41:08 +08:00
renovate[bot]
c131ebae45
chore(deps): update playground ( #10356 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-25 20:40:09 +08:00
Evan You
b31dd7468b
dx(reactivity): disable recursive computed warning by default
...
Now can be enabled with app.config.warnRecursiveComputed option.
close #10341
2024-02-25 20:38:33 +08:00
Doctor Wu
21e0d6b145
dx(reactivity): add getter into computed side effect warning ( #10386 )
2024-02-25 20:27:33 +08:00
edison
0f3da05ea2
fix(suspense): handle suspense switching with nested suspense ( #10184 )
...
close #10098
2024-02-25 20:22:12 +08:00
Wick
411596c07b
chore(reactivity): replace console.warn() to warn function ( #10394 )
2024-02-25 20:17:30 +08:00
Evan You
ff130c4702
fix(runtime-dom): avoid always resetting nullish option value
...
close #10396
2024-02-25 17:35:19 +08:00
Evan You
6bef15f094
chore: remove unused argument
2024-02-25 17:30:20 +08:00
三咲智子 Kevin Deng
fe5d919b0f
refactor(sfc-playground): upgrade `@vue/repl` ( #10310 )
2024-02-20 21:47:09 +08:00
孟世博
3199189901
chore: standardize the spelling of TypeScript ( #10186 ) [ci skip]
2024-02-20 21:43:45 +08:00
Evan You
272ab9fbdc
release: v3.4.19
2024-02-13 18:08:22 +08:00
Evan You
995d2fdcca
fix(hydration): fix css vars hydration mismatch false positive on non-root nodes
...
close #10317
test case from #10325
2024-02-13 18:00:23 +08:00
Evan You
df4a6e1dd8
chore(deps): bump @vue/consolidate
2024-02-13 17:42:31 +08:00
Doctor Wu
f7ba97f975
feat(dx): warn users when computed is self-triggering ( #10299 )
2024-02-13 17:38:26 +08:00
OnlyWick
5f7a0a08b2
chore(errorHandling): directly return value in callWithErrorHandling function ( #10315 )
2024-02-13 17:15:18 +08:00
Evan You
b8be99018c
fix(deps): pin lru-cache to avoid hashing error
...
close #10300
2024-02-13 17:14:26 +08:00
zhoulixiang
e50963903d
fix(runtime-dom): should not trigger transition when v-show value is falsy ( #10311 )
2024-02-13 12:56:52 +08:00
João Carmona
603a1e1f5a
perf(runtime): improve `getType()` GC and speed ( #10327 )
2024-02-13 11:54:59 +08:00
Evan You
64f431aab0
release: v3.4.18
2024-02-09 10:31:29 +08:00
zhoulixiang
c224897dd4
fix(runtime-dom): ensure v-show respects display value set via v-bind ( #10297 )
...
close #10151
2024-02-09 10:17:35 +08:00
Evan You
77a804b1d0
fix(dx): warn against reserved keys as prop name
...
close #10281
2024-02-09 08:47:06 +08:00
Evan You
dfb271a293
release: v3.4.17
2024-02-09 08:38:19 +08:00
Evan You
2cd5b05c3b
revert: fix(runtime-dom): ensure v-show respects display value set via v-bind ( #10161 )
...
This reverts commit 9b19f09121
.
close #10294
reopen #10151
2024-02-09 08:30:51 +08:00
Evan You
1339330850
release: v3.4.16
2024-02-08 11:45:34 +08:00
Evan You
2b0a706dc7
chore: move X_V_BIND_INVALID_SAME_NAME_ARGUMENT to preserve error code order
2024-02-08 11:36:51 +08:00
Artyom Tuchkov
2312184bc3
fix(reactivity): skip non-extensible objects when using `markRaw` ( #10289 )
...
close #10288
2024-02-08 10:57:57 +08:00
yangxiuxiu
75e02b5099
fix(runtime-core): support for nested calls to runWithContext ( #10261 )
...
close #10260
2024-02-07 13:33:44 +08:00
Evan You
eb1b9116d7
revert: perf(templateRef): avoid double render when using template ref on v-for
...
This reverts commit de4d2e2143
.
reopen #9908
close #10210 , close #10234
2024-02-07 13:25:18 +08:00
Doctor Wu
9b19f09121
fix(runtime-dom): ensure v-show respects display value set via v-bind ( #10161 )
...
close #10151
2024-02-07 12:54:21 +08:00
Evan You
cb87b6213d
fix(compiler-core): handle same-name shorthand edge case for in-DOM templates
...
Also add error for invalid arguments for same-name shorthand.
close #10280
2024-02-07 12:15:39 +08:00
Johnson Chu
0bced13ee5
fix(reactivity): avoid infinite recursion from side effects in computed getter ( #10232 )
...
close #10214
2024-02-06 18:44:09 +08:00
Johnson Chu
6c7e0bd88f
fix(reactivity): handle `MaybeDirty` recurse ( #10187 )
...
close #10185
2024-02-06 18:23:56 +08:00
zhoulixiang
91f058a90c
fix(compiler-core): support v-bind shorthand syntax for dynamic slot name ( #10218 )
...
close #10213
2024-02-06 17:54:06 +08:00
yangxiuxiu
f0b5f7ed8d
fix(hydration): fix SFC style v-bind hydration mismatch warnings ( #10250 )
...
close #10215
2024-02-06 17:38:41 +08:00
Doctor Wu
f31d782e46
fix(runtime-dom): fix option selected update failed ( #10200 )
...
close #10194
close #10267
2024-02-06 16:58:51 +08:00
Evan You
d27ee59274
chore(playground): update download template deps
2024-02-05 12:09:08 +08:00
Evan You
2ebafc26a7
chore(playground): bump @vitejs/plugin-vue
2024-02-05 12:07:15 +08:00
renovate[bot]
dbc4677161
chore(deps): update build ( #10271 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:37:25 +08:00
三咲智子 Kevin Deng
53eee72c3a
fix(runtime-core): avoid inlining isShallow ( #10238 )
2024-02-05 11:36:17 +08:00
三咲智子 Kevin Deng
718fc86f45
chore: remove missing reactivity transform file ( #10255 )
...
prev: https://github.com/vuejs/core/pull/9321
2024-02-05 11:35:29 +08:00
renovate[bot]
336bb65820
fix(deps): update compiler ( #10269 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:34:34 +08:00
renovate[bot]
26c79cc8fa
chore(deps): update all non-major dependencies ( #10175 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 09:41:48 +08:00
dependabot[bot]
733f63a0a9
build(deps-dev): bump vite from 5.0.7 to 5.0.12 ( #10162 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.0.7 to 5.0.12.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.0.12/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 09:35:50 +08:00
Evan You
ee4cd78a06
release: v3.4.15
2024-01-18 21:34:34 +08:00
Evan You
de4d2e2143
perf(templateRef): avoid double render when using template ref on v-for
...
close #9908
2024-01-18 21:25:10 +08:00
Evan You
c3087ff2cc
fix: correct url for production error reference links
2024-01-18 20:00:01 +08:00
Evan You
2ffb956efe
perf(v-model): optimize v-model multiple select w/ large lists
...
close #10014
2024-01-18 19:55:15 +08:00
Evan You
75e866bd4e
fix(compiler-sfc): fix type resolution for symlinked node_modules structure w/ pnpm
...
close #10121
2024-01-18 13:52:42 +08:00
inottn
6fa33e67ec
fix(runtime-core): should not warn out-of-render slot fn usage when mounting another app in setup ( #10125 )
...
close #10124
2024-01-18 11:45:11 +08:00
Evan You
81d307a1e9
refactor: use shared isAttrRenderable logic between ssr and hydration
2024-01-18 11:23:59 +08:00