三咲智子 Kevin Deng
a0a010ddc9
fix(types): optional boolean props should have boolean type in return type of defineProps ( #7619 )
...
close #7116
fix #5847
fix #7487
2023-02-01 21:57:28 -05:00
edison
30399d46b1
fix(compiler-sfc): support resolving type declaration from normal script ( #5831 )
...
fix #5830
2023-02-01 04:24:50 -05:00
李想
1fde49c0f5
fix(runtime-core): fix keep-alive cache prune logic on vnodes with same type but different keys ( #7510 )
...
fix #7355
2023-02-01 04:02:03 -05:00
Evan You
f19f803ea8
chore: fix jest reference in merged test case
2023-02-01 16:50:13 +08:00
René Koller
efe2efd210
fix(compat): fix custom transition classes in compat mode ( #7435 )
...
fix #6253
2023-02-01 03:21:50 -05:00
Anthony Fu
e64c9ae957
fix(reactivity): `triggerRef` working with `toRef` from reactive ( #7507 )
...
* fix(reactivity): `triggerRef` working with `toRef` from reactive
* chore: refactor
2023-02-01 03:20:47 -05:00
Anthony Fu
5f1883ec53
fix(types): accept sync `serverPrefetch()` ( #7000 )
2023-02-01 03:15:51 -05:00
三咲智子 Kevin Deng
734b06a124
test: fix await patch prop case ( #7600 )
2023-02-01 08:59:50 +01:00
Evan You
957722c418
fix(build): ensure type exports is first
2023-02-01 10:49:31 +08:00
Evan You
a1b3057c4d
test: configure test hooks sequence order, remove workaround
2023-01-27 14:52:41 +08:00
Evan You
28b95daa70
workflow: complete migration from jest to vitest
2023-01-26 22:53:39 +08:00
Evan You
158db33611
wip(vitest-migration): all tests passing
2023-01-26 22:22:43 +08:00
Evan You
4ee0dad0fe
wip(vitest-migration): runtime-dom tests passing + use environmentMatchGlobs
2023-01-26 21:35:50 +08:00
Evan You
a6be280fc3
chore: only wrap during tests
2023-01-26 20:59:30 +08:00
Evan You
7e8f175db7
wip(vitest-migration): runtime-core tests passing
2023-01-26 20:48:47 +08:00
Evan You
e478755c7d
wip(vitest-migration): compat tests passing
2023-01-26 20:24:54 +08:00
Evan You
dca4224c2c
wip(vitest-migration): compiler-ssr tests passing
2023-01-26 16:50:19 +08:00
Evan You
0cd2213e6b
wip(vitest-migration): compiler-sfc tests passing
2023-01-26 16:49:10 +08:00
Evan You
8599242bb4
wip(vitest-migration): compiler-dom tests passing
2023-01-26 16:48:19 +08:00
Evan You
5804406fac
wip(vitest-migration): compiler-core tests passing
2023-01-26 16:20:59 +08:00
Evan You
f0d78e8c8f
wip(vitest-migration): ssr tests passing
2023-01-26 16:18:40 +08:00
Evan You
3db69af53d
wip(vitest-migration): shared tests passing
2023-01-26 15:31:52 +08:00
Evan You
8867bb259a
wip(vitest-migration): reactivity tests passing
2023-01-26 15:25:55 +08:00
Evan You
ab45f6f8a2
build: update build scripts to esm
2023-01-26 14:24:49 +08:00
Evan You
ec4531a6b3
chore: bump vite and esbuild
2023-01-26 13:33:28 +08: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
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
白雾三语
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
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
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