[changelog] 1.5.0

This commit is contained in:
陈嘉涵
2018-12-22 12:23:29 +08:00
parent 64590e7c17
commit 4bc19cdec1
2 changed files with 55 additions and 49 deletions
+25 -22
View File
@@ -1,23 +1,16 @@
## Changelog
## [v1.5.0-beta2](https://github.com/youzan/vant/tree/v1.5.0-beta2)
`2018-12-18`
## [v1.5.0](https://github.com/youzan/vant/tree/v1.5.0)
`2018-12-22`
**Bug Fixes**
**Breaking changes**
- fix icon.less compile error when custom style [\#2325](https://github.com/youzan/vant/pull/2325)为
- fix Tab should only set overflow when use animated prop [\#2322](https://github.com/youzan/vant/pull/2322)
- fix Field text color [\#2323](https://github.com/youzan/vant/pull/2323)
- fix Swipe indicator color [\#2324](https://github.com/youzan/vant/pull/2324)
- fix Radio unchecked icon name [\#2321](https://github.com/youzan/vant/pull/2321)
In version 1.5.0, we unified the icon specification and redrawed all the icons, adding about 100 new icons. For the same icon, we will provide two styles of `outlined` and `filled`.
<img width="375" height="124" src="//img.yzcdn.cn/vant/icon-style-1222.png">
## [v1.5.0-beta](https://github.com/youzan/vant/tree/v1.5.0-beta)
`2018-12-17`
At the same time, we also made some adjustments to the original icons
**Icon Breaking changes**
- repaint all icons, add 100 new icons
- remove edit-data
- remove pending-deliver
- remove pending-evaluate
@@ -34,25 +27,31 @@
- rename pending-orders to orders-o
- rename gift-card-pay to gift-card
Also we have optimized the UI of the following components:
- Cell
- Card
- Checkbox
- Collapse
- Tab
- Toast
- Switch
- Swipe
- TreeSelect
**Improvements**
- support tag/attribute auto-completion via the vetur plugin [\#2261](https://github.com/youzan/vant/pull/2261)
- support use component by PascalCase tag name [\#2296](https://github.com/youzan/vant/pull/2296)
- Tab: add ellipsis prop [\#2299](https://github.com/youzan/vant/pull/2299)
- Tab: add line-height prop [\#2357](https://github.com/youzan/vant/pull/2357)
- Tag: add text-color prop [\#2277](https://github.com/youzan/vant/pull/2277)
- Card: add lazy-load prop [\#2301](https://github.com/youzan/vant/pull/2301)
- Card: update style [\#2307](https://github.com/youzan/vant/pull/2307) [\#2313](https://github.com/youzan/vant/pull/2313)
- Cell: update style [\#2311](https://github.com/youzan/vant/pull/2311) [\#2312](https://github.com/youzan/vant/pull/2312)
- Coupon: add currency prop [\#2274](https://github.com/youzan/vant/pull/2274) [\#2256](https://github.com/youzan/vant/pull/2256)
- Collapse: update style [\#2275](https://github.com/youzan/vant/pull/2275)
- Checkbox: update style [\#2260](https://github.com/youzan/vant/pull/2260)
- Dialog: add message-align prop [\#2259](https://github.com/youzan/vant/pull/2259)
- Stepper: add async-change prop [\#2318](https://github.com/youzan/vant/pull/2318)
- Switch: update style [\#2242](https://github.com/youzan/vant/pull/2242)
- SwitchCell: add active-color、inactive-color prop [\#2273](https://github.com/youzan/vant/pull/2273)
- NoticeBar: support use built-in icon [\#2305](https://github.com/youzan/vant/pull/2305)
- Tab: add ellipsis prop [\#2299](https://github.com/youzan/vant/pull/2299)
- Tag: add text-color prop [\#2277](https://github.com/youzan/vant/pull/2277)
- Toast: update icon size [\#2241](https://github.com/youzan/vant/pull/2241)
- TreeSelect: update style [\#2308](https://github.com/youzan/vant/pull/2308)
- TreeSelect: support disable nav item [\#2308](https://github.com/youzan/vant/pull/2308)
**Bug Fixes**
@@ -62,8 +61,12 @@
- fix Field cut off charactor input when use maxlength [\#2295](https://github.com/youzan/vant/pull/2295)
- fix Swipe not re-initialize when inside keep-alive component [\#2297](https://github.com/youzan/vant/pull/2297)
- fix Swipe cause error in some cases [\#2253](https://github.com/youzan/vant/pull/2253)
- fix Swipe transitionend event bubble [\#2355](https://github.com/youzan/vant/pull/2355)
- fix Tab display error when use animated prop [\#2238](https://github.com/youzan/vant/pull/2238)
- fix Tab incorrect initial line color when use color prop [\#2344](https://github.com/youzan/vant/pull/2344)
- fix Tab log error when all tab disabled [\#2356](https://github.com/youzan/vant/pull/2356)
- fix Tabbar update info position [\#2257](https://github.com/youzan/vant/pull/2257)
- fix Toast missing clear method type definition [\#2354](https://github.com/youzan/vant/pull/2354)
- fix compile failure in node 10 [\#2251](https://github.com/youzan/vant/pull/2251)
- fix compile failure in windows [\#2229](https://github.com/youzan/vant/pull/2229)