Thorsten Luenborg
934f26f7d8
fix(devtools): allow devtools to identify parent components of hydrated elements.
2023-01-19 21:00:53 +01:00
白雾三语
bef85e7975
fix(shared): `feDistanceLight` changed to `feDistantLight` ( #7540 )
...
close https://github.com/vuejs/core/issues/7535
2023-01-16 09:46:56 +01:00
Anthony Fu
4c6176d1c4
chore: apply format
2023-01-12 13:02:33 +01:00
Anthony Fu
4a16b204be
chore: run format
2023-01-12 12:58:11 +01:00
skirtle
4902354925
dx(runtime-core): warn when expose() is misused ( #7221 )
2023-01-09 15:23:10 +01:00
魏
13dc28aeff
refactor(reactivity): hasOwnProperty add this parameter ( #7233 )
...
hasOwnProperty adds this parameter and delete @ts-ignore
2023-01-09 15:21:32 +01:00
Thorsten Lünborg
cd7c887b75
fix(reactivity): ensure watch(Effect) can run independent of unmounted instance if created in a detatched effectScope ( fix #7319 ) ( #7330 )
...
* fix(reactivity): ensure watch(Effect) can run independent of unmounted instance if created in a detatched effectScope
* test: use separate counters for each watcher to make test more robust
2023-01-09 15:20:21 +01:00
魏
8731852919
test(reactivity): Using toRaw on a raw Array ( #7354 )
2023-01-09 15:19:19 +01:00
yurj26
b7cfa6f539
fix(runtime-dom): style update error when component use shorthand properties ( #7425 )
...
* fix(runtime-dom): style update error when component use shorthand properties
* test(runtime-dom): style update with shorthand properties
2023-01-09 15:16:08 +01:00
Julien Huang
686c829fec
fix(compiler-sfc): allow declaring variables after defineProps ( #7461 )
...
* fix(compiler-sfc): allow declaring variables after defineProps
* test(compiler-sfc): test defineProps in multiple variable declaration
2023-01-09 15:13:58 +01:00
Yue Yang
1fa3d95730
fix(types): add or update referrerpolicy ( #7199 )
2023-01-01 11:44:20 +01:00
白雾三语
c6e5bda27d
fix(customElement): customElement can emit event ( #7296 )
...
close https://github.com/vuejs/core/issues/7293
2022-12-23 22:32:21 +01:00
Brian Nduhiu
fe77e2bdda
chore: update BACKERS.md ( #7140 ) [ci skip]
2022-11-30 19:06:19 -05:00
Brian Nduhiu
92051b74d7
chore: update README.md ( #7139 ) [ci skip]
2022-11-30 19:05:51 -05:00
白雾三语
620327d527
fix(runtime-core): ensure prop type validation warning shows custom class names ( #7198 )
...
* fix(runtime-core):
* fix(runtime-core): update
* fix(runtime-core): update reg
* test(runtime-core): add test case for warnings about prop type mismatches
Co-authored-by: Thorsten Luenborg <t.luenborg@googlemail.com>
2022-11-25 20:52:39 +01:00
Evan You
f3e4f038bf
ci: move chrome cache restore to before pnpm install
2022-11-14 19:23:51 +08:00
Evan You
7b59f2a012
ci: skip chromium download in jobs that do not need it
2022-11-14 19:21:58 +08:00
Evan You
2913bbfdee
chore: add script notes for SFC playgound [ci skip]
2022-11-14 19:14:15 +08:00
CHOYSEN
80a4c3000f
chore(sfc-playground): add README to link to its website ( #6346 ) [ci skip]
2022-11-14 06:12:05 -05:00
Evan You
f0645a9b2f
chore: remove yarn reference
...
close #6709
2022-11-14 19:03:51 +08:00
Evan You
d67c80d12e
chore: bump esbuild
2022-11-14 18:57:56 +08:00
Evan You
bcc76e9395
ci: cache chromium binary
2022-11-14 18:47:08 +08:00
Evan You
6fdea68e96
build: suppress rollup external warnings
2022-11-14 18:35:09 +08:00
Evan You
9d5e30d911
build: bump jest, puppeteer and use official rollup terser plugin
2022-11-14 18:21:58 +08:00
Evan You
b55846f05c
fix(shared): toNumber should only coerce strings
2022-11-14 17:50:56 +08:00
翠 / green
eb2a83283c
fix(types): allow assigning wider SetupContext type ( #2818 )
...
fix #2362
2022-11-14 04:33:29 -05:00
Evan You
588bd44f03
fix(reactivity): track hasOwnProperty
...
fix #2619
close #2621
2022-11-14 17:17:35 +08:00
Evan You
ce363e55a8
chore: fix assertNumber for undefined value
2022-11-14 16:57:44 +08:00
Evan You
7d0c63ff43
fix(custom-elements): use strict number casting
...
close #4946
close #2598
close #2604
This commit also refactors internal usage of previous loose
implementation of `toNumber` to the stricter version where applicable.
Use of `looseToNumber` is preserved for `v-model.number` modifier to
ensure backwards compatibility and consistency with Vue 2 behavior.
2022-11-14 16:20:12 +08:00
Evan You
efa2ac54d9
refactor: use Number constructor when coercing array length
2022-11-14 16:10:05 +08:00
三咲智子 Kevin Deng
3427052229
fix(reactivity-transform): prohibit const assignment at compile time ( #6993 )
...
close #6992
2022-11-14 02:54:41 -05:00
三咲智子 Kevin Deng
87c72ae49a
fix(v-model): ensure v-model listener casing is consistent with manual v-on listener ( #7067 )
...
fix #7066
2022-11-14 02:21:29 -05:00
Cédric Exbrayat
b46ba6e2ad
chore(compiler-core): missing space in v-slot mixed usage error message ( #7076 )
2022-11-14 02:06:24 -05:00
Samuel Rigaud
378386694b
fix(compiler-core): typeof should be allowed in browser expression validation ( #7037 )
2022-11-14 01:50:35 -05:00
webfansplz
11bd8db768
chore(types): remove unnecessary type assertions ( #7032 )
2022-11-14 01:44:06 -05:00
Zollero
da2ced1533
fix(runtime-core): set scope id before props ( #6948 )
...
close #6923
Also ensure consistency with Vue 2
2022-11-13 22:53:46 -05:00
JayFate
f2c46ed9cf
build(deps): upgrade rollup@2 to rollup@3 ( #6990 )
...
* build(deps): upgrade rollup@2 to rollup@3
Signed-off-by: JayFate <37610029@qq.com>
* build(rollup): move rollup.config.js to rollup.config.mjs
Signed-off-by: JayFate <37610029@qq.com>
Signed-off-by: JayFate <37610029@qq.com>
2022-11-13 22:48:52 -05:00
Evan You
a1099afe1b
chore: snapshot
2022-11-14 11:41:44 +08:00
Evan You
e06d3b614e
fix(reactivity-transform): fix $$ escape edge cases
...
fix #6312
close #6944
2022-11-14 11:36:24 +08:00
Evan You
6524805c45
docs: add notes on more scripts in contribution guide
2022-11-14 10:22:43 +08:00
Evan You
5390013331
workflow: adjust scripts to avoid reliance on implicit pre-scripts
...
pnpm does not support implicit pre/post scripts without config
2022-11-14 10:22:20 +08:00
Evan You
0580ae2731
workflow: ensure dev-sfc script build necessary deps if not present
2022-11-14 10:14:12 +08:00
Flávio Reis
a52141a62b
docs(contributing): change dependencies graph to mermaid ( #6901 )
2022-11-13 20:48:58 -05:00
被雨水过滤的空气-Rairn
d01c091967
test(Transition): events with arguments ( #6823 )
2022-11-13 20:45:44 -05:00
三咲智子 Kevin Deng
9060bf0353
refactor(compiler-core): make ast.helpers a Set ( #6774 )
2022-11-13 20:44:02 -05:00
Tamay Eser Uysal
7443174e2a
fix(compiler): add `hgroup` to supported `HTML_TAGS` ( #6321 )
...
close #6313
2022-11-13 20:28:56 -05:00
webfansplz
59ffe5ee1f
fix(types/effectScope): re-expose `active` as readonly property ( #6187 )
...
close #6186
2022-11-13 20:27:52 -05:00
三咲智子 Kevin Deng
4e5d9cdb82
refactor(compiler-sfc): drop Function prop type when no static default value ( #7125 )
2022-11-13 20:15:17 -05:00
webfansplz
0187f998f7
chore(runtime-core): add `isRegExp` to check `RegExp` ( #6041 )
2022-11-13 20:14:28 -05:00
Tony Trinh
c513126c5d
types(runtime-core): support plugin options type inference ( #3969 )
2022-11-13 20:13:32 -05:00