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
三咲智子 Kevin Deng
584eae60d1
fix(compiler-sfc): always generate runtime prop type for Function ( #7112 )
...
fix #7111
2022-11-13 19:36:03 -05:00
Scott Bedard
6e8b6b3585
Update migration build link ( #7109 )
2022-11-11 13:25:09 -08: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
Daniel Khalil
845efbbb5d
chore: escape html tag in change log ( #7089 ) [ci skip]
2022-11-10 20:12:40 -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
被雨水过滤的空气(Rairn)
a54bff2c9c
fix(hmr/keep-alive): fix error in reload component ( #7049 )
...
fix #7042
2022-11-10 05:01:31 -05:00