Evan You
52f9d3f492
build: upgrade webpack & karma
6 years ago
Vikram Rangaraj
12e8efc2e7
workflow: upgraded to babel 7 ( #8948 )
6 years ago
Evan You
6b1d431a89
Revert "perf: avoid unnecessary re-renders when computed property value did not change ( #7824 )"
This reverts commit 653aac2c57
.
6 years ago
Tim
d280937045
test(e2e): trigger click on .new-todo instead of footer ( #7938 )
6 years ago
Haoqun Jiang
c21b89ebed
fix(ssr): fix double escaping of staticClass values ( #7859 ) ( #8037 )
6 years ago
Yuriy Alekseyev
59860b0a75
refactor: make the warning messages more explicit ( close #7764 ) ( #7881 )
6 years ago
Edd Yerburgh
c94482743c
feat: add async option ( #8240 )
This is an option intended only for testing purposes, and should not be used in
application code.
6 years ago
Evan You
3d36a443c7
fix: fix potential xss vulnerability in ssr when using v-bind
6 years ago
Zhenfei You
62265035c0
feat(weex): support object syntax of class ( #7930 )
7 years ago
Evan You
f148077437
chore: format
7 years ago
Evan You
653aac2c57
perf: avoid unnecessary re-renders when computed property value did not change ( #7824 )
close #7767
7 years ago
Evan You
b7445a2b94
fix: beforeUpdate should be called before render and allow state mutation ( #7822 )
fix #7481
7 years ago
Evan You
de42278d34
fix: ensure init/prepatch hooks are still repsected
this address a regression introduced in 984927a which
causes vue-router#1338 to resurface.
7 years ago
dherman
7b387390aa
fix: correct the `has` implementation in the `_renderProxy` ( #7878 )
It's feasible that someone might ask if something other than a string is
in the proxy such as a `Symbol` that lacks a `charAt` method. This aligns
the implementation with the `getHandler`.
7 years ago
Evan You
62a922e865
fix: fix wrongly matched named slots in functional components
This is a subtle edge case caused when a stateful component triggers
a self re-render, which reuses cached slot nodes. The cached slot
nodes, if returned from a functional render fn, gets the fnContext
property which causes subsequent slot resolving to not function
properly. To fix this, nodes returned from functional components
need to be cloned before getting assigned fnContext.
fix #7817
7 years ago
Piotr Kaminski
9084747e30
fix(core): Make set/delete warning condition for undefined, null and ( #7818 )
primitive values more precise. Corrects #7452
7 years ago
leon
1a979c44d6
fix(ssr): fix v-show inline style rendering when style binding is array ( #7814 )
fix #7813
7 years ago
Hiroki Osame
a6169d1eb7
fix(model): fix static input type being overwritten by v-bind object ( #7819 )
fix #7811
7 years ago
Evan You
6dd73e9ee4
fix: named slots for nested functional components
Named slots should be respecred when passing raw children down multiple
layers of functional components.
fix #7710
7 years ago
Evan You
215f877d1b
fix(keep-alive): run prune after render for correct active component check
fix #7566
7 years ago
Evan You
984927a1a9
fix: fix regression on duplicate component init when using shared data objects
fix #7805
7 years ago
Evan You
882e7199fd
fix(ssr): fix SSR for async functional components
fix #7784
7 years ago
JK
666cdbd71e
test(vdom): add test case for #7786 ( #7793 )
7 years ago
Evan You
71b4b25375
fix: allow multiline expression in v-for
fix #7792
7 years ago
Evan You
81e1e47cab
fix: respect type order when boolean casting multi-typed props
fix #7485
7 years ago
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
Evan You
9b22d86ab3
fix: install ssr helpers for functional context during SSR
close #7443 , ref nuxt/nuxt.js#2565
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
Hanks
d6200d7026
feat(weex): update weex recycle-list compiler ( #7610 )
+ Support v-once
+ Generate @templateId on the root element of each component
+ Add binding-expression attribute on recycle-list
+ Fix the compile result of v-else-if and v-else
7 years ago
Hanks
990374bacb
feat(weex): support sending style sheets and class list to native ( #7530 )
No longer manage style sheets and class list in vue and weex-js-runtime.
Refer to https://github.com/Hanks10100/weex-native-directive/issues/14
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
Hanks
ff8fcd2e2b
feat(weex): support parse object literal in binding attrs and styles ( #7291 )
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