白雾三语
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
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
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
被雨水过滤的空气-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
三咲智子 Kevin Deng
584eae60d1
fix(compiler-sfc): always generate runtime prop type for Function ( #7112 )
...
fix #7111
2022-11-13 19:36:03 -05:00
Evan You
6f663d47e5
release: v3.2.45
2022-11-11 17:35:27 +08:00
Evan You
24964dab25
test: test case for #6966
2022-11-11 17:06:50 +08:00
ysy945
67890daad1
fix(custom-elements): custom element should re-instantiate when inserted again ( #6966 )
...
fix #6934
2022-11-11 04:06:21 -05:00
Evan You
ffef822869
fix(custom-elements): respect slot props in custom element mode
2022-11-11 16:06:05 +08:00
Thorsten Lünborg
55382aed58
fix(custom-elements): define declared properties in constructor ( #5328 )
2022-11-11 02:46:01 -05:00
Evan You
89f37ceb62
fix(custom-elements): fix number type props casting check
...
fix #5793
adapted from #5794
2022-11-11 15:20:28 +08:00
Evan You
afe889999c
fix(custom-elements): properties set pre-upgrade should not show up in $attrs
2022-11-11 14:42:42 +08:00
Evan You
5e50909100
fix(custom-elements): should not reflect non-decalred properties set before upgrade
2022-11-11 14:14:55 +08:00
Thorsten Lünborg
665f2ae121
fix(custom-elements): fix event emitting for async custom elements ( #5601 )
...
fix #5599
2022-11-10 23:33:17 -05:00
Thorsten Lünborg
0b39e46192
fix(custom-elements): also dispatch hyphenated version of emitted events ( #5378 )
...
fix #5373
2022-11-10 23:01:10 -05:00
Thorsten Lünborg
192dcb648c
fix(custom-elements): ensure custom elements can inherit provides from ancestors ( #5098 )
...
fix #5096
2022-11-10 21:33:17 -05:00
花果山大圣
4798a9f704
refactor: more concise bitwise operations for flag removal ( #7092 )
2022-11-10 20:15:37 -05:00
被雨水过滤的空气(Rairn)
4049ffcf29
fix(runtime-core): fix move/removal of static fragments containing text nodes ( #6858 )
...
fix #6852
2022-11-10 05:03:10 -05:00