From 6c42548d630989b847e026fd24262cf7431f76d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Mon, 4 Feb 2019 14:07:54 +0800 Subject: [PATCH] [changelog] 1.6.0 --- docs/markdown/changelog.en-US.md | 28 ++++++++++++++++++++++++++++ docs/markdown/changelog.zh-CN.md | 28 ++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/docs/markdown/changelog.en-US.md b/docs/markdown/changelog.en-US.md index 069da56d1..cbe7d1748 100644 --- a/docs/markdown/changelog.en-US.md +++ b/docs/markdown/changelog.en-US.md @@ -1,5 +1,33 @@ ## Changelog +## [v1.6.0](https://github.com/youzan/vant/tree/v1.6.0) +`2019-02-04` + +**Breaking changes** + +- Radio: refactored, now has the same stuct as Checkbox [\#2651](https://github.com/youzan/vant/pull/2651) + +**Improvements** + +- Use JSX to rewrite all components +- Transform part components to functional for better performance +- Card: add tag slot [\#2636](https://github.com/youzan/vant/pull/2636) +- Icon: add weapp-nav icon [\#2682](https://github.com/youzan/vant/pull/2682) +- Radio: add icon slot [\#2651](https://github.com/youzan/vant/pull/2651) +- Radio: add shape prop [\#2651](https://github.com/youzan/vant/pull/2651) +- Toast: add className prop [\#2680](https://github.com/youzan/vant/pull/2680) +- Notify: add className prop [\#2681](https://github.com/youzan/vant/pull/2681) +- Popup: add open/close event [\#2649](https://github.com/youzan/vant/pull/2649) +- Popup: add opened/closed event [\#2650](https://github.com/youzan/vant/pull/2650) + +**Bug Fixes** + +- fix ContactList button position [\#2634](https://github.com/youzan/vant/pull/2634) +- fix Toast clear in multiple mode [\#2635](https://github.com/youzan/vant/pull/2635) +- fix SwipeCell maximum left offset [\#2633](https://github.com/youzan/vant/pull/2633) +- fix Popup get-container error when destoryed [\#2679](https://github.com/youzan/vant/pull/2679) + + ## [v1.5.7](https://github.com/youzan/vant/tree/v1.5.7) `2019-01-24` diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md index 9f0e2854b..71cea6139 100644 --- a/docs/markdown/changelog.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -1,5 +1,33 @@ ## 更新日志 +## [v1.6.0](https://github.com/youzan/vant/tree/v1.6.0) +`2019-02-04` + +**Breaking changes** + +- Radio: 重写了组件结构,现在提供和 Checkbox 一致的 UI 和 DOM 结构 [\#2651](https://github.com/youzan/vant/pull/2651) + +**Improvements** + +- 使用 JSX 重写了所有组件 +- 部分组件现在是函数式组件了,渲染性能更佳 +- Card: 新增 tag 插槽 [\#2636](https://github.com/youzan/vant/pull/2636) +- Radio: 新增 icon 插槽 [\#2651](https://github.com/youzan/vant/pull/2651) +- Radio: 新增 shape 属性 [\#2651](https://github.com/youzan/vant/pull/2651) +- Icon: 新增 weapp-nav 图标 [\#2682](https://github.com/youzan/vant/pull/2682) +- Toast: 新增 className 属性 [\#2680](https://github.com/youzan/vant/pull/2680) +- Notify: 新增 className 属性 [\#2681](https://github.com/youzan/vant/pull/2681) +- Popup: 新增 open/close 事件 [\#2649](https://github.com/youzan/vant/pull/2649) +- Popup: 新增 opened/closed 事件 [\#2650](https://github.com/youzan/vant/pull/2650) + +**Bug Fixes** + +- 修复 SwipeCell 左侧内容滑动距离过大的问题 [\#2633](https://github.com/youzan/vant/pull/2633) +- 修复 ContactList 列表内容较多时按钮位置错误的问题 [\#2634](https://github.com/youzan/vant/pull/2634) +- 修复 Toast clear 方法在 multiple 模式下可能报错的问题 [\#2635](https://github.com/youzan/vant/pull/2635) +- 修复 Popup 使用 get-container 属性后销毁时可能报错的问题 [\#2679](https://github.com/youzan/vant/pull/2679) + + ## [v1.5.7](https://github.com/youzan/vant/tree/v1.5.7) `2019-01-24`