Eduardo San Martin Morote
314ab2c7c5
fix(compiler): stringify values on v-text ( #2432 )
...
fix #2430
2020-10-19 18:12:09 -04:00
被雨水过滤的空气
edd49dcab4
fix(runtime-core): avoid mutating EMPTY_ARR when setting dev root ( #2419 )
...
also freeze EMPTY_ARR in dev
fix #2413
2020-10-19 18:08:54 -04:00
neverland
e894caf731
types(tsx): svg xmlns attribute typing ( #2344 )
2020-10-19 17:40:21 -04:00
Evan You
0e5a3c47a7
fix(reactivity): track length on for in iteration on Array
...
fix #2427
2020-10-19 17:37:35 -04:00
Carlos Rodrigues
d9ad45ad6c
types(defineComponent): fix optional Boolean prop types ( #2401 )
...
fix #2338
2020-10-19 17:25:55 -04:00
ᴜɴвʏтᴇ
052a621762
feat(compile-core): handle falsy dynamic args for v-on and v-bind ( #2393 )
...
fix #2388
2020-10-19 17:15:53 -04:00
龙腾道
ba881f9190
fix(runtime-core): avoid object prototype keys in property access cache ( #2416 )
2020-10-19 17:11:28 -04:00
Evan You
f17f0ddf68
release: v3.0.1
2020-10-15 12:37:21 -04:00
Evan You
9664267793
chore: fix missed type guard from dbc29c32
2020-10-15 12:10:25 -04:00
Evan You
dbc29c32e3
build(deps): bump @babel/types from 7.11.5 to 7.12.0
2020-10-15 12:02:20 -04:00
Evan You
3aabd59de1
build(deps): bump postcss-selector-parser from 6.0.2 to 6.0.4
2020-10-15 11:52:30 -04:00
underfin
e78915a740
fix(hmr): full diff props for non-sfc component ( #2359 )
...
close #https://github.com/vitejs/vite/issues/872
2020-10-15 11:05:12 -04:00
Hunter
962af85220
test(runtime-core): inject from closest ancestor ( #2329 )
2020-10-13 16:31:13 -04:00
ᴜɴвʏтᴇ
6df3675548
test(runtime-core): improve test for #2295 ( #2309 )
2020-10-13 16:29:23 -04:00
underfin
02f355eb69
fix(v-for): handle and warn when v-for
receives non-integer range number ( #2247 )
...
close #2245
2020-10-13 16:28:24 -04:00
Mathieu TUDISCO
8539c0bf32
fix(compiler-ssr): fix SSR issue when dynamic and static class co-exist ( #2354 )
2020-10-13 16:25:15 -04:00
Pick
6a554feb13
perf(runtime-dom/vModel): remove looseHas if model is Set ( #2236 )
2020-10-13 16:20:05 -04:00
Lory Lee
6b8cf998c4
chore: add missing space in warning message ( #2266 ) [ci skip]
2020-10-13 16:18:22 -04:00
edison
af1f5d33aa
refactor(reactivity): remove keyIsSymbol
( #2262 )
2020-10-13 16:17:52 -04:00
Pick
9b34f915ab
refactor(runtime-core): simplify deep watch traverse ( #2212 )
2020-10-13 16:06:36 -04:00
meteorlxy
e2c9ab1991
test(compiler-core): more test cases for baseParse ( #2211 )
2020-10-13 16:03:33 -04:00
Pick
e4a5387435
refactor(runtime-core): refactor watch typing ( #2191 )
2020-10-13 15:45:17 -04:00
underfin
408a8cad48
fix(sfc/style-vars): should attach css vars while subtree
changed ( #2178 )
...
* fix(cssVars): should attach css vars while `subtree` changed
fix #2177
* fix: fix test
2020-10-13 15:37:45 -04:00
izayl
bac4d22614
chore: add magic number comment ( #2198 ) [ci skip]
2020-10-13 15:33:16 -04:00
Yang Mingshan
7cc09ca8a5
fix(reactivity): use resetTracking instead of enableTracking ( #2174 )
2020-10-13 15:32:46 -04:00
Ben Sheedy
aa2b4f4873
chore: heading for npm readme ( #2158 ) [ci skip]
2020-10-13 15:30:56 -04:00
edison
1cc8cd60a1
test(runtime-core): show warn when create with invalid type ( #2128 )
2020-10-13 15:27:21 -04:00
ᴜɴвʏтᴇ
692197be33
fix(compiler-core): fix v-if key injection with v-on object syntax ( #2368 )
...
fix #2366
2020-10-13 12:04:52 -04:00
Evan You
6ba7ba47d5
feat: custom formatters
2020-10-13 11:50:24 -04:00
Evan You
2ae3b26679
fix(teleport): proper children traversal when teleport is block root
...
fix #2324
2020-10-10 16:07:30 -04:00
Evan You
b0931dcaba
fix(teleport): should only force remove teleport when not disabled
...
fix #2323
2020-10-09 09:08:59 -04:00
Evan You
54ed7592e4
fix(v-model): ensure initial value is set after other attributes
...
fix #2325
2020-10-08 16:41:45 -04:00
ᴜɴвʏтᴇ
fbd198fbfe
fix(v-model): avoid clearing IME compose state on updates ( #2304 )
...
fix #2302
2020-10-07 22:34:53 -04:00
Evan You
4d1ebb5deb
fix(runtime-core): fix directive merging on component root
...
fix #2298
2020-10-07 22:02:32 -04:00
Evan You
f06518a8c9
fix(runtime-core): fix provide function data access in extends/mixins
...
fix #2300
2020-10-07 21:47:01 -04:00
ᴜɴвʏтᴇ
89c5909a6f
fix(compiler-core): allow spaces between if-else branches ( #2305 )
...
fix #2299
2020-10-07 20:57:17 -04:00
Evan You
25d53f09bb
fix(runtime-core/template-refs): do not reset refs object before updates
...
fix #2283
2020-10-07 17:49:03 -04:00
Evan You
b392fe419c
fix(runtime-core): error handling for created/beforeCreate hooks
...
fix #2268
2020-10-07 16:58:19 -04:00
edison
d744b8a2dc
fix(runtime-dom): v-model should support number modifier with select tag ( #2308 )
...
close #2252
2020-10-07 15:06:41 -04:00
Evan You
f9566f00df
test(compiler-core): add test case for v-on event case conversion
2020-10-06 18:31:04 -04:00
shadowings-zy
62f26173ba
fix(runtime-core): use consistent camelCase event casing for render functions ( #2278 )
...
close #2249
2020-10-06 18:28:56 -04:00
Evan You
390589ec6d
fix(reactivity): should not trigger watch on computed ref when value is unchanged
...
fix #2231
2020-10-06 18:16:20 -04:00
Evan You
a66e53a24f
fix(runtime-core): fix SSR memoery leak due to props normalization cache
...
fix #2225
The previous props/emits normlaization was caching normalized result per
app instance, but during SSR there is a new app instance created for
every request.
The fix now de-opts props/emits normlaization caching when there are
props/emits declared in global mixins - which is a very rare use case.
2020-10-06 15:31:29 -04:00
Evan You
cf2c9f6faa
perf: do not enable hmr in non-browser envs
2020-10-06 11:51:55 -04:00
Evan You
5c3e8e9840
fix(runtime-core): ensure this context for $nextTick callback
...
fix #2282
2020-10-05 18:18:38 -04:00
Evan You
f4119249f2
fix(compiler-core): consistently remove comment nodes for pre tags in production
...
close #2217
2020-10-05 17:53:34 -04:00
ᴜɴвʏтᴇ
4d20ac8173
fix(runtime-core): make errorCaptured return value handling consistent with Vue 2 ( #2289 )
...
fix #2267
2020-10-05 17:37:26 -04:00
HcySunYang
ea1f87eabf
fix(reactivity): should add allowRecurse to the effect ( #2213 )
...
So that the scheduler also respects effect's allowRecurse option.
fix #2200
2020-10-05 16:36:02 -04:00
Philipp Rudloff
28d5fd7a28
fix(runtime-core): vnode.el is null in watcher after rerendering ( #2295 )
...
fix #2170
2020-10-05 16:05:43 -04:00
HcySunYang
9499871582
fix(compiler-core): make v-once work with v-if/else-if/else ( #2182 )
...
Partial fix for #2035
2020-10-05 11:58:37 -04:00