diff --git a/docs/markdown/changelog.en-US.md b/docs/markdown/changelog.en-US.md index bd98e78e2..fb489f929 100644 --- a/docs/markdown/changelog.en-US.md +++ b/docs/markdown/changelog.en-US.md @@ -1,5 +1,24 @@ # 更新日志 +## [v2.0.1](https://github.com/youzan/vant/tree/v2.0.1) +`2019-06-15` + +**Improvements** + +- Tab: support string type of line-width & line-height [\#3514](https://github.com/youzan/vant/pull/3514) +- Icon: use image component to display image [\#3515](https://github.com/youzan/vant/pull/3515) +- Toast: add icon prop [\#3485](https://github.com/youzan/vant/pull/3485) +- DropdownMenu: add direction prop [\#3490](https://github.com/youzan/vant/pull/3490) +- NumberKeyboard: add delete slot [\#3499](https://github.com/youzan/vant/pull/3499) + +**Bug Fixes** + +- fix Image missing type definition [\#3520](https://github.com/youzan/vant/pull/3520) +- fix SwitchCell incorrect loading position [\#3501](https://github.com/youzan/vant/pull/3501) +- fix Toast missing fade-out transition in multiple mode [\#3504](https://github.com/youzan/vant/pull/3504) +- fix Locale can not modify functional message [\#3498](https://github.com/youzan/vant/pull/3498) + + ### [v2.0.0](https://github.com/youzan/vant/tree/v2.0.0) `2019-06-12` diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md index ba5a0bd97..0b4ce485d 100644 --- a/docs/markdown/changelog.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -1,5 +1,24 @@ # 更新日志 +### [v2.0.1](https://github.com/youzan/vant/tree/v2.0.1) +`2019-06-15` + +**Improvements** + +- Toast: 新增 icon 属性 [\#3485](https://github.com/youzan/vant/pull/3485) +- DropdownMenu: 新增 direction 属性 [\#3490](https://github.com/youzan/vant/pull/3490) +- NumberKeyboard: 新增 delete 属性 [\#3499](https://github.com/youzan/vant/pull/3499) +- Icon: 使用 Image 组件优化图片布局 [\#3515](https://github.com/youzan/vant/pull/3515) +- Tab: 支持 string 类型的 line-width 和 line-height [\#3514](https://github.com/youzan/vant/pull/3514) + +**Bug Fixes** + +- 修复 Image 组件 TS 定义缺失的问题 [\#3520](https://github.com/youzan/vant/pull/3520) +- 修复 SwitchCell 加载图标偏移的问题 [\#3501](https://github.com/youzan/vant/pull/3501) +- 修复 Locale 函数类型文案无法修改的问题 [\#3498](https://github.com/youzan/vant/pull/3498) +- 修复 Toast 在 multiple 模式下没有淡出动画的问题 [\#3504](https://github.com/youzan/vant/pull/3504) + + ### [v2.0.0](https://github.com/youzan/vant/tree/v2.0.0) `2019-06-12` diff --git a/package.json b/package.json index 8c08ba6e1..ee9ddb209 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "dev": "npm run build:entry && webpack-dev-server --config build/webpack.dev.js", "lint": "eslint ./packages --ext .js,.vue,.ts,.tsx && stylelint \"packages/**/*.less\" --fix", "build:entry": "node build/build-entry.js", - "build:changelog": "vant-doc changelog ./changelog.generated.md", + "build:changelog": "vant-doc changelog ./changelog.generated.md --tag 2.0.0", "build:lib": "node build/build-lib.js", "build:site": "rm -rf docs/dist && cross-env NODE_ENV=production webpack --config build/webpack.doc.js && gh-pages -d docs/dist --add", "test": "jest",