Commit Graph

2678 Commits

Author SHA1 Message Date
Evan You
7b7164c11c fix(v-model): avoid duplicate model transforms
This happens when a component directly passes down its own data object
to a child component. Fix #8436.
2018-11-29 18:11:20 -05:00
william-pan
69730fac8f chore: update badge for Vue CLI 3 (#8640) 2018-11-29 16:37:01 -05:00
Evan You
6cc070063b chore: update sponsors 2018-11-26 09:51:30 -05:00
Evan You
1762a66204 chore: update sponsors 2018-11-19 00:22:21 -05:00
Evan You
3d220a65de chore: update sponsors 2018-11-12 22:03:20 -05:00
Evan You
0008e0c5cf chore: update sponsors 2018-11-09 14:55:41 -05:00
X.L
d483a49c86 fix(compiler): normalize potential functional component children in v-for (#8558)
fix #8468
2018-10-24 14:02:45 -04:00
Phablulo Joel
59d4351ad8 fix(transition): handle local-formatted floats in toMs function. (#8495)
fix #4894
2018-10-24 13:58:25 -04:00
阿林
8c2674ea6a refactor: remove unnecessary judgment (#8493) 2018-10-24 13:56:02 -04:00
HcySunYang
eb604529c6 fix: support modifier combination of click.right + .once (#8492) 2018-10-24 13:55:33 -04:00
Evan You
002acbe678 refactor(codegen): only generate pre data for possible components 2018-10-24 13:52:35 -04:00
Haoqun Jiang
0b16927c9d fix(transition): check existence of el.parentNode (#8422)
fix #8199

* fix(transition): check existence of `el.parentNode`

If the new parentNode gets a `textContent` or `innerHTML` property during
patching, the `transition` node would have been detached early, which means
`el.parentNode` no longer exists.

* fix(vdom): should not reuse nodes with `textContent` / `innerHTML` props
2018-10-24 13:26:20 -04:00
Haoqun Jiang
8f04135dba fix(parser): allow CRLFs in string interpolations (#8408)
fix #8103
2018-10-24 13:24:55 -04:00
Haoqun Jiang
a64ff1957c fix(lifecycle): updated should not be called after component being destroyed (#8381)
fix #8076
2018-10-24 13:24:31 -04:00
Haoqun Jiang
a71853bfc5 fix(v-pre): skip compiling custom component tags in v-pre blocks (fix #8286) (#8376) 2018-10-24 13:24:07 -04:00
Vladimir Verstov
504d5da7ef fix(transition): transition-group should only listen for first-level children's end events (#8374) 2018-10-24 13:23:12 -04:00
淼淼真人
96b833bc5d refactor: remove unnecessary code in html-parser.js (#8359) 2018-10-24 13:22:16 -04:00
X.L
6eaf56e28d refactor: keep single source of truth (#8334) 2018-10-24 13:21:14 -04:00
Sam Lichlyter
5489339a30 refactor(core): Replace "var" (#8299)
Replaces instances of "var" with "let" and "const" where applicable using the eslint 'no-var' and
'prefer-const' rules
2018-10-24 13:07:40 -04:00
Alex Ivasyuv
5cfdf1a248 fix: handle undefined style properties in jsdom (fix #7444) (#8281) 2018-10-24 13:06:17 -04:00
yongningfu
038ed86967 polish(compiler): remove the extra space of v-for alias (#8233) 2018-10-24 13:05:48 -04:00
Kael
bfd722bb5d types: add refInFor to VNodeData (#8229) 2018-10-24 13:05:15 -04:00
Eduardo San Martin Morote
952ae33290 polish: warn when an existing property starting with $ is not pro… (#8214) 2018-10-24 13:04:56 -04:00
Eduardo San Martin Morote
496635e7c9 types: add model option to functional components (#8212)
Closes #8210
2018-10-24 13:03:48 -04:00
Zev Goldstein
bf2e2ed159 types: allow functional components to return multiple VNodes (#8192)
close #8191
2018-10-24 13:03:29 -04:00
Herrington Darkholme
46b8d2c59d fix(server): use path.posix.join to generate public path (#8177)
fix #8167
2018-10-24 13:02:11 -04:00
Kevin Ball
ecac831691 fix(compiler): templates inside v-pre should be rendered to HTML (#8146)
close #8041
2018-10-24 13:01:29 -04:00
DongGyu Lee
61c32cc673 Fix: block unnecessary input event on input tag placeholder in IE (#8140) 2018-10-24 13:01:02 -04:00
Evan You
e9fc04ba50 test: fix assertion 2018-10-24 12:58:21 -04:00
Jovino Xu
aef2a5f3db fix(compiler): maybeComponent should return true when "is" attribute exists (#8114)
close #8101
2018-10-24 12:50:42 -04:00
xudaashuai
f5b5b3c96f chore: use template strings in config.js (#8113) 2018-10-24 12:48:58 -04:00
Eduardo San Martin Morote
ecc239e475 fix(for): use IE compatible regex in v-for regex (#8048)
Closes #7946
2018-10-24 12:48:07 -04:00
Yuhang Liu
1b69cbde74 refactor: add empty v-bind warning(re #7973) (#7988)
* refactor: add empty v-bind warnings

re #7973

* Update index.js
2018-10-24 12:46:38 -04:00
Eduardo San Martin Morote
db7287c23b fix(shared): check dates in looseEqual (#7940)
Fix #7928
thanks to @w3cj for the initial version. This one is using getTime instead of toUTCString because it
is much faster to compare
2018-10-24 12:45:06 -04:00
Evan You
7597bb06e0 test: fix ssr tests 2018-10-24 12:42:53 -04:00
katashin
9d2f9a034f fix(sfc): avoid deindent when pad option is specified (#7647) 2018-10-24 12:10:58 -04:00
Evan You
76fd45c9fd build: upgrade eslint and use only non-stylistic rules 2018-10-24 12:08:32 -04:00
Evan You
980801c8a3 build: use terser instead of uglify 2018-10-24 10:50:37 -04:00
Evan You
eeb752f6b6 build: upgrade typescript 2018-10-24 10:44:05 -04:00
Evan You
52f9d3f492 build: upgrade webpack & karma 2018-10-24 10:41:38 -04:00
Evan You
b273bf7a95 build: upgrade rollup 2018-10-23 18:45:59 -04:00
Vikram Rangaraj
12e8efc2e7 workflow: upgraded to babel 7 (#8948) 2018-10-23 18:40:55 -04:00
Manoel
93d1f5f8d6 chore: add extension to .eslintrc (#8904) 2018-10-23 18:22:19 -04:00
宋铄运
265dd45778 refactor(class-util): cache whitespace regex (#8743) 2018-10-23 16:54:35 -04:00
JJJ
4f111f9225 refactor: empty function replace to noop (#8791) 2018-10-23 16:52:02 -04:00
Clark Du
390ff8ede8 refactor: add missing else in genNode (#8600) 2018-10-23 16:26:20 -04:00
宋铄运
88f687cb26 refactor(transition): replace nested closure with static ones (#8547) 2018-10-23 16:01:29 -04:00
Sagir Khan
af819a07dd refactor(shared-utils): Improve readability and consistency in code comments (#8529)
Improvements that apply to all comments:
- Consistent use of periods
- Consistent use of commas
- Consistent capitalization
- Correct use of articles (a, an, the)

Improvements to specific comments:
- Correct pluralization in the description for helper functions
- Reword for clarity and break into shorter sentences the description
for `polyfillBind` function
- Reword for clarity the description for `genStaticKeys` function
- Add a previously missing description for `looseIndexOf` function

Fixes: https://github.com/vuejs/vue/issues/8528
2018-10-23 15:53:47 -04:00
sqal
5e912976c4 chore: update reference to already defined variable (#8518) 2018-10-23 15:52:44 -04:00
msrahman07
7ae1f4e0b5 chore: tweak description (#8509) 2018-10-23 15:52:19 -04:00