diff --git a/README.md b/README.md
index e68ca30a5..a0f49455a 100644
--- a/README.md
+++ b/README.md
@@ -82,6 +82,7 @@ Modern browsers and Android 4.0+, iOS 8.0+.
- [Documentation](https://youzan.github.io/vant)
- [Changelog](https://youzan.github.io/vant#/en-US/changelog)
+- [Gitter](https://gitter.im/vant-contrib/discuss?utm_source=share-link&utm_medium=link&utm_campaign=share-link)
## Preview
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 8b4179d5f..13f655aa4 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -95,6 +95,7 @@ vant 也支持按需引入、CDN 引入等方式,详细说明见 [快速上手
- [详细文档](https://youzan.github.io/vant)
- [更新日志](https://youzan.github.io/vant#/zh-CN/changelog)
- [码云镜像](https://gitee.com/organizations/vant-contrib)
+- [Gitter 讨论组](https://gitter.im/vant-contrib/discuss?utm_source=share-link&utm_medium=link&utm_campaign=share-link)
## 手机预览
diff --git a/docs/markdown/changelog.en-US.md b/docs/markdown/changelog.en-US.md
index b51645c41..e1dcd9be3 100644
--- a/docs/markdown/changelog.en-US.md
+++ b/docs/markdown/changelog.en-US.md
@@ -10,6 +10,177 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
- Minor version:released every one to two months, including backwards compatible features.
- Major version:including breaking changes and new features.
+### [v2.8.4](https://github.com/youzan/vant/compare/v2.8.3...v2.8.4)
+
+`2020-05-28`
+
+**Feature**
+
+- AddressList: add safe-area-inset-bottom [#6355](https://github.com/youzan/vant/issues/6355)
+- DatetimePicker: add month-day type [#6395](https://github.com/youzan/vant/issues/6395)
+- Popup: create overlay for every popup [#6357](https://github.com/youzan/vant/issues/6357)
+
+**style**
+
+- ActionSheet: adjust subname color to gray-6 [e54c11](https://github.com/youzan/vant/commit/e54c11d55244e65246df7eddd7751983dbc4d331)
+- ActionSheet: remove option border [8db218](https://github.com/youzan/vant/commit/8db218e9c0ca6905491a019cf983a0269f3aea8c)
+- Cell: lower CSS priority of the border [#6359](https://github.com/youzan/vant/issues/6359)
+- Collapse: adjust border gag [#6361](https://github.com/youzan/vant/issues/6361)
+- Collapse: increase content font-size to 14px [#6358](https://github.com/youzan/vant/issues/6358)
+
+**Bug Fixes**
+
+- Area: use first city code when county list is empty [#6356](https://github.com/youzan/vant/issues/6356)
+- Field: can not disable error in form [#6382](https://github.com/youzan/vant/issues/6382)
+- GoodsAction: incorrect single button radius [#6347](https://github.com/youzan/vant/issues/6347)
+- Sidebar: should emit change when v-model changed [#6383](https://github.com/youzan/vant/issues/6383)
+
+### [v2.8.3](https://github.com/youzan/vant/compare/v2.8.2...v2.8.3)
+
+`2020-05-21`
+
+**Feature**
+
+- Form: add submit-on-enter prop [#6336](https://github.com/youzan/vant/issues/6336)
+- Form: scrollToField can scroll to bottom [#6335](https://github.com/youzan/vant/issues/6335)
+- Field: adjust field placeholder color to gray-5 [#6304](https://github.com/youzan/vant/issues/6304)
+- Field: minus can only be placed on the first char [#6303](https://github.com/youzan/vant/issues/6303)
+- Picker: improve method type, support generic [#6315](https://github.com/youzan/vant/issues/6315)
+
+**Bug Fixes**
+
+- Button: text not align center in legacy safari [#6325](https://github.com/youzan/vant/issues/6325)
+- Calendar: color prop not work when use allow-some-day [#6331](https://github.com/youzan/vant/issues/6331)
+
+### [v2.8.2](https://github.com/youzan/vant/compare/v2.8.1...v2.8.2)
+
+`2020-05-17`
+
+**Feature**
+
+- Field: add extra slot [#6290](https://github.com/youzan/vant/issues/6290)
+- Grid: add direction prop [#6256](https://github.com/youzan/vant/issues/6256)
+- Calendar: add month-show event [#6292](https://github.com/youzan/vant/issues/6292)
+- NumberKeyboard: support multiple extra key [#6276](https://github.com/youzan/vant/issues/6276)
+- Stepper: add theme prop [#6282](https://github.com/youzan/vant/issues/6282)
+
+**style**
+
+- Rate: update rate disabled color [#6253](https://github.com/youzan/vant/issues/6253)
+- Sku: adjust border alignment [#6272](https://github.com/youzan/vant/issues/6272)
+- Sku: currency symbol should align to bottom [#6274](https://github.com/youzan/vant/issues/6274)
+- NoticeBar: increase icon min-width to 24px [#6280](https://github.com/youzan/vant/issues/6280)
+
+**Bug Fixes**
+
+- Field: textarea line break failed on enter [#6263](https://github.com/youzan/vant/issues/6263)
+- NoticeBar: replay event only triggered once [#6293](https://github.com/youzan/vant/issues/6293)
+
+### [v2.8.1](https://github.com/youzan/vant/compare/v2.8.1-beta.0...v2.8.1)
+
+`2020-05-09`
+
+**Feature**
+
+- Calendar: add lazy-render prop [#6245](https://github.com/youzan/vant/issues/6245)
+- Field: add click-input event [#6239](https://github.com/youzan/vant/issues/6239)
+- Sku: add sku-reset event [#6220](https://github.com/youzan/vant/issues/6220)
+- GoodsActionButton: improve test size adjust [b1dcf3](https://github.com/youzan/vant/commit/b1dcf36263ae7a19197f2c162e67f220dd171047)
+
+**Bug Fixes**
+
+- Button: text should align center [8c53db](https://github.com/youzan/vant/commit/8c53db040dd0dfff60eca1ac284d98f13b4e4ce6)
+- Field: should not submit form on enter [#6240](https://github.com/youzan/vant/issues/6240)
+- Step: active-color should effect circle [#6229](https://github.com/youzan/vant/issues/6229)
+- Stepper: incorrect value when format minus value [#6238](https://github.com/youzan/vant/issues/6238)
+- Stepper: should not display NaN [7327a4](https://github.com/youzan/vant/commit/7327a481d18271393e25b17d4402dad6d336bb3a)
+- Stepper: should not emit focus when input is readonly [c6024b](https://github.com/youzan/vant/commit/c6024b18b4191a3a56db0bed1ababa48420c0946)
+
+### [v2.8.0](https://github.com/youzan/vant/compare/v2.7.1...v2.8.0)
+
+`2020-05-05`
+
+**style**
+
+- Button: use flex layout [#6180](https://github.com/youzan/vant/issues/6180)
+- ActionSheet: improve text size adjust [#6175](https://github.com/youzan/vant/issues/6175)
+- NavBar: improve text size adjust [7effb7](https://github.com/youzan/vant/commit/7effb7cf6cf59a8db1eb77fa16692712de4a18ba)
+- NoticeBar: improve text size adjust [#6177](https://github.com/youzan/vant/issues/6177)
+- NumberKeyboard: improve text size adjust [#6179](https://github.com/youzan/vant/issues/6179)
+- Pagination: improve text size adjust [#6178](https://github.com/youzan/vant/issues/6178)
+- PasswordInput: improve text size adjust [#6176](https://github.com/youzan/vant/issues/6176)
+- Picker: improve text size adjust [#6174](https://github.com/youzan/vant/issues/6174) [#6205](https://github.com/youzan/vant/issues/6205)
+- Picker: update action button color [#6214](https://github.com/youzan/vant/issues/6214)
+- Tab: improve text size adjust [#6209](https://github.com/youzan/vant/issues/6209)
+- CouponList: add @coupon-list-close-button-height less var [18a0c5](https://github.com/youzan/vant/commit/18a0c545ec881eb296ba6cc11dfaa12febd79e5c)
+
+**Feature**
+
+- Calendar: add unselect event [#6198](https://github.com/youzan/vant/issues/6198)
+- Calendar: support max-range when type is multiple [#6202](https://github.com/youzan/vant/issues/6202)
+- Field: add colon prop [#6195](https://github.com/youzan/vant/issues/6195)
+- Locale: adding Romanian language support [#6193](https://github.com/youzan/vant/issues/6193)
+- ShareSheet: improve accessibility [#6208](https://github.com/youzan/vant/issues/6208)
+
+**Bug Fixes**
+
+- Checkbox: incorrect icon position after font-size scale [#6168](https://github.com/youzan/vant/issues/6168)
+- Layout: gutter calculation [#6197](https://github.com/youzan/vant/issues/6197) [#6143](https://github.com/youzan/vant/issues/6143)
+- NoticeBar: allow dynamic setting of scrollable [#6190](https://github.com/youzan/vant/issues/6190)
+- Radio: incorrect icon position after font-size scale [#6173](https://github.com/youzan/vant/issues/6173)
+- ShareSheet: incorrect scrollbar height in some browsers [#6207](https://github.com/youzan/vant/issues/6207)
+- Tab: fix ellipsis issue [#6209](https://github.com/youzan/vant/issues/6209)
+
+### [v2.7.1](https://github.com/youzan/vant/compare/v2.7.0...v2.7.1)
+
+`2020-04-28`
+
+**Bug Fixes**
+
+- Revert "style(NavBar): left & right part align to bottom (#6147)" [#6147](https://github.com/youzan/vant/issues/6147)
+
+### [v2.7.0](https://github.com/youzan/vant/compare/v2.6.3...v2.7.0)
+
+`2020-04-28`
+
+**style**
+
+- NumberKeyboard: new style [3188b4](https://github.com/youzan/vant/commit/3188b4d25bb6e60ed5de930ec8947929a7577dd3) [#6149](https://github.com/youzan/vant/issues/6149) [#6151](https://github.com/youzan/vant/issues/6151)
+
+
+
+- add base-font-family [#6126](https://github.com/youzan/vant/issues/6126)
+- DropdownMenu: add box-shadow style [7db744](https://github.com/youzan/vant/commit/7db74490956ec9d4c742a885e436dc6915f1f9dc)
+- NavBar: left & right part align to bottom [#6147](https://github.com/youzan/vant/issues/6147)
+- Sidebar: add less vars [e1a7c6](https://github.com/youzan/vant/commit/e1a7c6668de0b7da58028210e174c9156e87bea2)
+- Sidebar: update border style [a31032](https://github.com/youzan/vant/commit/a31032e0d63956b2e9f0c75c8a85ca662fe42545)
+- Toast: increase border-radius to 8px [2364c4](https://github.com/youzan/vant/commit/2364c4f526912433abf5ee2f36e2148beea7140b)
+- TreeSelect: change checked icon to success icon [5b72e4](https://github.com/youzan/vant/commit/5b72e4339347a710620bf630f1bc8ee09511d63c)
+
+**Feature**
+
+- NoticeBar: add start method [#6069](https://github.com/youzan/vant/issues/6069)
+- ImagePreview: adjust double-click interval to 250ms [#6136](https://github.com/youzan/vant/issues/6136)
+- NumberKeyboard: add collapse icon [#6152](https://github.com/youzan/vant/issues/6152)
+- NumberKeyboard: add close-button-loading prop [#6158](https://github.com/youzan/vant/issues/6158)
+
+**Bug Fixes**
+
+- Layout: outside of the screen after setting gutter [#6143](https://github.com/youzan/vant/issues/6143)
+- Tab: incorrect vnode order in some cases [#6140](https://github.com/youzan/vant/issues/6140)
+- uploader: automatically filter files exceeding the max-size [#6150](https://github.com/youzan/vant/issues/6150)
+- Uploader: file message should be reactive [#6142](https://github.com/youzan/vant/issues/6142)
+- types: VanComponent should extends Vue [#6148](https://github.com/youzan/vant/issues/6148)
+
+### [v2.6.3](https://github.com/youzan/vant/compare/v2.6.2...v2.6.3)
+
+`2020-04-20`
+
+**Bug Fixes**
+
+- Tab: fail to init in some cases [#6101](https://github.com/youzan/vant/issues/6101)
+- sort vnode not work [#6100](https://github.com/youzan/vant/issues/6100)
+
### [v2.6.2](https://github.com/youzan/vant/compare/v2.6.1...v2.6.2)
`2020-04-18`
diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md
index c94404eb2..f55d78bb7 100644
--- a/docs/markdown/changelog.zh-CN.md
+++ b/docs/markdown/changelog.zh-CN.md
@@ -10,6 +10,181 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。
- 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。
+### [v2.8.4](https://github.com/youzan/vant/compare/v2.8.3...v2.8.4)
+
+`2020-05-28`
+
+**Feature**
+
+- AddressList: 增加底部安全区适配 [#6355](https://github.com/youzan/vant/issues/6355)
+- DatetimePicker: 新增 month-day 类型,用于选择月份和日期 [#6395](https://github.com/youzan/vant/issues/6395)
+- Popup: 现在每个弹层会单独创建一个遮罩层,而不是共用一个遮罩层 [#6357](https://github.com/youzan/vant/issues/6357)
+
+**style**
+
+- ActionSheet: subname 的颜色调整为 gray-6 [e54c11](https://github.com/youzan/vant/commit/e54c11d55244e65246df7eddd7751983dbc4d331)
+- ActionSheet: 移除选项之间的分隔线 [8db218](https://github.com/youzan/vant/commit/8db218e9c0ca6905491a019cf983a0269f3aea8c)
+- Cell: 降低边框选择器的 CSS 优先级,便于覆盖样式 [#6359](https://github.com/youzan/vant/issues/6359)
+- Collapse: 调整边框与左右两侧的边距 [#6361](https://github.com/youzan/vant/issues/6361)
+- Collapse: 内容的字号增大为 14px [#6358](https://github.com/youzan/vant/issues/6358)
+
+**Bug Fixes**
+
+- Area: 修复区列表为空时未默认选中第一个城市的问题 [#6356](https://github.com/youzan/vant/issues/6356)
+- Field: 修复设置 error 为 false 无法禁用错误提示颜色的问题 [#6382](https://github.com/youzan/vant/issues/6382)
+- GoodsAction: 修复只有一个按钮时圆角大小错误的问题 [#6347](https://github.com/youzan/vant/issues/6347)
+- Sidebar: 修复 v-model 绑定的值变化时不会触发 change 事件的问题 [#6383](https://github.com/youzan/vant/issues/6383)
+
+### [v2.8.3](https://github.com/youzan/vant/compare/v2.8.2...v2.8.3)
+
+`2020-05-21`
+
+**Feature**
+
+- Form: 新增 submit-on-enter 属性,用于控制回车时是否提交表单 [#6336](https://github.com/youzan/vant/issues/6336)
+- Form: 优化 scrollToField 方法,支持通过传参来控制滚动位置 [#6335](https://github.com/youzan/vant/issues/6335)
+- Field: 调整 placeholder 的色值为 @gray-5 [#6304](https://github.com/youzan/vant/issues/6304)
+- Field: 使用 digit 类型时,只能在第一位输入减号 [#6303](https://github.com/youzan/vant/issues/6303)
+- Picker: 优化 methods 的类型定义,支持泛型 [#6315](https://github.com/youzan/vant/issues/6315)
+
+**Bug Fixes**
+
+- Button: 修复在低版本 iOS 下按钮文字不居中的问题 [#6325](https://github.com/youzan/vant/issues/6325)
+- Calendar: 修复范围选择到同一天时 color 属性不生效的问题 [#6331](https://github.com/youzan/vant/issues/6331)
+
+### [v2.8.2](https://github.com/youzan/vant/compare/v2.8.1...v2.8.2)
+
+`2020-05-17`
+
+**Feature**
+
+- Field: 新增 extra 插槽 [#6290](https://github.com/youzan/vant/issues/6290)
+- Grid: 新增 direction 属性 [#6256](https://github.com/youzan/vant/issues/6256)
+- Calendar: 新增 month-show 事件 [#6292](https://github.com/youzan/vant/issues/6292)
+- NumberKeyboard: 支持定义两个 extra-key [#6276](https://github.com/youzan/vant/issues/6276)
+- Stepper: 新增 theme 属性,用于展示圆角风格步进器 [#6282](https://github.com/youzan/vant/issues/6282)
+
+**style**
+
+- Rate: 更新禁用状态下的图标颜色 [#6253](https://github.com/youzan/vant/issues/6253)
+- Sku: 优化内部分割线的布局 [#6272](https://github.com/youzan/vant/issues/6272)
+- Sku: 价格符号由居中对齐调整为底对齐 [#6274](https://github.com/youzan/vant/issues/6274)
+- NoticeBar: 图标宽度由 22px 调整为 24px [#6280](https://github.com/youzan/vant/issues/6280)
+
+**Bug Fixes**
+
+- Field: 修复 textarea 无法通过回车换行的问题 [#6263](https://github.com/youzan/vant/issues/6263)
+- NoticeBar: 修复 replay 事件只能触发一次的问题,内部动画机制由 animation 调整为 transition [#6293](https://github.com/youzan/vant/issues/6293)
+
+### [v2.8.1](https://github.com/youzan/vant/compare/v2.8.1-beta.0...v2.8.1)
+
+`2020-05-09`
+
+**Feature**
+
+- Calendar: 新增 lazy-render 属性,用于控制是否开启延迟渲染 [#6245](https://github.com/youzan/vant/issues/6245)
+- Field: 新增 click-input 事件,在点击输入框时触发 [#6239](https://github.com/youzan/vant/issues/6239)
+- Sku: 新增 sku-reset 事件,在规格重置时触发 [#6220](https://github.com/youzan/vant/issues/6220)
+- GoodsActionButton: 适配系统字体放大 [b1dcf3](https://github.com/youzan/vant/commit/b1dcf36263ae7a19197f2c162e67f220dd171047)
+
+**Bug Fixes**
+
+- Button: 修复文字在部分机型上不居中的问题 [8c53db](https://github.com/youzan/vant/commit/8c53db040dd0dfff60eca1ac284d98f13b4e4ce6)
+- Field: 修复回车键会触发表单提交的问题 [#6240](https://github.com/youzan/vant/issues/6240)
+- Step: 修复 active-color 属性对小圆点颜色不生效的问题 [#6229](https://github.com/youzan/vant/issues/6229)
+- Stepper: 修复输入负数时格式化错误的问题 [#6238](https://github.com/youzan/vant/issues/6238)
+- Stepper: 修复个别情况下会展示 NaN 的问题 [7327a4](https://github.com/youzan/vant/commit/7327a481d18271393e25b17d4402dad6d336bb3a)
+- Stepper: 修复设置 disable-input 属性后在部分浏览器上仍会触发 focus 事件的问题 [c6024b](https://github.com/youzan/vant/commit/c6024b18b4191a3a56db0bed1ababa48420c0946)
+
+### [v2.8.0](https://github.com/youzan/vant/compare/v2.7.1...v2.8.0)
+
+`2020-05-05`
+
+**适配系统字体放大**
+
+ 部分手机用户会使用系统或微信提供的字体放大功能,开启该功能后,组件的 font-size 和 line-height 会等比例放大,导致部分组件出现样式偏移的问题,在 2.8.0 版本中,我们针对这个场景进行了适配,使得所有组件在字体缩放后仍保持正确的布局,改动涉及以下组件:
+
+- ActionSheet [#6175](https://github.com/youzan/vant/issues/6175)
+- Checkbox [#6168](https://github.com/youzan/vant/issues/6168)
+- NavBar [7effb7](https://github.com/youzan/vant/commit/7effb7cf6cf59a8db1eb77fa16692712de4a18ba)
+- NoticeBar [#6177](https://github.com/youzan/vant/issues/6177)
+- NumberKeyboard [#6179](https://github.com/youzan/vant/issues/6179)
+- Pagination [#6178](https://github.com/youzan/vant/issues/6178)
+- PasswordInput [#6176](https://github.com/youzan/vant/issues/6176)
+- Picker [#6174](https://github.com/youzan/vant/issues/6174) [#6205](https://github.com/youzan/vant/issues/6205)
+- Radio [#6173](https://github.com/youzan/vant/issues/6173)
+- Tab [#6209](https://github.com/youzan/vant/issues/6209)
+
+**style**
+
+- Button: 使用 flex 进行内容居中,display 由 inline-block 调整为 inline-flex [#6180](https://github.com/youzan/vant/issues/6180)
+- Picker: 优化顶部操作栏的样式,调整操作按钮颜色 [#6214](https://github.com/youzan/vant/issues/6214)
+- CouponList: 新增 @coupon-list-close-button-height 样式变量 [18a0c5](https://github.com/youzan/vant/commit/18a0c545ec881eb296ba6cc11dfaa12febd79e5c)
+
+**Feature**
+
+- Calendar: 新增 unselect 事件,在取消选中时触发 [#6198](https://github.com/youzan/vant/issues/6198)
+- Calendar: 支持在多选模式下使用 max-range 属性 [#6202](https://github.com/youzan/vant/issues/6202)
+- Field: 新增 colon 属性,用于配置是否显示冒号 [#6195](https://github.com/youzan/vant/issues/6195)
+- Locale: 新增罗马尼亚语配置文件 [#6193](https://github.com/youzan/vant/issues/6193)
+- ShareSheet: 优化无障碍访问 [#6208](https://github.com/youzan/vant/issues/6208)
+
+**Bug Fixes**
+
+- Layout: 修复设置 gutter 属性后间距错误的问题 [#6197](https://github.com/youzan/vant/issues/6197) [#6143](https://github.com/youzan/vant/issues/6143)
+- NoticeBar: 修复动态修改 scrollable 属性后未正确生效的问题 [#6190](https://github.com/youzan/vant/issues/6190)
+- ShareSheet: 修复在部分浏览器上底部间距错误的问题 [#6207](https://github.com/youzan/vant/issues/6207)
+- Tab: 修复文字截断时无法正确展示徽标的问题 [#6209](https://github.com/youzan/vant/issues/6209)
+
+### [v2.7.1](https://github.com/youzan/vant/compare/v2.7.0...v2.7.1)
+
+`2020-04-28`
+
+**Bug Fixes**
+
+- 修复 NavBar 图标不居中的问题 [#6147](https://github.com/youzan/vant/issues/6147)
+
+### [v2.7.0](https://github.com/youzan/vant/compare/v2.6.3...v2.7.0)
+
+`2020-04-28`
+
+**style**
+
+- NumberKeyboard: 升级组件样式 [#6149](https://github.com/youzan/vant/issues/6149) [#6151](https://github.com/youzan/vant/issues/6151) [3188b4](https://github.com/youzan/vant/commit/3188b4d25bb6e60ed5de930ec8947929a7577dd3)
+
+
+
+- 新增全局默认字体 [#6126](https://github.com/youzan/vant/issues/6126)
+- DropdownMenu: 增加阴影效果 [7db744](https://github.com/youzan/vant/commit/7db74490956ec9d4c742a885e436dc6915f1f9dc)
+- Sidebar: 优化左侧选中条的样式 [a31032](https://github.com/youzan/vant/commit/a31032e0d63956b2e9f0c75c8a85ca662fe42545)
+- Toast: 圆角大小由 4px 调整为 8px [2364c4](https://github.com/youzan/vant/commit/2364c4f526912433abf5ee2f36e2148beea7140b)
+- TreeSelect: 选中态的图标从 checked 更换为 success 图标 [5b72e4](https://github.com/youzan/vant/commit/5b72e4339347a710620bf630f1bc8ee09511d63c)
+
+**Feature**
+
+- NoticeBar: 新增 start 方法 [#6069](https://github.com/youzan/vant/issues/6069)
+- ImagePreview: 双击缩放的间隔从 300 毫秒调整为 250 毫秒 [#6136](https://github.com/youzan/vant/issues/6136)
+- NumberKeyboard: 新增左下角默认的键盘图标,点击后收起键盘 [#6152](https://github.com/youzan/vant/issues/6152)
+- NumberKeyboard: 新增 close-button-loading 属性,用于展示加载中状态 [#6158](https://github.com/youzan/vant/issues/6158)
+- uploader: 多选时自动过滤超出大小限制的图片 [#6150](https://github.com/youzan/vant/issues/6150)
+
+**Bug Fixes**
+
+- Layout: 修复设置 gutter 后元素宽度溢出屏幕的问题 [#6143](https://github.com/youzan/vant/issues/6143)
+- Tab: 修复子组件顺序错误的问题 [#6140](https://github.com/youzan/vant/issues/6140)
+- Uploader: 修复动态修改 file.message 未触发视图更新的问题 [#6142](https://github.com/youzan/vant/issues/6142)
+- NavBar: 修复设置顶部内边距后两侧按钮定位错误的问题 [#6147](https://github.com/youzan/vant/issues/6147)
+- types: 修复在 TSX 中使用组件时提示类型错误的问题 [#6148](https://github.com/youzan/vant/issues/6148)
+
+### [v2.6.3](https://github.com/youzan/vant/compare/v2.6.2...v2.6.3)
+
+`2020-04-20`
+
+**Bug Fixes**
+
+- Tab: 修复在部分浏览器上可能出现顺序错乱的问题 [#6100](https://github.com/youzan/vant/issues/6100)
+- Tab: 修复动态插入标签时可能出现渲染错误的问题 [#6101](https://github.com/youzan/vant/issues/6101)
+
### [v2.6.2](https://github.com/youzan/vant/compare/v2.6.1...v2.6.2)
`2020-04-18`
diff --git a/docs/markdown/home.en-US.md b/docs/markdown/home.en-US.md
index 3e710f5e7..765d18823 100644
--- a/docs/markdown/home.en-US.md
+++ b/docs/markdown/home.en-US.md
@@ -43,6 +43,7 @@ Modern browsers and Android 4.0+, iOS 8.0+.
- [Feedback](https://github.com/youzan/vant/issues)
- [Changelog](#/en-US/changelog)
+- [Gitter](https://gitter.im/vant-contrib/discuss?utm_source=share-link&utm_medium=link&utm_campaign=share-link)
### LICENSE
diff --git a/docs/markdown/home.zh-CN.md b/docs/markdown/home.zh-CN.md
index 91b56a0d9..005749d3f 100644
--- a/docs/markdown/home.zh-CN.md
+++ b/docs/markdown/home.zh-CN.md
@@ -60,6 +60,7 @@
- [意见反馈](https://github.com/youzan/vant/issues)
- [更新日志](#/zh-CN/changelog)
- [码云镜像](https://gitee.com/organizations/vant-contrib)
+- [Gitter 讨论组](https://gitter.im/vant-contrib/discuss?utm_source=share-link&utm_medium=link&utm_campaign=share-link)
### 开源协议
diff --git a/docs/markdown/quickstart.en-US.md b/docs/markdown/quickstart.en-US.md
index 323bb918a..10d360391 100644
--- a/docs/markdown/quickstart.en-US.md
+++ b/docs/markdown/quickstart.en-US.md
@@ -99,12 +99,12 @@ The easiest way to use Vant is to include a CDN link in the html file, after whi
-
+
```
diff --git a/docs/markdown/quickstart.zh-CN.md b/docs/markdown/quickstart.zh-CN.md
index 6c1c27191..a7fdedaa2 100644
--- a/docs/markdown/quickstart.zh-CN.md
+++ b/docs/markdown/quickstart.zh-CN.md
@@ -116,12 +116,12 @@ Vue.use(Vant);
-
+
```
diff --git a/docs/markdown/theme.en-US.md b/docs/markdown/theme.en-US.md
index 71e8fa27b..1082eb564 100644
--- a/docs/markdown/theme.en-US.md
+++ b/docs/markdown/theme.en-US.md
@@ -71,13 +71,15 @@ module.exports = {
{
loader: 'less-loader',
options: {
- modifyVars: {
- // overide with less vars
- 'text-color': '#111',
- 'border-color': '#eee'
- // or override with less file
- 'hack': `true; @import "your-less-file-path.less";`
- },
+ lessOptions: {
+ modifyVars: {
+ // overide with less vars
+ 'text-color': '#111',
+ 'border-color': '#eee'
+ // or override with less file
+ 'hack': `true; @import "your-less-file-path.less";`
+ },
+ }
},
},
],
@@ -94,12 +96,14 @@ module.exports = {
css: {
loaderOptions: {
less: {
- modifyVars: {
- // overide with less vars
- 'text-color': '#111',
- 'border-color': '#eee',
- // or override with less file
- hack: `true; @import "your-less-file-path.less";`,
+ lessOptions: {
+ modifyVars: {
+ // overide with less vars
+ 'text-color': '#111',
+ 'border-color': '#eee',
+ // or override with less file
+ hack: `true; @import "your-less-file-path.less";`,
+ },
},
},
},
diff --git a/docs/markdown/theme.zh-CN.md b/docs/markdown/theme.zh-CN.md
index 2818d4b91..afd6ec90e 100644
--- a/docs/markdown/theme.zh-CN.md
+++ b/docs/markdown/theme.zh-CN.md
@@ -75,12 +75,15 @@ module.exports = {
{
loader: 'less-loader',
options: {
- modifyVars: {
- // 直接覆盖变量
- 'text-color': '#111',
- 'border-color': '#eee',
- // 或者可以通过 less 文件覆盖(文件路径为绝对路径)
- hack: `true; @import "your-less-file-path.less";`,
+ // 若使用 less-loader@5,请移除 lessOptions 这一级,直接配置选项。
+ lessOptions: {
+ modifyVars: {
+ // 直接覆盖变量
+ 'text-color': '#111',
+ 'border-color': '#eee',
+ // 或者可以通过 less 文件覆盖(文件路径为绝对路径)
+ hack: `true; @import "your-less-file-path.less";`,
+ },
},
},
},
@@ -98,12 +101,15 @@ module.exports = {
css: {
loaderOptions: {
less: {
- modifyVars: {
- // 直接覆盖变量
- 'text-color': '#111',
- 'border-color': '#eee',
- // 或者可以通过 less 文件覆盖(文件路径为绝对路径)
- hack: `true; @import "your-less-file-path.less";`,
+ // 若使用 less-loader@5,请移除 lessOptions 这一级,直接配置选项。
+ lessOptions: {
+ modifyVars: {
+ // 直接覆盖变量
+ 'text-color': '#111',
+ 'border-color': '#eee',
+ // 或者可以通过 less 文件覆盖(文件路径为绝对路径)
+ hack: `true; @import "your-less-file-path.less";`,
+ },
},
},
},
diff --git a/package.json b/package.json
index c0dd53d73..1f6d2b8b6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "vant",
- "version": "2.6.2",
+ "version": "2.8.4",
"description": "Mobile UI Components built on Vue",
"main": "lib/index.js",
"module": "es/index.js",
@@ -30,21 +30,10 @@
}
},
"lint-staged": {
- "*.md": [
- "prettier --write"
- ],
- "*.{ts,tsx,js,vue,less}": [
- "prettier --write",
- "git add"
- ],
- "*.{ts,tsx,js,vue}": [
- "eslint --fix",
- "git add"
- ],
- "*.{vue,css,less}": [
- "stylelint --fix",
- "git add"
- ]
+ "*.md": "prettier --write",
+ "*.{ts,tsx,js,vue,less}": "prettier --write",
+ "*.{ts,tsx,js,vue}": "eslint --fix",
+ "*.{vue,css,less}": "stylelint --fix"
},
"repository": {
"type": "git",
@@ -67,7 +56,7 @@
},
"devDependencies": {
"@ls-lint/ls-lint": "^1.8.0",
- "@vant/cli": "^2.4.0",
+ "@vant/cli": "^2.5.1",
"@vue/compiler-sfc": "^3.0.0-beta.2",
"prettier": "^2.0.4",
"vue": "^3.0.0-beta.2"
diff --git a/packages/create-vant-cli-app/generators/templates/package.json.tpl b/packages/create-vant-cli-app/generators/templates/package.json.tpl
index 33b2cca71..1257aeb7c 100644
--- a/packages/create-vant-cli-app/generators/templates/package.json.tpl
+++ b/packages/create-vant-cli-app/generators/templates/package.json.tpl
@@ -26,14 +26,8 @@
}
},
"lint-staged": {
- "*.{ts,tsx,js,jsx,vue}": [
- "eslint --fix",
- "git add"
- ],
- "*.{vue,css,less,scss}": [
- "stylelint --fix",
- "git add"
- ]
+ "*.{ts,tsx,js,jsx,vue}": "eslint --fix",
+ "*.{vue,css,less,scss}": "stylelint --fix"
},
"peerDependencies": {
"vue": "^2.6.11",
diff --git a/packages/vant-cli/README.md b/packages/vant-cli/README.md
index 4853be16b..31de84d08 100644
--- a/packages/vant-cli/README.md
+++ b/packages/vant-cli/README.md
@@ -45,8 +45,8 @@ yarn add @vant/cli --dev
}
},
"lint-staged": {
- "*.{ts,tsx,js,jsx,vue}": ["eslint", "git add"],
- "*.{vue,css,less,scss}": ["stylelint", "git add"]
+ "*.{js,jsx,ts,tsx,vue}": "eslint --fix",
+ "*.{vue,css,less,scss}": "stylelint --fix"
},
"eslintConfig": {
"root": true,
@@ -73,7 +73,7 @@ yarn add @vant/cli --dev
扫码加入 Vant Cli 交流群,若群二维码过期,可以联系有赞前端小秘书加群
-
+
## 关于桌面端组件
diff --git a/packages/vant-cli/changelog.md b/packages/vant-cli/changelog.md
index 2d83ac219..392684a06 100644
--- a/packages/vant-cli/changelog.md
+++ b/packages/vant-cli/changelog.md
@@ -1,19 +1,45 @@
# 更新日志
-### [v2.4.0]
+### v2.5.1
+
+`2020-05-27`
+
+- 移除多余的 log
+
+### v2.5.0
+
+`2020-05-27`
+
+- 开启 fork-ts-checker-webpack-plugin,在编译时进行类型检查
+- 现在点击锚点时会立即滚动到对应位置
+
+### v2.4.2
+
+`2020-05-04`
+
+- 升级 less-loader@6
+- 优化移动端示例导航栏样式
+
+### v2.4.1
+
+`2020-04-19`
+
+- 支持 style 类型的 commit message
+
+### v2.4.0
`2020-04-02`
- 升级 prettier v2
- 升级 html-webpack-plugin v4
-### [v2.3.1]
+### v2.3.1
`2020-03-29`
- 优化网站导航栏在大屏上的适配 ([#5928](https://github.com/youzan/vant/pull/5928))
-### [v2.3.0]
+### v2.3.0
`2020-03-25`
@@ -22,26 +48,26 @@
- clean 命令现在会移除而不是清空文件夹 ([#5895](https://github.com/youzan/vant/issues/5895))
- 升级 @vant/markdown-vetur 2.0.0
-### [v2.2.8]
+### v2.2.8
`2020-03-20`
- 修复构建 changelog 可能失败的问题
-### [v2.2.7]
+### v2.2.7
`2020-03-19`
- 新增 process.env.VANT_CLI_VERSION 环境变量
-### [v2.2.6]
+### v2.2.6
`2020-03-18`
- 升级 commander 5
- 修复右侧预览 iframe 链接可能错误的问题
-### [v2.2.5]
+### v2.2.5
`2020-03-08`
@@ -49,38 +75,38 @@
- 优化代码块与底部文字之间的间距
- 修复 create-vant-cli-app 初始化时报错的问题
-### [v2.2.4]
+### v2.2.4
`2020-02-14`
- 修复在 windows 上构建出的样式入口文件路径错误的问题 ([#5655](https://github.com/youzan/vant/pull/5655)
-### [v2.2.3]
+### v2.2.3
`2020-02-13`
- 链接颜色调整为蓝色
-### [v2.2.2]
+### v2.2.2
`2020-02-05`
- 修复在 windows 上获取 markdown 路径错误的问题 ([#5626](https://github.com/youzan/vant/pull/5626))
-### [v2.2.1]
+### v2.2.1
`2020-02-04`
- 升级 babel@7.8
- 修复切换版本时跳转 undefined 的问题 ([#5620](https://github.com/youzan/vant/pull/5620))
-### [v2.2.0]
+### v2.2.0
`2020-01-19`
- 升级 @vant/eslint-config@2.0.0
-### [v2.1.8]
+### v2.1.8
`2020-01-18`
@@ -89,14 +115,14 @@
- 优化站点导航栏颜色
- 优化站点代码块颜色
-### [v2.1.7]
+### v2.1.7
`2020-01-15`
- 优化 help 命令
- 优化控制台输出信息
-### [v2.1.6]
+### v2.1.6
`2020-01-12`
@@ -105,14 +131,14 @@
- 优化文档站点的 meta 字段
- 新增 API 文档中的版本标签样式
-### [v2.1.5]
+### v2.1.5
`2020-01-10`
- 修复编译时未替换 import 语句中的 CSS 后缀的问题
- 升级 husky 版本到 4.0
-### [v2.1.4]
+### v2.1.4
`2020-01-06`
@@ -120,7 +146,7 @@
- 锁死 @vue/test-utils 版本为 1.0.0-beta.29
-### [v2.1.3]
+### v2.1.3
`2020-01-06`
@@ -129,7 +155,7 @@
- 增加 cache-loader,提高构建速度
- 调整 jest setup 文件执行时机,延迟至 env 初始化后执行
-### [v2.1.2]
+### v2.1.2
`2020-01-05`
diff --git a/packages/vant-cli/docs/config.md b/packages/vant-cli/docs/config.md
index 6c2b637dd..bc83205e6 100644
--- a/packages/vant-cli/docs/config.md
+++ b/packages/vant-cli/docs/config.md
@@ -30,8 +30,8 @@ module.exports = {
// 构建配置
build: {
site: {
- publicPath: '/demo-ui/'
- }
+ publicPath: '/demo-ui/',
+ },
},
// 文档站点配置
site: {
@@ -48,21 +48,21 @@ module.exports = {
items: [
{
path: 'home',
- title: '介绍'
- }
- ]
+ title: '介绍',
+ },
+ ],
},
{
title: '基础组件',
items: [
{
path: 'my-button',
- title: 'MyButton 按钮'
- }
- ]
- }
- ]
- }
+ title: 'MyButton 按钮',
+ },
+ ],
+ },
+ ],
+ },
};
```
@@ -84,9 +84,9 @@ CSS 预处理器配置,目前支持`less`和`sass`两种预处理器,默认
module.exports = {
build: {
css: {
- preprocessor: 'sass'
- }
- }
+ preprocessor: 'sass',
+ },
+ },
};
```
@@ -103,9 +103,22 @@ module.exports = {
module.exports = {
build: {
site: {
- publicPath: '/demo-ui/'
- }
- }
+ publicPath: '/demo-ui/',
+ },
+ },
+};
+```
+
+### build.srcDir
+
+- Type: `string`
+- Default: `src`
+
+```js
+module.exports = {
+ build: {
+ srcDir: 'myDir',
+ },
};
```
@@ -150,12 +163,12 @@ module.exports = {
// 导航项路由
path: 'home',
// 导航项文案
- title: '介绍'
- }
- ]
- }
- ]
- }
+ title: '介绍',
+ },
+ ],
+ },
+ ],
+ },
};
```
@@ -172,10 +185,10 @@ module.exports = {
versions: [
{
label: '1.x',
- link: 'https://youzan.github.io/vant/1.x/'
- }
- ]
- }
+ link: 'https://youzan.github.io/vant/1.x/',
+ },
+ ],
+ },
};
```
@@ -193,9 +206,9 @@ module.exports = {
// 打开百度统计 ->『管理』->『代码获取』
// 找到下面这串 URL: "https://hm.baidu.com/hm.js?xxxxx"
// 将 `xxxxx` 填写在 seed 中即可
- seed: 'xxxxx'
- }
- }
+ seed: 'xxxxx',
+ },
+ },
};
```
@@ -208,8 +221,8 @@ module.exports = {
```js
module.exports = {
devServer: {
- port: 9000
- }
+ port: 9000,
+ },
};
```
@@ -223,7 +236,7 @@ module.exports = {
```js
module.exports = {
- presets: ['@vant/cli/preset']
+ presets: ['@vant/cli/preset'],
};
```
@@ -270,8 +283,8 @@ module.exports = {
```js
module.exports = {
plugins: {
- autoprefixer: {}
- }
+ autoprefixer: {},
+ },
};
```
diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json
index df66ffd74..a0cc5001b 100644
--- a/packages/vant-cli/package.json
+++ b/packages/vant-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@vant/cli",
- "version": "2.4.0",
+ "version": "2.5.1",
"description": "",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
@@ -34,22 +34,22 @@
},
"devDependencies": {
"@types/fs-extra": "^8.1.0",
- "@types/lodash": "^4.14.149",
+ "@types/lodash": "^4.14.150",
"@types/postcss-load-config": "^2.0.1",
- "@types/webpack": "^4.41.10",
+ "@types/webpack": "^4.41.12",
"@types/webpack-dev-server": "^3.10.1",
"@types/webpack-merge": "^4.1.5"
},
"dependencies": {
- "@babel/core": "^7.9.0",
+ "@babel/core": "^7.9.6",
"@babel/plugin-syntax-jsx": "^7.8.3",
"@babel/plugin-transform-object-assign": "^7.8.3",
- "@babel/plugin-transform-runtime": "^7.9.0",
- "@babel/preset-env": "^7.9.5",
+ "@babel/plugin-transform-runtime": "^7.9.6",
+ "@babel/preset-env": "^7.9.6",
"@babel/preset-typescript": "^7.9.0",
"@nuxt/friendly-errors-webpack-plugin": "^2.5.0",
"@types/jest": "^25.2.1",
- "@vant/eslint-config": "^2.0.0",
+ "@vant/eslint-config": "^2.2.2",
"@vant/markdown-loader": "^2.3.0",
"@vant/markdown-vetur": "^2.0.1",
"@vant/stylelint-config": "^1.3.0",
@@ -59,47 +59,48 @@
"@vue/test-utils": "1.0.0-beta.29",
"address": "^1.1.2",
"autoprefixer": "^9.7.6",
- "babel-jest": "^25.3.0",
+ "babel-jest": "^25.5.1",
"babel-loader": "^8.1.0",
"babel-plugin-import": "^1.13.0",
"babel-plugin-transform-jsx-vue3": "^0.1.8",
"cache-loader": "^4.1.0",
- "chokidar": "^3.3.1",
+ "chokidar": "^3.4.0",
"clean-css": "^4.2.3",
"codecov": "^3.6.5",
- "commander": "^5.0.0",
+ "commander": "^5.1.0",
"consola": "^2.11.3",
"conventional-changelog": "^3.1.18",
"cross-env": "^7.0.2",
- "css-loader": "^3.5.2",
+ "css-loader": "^3.5.3",
"eslint": "^6.8.0",
"fast-glob": "^3.2.2",
+ "fork-ts-checker-webpack-plugin": "^4.1.6",
"gh-pages": "^2.2.0",
"hash-sum": "^2.0.0",
- "html-webpack-plugin": "4.2.0",
+ "html-webpack-plugin": "4.3.0",
"husky": "^4.2.5",
- "jest": "^25.3.0",
+ "jest": "^25.5.4",
"jest-canvas-mock": "^2.2.0",
"jest-serializer-vue": "^2.0.2",
"less": "^3.11.1",
- "less-loader": "^5.0.0",
- "lint-staged": "^10.1.3",
+ "less-loader": "^6.0.0",
+ "lint-staged": "^10.2.2",
"lodash": "^4.17.15",
- "ora": "^4.0.3",
- "portfinder": "^1.0.25",
- "postcss": "^7.0.27",
+ "ora": "^4.0.4",
+ "portfinder": "^1.0.26",
+ "postcss": "^7.0.28",
"postcss-loader": "^3.0.0",
- "prettier": "^2.0.4",
- "release-it": "^13.5.2",
- "sass": "^1.26.3",
+ "prettier": "^2.0.5",
+ "release-it": "^13.5.7",
+ "sass": "^1.26.5",
"sass-loader": "^8.0.2",
- "style-loader": "^1.1.3",
- "stylelint": "^13.3.1",
+ "style-loader": "^1.2.1",
+ "stylelint": "^13.3.3",
"typescript": "^3.8.3",
"vue-jest": "4.0.0-beta.2",
"vue-loader": "^16.0.0-alpha.3",
- "vue-router": "^4.0.0-alpha.7 ",
- "webpack": "^4.42.1",
+ "vue-router": "^4.0.0-alpha.12",
+ "webpack": "^4.43.0",
"webpack-dev-server": "3.10.3",
"webpack-merge": "^4.2.2",
"webpackbar": "^4.0.0"
diff --git a/packages/vant-cli/site/common/style/base.less b/packages/vant-cli/site/common/style/base.less
index efd18e307..7bb9384f5 100644
--- a/packages/vant-cli/site/common/style/base.less
+++ b/packages/vant-cli/site/common/style/base.less
@@ -6,7 +6,9 @@ body {
overflow-x: auto;
color: @van-doc-black;
font-size: 16px;
- font-family: PingFang SC, 'Helvetica Neue', Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
+ Segoe UI, Arial, Roboto, 'PingFang SC', 'Hiragino Sans GB',
+ 'Microsoft Yahei', sans-serif;
background-color: @van-doc-background-color;
-webkit-font-smoothing: antialiased;
}
diff --git a/packages/vant-cli/site/desktop/utils.js b/packages/vant-cli/site/desktop/utils.js
index 154d088a5..085afa72f 100644
--- a/packages/vant-cli/site/desktop/utils.js
+++ b/packages/vant-cli/site/desktop/utils.js
@@ -4,9 +4,7 @@ export function scrollToAnchor(selector) {
const timer = setInterval(() => {
const el = document.querySelector(selector);
if (el) {
- el.scrollIntoView({
- behavior: 'smooth',
- });
+ el.scrollIntoView();
clearInterval(timer);
} else {
count++;
diff --git a/packages/vant-cli/site/mobile/components/DemoNav.vue b/packages/vant-cli/site/mobile/components/DemoNav.vue
index b5509c7e9..899d3ee6e 100644
--- a/packages/vant-cli/site/mobile/components/DemoNav.vue
+++ b/packages/vant-cli/site/mobile/components/DemoNav.vue
@@ -39,9 +39,10 @@ export default {
```
diff --git a/src/count-down/README.zh-CN.md b/src/count-down/README.zh-CN.md
index 7068fae52..cfd1aada5 100644
--- a/src/count-down/README.zh-CN.md
+++ b/src/count-down/README.zh-CN.md
@@ -52,21 +52,27 @@ export default {
```html