Commit Graph

2732 Commits

Author SHA1 Message Date
Evan You
952d3b4b21 build: build 2.5.20 2018-12-10 11:57:01 -05:00
Herrington Darkholme
e06d2af276 fix(types): avoid this in VueConstructor signature (#9173)
https://github.com/vuejs/vue-class-component/issues/294#issuecomment-445526936
2018-12-10 11:53:56 -05:00
Evan You
628c1b7f5b build: release 2.5.19 2018-12-09 16:26:02 -05:00
Evan You
c38a81b84a build: build 2.5.19 2018-12-09 16:25:36 -05:00
Evan You
0d4b35f559 fix(vdom): remove unnecessary sameVnode condition
fix #9168
2018-12-09 16:21:22 -05:00
Evan You
5d721a42b1 revert: fix(sfc): avoid deindent when pad option is specified (#7647)
This reverts commit 9d2f9a034f.
2018-12-09 15:52:17 -05:00
Evan You
780dac561b fix(ssr): should not warn for custom directives that do not have ssr implementation
fix #9167
2018-12-09 15:47:43 -05:00
sqal
a89384c8d9 test(ssr): add basic directives test (#9166) 2018-12-09 15:42:20 -05:00
Evan You
dadc918c05 build: release 2.5.18 2018-12-07 16:09:08 -05:00
Evan You
eb81ec2131 build: build 2.5.18 2018-12-07 16:09:05 -05:00
Timur Kiyui
dfaf9e2436 fix(types): type support for advanced async components (#8438) 2018-12-05 18:00:56 -05:00
Evan You
8a2dbf5010 fix(transition-group): fix activeInstance regression
fix #9151
2018-12-05 17:33:39 -05:00
GU Yiling
0ed0aad772 fix: fix keyName checking for space and delete in IE11 (#9150)
fix #9112
2018-12-05 15:26:58 -05:00
Evan You
f077ed17af fix(ssr): fix ssr template publicPath generation
fix #9145
2018-12-05 11:22:27 -05:00
Evan You
93850f49e3 chore: fix sponsor link 2018-12-04 11:00:09 -05:00
Evan You
1b4a8a0c1e fix(compiler): fix codegen for v-for component inside template
fix #9142
2018-12-04 10:51:49 -05:00
Kael
448ba65d2b fix(types): correct scopedSlot types (#9131)
see #8946
2018-12-03 20:31:39 -05:00
Evan You
0d7fb73925 chore: update sponsors/backers [ci skip] 2018-12-03 15:02:02 -05:00
Evan You
e8031b4e68 build: release v2.5.18-beta.0 2018-12-02 16:13:36 -05:00
Evan You
fe194dd5d8 build: build v2.5.18-beta.0 2018-12-02 16:12:52 -05:00
ggtmtmgg
307835284a fix(ssr): resolve server directives the same as on client (#9129)
fix #8961
2018-12-02 16:01:19 -05:00
Haoqun Jiang
aca17b4064 ci: add regression test for popular libraries in Vue.js ecosystem (#8608) 2018-12-02 16:00:06 -05:00
Evan You
e4b1b57fd7 fix(ssr): adjust call stack size defer threshold
fix #8545
2018-12-02 12:31:16 -05:00
laoxiong
19c33a7e40 fix(v-on): correctly remove once listener (#8036)
fix #8032
2018-12-02 11:33:39 -05:00
Evan You
530ca1b2db fix(core): properly handle reused vnodes
This also removes the restrictions on rendering the same slot multiple
times.

close #7913
2018-12-01 21:07:18 -05:00
Evan You
097f6229df fix(core): avoid mutating original children when cloning vnode
The on-demand clone strategy introduced in 956756b mutates the owner
array of the cloned vnode. This causes the newly cloned vnode to be
destroyed when the parent node is destroyed. This is fixed by cloning
the children array when cloning a vnode.

fix #7975
2018-12-01 17:05:36 -05:00
Subhash
ef8524ab7d fix(compiler): wrap scoped slots v-if conditions in parens (#9119)
fix #9114
2018-12-01 00:33:59 -05:00
Husam Ibrahim
0b31647c41 chore: fix grammar in core/observer/index.js comments (#9116) 2018-12-01 00:29:37 -05:00
ysj16
0d62bb84ff fix: actually disable dep collection when invoking lifecycle hooks (#9095)
fix #9046
2018-12-01 00:24:30 -05:00
James George
b0ccb86183 chore: rephrase comment (#9100) 2018-12-01 00:23:58 -05:00
Mitar
b111de486b fix: make sure global state is restored in the case of an exception in macrotask callback (#9093) 2018-12-01 00:07:46 -05:00
sqal
33e669b22f fix(ssr): computed properties should pass vm as first argument in ssr (#9090)
fix #8977
2018-12-01 00:05:13 -05:00
Julian Rüth
f43ae6d151 chore(typo): fix typo (#9085) 2018-11-30 23:58:58 -05:00
Jay Fong
05e8bcfe5d fix: fix server env detection in wechat mini program (#9075) 2018-11-30 23:58:29 -05:00
Joseph Anglada
1129d18448 refactor: reduce if-else nesting, coalesce conditions (#9060) 2018-11-30 23:57:26 -05:00
hugoazevedosoares
97086f3658 fix(types): fix vm.$once argument type (#8995)
vm.$once should accept an event or array of events as first parameter.

fix #8983
2018-11-30 23:41:27 -05:00
thenickname
76443803e8 Typings: Improve $slots and $scopedSlots type to prevent unchecked access to undefined (#8946)
* fix(types): Declare $scopedSlots as potentially undefined to enable stricter TS checks

* fix(types): Fix tests

* fix(types): declare $slots option as potentially undefined

declare $slots option as potentially undefined to enable stricter TS checks
2018-11-30 23:31:45 -05:00
Kaoru Hagihara
3cd4af4af0 fix(types): support typing $el as SVGElement (#8809) 2018-11-30 23:30:31 -05:00
nel215
0ba79e2588 fix(types): accept number type as key on Vue.set/delete (#8707) (#8709) 2018-11-30 23:28:52 -05:00
st-sloth
ac217d2472 fix(types): fix renderErrorarguments type (#8636)
fix #8635
2018-11-30 23:28:29 -05:00
狼族小狈
c711ec189a fix(types): support chain call for Vue.use and Vue.mixin (#8595) 2018-11-30 23:27:24 -05:00
Alexey Tirman
613cb52bf3 polish: improve invalid method warning with type info (#8974)
close #8017
2018-11-30 18:06:24 -05:00
Kael
a7658e03a1 fix(data): skip recursive call if values are identical (#8967) 2018-11-30 18:04:05 -05:00
Jovino Xu
05001e695e fix(compiler): should keep newline after unary tags in <pre> (#8965)
fix #8950
2018-11-30 18:02:54 -05:00
Daniel Santana Rocha
2bb3199da7 polish: warn duplicate keys when patching children into empty node (#8881)
close #8832
2018-11-30 18:01:45 -05:00
GU Yiling
758524134e fix: v-bind object should be overridable with kebab-cased props (#8845)
In addition .sync should generate camelCased event name
2018-11-30 17:56:41 -05:00
Kael
80f17fa498 fix(core): skip mixins and extends if child is already merged (#8870)
fix #8865
2018-11-30 17:54:16 -05:00
Sultan Iman
374861f72b refactor: remove redundant ternary (#8848) 2018-11-30 17:38:09 -05:00
Evan You
e29fbad0ac chore: fix lint 2018-11-30 17:37:30 -05:00
Matt Lavallee
2e472c5e5e fix(component): clean up memory leak after loading async component completes (fix #8740) (#8755)
* fix(component): clean up memory leak after loading async component completes

* fix(async component): accounting for async components with loading property

* refactor(component): simplifying memory cleanup logic
2018-11-30 17:36:08 -05:00