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.
3 years ago
Evan You
efa2ac54d9
refactor: use Number constructor when coercing array length
3 years ago
三咲智子 Kevin Deng
3427052229
fix(reactivity-transform): prohibit const assignment at compile time ( #6993 )
close #6992
3 years ago
三咲智子 Kevin Deng
87c72ae49a
fix(v-model): ensure v-model listener casing is consistent with manual v-on listener ( #7067 )
fix #7066
3 years ago
Cédric Exbrayat
b46ba6e2ad
chore(compiler-core): missing space in v-slot mixed usage error message ( #7076 )
3 years ago
Samuel Rigaud
378386694b
fix(compiler-core): typeof should be allowed in browser expression validation ( #7037 )
3 years ago
webfansplz
11bd8db768
chore(types): remove unnecessary type assertions ( #7032 )
3 years ago
Zollero
da2ced1533
fix(runtime-core): set scope id before props ( #6948 )
close #6923
Also ensure consistency with Vue 2
3 years ago
Evan You
a1099afe1b
chore: snapshot
3 years ago
Evan You
e06d3b614e
fix(reactivity-transform): fix $$ escape edge cases
fix #6312
close #6944
3 years ago
被雨水过滤的空气-Rairn
d01c091967
test(Transition): events with arguments ( #6823 )
3 years ago
三咲智子 Kevin Deng
9060bf0353
refactor(compiler-core): make ast.helpers a Set ( #6774 )
3 years ago
Tamay Eser Uysal
7443174e2a
fix(compiler): add `hgroup` to supported `HTML_TAGS` ( #6321 )
close #6313
3 years ago
webfansplz
59ffe5ee1f
fix(types/effectScope): re-expose `active` as readonly property ( #6187 )
close #6186
3 years ago
三咲智子 Kevin Deng
4e5d9cdb82
refactor(compiler-sfc): drop Function prop type when no static default value ( #7125 )
3 years ago
webfansplz
0187f998f7
chore(runtime-core): add `isRegExp` to check `RegExp` ( #6041 )
3 years ago
Tony Trinh
c513126c5d
types(runtime-core): support plugin options type inference ( #3969 )
3 years ago
三咲智子 Kevin Deng
584eae60d1
fix(compiler-sfc): always generate runtime prop type for Function ( #7112 )
fix #7111
3 years ago
Evan You
6f663d47e5
release: v3.2.45
3 years ago
Evan You
24964dab25
test: test case for #6966
3 years ago
ysy945
67890daad1
fix(custom-elements): custom element should re-instantiate when inserted again ( #6966 )
fix #6934
3 years ago
Evan You
ffef822869
fix(custom-elements): respect slot props in custom element mode
3 years ago
Thorsten Lünborg
55382aed58
fix(custom-elements): define declared properties in constructor ( #5328 )
3 years ago
Evan You
89f37ceb62
fix(custom-elements): fix number type props casting check
fix #5793
adapted from #5794
3 years ago
Evan You
afe889999c
fix(custom-elements): properties set pre-upgrade should not show up in $attrs
3 years ago
Evan You
5e50909100
fix(custom-elements): should not reflect non-decalred properties set before upgrade
3 years ago
Thorsten Lünborg
665f2ae121
fix(custom-elements): fix event emitting for async custom elements ( #5601 )
fix #5599
3 years ago
Thorsten Lünborg
0b39e46192
fix(custom-elements): also dispatch hyphenated version of emitted events ( #5378 )
fix #5373
3 years ago
Thorsten Lünborg
192dcb648c
fix(custom-elements): ensure custom elements can inherit provides from ancestors ( #5098 )
fix #5096
3 years ago
花果山大圣
4798a9f704
refactor: more concise bitwise operations for flag removal ( #7092 )
3 years ago
被雨水过滤的空气(Rairn)
4049ffcf29
fix(runtime-core): fix move/removal of static fragments containing text nodes ( #6858 )
fix #6852
3 years ago
被雨水过滤的空气(Rairn)
a54bff2c9c
fix(hmr/keep-alive): fix error in reload component ( #7049 )
fix #7042
3 years ago
Evan You
0594400980
fix(sfc): also generate getter for import bindings during dev
3 years ago
Evan You
5a3d45ae29
fix(sfc): ensure consistent dev/prod behavior for non-reactive variables declared in `<script setup>`
fix #5655
3 years ago
Evan You
f73925d76a
fix(sfc): ensure `<script setup>` binding behavior consistency on `this` between prod and dev
close #6248
3 years ago
Evan You
15e889afaf
fix(v-model): fix incorrect codegen for non-ref bindings
fix #6241
3 years ago
Evan You
11214eedd2
fix(teleport/css-v-bind): fix css v-bind in teleport in child component slot
3 years ago
Evan You
42239cf284
fix(teleport/css-v-bind): fix css v-bind for teleported content
fix #4605
close #4609 (used tests from this PR)
3 years ago
Evan You
9ca8b7c1b5
chore: fix test
3 years ago
Evan You
d45cbfcdfb
chore(types): mark more internal component instance properties
3 years ago
Evan You
001184e6bb
fix(compiler/v-model): catch incorrect v-model usage on prop bindings
close #5584
3 years ago
Evan You
ec795bfc51
release: v3.2.44
3 years ago
Thorsten Lünborg
5dc593ba28
fix(watch): for immediate watch with single source, ensure cb is called with undefined as oldValue ( #7075 )
fix : #7074
3 years ago
skirtle
9a816dcec0
dx(runtime-dom): warn when a style value ends in a semicolon ( #7062 )
3 years ago
skirtle
fccfb1821f
chore(compat): change 'vnode-' to 'vue:' in event hooks warning ( #7063 )
3 years ago
Evan You
71977ec972
release: v3.2.43
3 years ago
Evan You
23e85e21a5
fix(watch): ensure oldValue in multi-source watcher is always an array
fix #7070
3 years ago
Evan You
d33292dd47
chore: return early in warn() in prod
3 years ago
Evan You
8dbf083133
build: put ssrContext warning behind __DEV__ flag
3 years ago
Evan You
f023d49a49
release: v3.2.42
3 years ago