diff --git a/docs/markdown/changelog.en-US.md b/docs/markdown/changelog.en-US.md index ec35b51b2..c7f75cc89 100644 --- a/docs/markdown/changelog.en-US.md +++ b/docs/markdown/changelog.en-US.md @@ -10,6 +10,47 @@ 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.9.0-beta.4](https://github.com/youzan/vant/compare/v2.9.0-beta.3...v2.9.0-beta.4) + +`2020-07-02` + +**Feature** + +- Icon: add enlarge icon [1c97b1](https://github.com/youzan/vant/commit/1c97b1837f3f16f339773133b5e78b8a200c57f5) +- Image: add default slot [#6613](https://github.com/youzan/vant/issues/6613) +- ImagePreview: add swipeTo method [#6596](https://github.com/youzan/vant/issues/6596) +- ImagePreview: add get-container prop [39b5be](https://github.com/youzan/vant/commit/39b5beeac0d4a7e74866cb92eb9e4644872cf41a) +- NoticeBar: optimize replay delay [022196](https://github.com/youzan/vant/commit/02219625fb94384865b79cf27ecea5ae0c4f3bb0) +- Sku: add lazy-load prop [#6598](https://github.com/youzan/vant/issues/6598) +- Sku: add show-header-image prop [#6598](https://github.com/youzan/vant/issues/6598) +- Sku: support large image mode [#6598](https://github.com/youzan/vant/issues/6598) +- Sku: enable close-on-click-overlay prop by default [#6631](https://github.com/youzan/vant/issues/6631) +- TreeSelect: add selected-icon prop [#6615](https://github.com/youzan/vant/issues/6615) + +**style** + +- ActionSheet: update description style [#6586](https://github.com/youzan/vant/issues/6586) +- AddressEdit: adjust label width [#6591](https://github.com/youzan/vant/issues/6591) +- AddressEdit: area picker use round popup [#6584](https://github.com/youzan/vant/issues/6584) +- Button: adjust small button size [#6371](https://github.com/youzan/vant/issues/6371) +- ContactEdit: adjust label width [a77ebe](https://github.com/youzan/vant/commit/a77ebe11d722a3f242ef8e4125bb94629a56b81f) +- Field: label color updated to gray-7 [#6581](https://github.com/youzan/vant/issues/6581) +- Field: label width adjusted to 6em [#6583](https://github.com/youzan/vant/issues/6583) [#6589](https://github.com/youzan/vant/issues/6589) +- ImagePreview: adjust index position [#6650](https://github.com/youzan/vant/issues/6650) +- Picker: optimize option disabled cursor [#6579](https://github.com/youzan/vant/issues/6579) +- Rate: the default color is adjusted to red [#6373](https://github.com/youzan/vant/issues/6373) +- Uploader: update failed icon [#6653](https://github.com/youzan/vant/issues/6653) + +**Bug Fixes** + +- ImagePreview: fix longpress error on mobile safari [#6660](https://github.com/youzan/vant/issues/6660) +- ImagePreview: fix incorrect position after scale [#6656](https://github.com/youzan/vant/issues/6656) +- Field: fix label word wrap [#6590](https://github.com/youzan/vant/issues/6590) +- NumberKeyboard: fix eliminate tap delay on safari [#6667](https://github.com/youzan/vant/issues/6667) +- Picker: disabled not work in cascade mode [#6580](https://github.com/youzan/vant/issues/6580) +- Picker: revert add @picker-option-height var [#6663](https://github.com/youzan/vant/issues/6663) +- Stepper: fix incorrect button disable status [#6652](https://github.com/youzan/vant/issues/6652) + ### [v2.8.7](https://github.com/youzan/vant/compare/v2.8.6...v2.8.7) `2020-06-19` diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md index e7d007194..863ef096b 100644 --- a/docs/markdown/changelog.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -10,6 +10,47 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 - 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。 - 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。 +### [v2.9.0-beta.4](https://github.com/youzan/vant/compare/v2.9.0-beta.3...v2.9.0-beta.4) + +`2020-07-02` + +**Feature** + +- Sku: 新增大图预览模式,可以通过 largeImageMode 选项开启 [#6598](https://github.com/youzan/vant/issues/6598) +- Sku: 新增 lazy-load 属性,用于控制是否开启大图懒加载 [#6598](https://github.com/youzan/vant/issues/6598) +- Sku: 新增 show-header-image 属性,用于控制是否显示头部图片 [#6598](https://github.com/youzan/vant/issues/6598) +- Sku: 默认开启 close-on-click-overlay 属性 [#6631](https://github.com/youzan/vant/issues/6631) +- Icon: 新增 enlarge 扩大图标 [1c97b1](https://github.com/youzan/vant/commit/1c97b1837f3f16f339773133b5e78b8a200c57f5) +- Image: 新增 default 默认插槽 [#6613](https://github.com/youzan/vant/issues/6613) +- ImagePreview: 新增 swipeTo 方法 [#6596](https://github.com/youzan/vant/issues/6596) +- ImagePreview: 新增 get-container 属性 [39b5be](https://github.com/youzan/vant/commit/39b5beeac0d4a7e74866cb92eb9e4644872cf41a) +- NoticeBar: 优化重新开始滚动的间隔 [022196](https://github.com/youzan/vant/commit/02219625fb94384865b79cf27ecea5ae0c4f3bb0) +- TreeSelect: 新增 selected-icon 属性 [#6615](https://github.com/youzan/vant/issues/6615) + +**style** + +- Button: 调整 small 和 mini 按钮的样式,移除最小宽度限制 [#6371](https://github.com/youzan/vant/issues/6371) +- ActionSheet: 顶部描述文字的颜色调整为 gray-6 [#6586](https://github.com/youzan/vant/issues/6586) +- AddressEdit: 省市区弹窗调整为圆角样式 [#6584](https://github.com/youzan/vant/issues/6584) +- AddressEdit: 表单文本宽度调整为 4em [#6591](https://github.com/youzan/vant/issues/6591) +- ContactEdit: 表单文本宽度调整为 4em [a77ebe](https://github.com/youzan/vant/commit/a77ebe11d722a3f242ef8e4125bb94629a56b81f) +- Field: 左侧文本颜色调整为 gray-7 [#6581](https://github.com/youzan/vant/issues/6581) +- Field: 左侧文本宽度调整为 6em [#6589](https://github.com/youzan/vant/issues/6589) [#6583](https://github.com/youzan/vant/issues/6583) +- ImagePreview: 调整页码位置,与关闭图标对齐 [#6650](https://github.com/youzan/vant/issues/6650) +- Picker: 优化选项禁用时的光标效果 [#6579](https://github.com/youzan/vant/issues/6579) +- Rate: 默认图标颜色由黄色调整为红色 [#6373](https://github.com/youzan/vant/issues/6373) +- Uploader: 更新上传失败提示图标 [#6653](https://github.com/youzan/vant/issues/6653) + +**Bug Fixes** + +- Field: 修复左侧文本中较长的英文单词无法换行的问题 [#6590](https://github.com/youzan/vant/issues/6590) +- ImagePreview: 修复在 safari 浏览器上长按图标时缩放效果异常的问题 [#6660](https://github.com/youzan/vant/issues/6660) +- ImagePreview: 修复图片缩放时可能出现位置错误的问题 [#6656](https://github.com/youzan/vant/issues/6656) +- NumberKeyboard: 修复在 iOS 系统下存在点击延迟的问题 [#6667](https://github.com/youzan/vant/issues/6667) +- Picker: 修复在级联模式下无法禁用选项的问题 [#6580](https://github.com/youzan/vant/issues/6580) +- Picker: 修复开启 rem 转换时可能出现选项偏移的问题 [#6663](https://github.com/youzan/vant/issues/6663) +- Stepper: 修复个别情况下按钮禁用状态计算错误的问题 [#6652](https://github.com/youzan/vant/issues/6652) + ### [v2.8.7](https://github.com/youzan/vant/compare/v2.8.6...v2.8.7) `2020-06-19`