From 569d353b4adfe22d7d1fe7de3f5dfef1b2ab56c5 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sun, 28 Feb 2021 20:40:45 +0800 Subject: [PATCH] docs(changelog): 3.0.7 --- ...angelog-v3.en-US.md => changelog.en-US.md} | 33 +++++++++++++++++++ ...angelog-v3.zh-CN.md => changelog.zh-CN.md} | 32 ++++++++++++++++++ .../site/desktop/components/Content.vue | 3 +- vant.config.js | 4 +-- 4 files changed, 68 insertions(+), 4 deletions(-) rename docs/markdown/{changelog-v3.en-US.md => changelog.en-US.md} (87%) rename docs/markdown/{changelog-v3.zh-CN.md => changelog.zh-CN.md} (92%) diff --git a/docs/markdown/changelog-v3.en-US.md b/docs/markdown/changelog.en-US.md similarity index 87% rename from docs/markdown/changelog-v3.en-US.md rename to docs/markdown/changelog.en-US.md index 2593cbf63..ab87a1691 100644 --- a/docs/markdown/changelog-v3.en-US.md +++ b/docs/markdown/changelog.en-US.md @@ -16,6 +16,39 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). ## Details +### [v3.0.7](https://github.com/youzan/vant/compare/v3.0.6...v3.0.7) + +`2021-02-28` + +**Feature** + +- Notify: add lockScroll option [#8168](https://github.com/youzan/vant/issues/8168) +- Popup: click-overlay event add `Event` param [#8107](https://github.com/youzan/vant/issues/8107) +- ShareSheet: add overlay-style prop [#8225](https://github.com/youzan/vant/issues/8225) +- ShareSheet: add overlay-class prop [#8225](https://github.com/youzan/vant/issues/8225) +- Step: add finish-icon slot [#8241](https://github.com/youzan/vant/issues/8241) +- Steps: add finish-icon prop [#8103](https://github.com/youzan/vant/issues/8103) +- Uploader: add @uploader-mask-text-color var [#8064](https://github.com/youzan/vant/issues/8064) + +**perf** + +- adjust browserslist to fit Vue 3 [#8227](https://github.com/youzan/vant/issues/8227) +- disable enableObjectSlots to reduce bundle size [#8226](https://github.com/youzan/vant/issues/8226) + +**Bug Fixes** + +- ActionSheet: fix safe-area-inset-bottom prop not work [#8085](https://github.com/youzan/vant/issues/8085) +- DateTimePicker: fix incorrecrt inital value [#8193](https://github.com/youzan/vant/issues/8193) +- Form: may scroll to incorrect field after submitted [#8159](https://github.com/youzan/vant/issues/8159) +- ImagePreview: fix incorrect image display during the second call [#8060](https://github.com/youzan/vant/issues/8060) +- IndexBar: failed to render active anchor when inited [#8164](https://github.com/youzan/vant/issues/8164) +- Popup: should watch lockScroll [#8169](https://github.com/youzan/vant/issues/8169) +- Swipe: active may outrange when initialize [#8061](https://github.com/youzan/vant/issues/8061) +- SwipeCell: incorrect position param when clicking outside [#8108](https://github.com/youzan/vant/issues/8108) +- Tabbar: incorrect active tab when name is zero [#8125](https://github.com/youzan/vant/issues/8125) +- Tabs: incorrect active tab when active prop is zero [#8074](https://github.com/youzan/vant/issues/8074) +- Toast: ssr error [#8214](https://github.com/youzan/vant/issues/8214) + ### [v3.0.6](https://github.com/youzan/vant/compare/v3.0.5...v3.0.6) `2021-01-31` diff --git a/docs/markdown/changelog-v3.zh-CN.md b/docs/markdown/changelog.zh-CN.md similarity index 92% rename from docs/markdown/changelog-v3.zh-CN.md rename to docs/markdown/changelog.zh-CN.md index d91e8add9..c3ddf5562 100644 --- a/docs/markdown/changelog-v3.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -16,6 +16,38 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 ## 更新内容 +### [v3.0.7](https://github.com/youzan/vant/compare/v3.0.6...v3.0.7) + +`2021-02-28` + +**Feature** + +- Notify: 新增 lockScroll 选项 [#8168](https://github.com/youzan/vant/issues/8168) +- Popup: click-overlay 事件新增 `Event` 参数 [#8107](https://github.com/youzan/vant/issues/8107) +- ShareSheet: 新增 overlay-style 属性 [#8225](https://github.com/youzan/vant/issues/8225) +- ShareSheet: 新增 overlay-class 属性 [#8225](https://github.com/youzan/vant/issues/8225) +- Step: 新增 finish-icon 插槽 [#8241](https://github.com/youzan/vant/issues/8241) +- Steps: 新增 finish-icon 属性 [#8103](https://github.com/youzan/vant/issues/8103) +- Uploader: 新增 @uploader-mask-text-color 样式变量 [#8064](https://github.com/youzan/vant/issues/8064) + +**perf** + +- 包体积优化:调整适配的浏览器版本,与 Vue 3 保持一致 [#8227](https://github.com/youzan/vant/issues/8227) + +**Bug Fixes** + +- ActionSheet: 修复 safe-area-inset-bottom 属性不生效的问题 [#8085](https://github.com/youzan/vant/issues/8085) +- DateTimePicker: 修复 v-model 为 null 时初始值不正确的问题 [#8193](https://github.com/youzan/vant/issues/8193) +- Form: 修复提交表单时可能滚动到错误的表单项的问题 [#8159](https://github.com/youzan/vant/issues/8159) +- ImagePreview: 修复第二次调用时可能出现渲染不正确的问题 [#8060](https://github.com/youzan/vant/issues/8060) +- IndexBar: 修复初始化时激活的锚点未正确渲染的问题 [#8164](https://github.com/youzan/vant/issues/8164) +- Popup: 修复动态设置 lock-scroll 属性不生效的问题 [#8169](https://github.com/youzan/vant/issues/8169) +- Swipe: 修复初始化时 active 值可能错误的问题 [#8061](https://github.com/youzan/vant/issues/8061) +- SwipeCell: 修复点击外部时 click 事件参数不正确的问题 [#8108](https://github.com/youzan/vant/issues/8108) +- Tabbar: 修复 name 为 0 时激活的选项可能不正确的问题 [#8125](https://github.com/youzan/vant/issues/8125) +- Tabs: 修复 v-model 为 0 时激活的标签页可能不正确的问题 [#8074](https://github.com/youzan/vant/issues/8074) +- Toast: 修复 SSR 时可能报错的问题 [#8214](https://github.com/youzan/vant/issues/8214) + ### [v3.0.6](https://github.com/youzan/vant/compare/v3.0.5...v3.0.6) `2021-01-31` diff --git a/packages/vant-cli/site/desktop/components/Content.vue b/packages/vant-cli/site/desktop/components/Content.vue index 1fb4fd51e..3259f10b6 100644 --- a/packages/vant-cli/site/desktop/components/Content.vue +++ b/packages/vant-cli/site/desktop/components/Content.vue @@ -220,8 +220,7 @@ export default { border-radius: @van-doc-border-radius; } - &--changelog, - &--changelog-v3 { + &--changelog { strong { display: block; margin: 24px 0 12px; diff --git a/vant.config.js b/vant.config.js index fafd72a3e..2d4cfa403 100644 --- a/vant.config.js +++ b/vant.config.js @@ -75,7 +75,7 @@ module.exports = { title: '进阶用法', }, { - path: 'changelog-v3', + path: 'changelog', title: '更新日志', }, { @@ -443,7 +443,7 @@ module.exports = { title: 'Advanced Usage', }, { - path: 'changelog-v3', + path: 'changelog', title: 'Changelog', }, {