AchillesJ
318f29fcdf
fix(core): disable dependency collection in lifecycle hooks and data getter ( #7596 )
This fixes the parent being updated more than necessary due to collecting child props
as dependencies during its own update computation.
fix #7573
7 years ago
Alex
6bc75cacb7
fix(v-on): return handler value when using modifiers ( #7704 )
7 years ago
Eduardo San Martin Morote
db584931e2
fix(v-model): handle trailing whitespaces in expression ( #7737 )
7 years ago
Sergei Chipiga
9e04f6af27
test: add unit tests for core/observer/dep ( #7738 )
7 years ago
Eduardo San Martin Morote
dc97a39c2f
fix(codegen): support filters with () in older browsers ( #7545 )
Fix #7544
Make sure no extra , is added at the end of the call so it also work with older browsers
7 years ago
Hiroki Osame
733c1be7f5
fix(inject): use hasOwn instead of 'in' for provideKey check ( #7460 )
fix #7284
* fix(Injection with Symbol polyfill): hasOwn instead of 'in'
Symbol polyfill adds a setter on the Object prototype so the 'in' check evaluated to true on every
object
* test(Injected properties): Ensures prototype properties aren't injected
Prototype properties were being injected, so injecting 'constructor' would have hit the first
provide-layer and not yield expected results.
7 years ago
İsmail Arılık
e9ea565d91
polish: raise warning when Vue.set/delete is called on invalid values ( #7452 )
close #7381
7 years ago
Evan You
80e650cfdf
chore: fix formatting
7 years ago
GU Yiling
1c0b4af5fd
fix: skip v-model & value binding collision check with dynamic type binding ( #7406 )
* fix #7404
7 years ago
Evan You
f7ca21eab1
fix: always install composition event listeners
Previously the installation was skipped on Android because
it was not needed for Chinese IME - however some IMEs such
as Japanese exhibits the same behavior as on other browers.
So it is safer to always enable the check. Closes #7367
7 years ago
Evan You
aeebf0de90
test: add test for observer lazy getter invocation
7 years ago
Evan You
f7311c90b3
refactor: move keyName alias map to compiler
7 years ago
JK
1c8e2e88ed
fix: support KeyboardEvent.key in built-in keyboard event modifiers ( #7121 )
fix #6900
7 years ago
Evan You
50b711af43
fix: do not special case attributes for custom elements
close #6864 , close #6885
7 years ago
Evan You
cd334070f3
fix: address potential regex backtrack
7 years ago
TB
e396eb3445
fix(ref): allow ref key to be zero ( #7676 )
prevents missing elements when :ref value is "0"
fix #7669
7 years ago
Guillaume Chau
5191f13472
fix(transition): should not add transition class when cancelled ( #7391 )
fix #7390
7 years ago
AchillesJ
05299610ea
fix(vdom): svg inside foreignObject should be rendered with correct namespace ( fix #7330 ) ( #7350 )
* add failed test case
* fix failed test case
* fix(vdom): svg inside foreignObject should be rendered with correct namespace
* adjust comments
7 years ago
Evan You
f8cb3a2393
chore: fix lint
7 years ago
Huo Chunyang
44420b7bbc
chore: correct the eslint script statement in package.json and correct the format. ( #7308 )
7 years ago
Evan You
144a4dd860
build: rename build/ to scripts/
7 years ago
Evan You
41838c8e86
feat: support v-model dynamic type binding for v-bind="object"
close #7296
7 years ago
Evan You
d8b08387a2
fix: clean up custom events when patched component no longer have events
fix #7294
7 years ago
Evan You
956756b1be
refactor: use more efficient on-demand clone to handle reused node edge cases
removes unnecessary slot/static node clones, fix #7292
7 years ago
Evan You
8335217cb4
fix(core): handle edge cases for functional component returning arrays
fix #7282
7 years ago
Evan You
aac76349e7
Revert "feat: auto cache inline prop literals to avoid child re-render"
This reverts commit 996eb00a0a
.
7 years ago
Herrington Darkholme
bacb911f7d
fix(warning): allow symbol as vdom key ( #7271 )
7 years ago
Evan You
01c07503bf
revert: revert prop object validation
close #7279
7 years ago
Evan You
1dd6b6f046
refactor: adjust weex branch coverage and build for merging into dev
7 years ago
Evan You
996eb00a0a
feat: auto cache inline prop literals to avoid child re-render
7 years ago
Alexander Sokolov
d02bb37efb
feat: warn misspelled keys on prop validation object ( #7198 )
7 years ago
Evan You
4e00688e4a
build: update dev dependencies
7 years ago
laoxiong
023f171f58
fix(core): warn duplicate keys in all cases ( #7200 )
close #7199
7 years ago
Guillaume Chau
bd4819e6cf
fix: data() should be called with vm as first argument in mixins
fix #7191
7 years ago
Evan You
5875c7c490
fix: revert shared static tree cache to avoid memory leak
revert f0a66c5
fix #7184
7 years ago
Evan You
f5ce6b50cf
fix(v-for): support array and nested destructuring in v-for
7 years ago
Evan You
0f7c443dca
fix: block unnecessary input event on textarea placeholder in IE
close #7138
7 years ago
Evan You
8b43c81ed4
ci: bump transition unit test duration
7 years ago
Evan You
aa8262540a
fix: fix v-for iterator parsing destructuring + parens without index
7 years ago
Evan You
dd21eacc33
fix: fix async component resolving in sibling mounted hook
fix #7107
7 years ago
Evan You
604e081d04
fix: ensure functionalContext is cloned during slot clones
fix #7106
7 years ago
Evan You
3932a451a1
fix(keep-alive): should not destroy active instance when pruning cache
fix #7105
7 years ago
Evan You
ebcef58645
fix: fix v-for alias deconstruct regression
fix #7096
7 years ago
Evan You
a23b913796
fix: fix <keep-alive> include/exclude logic for anonymous components
7 years ago
Evan You
59dea37403
fix: fix v-model :value warning on custom component
fix #7084
7 years ago
Evan You
4d8226fb2c
fix: keep-alive should not cache anonymous components
This only happens if the component is returned by a intermediate
functional or abstract component, e.g. <router-view>. Fix #6938 .
7 years ago
Evan You
6d6b3739e1
fix: should warn unknown components inside <keep-alive>
7 years ago
Robert Pemberton
1e146037fa
feat: warn if both v-model and v-bind:value used on same element ( #7056 )
* test($compile): warn if v-model and :value used on same text input
#7048
* test($compile): make v-model and v-bind:value warning apply to all but exceptions
#7048
* test($compile): move v-model/:value conflict warner to model.js
#7048
* style: split long warning messages onto new lines
7 years ago
Evan You
5db86b4e94
fix(ssr): ensure hydrated class & style bindings are reactive
fix #7063
7 years ago
Evan You
6b799190a5
test: add test case for #6687 + fix lingering comment node
7 years ago